Messages in this thread | | | Date | Tue, 9 Sep 2014 07:42:03 -0400 | From | Jason Cooper <> | Subject | Re: [PATCH] rtc: ds1307: add trickle charger device tree binding |
| |
On Tue, Sep 09, 2014 at 01:34:25PM +0200, Pavel Machek wrote: ... > > _Maybe_ > > diode-connected = <1>; or > > diode-connected = <0>; > > That should work.
meh. The presence or absence of the property should express the boolean.
The safe state should be the default (property absent), and the property name should describe the state when the property is present.
thx,
Jason.
| |