Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2599176imu; Sun, 23 Dec 2018 03:34:12 -0800 (PST) X-Google-Smtp-Source: ALg8bN6amaV+Jd2uGeQjZA00hTxvHN8JodG4/caZFhu1Q9keR9/4Lvs324tMYvl30XUYqCIzTWhB X-Received: by 2002:a63:4566:: with SMTP id u38mr8855637pgk.4.1545564852012; Sun, 23 Dec 2018 03:34:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545564851; cv=none; d=google.com; s=arc-20160816; b=U2ZpDrtncauqRgIGZvDubRo19fXty/tvCuT2X7ElPoP0wrZ65dYV7kGMweXTGsEfAO qZFQlQ/xLJtb7TAL+q99Vrt/C08WZ91sGlCatnhzwyc3/9ZkTOfduua7sDhMDDIgavNc sw3orqj9qan//c67T9/OyTYnyKyRFOHGCbkTwkCbhfsHlMyjc0C1d2NRxtFiXzCP9OhG DqCc2CL2Us22mU5c7XRIPoQFQhhmKLQkLapRZRhgOT7NEtMNJ2imkWixHQBs+YCt+VSm n0ORkRdnVrfjQo7sRA8caiaUcriCIkfumSDKiP6VcQJaNYX8zeOW95qY/dwNVdRw9N1k 3NIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:cc:to:subject:from:date :dkim-signature; bh=eHVD3wuv5y8Wv1Q5MfEgEhtMxuWsgAkJR+tNwfVbxZ0=; b=zbdAnhjhIPCPlACub3l9ZPsblWfsRy/NNSl8pOc2R7ijg4QzuQV76go+pKV4nSGUmU uXgt53mV7otMNENZTXcfGFAm6Cxj1ZCJXE/zqr66JH/Hv1+DcKE8GyXeFdqcOl8lNTAo tAYbvHDKhUx38C4/iz0u8uvvxmeqD4bngFpKOl29cORgYz08WyKRpoQ09D0RSZs8nEGs cjb7wqsQ44UZk/0g+pfSUHiyLtl/7X65BH0fEynejTkWXlBp0oK1501cg9RvG6fUL+P4 CCcnuJeEuufqxILdVER17qcVv4McGx+mrFCURGkrpuvh37PAylhMIpoNQMA/oJtcL1my dn8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=b5tsJlLS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z12si4978595plk.90.2018.12.23.03.33.56; Sun, 23 Dec 2018 03:34:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@crapouillou.net header.s=mail header.b=b5tsJlLS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390959AbeLVRH4 (ORCPT + 99 others); Sat, 22 Dec 2018 12:07:56 -0500 Received: from outils.crapouillou.net ([89.234.176.41]:35386 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726475AbeLVRHz (ORCPT ); Sat, 22 Dec 2018 12:07:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1545476981; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eHVD3wuv5y8Wv1Q5MfEgEhtMxuWsgAkJR+tNwfVbxZ0=; b=b5tsJlLSv/CS3iwe3R0J0G1OQLEYllzfVovCYsD571DHGNeJNPhF3iBtVLTyW6dCIo0lFw EbLe5itbVY/DNzlDo8nkWLJS5OtjonqchYUXhrzlezWLJajoNBbkp45xYihLtjkHbGm26R 01rLbYTMOJvMMSg/1TCyRQid7fRWrAQ= Date: Sat, 22 Dec 2018 12:09:32 +0100 From: Paul Cercueil Subject: Re: [PATCH v8 03/26] dt-bindings: Add doc for the Ingenic TCU drivers 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 Message-Id: <1545476972.2113.1@crapouillou.net> In-Reply-To: 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 =