Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp719028imu; Tue, 27 Nov 2018 05:24:57 -0800 (PST) X-Google-Smtp-Source: AFSGD/VD/19LF9g6Zj9as7H15nVHE+QZsCI4FD+F/uLLI8HMH2Ope7yzNWK2jr9TCtJHdvG7DTSa X-Received: by 2002:a17:902:780a:: with SMTP id p10mr33246406pll.54.1543325097571; Tue, 27 Nov 2018 05:24:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543325097; cv=none; d=google.com; s=arc-20160816; b=cAmGj6pA2Jm3N8uIJrtzkX0ljGWudNAOCUdAxA23kAhVa02HG/yi0tbTQ/An9jP4wP 4Jep9/ZfdLCwx8WdSzobadFIse1oxZPJ4NQzKupkWtpYWxhq3wN9yq2Fh6QqaKdprqlw j6RRCaIKZlwS6WQvonvXOpk0vaDtRXorz75NJqueFdTbivUzpuRcMzz5qJoGZgUSMGjY F46gdNCqaliuqLBjvKXOnsMtURvZ53iyiCMutzXAgDxo1fZb35UQNGjC2q7lVJOKYYaw keFduG4/pGrvG3f1L9ALvgtElQ79Vhvn64qLp7YwVJVx6K/Prgev+GGd+KEQFiG6oVvw h84w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=U5FdccEe5f/UFq8jPFd9cjj2hgJwaM6qIumRZdFexMc=; b=wOGJK6G9+E4rh6SBcEJLAR3n4nERiVB4QDno6Twkt0NwuDN++SllHQdxQqm1l/CA4u PlwPg/7WK6Cr39Et/ADED12t+nZWHfN6cI1clUqIXZHk4sdxihmIM1MzbReHarAUcKDX YH5d3HToPU3aVqvodM/Tn8laxKhChFy+E3TXiwvl8s5J7Mn7OSq8vz0q1FF6PIeRn6Ic O/9bxD56S8bQ73kwUswhdcVmnxJpyUUZGBh2FtiFyH+CZ/68QHWKfXvw19QFabEAFFgl agZNhsWzZzqLCPVqaz/NGMyoBygHVy8Qoid+89BgpfiB0CriOsPGknbGywsJMyV/uIZe xIFQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d77si4087517pfj.124.2018.11.27.05.24.30; Tue, 27 Nov 2018 05:24:57 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730719AbeK0Vad (ORCPT + 99 others); Tue, 27 Nov 2018 16:30:33 -0500 Received: from mail.bootlin.com ([62.4.15.54]:35636 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726445AbeK0Vac (ORCPT ); Tue, 27 Nov 2018 16:30:32 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id 56A31206A1; Tue, 27 Nov 2018 11:33:03 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost (aaubervilliers-681-1-94-205.w90-88.abo.wanadoo.fr [90.88.35.205]) by mail.bootlin.com (Postfix) with ESMTPSA id 2E42D20D29; Tue, 27 Nov 2018 11:32:53 +0100 (CET) Date: Tue, 27 Nov 2018 11:32:53 +0100 From: Maxime Ripard To: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= Cc: Hao Zhang , robh+dt@kernel.org, mark.rutland@arm.com, wens@csie.org, mturquette@baylibre.com, sboyd@kernel.org, thierry.reding@gmail.com, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pwm@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v3 1/6] Documentation: ARM: sunxi: pwm: add Allwinner sun8i. Message-ID: <20181127103253.ubbjjy2ji6sxc7xs@flea> References: <20181125161859.GA5277@arx-s1> <20181127075226.qo3mv3o6etqdjaop@flea> <20181127083523.pciie2gyaplrwiey@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="t4dgavpmjejg77mf" Content-Disposition: inline In-Reply-To: <20181127083523.pciie2gyaplrwiey@pengutronix.de> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --t4dgavpmjejg77mf Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 27, 2018 at 09:35:23AM +0100, Uwe Kleine-K=F6nig wrote: > Hello, >=20 > On Tue, Nov 27, 2018 at 08:52:26AM +0100, Maxime Ripard wrote: > > On Mon, Nov 26, 2018 at 12:18:59AM +0800, Hao Zhang wrote: > > > + - clocks: From common clock binding, handle to the parent clock. > > > + - clock-names: Must contain the clock names described just above. > >=20 > > [...] > >=20 > > You seem to have used mux-0 and mux-1 for the clock names. I guess we > > don't have to use a name there, we can simply use the position to find > > out (as long as it's documented in the binding) >=20 > I also wondered if the driver relies on the fact that the second clock > is the faster running one. Is this sensible? Not really, I'm not sure we can make those expectations in the DT binding, especially since clock rate can change at runtime. Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --t4dgavpmjejg77mf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCW/0dVQAKCRDj7w1vZxhR xWJdAQDW/2ZVKI8YZGRXlYR6/0v3Jouh2V9QpPDIL6Ae0KaXkQD+LAAS+KtX4+7x hJtiDCvE2+4leY4Ff+MyXhA8Q6itugY= =hYrT -----END PGP SIGNATURE----- --t4dgavpmjejg77mf--