Re: [PATCH] rtc: ds1307: add trickle charger device tree binding

Jason Cooper
2014-09-09T11:42:21Z

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.