<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/Intel-BMC/provingground.git/gpiodaemon/src, branch master</title>
<subtitle>Intel BMC provingground (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/'/>
<updated>2019-04-08T04:16:56+00:00</updated>
<entry>
<title>Do case insentive comparisons &amp; representations</title>
<updated>2019-04-08T04:16:56+00:00</updated>
<author>
<name>Richard Marian Thomaiyar</name>
<email>richard.marian.thomaiyar@linux.intel.com</email>
</author>
<published>2019-04-04T08:02:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/commit/?id=785f19b128794611574ea6c18805740fb851ecff'/>
<id>urn:sha1:785f19b128794611574ea6c18805740fb851ecff</id>
<content type='text'>
Code updated to do case insentive comparisons for direction
&amp; polarity, when read from Entity-manager.

Tested:
1. Verified gpiodaemon exposes all the objects as before using busctl
2. verified ipmitool chassis status still works (ascertaining the whole
flow is good)

Change-Id: I6955b00b1d2ccd6add42ad30ba3ae3753655068e
Signed-off-by: Richard Marian Thomaiyar &lt;richard.marian.thomaiyar@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Skip property change signal during start</title>
<updated>2019-03-27T06:37:47+00:00</updated>
<author>
<name>Richard Marian Thomaiyar</name>
<email>richard.marian.thomaiyar@linux.intel.com</email>
</author>
<published>2019-03-20T14:24:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/commit/?id=8f2613f77dbd288c93f9bf8bfb06473406f615f9'/>
<id>urn:sha1:8f2613f77dbd288c93f9bf8bfb06473406f615f9</id>
<content type='text'>
During the object addition in Gpio daemon, InterfaceAdded signal
will be generated which contains all property values. Need to
block generating PropertiesChanged signal during this time, as
there was no property changed. Generating PropertiesChanged signal
during start-up will also confuse Buttons or any other application
which monitors this signal, hence it has to be avoided.

Tested:
1. Verified InterfacesAdded signal is properly generated during
startup
2. Verified PropertiesChanged signal is properly sent out, when
there is gpio value change.

Change-Id: I59c1db645197a0244567a87cbff04e0e7282ea9f
Signed-off-by: Richard Marian Thomaiyar &lt;richard.marian.thomaiyar@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Support: sampled value property in gpio daemon</title>
<updated>2019-03-25T12:02:39+00:00</updated>
<author>
<name>Richard Marian Thomaiyar</name>
<email>richard.marian.thomaiyar@linux.intel.com</email>
</author>
<published>2019-03-25T12:02:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/commit/?id=f4d4bfc3296cb27feb17aa5d1d93b3061b56ce10'/>
<id>urn:sha1:f4d4bfc3296cb27feb17aa5d1d93b3061b56ce10</id>
<content type='text'>
1. Added property SampledValue, which will reflect the gpio
value status always, will be used when ignore property is true
2. Removed enabled property, as it is not used anymore
3. Fixed bug for Value property which had the inversion first
before comparison.

Tested:
1. Verified the behavior using D-Bus commands
2. Verified Power-up / Gpio Sampling / etc, along with
Buttons &amp; set-passthrough patch.

Change-Id: I30b31d12019c54377d0f279f604aee83c5f63883
Signed-off-by: Richard Marian Thomaiyar &lt;richard.marian.thomaiyar@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>gpio daemon: Support added</title>
<updated>2019-03-21T16:12:03+00:00</updated>
<author>
<name>Richard Marian Thomaiyar</name>
<email>richard.marian.thomaiyar@linux.intel.com</email>
</author>
<published>2019-03-21T16:12:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/commit/?id=b708f28e43b85fd51c0f68670e7614dc3d7dbe50'/>
<id>urn:sha1:b708f28e43b85fd51c0f68670e7614dc3d7dbe50</id>
<content type='text'>
Simplified Gpio daemon service and it's corresponding
members. Buttons must use these gpio daemon instead of
directly queriying gpio. Daemon will send out properties
changed signal, when there is change in gpio value.
Introduced Ignore property, if set true will return
cached values for the specified gpio.
Gpio daemon will query objects from entity manager and
initialize accordignly. Restarting gpio daemon, will
re-init these pins as per the entity manager.

Tested:
1. Verified the properties of Power button &amp; Reset button
2. Performed FP buttons operation and made sure power button &amp;
reset button properties changed signals are properly sent out
3. Testd against updated buttons code (which uses gpio daemon)
and verified basic power operations both from front panel and
from ipmitool power
4. Verified object creation, during gpio daemon restart
and also on entity-manager restart

Change-Id: I89ad04d58c74ebd534712f38be53549ec2c39662
Signed-off-by: Richard Marian Thomaiyar &lt;richard.marian.thomaiyar@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Make 'set value' available only on output GPIOs</title>
<updated>2019-01-22T18:45:49+00:00</updated>
<author>
<name>Yoo, Jae Hyun</name>
<email>jae.hyun.yoo@intel.com</email>
</author>
<published>2019-01-18T20:24:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/commit/?id=1f51e61e7295139bf768f731405ca1458e6a9684'/>
<id>urn:sha1:1f51e61e7295139bf768f731405ca1458e6a9684</id>
<content type='text'>
This commit fixes the 'Value' property handling code to make it
available only on output GPIOs.

Change-Id: I6c92df47e01339a8becf9788004f400834695a7c
Signed-off-by: Yoo, Jae Hyun &lt;jae.hyun.yoo@intel.com&gt;
</content>
</entry>
<entry>
<title>Fix dangling file descriptor issue</title>
<updated>2019-01-17T17:26:34+00:00</updated>
<author>
<name>Yoo, Jae Hyun</name>
<email>jae.hyun.yoo@intel.com</email>
</author>
<published>2019-01-17T17:26:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/commit/?id=20ab6f8c50fbbfc07bec94b3a6ab21705de2e1ab'/>
<id>urn:sha1:20ab6f8c50fbbfc07bec94b3a6ab21705de2e1ab</id>
<content type='text'>
This commit fixes dangling file descriptor issue on gpioutils.

Change-Id: Ieabb26ad2b8c6b81570d8142f0ba6816d3ad14e2
Signed-off-by: Yoo, Jae Hyun &lt;jae.hyun.yoo@intel.com&gt;
</content>
</entry>
<entry>
<title>Block 'edge' setting on output GPIOs</title>
<updated>2019-01-17T17:21:07+00:00</updated>
<author>
<name>Yoo, Jae Hyun</name>
<email>jae.hyun.yoo@intel.com</email>
</author>
<published>2019-01-17T17:21:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/commit/?id=3c477c551311e0d90e43020d0c4ea0fe27b7f08e'/>
<id>urn:sha1:3c477c551311e0d90e43020d0c4ea0fe27b7f08e</id>
<content type='text'>
Setting of 'edge' property on an output GPIO causes this warning
in kernel:

gpio gpiochip10: (1e780000.gpio): gpiochip_lock_as_irq: tried to flag a GPIO set as output for IRQ

This commit make it does the 'edge' setting only on input GPIOs
to fix the issue.

Change-Id: I35c866598b82e2d05defd8492900345a88325ed3
Signed-off-by: Yoo, Jae Hyun &lt;jae.hyun.yoo@intel.com&gt;
</content>
</entry>
<entry>
<title>Monitor gpio value changes</title>
<updated>2018-12-11T23:31:54+00:00</updated>
<author>
<name>Cezary Golder</name>
<email>cezary.golder@intel.com</email>
</author>
<published>2018-11-17T00:04:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/commit/?id=bcbdf1ee4b863f72b83ecadf21399078e317facc'/>
<id>urn:sha1:bcbdf1ee4b863f72b83ecadf21399078e317facc</id>
<content type='text'>
Only gpio with direction set as "input" are monitored. Each gpio by
separate GpioState class. Presently only gpio "value" property is
monitored by looking into file descriptor of /sys/class/gpio/gpioXX/edge.
Planning to be changed into gpio cheracter device soon.

Change-Id: Id2aa717d32903df02fa79419d36466d725167178
Signed-off-by: Cezary Golder &lt;cezary.golder@intel.com&gt;
</content>
</entry>
<entry>
<title>Fix build error with the latest sdbusplus variant change</title>
<updated>2018-12-07T14:24:15+00:00</updated>
<author>
<name>Yong Li</name>
<email>yong.b.li@linux.intel.com</email>
</author>
<published>2018-12-07T08:11:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/commit/?id=f2922ad3b614f5ff0b99ae0e8f1fd482212e0856'/>
<id>urn:sha1:f2922ad3b614f5ff0b99ae0e8f1fd482212e0856</id>
<content type='text'>
Enable C++ 17 and modify the code to align with the below commit:
https://github.com/openbmc/sdbusplus/commit/90778b430290c9ec8c33fb77b03e2552d9dd6905

Change-Id: If405f03494f66dd9addc407e1d0b0c38f438a2c5
Signed-off-by: Yong Li &lt;yong.b.li@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Update gpiodaemon with Entity-manager signals</title>
<updated>2018-11-14T19:44:49+00:00</updated>
<author>
<name>Golder, Cezary</name>
<email>cezary.golder@intel.com</email>
</author>
<published>2018-09-12T22:51:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/provingground.git/commit/?id=252207e9d594dc865a4f4825035d2a3a4cb18483'/>
<id>urn:sha1:252207e9d594dc865a4f4825035d2a3a4cb18483</id>
<content type='text'>
Gpiodaemon handling all gpio related signals
(having "xyz.openbmc_project.Configuration.Gpio" interface)
from Entity Manager to update own gpio configuration.

Change-Id: I2e3bac50fea665de17023f6065b4d7b17299a1eb
Signed-off-by: Golder, Cezary &lt;cezary.golder@intel.com&gt;
</content>
</entry>
</feed>
