From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Cooper Subject: Re: [PATCH] rtc: ds1307: add trickle charger device tree binding Date: Tue, 9 Sep 2014 07:42:03 -0400 Message-ID: <20140909114203.GL30828@titan.lakedaemon.net> References: <20140828161025.GO14650@leverpostej> <20140828164825.GA12153@roeck-us.net> <20140828172842.GF12769@titan.lakedaemon.net> <20140828174034.GC15307@roeck-us.net> <20140829073413.GN4587@fi-ourus-dhcp00977.emea.nsn-net.net> <20140829104001.GB19424@leverpostej> <20140908135242.GA21412@amd> <20140908145825.GO12081@leverpostej> <20140909062158.GB21342@fi-ourus-dhcp00977.emea.nsn-net.net> <20140909113425.GC15404@amd> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20140909113425.GC15404@amd> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Pavel Machek Cc: Matti Vaittinen , ext Mark Rutland , ext Guenter Roeck , "a.zummo-BfzFCNDTiLLj+vYz1yj4TQ@public.gmane.org" , "jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org" , "arno-LkuqDEemtHBg9hUCZPvPmw@public.gmane.org" , "jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org" , "san-KGKi0rHxN0fKWSuBa/xFvVpr/1R2p/CL@public.gmane.org" , "hs-ynQEQJNshbs@public.gmane.org" , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org" , Sverdlin Alexander List-Id: devicetree@vger.kernel.org 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 devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html