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

From: Jason Cooper
Date: Tue Sep 09 2014 - 07:42:24 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/