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: 836385 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2403921E3DC; Wed, 16 Oct 2024 10:08:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729073298; cv=none; b=VmVYzDXfZJZnwk5y1ApZ+xOS2REMoAC1ayzqe7AAdBl/5L23rJqirwXs40Pr32tR6X064BfQ41Bzeseajd4qcdgE3Cx+xizug1Y5rciyWcsak91xzwO+R+JqtxSiXmPyC6RuA21lFLQLfeeKzxw6vCbJa+kIUz+cvcYVxbIaZyk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729073298; c=relaxed/simple; bh=PHnsXDPgonSGur7LNFvBXgYxGpnNy03h+D9rXnrfuM4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=f+8UGFdoPKwFuXkwXOZT9f66T1Bs4DR7rstmUGrkJKo2++nDmaUSrG9ffs8+Lu2Aov+BLwZBsr275RtV+DwRDms+g2+5pW1biGWGnxhnlZNG4/piIHPepAaxFIieo7VLmOh+cHeWjGbAv6+E4vjFDEUmjbyqlL5s4PIs24uCH2Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MaYBAYCd; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MaYBAYCd" 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 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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 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>; + }; + };