From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CEBC5C433EF for ; Wed, 13 Jul 2022 02:52:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231249AbiGMCwq (ORCPT ); Tue, 12 Jul 2022 22:52:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230267AbiGMCwq (ORCPT ); Tue, 12 Jul 2022 22:52:46 -0400 Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDF1AD216F; Tue, 12 Jul 2022 19:52:38 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id B75E35C00CF; Tue, 12 Jul 2022 22:52:37 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 12 Jul 2022 22:52:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1657680757; x=1657767157; bh=ys LfvLvAELxN6JcUHANO7Xwphx6NIfvezWS0yoWb7IA=; b=HB6EjCOvzg6HB7IMAR 3tfNXJT/YgSRKhRoKCVvxoU0DCL35T+w3pBhJ0zkgbxWbFdQDq/Hs0UVWGEWFTfO uVXpC6rHtK0TplgkG67DkS4xFYR3C70uT2WtkeIdPpLg20Tkhv+C1WkS8cEljwkc jzKiKTZW3fDdX2PR2MH7/kp8DcNbnCL9Fz3ekc6EYivRWDYDSQx/MHGrqkMura3q nUJ9pggAiVztyyhnARbkN3R6eo7zGBsc9XRfPGi2UmxEcQ2oIzLoxLcSJj8UzGCb pubXr5exFLptArSHxJpzlNwWJLFMDsNRzmP1OTTxo/Oqi6GG5Nk3vknljhJRaRlt fiKg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1657680757; x=1657767157; bh=ysLfvLvAELxN6 JcUHANO7Xwphx6NIfvezWS0yoWb7IA=; b=wW32wwSjxTEaOxh3JvyyIOHv5YV0E 1tBLTIPJS2c0SXwadO4NqPo1NycSZWT1Wkz69ix0P53XMu2AYZ4k/e4zR+8BqfD7 nIcrWXtFbu69xqeuE7xLsi1JAtemcUmc0LgzaMjt0vyLZpJWtv1s8BB6GoCgJ7HE c90YRVZkUDeyWtyQl6NBN1v1c87XrNVcIkZsD2r0I5zjs0hD1i/8dmXgx1PZEMSr q9ZQZd4RY4Ec/NUxHWfZ2QRvICmNRkt2kEwM+UrV5PHzLc1c0Emfm23Bw9gwLRIl mkfKdTdXCg3ECQML21+6LuEXkJbJ0e1eUtGmOGWpue7JIhcv/6M3vcTIw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudejiedgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepudekteeuudehtdelteevgfduvddvjefhfedulefgudevgeeghefg udefiedtveetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 12 Jul 2022 22:52:36 -0400 (EDT) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec , Linus Walleij , Andre Przywara Cc: Samuel Holland , Krzysztof Kozlowski , Maxime Ripard , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, Krzysztof Kozlowski , Heiko Stuebner Subject: [PATCH v2 1/6] dt-bindings: pinctrl: Add compatible for Allwinner D1 Date: Tue, 12 Jul 2022 21:52:28 -0500 Message-Id: <20220713025233.27248-2-samuel@sholland.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220713025233.27248-1-samuel@sholland.org> References: <20220713025233.27248-1-samuel@sholland.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org D1 contains a pin controller similar to previous SoCs, but with some register layout changes. It includes 6 interrupt-capable pin banks. Acked-by: Krzysztof Kozlowski Tested-by: Heiko Stuebner Signed-off-by: Samuel Holland --- Changes in v2: - Drop D1s compatible for now, due to ongoing discussion .../pinctrl/allwinner,sun4i-a10-pinctrl.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml index 6bfa46073791..d19d65c870aa 100644 --- a/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/allwinner,sun4i-a10-pinctrl.yaml @@ -46,6 +46,7 @@ properties: - allwinner,sun8i-v3s-pinctrl - allwinner,sun9i-a80-pinctrl - allwinner,sun9i-a80-r-pinctrl + - allwinner,sun20i-d1-pinctrl - allwinner,sun50i-a64-pinctrl - allwinner,sun50i-a64-r-pinctrl - allwinner,sun50i-a100-pinctrl @@ -178,6 +179,18 @@ allOf: minItems: 7 maxItems: 7 + - if: + properties: + compatible: + enum: + - allwinner,sun20i-d1-pinctrl + + then: + properties: + interrupts: + minItems: 6 + maxItems: 6 + - if: properties: compatible: -- 2.35.1