From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Cercueil Subject: Re: [PATCH v8 03/26] dt-bindings: Add doc for the Ingenic TCU drivers Date: Sat, 22 Dec 2018 12:09:32 +0100 Message-ID: <1545476972.2113.1@crapouillou.net> References: <20181212220922.18759-1-paul@crapouillou.net> <20181212220922.18759-4-paul@crapouillou.net> <20181217210531.GA29770@bogus> <1545084222.1958.0@smtp.crapouillou.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Rob Herring Cc: Thierry Reding , Mark Rutland , Daniel Lezcano , Thomas Gleixner , Ralf Baechle , Paul Burton , James Hogan , Jonathan Corbet , Mathieu Malaterre , Ezequiel Garcia , PrasannaKumar Muralidharan , Linux PWM List , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , LINUX-WATCHDOG , linux-mips@vger.kernel.org, Linux Doc Mailing List , linux-clk , od@zcrc.me List-Id: devicetree@vger.kernel.org Le mar. 18 d=E9c. 2018 =E0 17:36, Rob Herring a =E9crit : > On Mon, Dec 17, 2018 at 4:04 PM Paul Cercueil =20 > wrote: >>=20 >> Hi Rob, >>=20 >> Le lun. 17 d=E9c. 2018 =E0 22:05, Rob Herring a=20 >> =E9crit : >> > On Wed, Dec 12, 2018 at 11:08:58PM +0100, Paul Cercueil wrote: >> >> Add documentation about how to properly use the Ingenic TCU >> >> (Timer/Counter Unit) drivers from devicetree. >> >> >> >> Signed-off-by: Paul Cercueil >> >> --- >> >> >> >> Notes: >> >> v4: New patch in this series. Corresponds to V2 patches=20 >> 3-4-5 >> >> with >> >> added content. >> >> >> >> v5: - Edited PWM/watchdog DT bindings documentation to=20 >> point >> >> to the new >> >> document. >> >> - Moved main document to >> >> =20 >> Documentation/devicetree/bindings/timer/ingenic,tcu.txt >> >> - Updated documentation to reflect the new devicetree >> >> bindings. >> >> >> >> v6: - Removed PWM/watchdog documentation files as asked by >> >> upstream >> >> - Removed doc about properties that should be implicit >> >> - Removed doc about ingenic,timer-channel / >> >> ingenic,clocksource-channel as they are gone >> >> - Fix WDT clock name in the binding doc >> >> - Fix lengths of register areas in watchdog/pwm nodes >> >> >> >> v7: No change >> >> >> >> v8: - Fix address of the PWM node >> >> - Added doc about system timer and clocksource children >> >> nodes >> > >> > I thought we'd sorted this out... >>=20 >> Yeah, well I just can't please everybody. V6/V7 didn't have the >> system timer or clocksource in devicetree, which was good for >> you, but then the driver nearly doubled in size and complexity, >> and Thierry rightfully refused it. Now I'm at the point where >=20 > You mean Daniel? Oops - I meant Daniel yes. >> I'm trying alternative ways of encoding the information in >> devicetree, as suggested by various people, just so that you >> accept it. Because I don't see any other option. >=20 > Does the problem boil down to needing to reserve channel x to use PWMx > pin? If so, just do a mask property of reserved for PWM channels. Yes, that's exactly the problem. I will go with a property then. Thanks! > Sorry this is going in circles. >=20 > Rob =