From patchwork Wed Oct 16 10:07:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 13838110 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 8D74ED1AD3B for ; Wed, 16 Oct 2024 10:11:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4PoFI89rLN2ytSYMTWo5YqKnbvfTUnAc6PMkvYI+HSY=; b=eF+Ge9UxUVLA8IMf9CMxt468Ig 9ytqE/M2RwY86MBP82sRmdmRPGHCeuraLnXMYPkfrv5JldjF6GBlyTu0WiT6HaUhSELOkIAJuHLCD Lp38H9JZaNflT5LVGq0+169F84ObU0SUYq5N0A4Jq8AIq7/R72xEclFSveCZIQGjSjd1TgUcLxnid Wa1sWJweM4jGCJNDQIgBc7Sd8uMTqjSicZceFskOlAAMp1malPP65RRBLlDWMSQjn5ZIihy2htVEX MJdecFJXiNAf6d15fyJEh9T8dj6xMH20t5rLafujHs05OLit4+AqyfxJwgnSQ23FaYg31poPAZHew 191M4lyg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t10zt-0000000BNYp-3W2U; Wed, 16 Oct 2024 10:11:17 +0000 Received: from nyc.source.kernel.org ([147.75.193.91]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t10x0-0000000BMxD-41lY; Wed, 16 Oct 2024 10:08:20 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id F3478A43BDE; Wed, 16 Oct 2024 10:08:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B067C4CEC5; Wed, 16 Oct 2024 10:08:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1729073297; bh=PHnsXDPgonSGur7LNFvBXgYxGpnNy03h+D9rXnrfuM4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=MaYBAYCdurWRnQ4W1G4JU9TRWU8zw+mvGlCGZnBK2fsWV6mKs65ClRqFF5WZJYRVC /MKso7TzXaFZu1ILW1OtQX2SNZhDRj5QVycqGtzoIKKUzQuC/wh5hAKVt/0zZIMAFX ovYw1ip4ddI6coC2WlpJiZRRKvl+A35PYs4uo7gWBl+A2YKPYytQiYLWaL+xvwhUW4 3iaBdNdCLTYP5DMdWSfmfOXXo3F92wGcJgtgRIVpGApuStTJBmTyFi/x/zceSyccVr f4aWoWugRMCxeVSN6lnQAeTqOlo5C+gbOSciwAKsDeMGp3P93qNJdmkLYACsIJRwcx 3/6ONOhRRTEtg== From: Lorenzo Bianconi Date: Wed, 16 Oct 2024 12:07:29 +0200 Subject: [PATCH v7 1/6] dt-bindings: arm: airoha: Add the chip-scu node for EN7581 SoC MIME-Version: 1.0 Message-Id: <20241016-en7581-pinctrl-v7-1-4ff611f263a7@kernel.org> References: <20241016-en7581-pinctrl-v7-0-4ff611f263a7@kernel.org> In-Reply-To: <20241016-en7581-pinctrl-v7-0-4ff611f263a7@kernel.org> To: Lorenzo Bianconi , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , Lee Jones , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= Cc: linux-mediatek@lists.infradead.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, upstream@airoha.com, benjamin.larsson@genexis.eu, ansuelsmth@gmail.com, linux-pwm@vger.kernel.org X-Mailer: b4 0.14.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241016_030819_094760_DECBD154 X-CRM114-Status: GOOD ( 11.72 ) 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 This patch adds the chip-scu document bindings for EN7581 SoC. The airoha chip-scu block provides a configuration interface for clock, io-muxing and other functionalities used by multiple controllers (e.g. clock, pinctrl, ecc.) on EN7581 SoC. Reviewed-by: Rob Herring (Arm) Signed-off-by: Lorenzo Bianconi --- .../bindings/arm/airoha,en7581-chip-scu.yaml | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/airoha,en7581-chip-scu.yaml b/Documentation/devicetree/bindings/arm/airoha,en7581-chip-scu.yaml new file mode 100644 index 0000000000000000000000000000000000000000..67c449d804c22b6b8268c9840995fe2584349b58 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/airoha,en7581-chip-scu.yaml @@ -0,0 +1,42 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/airoha,en7581-chip-scu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Airoha Chip SCU Controller for EN7581 SoC + +maintainers: + - Lorenzo Bianconi + +description: + The airoha chip-scu block provides a configuration interface for clock, + io-muxing and other functionalities used by multiple controllers (e.g. clock, + pinctrl, ecc) on EN7581 SoC. + +properties: + compatible: + items: + - enum: + - airoha,en7581-chip-scu + - const: syscon + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + syscon@1fa20000 { + compatible = "airoha,en7581-chip-scu", "syscon"; + reg = <0x0 0x1fa20000 0x0 0x388>; + }; + };