From patchwork Wed Jan 20 05:03:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Drew Fustini X-Patchwork-Id: 1429032 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=linux-gpio-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=beagleboard-org.20150623.gappssmtp.com header.i=@beagleboard-org.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=uae8Kpug; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4DLDP51jfjz9sW8 for ; Wed, 20 Jan 2021 16:20:09 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728134AbhATFMr (ORCPT ); Wed, 20 Jan 2021 00:12:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729598AbhATFFe (ORCPT ); Wed, 20 Jan 2021 00:05:34 -0500 Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 838DCC0613D6 for ; Tue, 19 Jan 2021 21:04:48 -0800 (PST) Received: by mail-pf1-x432.google.com with SMTP id b3so13792178pft.3 for ; Tue, 19 Jan 2021 21:04:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beagleboard-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oVErpyitxxhLPGfDajEW4fVOhIOQLKcz6X3NWGJEV+g=; b=uae8KpuguS3BNlU2aKIemgBTkOQCef+In7mqQlFkr3oDW8LNMjmfF9rKFmc0WEj3DO B7Phigy/LW/xRix8UhBC0QTTX+kYe1I6uytBsM/FGqTebvGjyN9/PFv+cDIWwujm7MNY h2VsFSPX967OoJBmHoQXeyDkobrnYkuSLEiyfhT3moCrqyH+d6UTsw/LjGmB69daoigg jUQGJ5P+Zg/LNs5iS94M5FRwr6nV4p780NzgEAMsqi/FKR+h5ebVPyxMKMnDC3ozO4Pv O9HNoiES0tmVk4ozHIZwbMMUbZKl4abi7cWt/2Kp9BkbytuyYBcLfIz+kVDah0xII+/x oicQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=oVErpyitxxhLPGfDajEW4fVOhIOQLKcz6X3NWGJEV+g=; b=LZgcEz9LT5BuNO92Shib4jqTxK6zZw/TQ+nihUMRlXYLYKB6Fs2M+prfiXDd+TT3Hy ckucKROYDCAnA6goka2HJHCUSVNIyYCfc2sNrisD2TgXuqB1jQPPmjgkpQGTCp3GFmYw blK1IGRPq63JlaW0XNSdGskGXH+5AR9stby269mLnzbJtJVhuxVSD1pr68j99nFhO1gf 1T1JY2NS3usq8TEZagxL2jzZWinDDSVtuAEEF1aySuLA6NB7v9W1qNTISjiJ/EMJWFMw eaQmMqqDUv0ApNIirMLT6fcpte75T03325z3wtnjTrktWvn4Zj6a4vTJJse7UMTZR7Gq B/+w== X-Gm-Message-State: AOAM530aSyzQY08x/1KiuZpO+VpSg97bd2BwbgnKAJch0DY4zOkA4wa1 X/l0DuEoWQvudci+MfpI3hl9VgdJdfxeUAuV X-Google-Smtp-Source: ABdhPJwxwrfL9EnkZQLOwI9kO2+ssEC1CnWALWlmwpz/giDP4Fdgt36PXxQaDpZ7MHxmz1v18Ks31g== X-Received: by 2002:aa7:90cf:0:b029:1a3:a176:f4d0 with SMTP id k15-20020aa790cf0000b02901a3a176f4d0mr7366085pfk.8.1611119087844; Tue, 19 Jan 2021 21:04:47 -0800 (PST) Received: from x1.hsd1.or.comcast.net ([2601:1c0:4701:ae70:900a:5243:9086:584]) by smtp.gmail.com with ESMTPSA id z15sm708410pfr.89.2021.01.19.21.04.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jan 2021 21:04:46 -0800 (PST) From: Drew Fustini To: Linus Walleij , Rob Herring , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Drew Fustini , Emmanuel Vadot , Tony Lindgren Subject: [PATCH] pinctrl: clarify #pinctrl-cells for pinctrl-single,pins Date: Tue, 19 Jan 2021 21:03:44 -0800 Message-Id: <20210120050342.320704-1-drew@beagleboard.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org 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 Reviewed-by: Tony Lindgren --- 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