From patchwork Wed Jul 21 14:04:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 12391199 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3489CC12002 for ; Wed, 21 Jul 2021 14:38:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F23A9608FE for ; Wed, 21 Jul 2021 14:38:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F23A9608FE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Xl8osKhrs09M2OGmqf2aiwKp/gjMN+qX6xUrsqFruTk=; b=Dp5VdaleQV3y4o R2sEpX6F5oTbng/Pef5jAZSjrgmJNoK16ARJt2L7OskqnlLcUJq5pXx/Hz7Vy82a/YRIezI73Flys 3QNMR77HlwQe8u5t5zW/75yQNhavuP7N56sPr6BVNEdEguc+i/mZO/+XZt/a9PwMOynyuM65vPiPj 714au53G9+iHd4lK/V78qjYtuxTOOfhstHW3qzTB6BtK1Q90pH4PcEgWxhkI73ytUwIht8IWliXpz nyWZp0A92ysJtCzwbZfUs2CG1TBt1ZqKmCSAmSxnnfFkZQr9QkjSonz8BKGj9EuiOWIoxFXwJzktY 6IoyHyJxFOmxqXYuhqoQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6DKP-00G0hS-OA; Wed, 21 Jul 2021 14:36:06 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m6Cqs-00FqGb-Vp for linux-arm-kernel@lists.infradead.org; Wed, 21 Jul 2021 14:05:36 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 568915C0180; Wed, 21 Jul 2021 10:05:34 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 21 Jul 2021 10:05:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=ek5HS3nQ/RuZh fgQ5+6HJrhdTA+wAC8ee43xik5MWYg=; b=yQIuPsinww8Wu5A5SXdUliGNykwD7 HN9issrBaOg9JUty+AOFJVxJ/0t4krJDgY69nSQSoqiJgpnoWm4VwfznL9B/TMn4 sw4EeE860/Be4Fe74BTMNfp0YsqSQxlEXqOBd30w39ApwDFZRS+8V2HLzdoHQdmc pjleiWXLhYVPSO1LowlC9Sx5+scLsKZf9MnemAxCdn2XewARFXUzul0OGjugd7WF Y0FWC7jUSR9u44qzmifOuYuqKTc/m6axQ99S5lflos9xpk8TAbEF3ZlKEdZcLSeM 5Nmiv9Fi1sf9EAFkTtBJ+h/ZrF/NxRCwkadjmHngP6QIQK55Gh+RzncZQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=ek5HS3nQ/RuZhfgQ5+6HJrhdTA+wAC8ee43xik5MWYg=; b=k0b/ZQWz klgeFi32hRwz/MKnmpGTIJplXbiGuTSmjXr3nFvy8Qw5F2yBMFU4k6aCVTI2Ob1m SZYqGxLdbtFOp6OXqFGpyuT7Lz0hR1N9lBd4chJKBwY9lWCLkS+J46V7Cao8Hv5U v9ppRgsnqaD25qZT1kCjmY8hxE15maVAvNr/F4erewy56Z/+8xqn3Eu25dy4mMYu Omd4tBxomXpTQLo9VVeJ3BXKy4Dcl179J2EnxpiOHDNsSwwIs4vQILlmbDpGDY5c pL1Pn0wF0c20sOLEtJPxuoqS7sQ4fgQxQ0aRW7IkRh2RwZWtiTM2tfRbaJEBoFJm KvFTSi3oAhAi0A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfeeggdeijecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenog evohgrshhtrghlqdfhgeduvddqtddvucdludehtddmnecujfgurhephffvufffkffojghf ggfgsedtkeertdertddtnecuhfhrohhmpeforgigihhmvgcutfhiphgrrhguuceomhgrgi himhgvsegtvghrnhhordhtvggthheqnecuggftrfgrthhtvghrnhepveejieejtdevgfff gfejuefggfeutdelteekgeetueeftddutddtgfffhffgueffnecuffhomhgrihhnpeguvg hvihgtvghtrhgvvgdrohhrghenucevlhhushhtvghrufhiiigvpeehnecurfgrrhgrmhep mhgrihhlfhhrohhmpehmrgigihhmvgestggvrhhnohdrthgvtghh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 21 Jul 2021 10:05:33 -0400 (EDT) From: Maxime Ripard To: Chen-Yu Tsai , Maxime Ripard , Jernej Skrabec , devicetree@vger.kernel.org, Rob Herring , Frank Rowand Cc: linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com Subject: [PATCH 32/54] dt-bindings: sunxi: Add Allwinner A80 PRCM Binding Date: Wed, 21 Jul 2021 16:04:02 +0200 Message-Id: <20210721140424.725744-33-maxime@cerno.tech> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210721140424.725744-1-maxime@cerno.tech> References: <20210721140424.725744-1-maxime@cerno.tech> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210721_070535_173220_13979834 X-CRM114-Status: GOOD ( 14.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Even though we've used the A80 PRCM driver for some time and a number of boards using it already, we never had a binding for it. Let's add it based on what the driver expects and the boards are providing. Signed-off-by: Maxime Ripard Reviewed-by: Rob Herring --- .../arm/sunxi/allwinner,sun9i-a80-prcm.yaml | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/sunxi/allwinner,sun9i-a80-prcm.yaml diff --git a/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun9i-a80-prcm.yaml b/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun9i-a80-prcm.yaml new file mode 100644 index 000000000000..668aadbfe4c0 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun9i-a80-prcm.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/sunxi/allwinner,sun9i-a80-prcm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A80 PRCM Device Tree Bindings + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +properties: + compatible: + const: allwinner,sun9i-a80-prcm + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + prcm@8001400 { + compatible = "allwinner,sun9i-a80-prcm"; + reg = <0x08001400 0x200>; + }; + +...