Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp36670pxb; Wed, 20 Jan 2021 00:07:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJxdlScX15vD7IxvX3yrZXVnZ4ZTSI/OgVQUJz9rtjY7yjJL748Y3TZm4HaWkNjG8Et9xUHa X-Received: by 2002:a50:9f4d:: with SMTP id b71mr6423520edf.310.1611130074039; Wed, 20 Jan 2021 00:07:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611130074; cv=none; d=google.com; s=arc-20160816; b=CifleaJ0h7lN5APFpIuKasfT3tGe9sSiRmADZsaXYlDFe00HrtnX5JT9Do3R1H1ZAb N+EjfkO/8bhMNoaiTBnzrYcdluBerZ9TvKpkoaTBGlqGNMK2Ah7dBBEtMvJYt0hRCqwv uT/ziHJFvzk0cz3boJzptmvBO7yAUQlitjuD67mP2k8/eiAd2av9LmRusopMdcjc4Dmp TNUI6uMMiCDUBkxD0BAavvOBTToujJ0oz+laDPTSTzWteW2LS8wBx4NU2/BN0sDGKDqh Qb4QRS0Uy9/1m7lEh6gFPYuuHyQMx9J4OpKR2k+a3nurl1q2dRkSuSi3WOGSO8+WGAN1 ZWvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=ZsuP9EUESZltLXaS8dgiXaaE9jo809x4YaPbT21PXX0=; b=xA3sagYQVFe8OouEqx8tEhtqi11rgFbICj2opPsR7GHWsRMez+bTqwn2AOuXJx1NbR rNlm3496Hy9J/48EhhW8Q7naDOiGqgX5TcEe9PcdD1CMkyfhvQ6UmWyw73oF84/52r03 RWObJoIW6XuXKv/SLVnHCdV9/uPBbLs60i3ssdBTbjcJNg7gzXoMEE8hdhfBPSBmbFjB R3jbxQlBQ3Fic6Qbi6n3fs3cK8xfLelU09vtgFWvwa76UxiD1DjpW8XwT3VvhgJTadOy qlXm1+IpXMDDjuARz8nNdTexy7l3heHx3ZO0zN1lXgXTwRg+oLTh0+HpCbxN+SgfaD3z DFJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bidouilliste.com header.s=mx header.b=H7JaUfFm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=bidouilliste.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p22si540468edt.391.2021.01.20.00.07.29; Wed, 20 Jan 2021 00:07:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@bidouilliste.com header.s=mx header.b=H7JaUfFm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=bidouilliste.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730559AbhATIGQ (ORCPT + 99 others); Wed, 20 Jan 2021 03:06:16 -0500 Received: from mx.blih.net ([212.83.155.74]:21225 "EHLO mx.blih.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729643AbhATICY (ORCPT ); Wed, 20 Jan 2021 03:02:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1611129668; h=from:from: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=ZsuP9EUESZltLXaS8dgiXaaE9jo809x4YaPbT21PXX0=; b=H7JaUfFmYjDL9GqizsW5Z81btdTOdGyLWR7NoJXuI2Mf0ZC2A7VVQJ8nVadFxPz5Ns7NEh cHlxGitgyOwAdSJ8SVKX199i7PGBz8U75pttMkV2/fnqa6TB1JPFnmJWgpXbUXVAh4UC8z eReXnS+9nC83aog2msOHc1cunSX/oBI= Received: from amy.home (lfbn-idf2-1-745-114.w86-247.abo.wanadoo.fr [86.247.192.114]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 3bf0e6a4 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 20 Jan 2021 08:01:08 +0000 (UTC) Date: Wed, 20 Jan 2021 09:01:08 +0100 From: Emmanuel Vadot To: Drew Fustini Cc: Linus Walleij , Rob Herring , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Tony Lindgren Subject: Re: [PATCH] pinctrl: clarify #pinctrl-cells for pinctrl-single,pins Message-Id: <20210120090108.bbdee781a237cb931a572323@bidouilliste.com> In-Reply-To: <20210120050342.320704-1-drew@beagleboard.org> References: <20210120050342.320704-1-drew@beagleboard.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 19 Jan 2021 21:03:44 -0800 Drew Fustini wrote: > Document that #pinctrl-cells can be 1 or 2 for pinctrl-single,pins > > Fixes: 27c90e5e48d0 ("ARM: dts: am33xx-l4: change #pinctrl-cells from 1 to 2") > Reported-by: Emmanuel Vadot > Link: https://lore.kernel.org/linux-gpio/20210115190201.9273b637a7f967e7e55bc740@bidouilliste.com/ > Cc: Tony Lindgren > Signed-off-by: Drew Fustini > --- > Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt > index f903eb4471f8..bb9999119314 100644 > --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt > +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-single.txt > @@ -8,7 +8,7 @@ Required properties: > - reg : offset and length of the register set for the mux registers > > - #pinctrl-cells : number of cells in addition to the index, set to 1 > - for pinctrl-single,pins and 2 for pinctrl-single,bits > + or 2 for pinctrl-single,pins and set to 2 for pinctrl-single,bits > > - pinctrl-single,register-width : pinmux register access width in bits > > -- > 2.25.1 > Reviewed-by: Emmanuel Vadot Thanks, now the docs make more sense :) -- Emmanuel Vadot