Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752586AbdHPU7S (ORCPT ); Wed, 16 Aug 2017 16:59:18 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:60447 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752154AbdHPU7R (ORCPT ); Wed, 16 Aug 2017 16:59:17 -0400 Date: Wed, 16 Aug 2017 22:59:15 +0200 From: Pavel Machek To: Sebastian Reichel Cc: Sakari Ailus , pali.rohar@gmail.com, kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, tony@atomide.com, khilman@kernel.org, aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com, patrikbachan@gmail.com, serge@hallyn.com, abcloriens@gmail.com Subject: Re: [PATCH] nokia n900: update dts with camera support Message-ID: <20170816205915.GA5386@atrey.karlin.mff.cuni.cz> References: <20170810204923.GA18442@amd> <20170814201950.sbtyuksn3ntuigyp@valkosipuli.retiisi.org.uk> <20170815220349.GA15441@amd> <20170816205332.rqcuenvuxfs5jvuw@earth> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170816205332.rqcuenvuxfs5jvuw@earth> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1330 Lines: 29 > Hi, > > On Wed, Aug 16, 2017 at 12:03:49AM +0200, Pavel Machek wrote: > > diff --git a/Documentation/devicetree/bindings/media/video-interfaces.txt b/Documentation/devicetree/bindings/media/video-interfaces.txt > > index 852041a..aade681 100644 > > --- a/Documentation/devicetree/bindings/media/video-interfaces.txt > > +++ b/Documentation/devicetree/bindings/media/video-interfaces.txt > > @@ -119,6 +119,8 @@ Optional endpoint properties > > as 0 (normal). This property is valid for serial busses only. > > - strobe: Whether the clock signal is used as clock (0) or strobe (1). Used > > with CCP2, for instance. > > +- clock-inv: polarity of clock/strobe signal. 0 - not inverted, 1 - inverted > > +- crc: crc is in use > > booleans in DT are not done with <0> and <1>, but as properties without > values. True = property exists, False = property does not exist. Well, strobe property above already uses = <0>/<1> format, as do others. Problem with "false = property does not exist" is that you don't know if it is "someone forgot to define it" or "someone made a typo" or "dts is too old to know about this property" or "the property indeed should be false"... Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html