From patchwork Wed Sep 1 09:18:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 12469015 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=-17.1 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,URIBL_BLOCKED, 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 39555C432BE for ; Wed, 1 Sep 2021 10:35:26 +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 0509561008 for ; Wed, 1 Sep 2021 10:35:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0509561008 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cerno.tech Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=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=lqw4ijvxsVLqsgZ+HPFrYrBTtFj3TFYNXGOJJMZ82lw=; b=ax3/Xxr+8LSVDU p+xxzd0ntoLDwx/vhhljoS0MiHm1tDCGrlp1sIH5/aOiDw0GXg9fYgeAM1c54PWUsEN4pyOB1fTZz H4hDkNRqb+WDphCGsVaWq7TvTd1ErBgQsAgHuinRMxPdUQvX5ob9dQXvqFwfNIHMwW+M9DPABsi02 yYT6zikzBGHnXSxy9Sk/fbeMw4TChwwjC1xe7QoCxcdsCkbGLH/mEtPaSIZs2yjWAt++dvNeo/gvu 1oV4VUIw21A3umacGj5YfYh0MkGsvITRhD8MXZt6UCzHqf7/E+j4cVE/hqRYxFFPK3g8SgSWMtFci q+LtaWNqEbXeFPANWnfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLNY8-005Fpw-Um; Wed, 01 Sep 2021 10:32:58 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLMPW-004qD2-82 for linux-arm-kernel@lists.infradead.org; Wed, 01 Sep 2021 09:20:04 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 2CF445C0220; Wed, 1 Sep 2021 05:19:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 01 Sep 2021 05:19:57 -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=Ez0h4feUG7jj0 QTMDNnuRp0Rg0fbgdk/KOZ0ow0o2AY=; b=OPzIjlK/gUUJP7muvu17wB6GXuufl 6e/xHDO5tuxgefQ2t9UAe3idnJWarnVfsLDdEZ2OKtuEgYNAxycGnPGZA4q6UOMq ixuHs05Fx+YdZ9fSCcNr7rml3adfcvPNjNfNhUmoqA16gxXoB6kjtq2rjw7t+Dyc +vrUgg/jrUkZQYE5XXOWU3G3acENvz5Obr6c5MXstWGhj+ZeHa+0LDKMnYwfa0kD q+6Pxc3nq6nOapDS4y4crB7S5VRz8YPOO/Wpcuy9mHGcgeETfQt1DjQC0EmLq/CL hnJlx8mGip0I98pKww1EBsAwkBaH9DaByobIqg22QQFwoaQX5gMtqizcg== 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=Ez0h4feUG7jj0QTMDNnuRp0Rg0fbgdk/KOZ0ow0o2AY=; b=MoCtsjpP e+rP0LnG16kcaj/sAf0M4lNbyFP+9N79GCv+EpAi04gVMKI576lKDStw2K04MUJm FZA7UDkAJSDFdbaXMOJqEg4VrOAM6RF65d6YWDSsQTVh9Kc+U1CVW2wNXLPqV5c9 qmFSnv6TWwrOrptuBvAaxk1qRKlekUCE8eQMaJd1Psf1IvUuVdtQnRcVtfwDJjfu Vd6K8ZVoWb6gDZBCvaKZxbGr0j4PimZFCDlacBwOfKMrzo111bUhFBxYu+BQ7uI0 GL4UiZzKmEVRPI2Aw/dQiYkOVUiHSWvT2juc0pY8BP8/SiKrTQ3WGIpc8BvkeoZi +AC/AJ8Vhs0kpA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddruddvfedgudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne govehorghsthgrlhdqhfeguddvqddtvdculdduhedtmdenucfjughrpefhvffufffkofgj fhgggfestdekredtredttdenucfhrhhomhepofgrgihimhgvucftihhprghrugcuoehmrg igihhmvgestggvrhhnohdrthgvtghhqeenucggtffrrghtthgvrhhnpeevjeeijedtvefg fffgjeeugffguedtleetkeegteeufedtuddttdfgfffhgfeuffenucffohhmrghinhepug gvvhhitggvthhrvggvrdhorhhgnecuvehluhhsthgvrhfuihiivgepvdenucfrrghrrghm pehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnhhordhtvggthh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 1 Sep 2021 05:19:56 -0400 (EDT) From: Maxime Ripard To: devicetree@vger.kernel.org, Rob Herring , Frank Rowand , Chen-Yu Tsai , Maxime Ripard , =?utf-8?q?Jernej_=C5=A0krabec?= Cc: linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, Rob Herring Subject: [PATCH v2 34/52] dt-bindings: sunxi: Add CPU Configuration Controller Binding Date: Wed, 1 Sep 2021 11:18:34 +0200 Message-Id: <20210901091852.479202-35-maxime@cerno.tech> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210901091852.479202-1-maxime@cerno.tech> References: <20210901091852.479202-1-maxime@cerno.tech> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210901_021958_425649_90F8DFE3 X-CRM114-Status: GOOD ( 14.51 ) 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 CPU configuration 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. Reviewed-by: Rob Herring Signed-off-by: Maxime Ripard Reviewed-by: Jernej Skrabec --- .../sunxi/allwinner,sun6i-a31-cpuconfig.yaml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/sunxi/allwinner,sun6i-a31-cpuconfig.yaml diff --git a/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun6i-a31-cpuconfig.yaml b/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun6i-a31-cpuconfig.yaml new file mode 100644 index 000000000000..f3878e0b3cc4 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun6i-a31-cpuconfig.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/sunxi/allwinner,sun6i-a31-cpuconfig.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner CPU Configuration Controller Device Tree Bindings + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +properties: + compatible: + enum: + - allwinner,sun6i-a31-cpuconfig + - allwinner,sun8i-a23-cpuconfig + - allwinner,sun8i-a83t-cpucfg + - allwinner,sun8i-a83t-r-cpucfg + - allwinner,sun9i-a80-cpucfg + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + cpucfg@1f01c00 { + compatible = "allwinner,sun6i-a31-cpuconfig"; + reg = <0x01f01c00 0x300>; + }; + +...