<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-skeleton/libopenbmc_intf, branch 04-16-2019</title>
<subtitle>Talos™ II OpenBMC Skeleton files</subtitle>
<id>https://git.raptorcs.com/git/talos-skeleton/atom?h=04-16-2019</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-skeleton/atom?h=04-16-2019'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skeleton/'/>
<updated>2019-04-10T01:44:48+00:00</updated>
<entry>
<title>skeleton: Use ioctl gpio handling</title>
<updated>2019-04-10T01:44:48+00:00</updated>
<author>
<name>Anthony Wilson</name>
<email>wilsonan@us.ibm.com</email>
</author>
<published>2019-03-06T16:54:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skeleton/commit/?id=c0c74e7cca35179a9c4496a49f64e00db4c47870'/>
<id>urn:sha1:c0c74e7cca35179a9c4496a49f64e00db4c47870</id>
<content type='text'>
Now that chassiskill is a standalone app and is
using ioctl gpio handling (through the gpioplus library),
the gpio libraries here need to use ioctl as well for
chassiskill to be compatible.

Tested: Verified chassiskill works as intended and checked
that nothing else broke.

Change-Id: I67c431027d31e87c332c3e1771fc2d3423f56652
Signed-off-by: Anthony Wilson &lt;wilsonan@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Remove unnecessary args from GPIO functions</title>
<updated>2018-08-14T20:42:00+00:00</updated>
<author>
<name>Matt Spinler</name>
<email>spinler@us.ibm.com</email>
</author>
<published>2018-08-08T16:15:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skeleton/commit/?id=0f3fd5aa2d41a1b1bde5df471db74519ec82ef35'/>
<id>urn:sha1:0f3fd5aa2d41a1b1bde5df471db74519ec82ef35</id>
<content type='text'>
Now that gpio_init() and read_gpios() doesn't use
D-Bus, they don't need the D-Bus connection parameter.

Change-Id: Id7f3ee6547bed7c0c0eed5d75cba2d6ff239d0fa
Signed-off-by: Matt Spinler &lt;spinler@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Remove host control GPIOs from GpioConfigs</title>
<updated>2018-08-14T20:42:00+00:00</updated>
<author>
<name>Matt Spinler</name>
<email>spinler@us.ibm.com</email>
</author>
<published>2018-08-07T19:46:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skeleton/commit/?id=6a07a6c940b0d7c135049796d48c1f21bd32aa8c'/>
<id>urn:sha1:6a07a6c940b0d7c135049796d48c1f21bd32aa8c</id>
<content type='text'>
These are not used anymore.

Change-Id: I4bf8f0538aafeec768075fd51236a50f1f97b3d8
Signed-off-by: Matt Spinler &lt;spinler@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Fill in the function that finds the GPIO base</title>
<updated>2018-08-14T20:42:00+00:00</updated>
<author>
<name>Matt Spinler</name>
<email>spinler@us.ibm.com</email>
</author>
<published>2018-08-07T19:32:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skeleton/commit/?id=e2cd39d8585dce09c8acddf07fd5ed2b0a619ebc'/>
<id>urn:sha1:e2cd39d8585dce09c8acddf07fd5ed2b0a619ebc</id>
<content type='text'>
Finds the GPIO base value to use in the GPIO number calculation.

This is most likely specific to ASPEED BMCs, though as with
the calling code additional support can be added in the
future if required.

Change-Id: Ie0d2b87286ab4bf6b05b61245bd821ab2a9d602a
Signed-off-by: Matt Spinler &lt;spinler@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Fill in function to convert GPIO pin to a number</title>
<updated>2018-08-14T20:42:00+00:00</updated>
<author>
<name>Matt Spinler</name>
<email>spinler@us.ibm.com</email>
</author>
<published>2018-08-07T19:28:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skeleton/commit/?id=8428d4422258a3f0eb33e561aaf2d3eae2ba85d9'/>
<id>urn:sha1:8428d4422258a3f0eb33e561aaf2d3eae2ba85d9</id>
<content type='text'>
Convert the pin, like "A7" to the number that identifies
that GPIO in /sys/class/gpio/.

This most likely only supports ASPEED BMCs, though of course
support can be added for others if the need arises and this
code is still in use.

Change-Id: I404716652ffc29c27933ed13225bc074341fa473
Signed-off-by: Matt Spinler &lt;spinler@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Use cJSON to get the GPIO definitions</title>
<updated>2018-08-14T20:42:00+00:00</updated>
<author>
<name>Matt Spinler</name>
<email>spinler@us.ibm.com</email>
</author>
<published>2018-08-07T19:16:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skeleton/commit/?id=3a70e9386ea5b57b3e3bdedb392d5b69028f757a'/>
<id>urn:sha1:3a70e9386ea5b57b3e3bdedb392d5b69028f757a</id>
<content type='text'>
In gpio_init, read the GPIO definitions out of the JSON
instead of D-Bus.

As many applications configure several GPIOs at once, the
cJSON structure for the GPIOs stays loaded in memory until
explicitly freed by calling gpio_inits_done().

Change-Id: I3ba216545a4a367744ce1fac09ca19c4d8d9d302
Signed-off-by: Matt Spinler &lt;spinler@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Use cJSON to read the GPIO configuration</title>
<updated>2018-08-14T20:42:00+00:00</updated>
<author>
<name>Matt Spinler</name>
<email>spinler@us.ibm.com</email>
</author>
<published>2018-08-07T19:04:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skeleton/commit/?id=403ddba1f8aed47a4003be3d41507502154b04eb'/>
<id>urn:sha1:403ddba1f8aed47a4003be3d41507502154b04eb</id>
<content type='text'>
Change the read_gpios function to get the power GPIO
configuration out of JSON instead of D-Bus.

Note that the Host Control GPIOs are no longer used and will
be removed from the GpioConfigs structure in a future commit.

Change-Id: If95f9b4f11af052148332aec436abd23e2e5819d
Signed-off-by: Matt Spinler &lt;spinler@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Add documentation on GPIO JSON</title>
<updated>2018-08-14T20:42:00+00:00</updated>
<author>
<name>Matt Spinler</name>
<email>spinler@us.ibm.com</email>
</author>
<published>2018-08-07T18:56:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skeleton/commit/?id=24cbe78d4caef56ee3adf6fe83206a3e1e55f3b3'/>
<id>urn:sha1:24cbe78d4caef56ee3adf6fe83206a3e1e55f3b3</id>
<content type='text'>
Document the JSON format for the GPIO configuration.

Change-Id: I74f9300f480724615ff031a7c75973224c86a760
Signed-off-by: Matt Spinler &lt;spinler@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Add function to load in the GPIO data from JSON.</title>
<updated>2018-08-14T20:42:00+00:00</updated>
<author>
<name>Matt Spinler</name>
<email>spinler@us.ibm.com</email>
</author>
<published>2018-08-07T18:29:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skeleton/commit/?id=ea3d8a4169894cbc3fddcac05c8a14ffffabc602'/>
<id>urn:sha1:ea3d8a4169894cbc3fddcac05c8a14ffffabc602</id>
<content type='text'>
Use the cJSON module to load in the GPIO definitions used by
the other skeleton code into a cJSON structure.  Its memory
should be released by calling cJSON_Delete on it when complete.

This is the first commit in a series that will move the GPIO
configuration data from D-Bus into a JSON file, which is both
more appropriate for read only data and the first step in
getting rid of the system_manager.py file that currently hosts it.

Change-Id: If1ef19e7988d28e3075828f61e88a606631bcd89
Signed-off-by: Matt Spinler &lt;spinler@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>hostctl: Move to kernel FSI interface</title>
<updated>2018-08-13T14:33:13+00:00</updated>
<author>
<name>Joel Stanley</name>
<email>joel@jms.id.au</email>
</author>
<published>2018-07-13T04:29:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skeleton/commit/?id=5da4f4fc1706ea5c12981e18778f42249591fe18'/>
<id>urn:sha1:5da4f4fc1706ea5c12981e18778f42249591fe18</id>
<content type='text'>
The Power8 systems now use the in-kernel FSI driver, so the GPIOs used
for bitbanging are not available. This modifies the FSI SBE startup
code to use the kernel FSI infrastructure.

Change-Id: Ie7f7faab6af89b4311734eae4e252485a2163764
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
</feed>
