public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Jonas Karlman <jonas@kwiboo.se>
To: Heiko Stuebner <heiko@sntech.de>,
	Ulf Hansson <ulf.hansson@linaro.org>,
	Andi Shyti <andi.shyti@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: Yao Zi <ziyao@disroot.org>, Chukun Pan <amadeus@jmu.edu.cn>,
	linux-rockchip@lists.infradead.org, linux-pm@vger.kernel.org,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	Jonas Karlman <jonas@kwiboo.se>,
	linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 7/9] dt-bindings: i2c: i2c-rk3x: Allow use of a power-domain
Date: Sun, 18 May 2025 22:06:54 +0000	[thread overview]
Message-ID: <20250518220707.669515-8-jonas@kwiboo.se> (raw)
In-Reply-To: <20250518220707.669515-1-jonas@kwiboo.se>

The I2C controllers in most Rockchip SoCs are part or power domains that
are always powered on, i.e. PD_BUS or PD_PMU.

On RK3528 the I2C controllers are spread out among the PD_RKVENC, PD_VO
and PD_VPU power domains.

Add support to describe power-domains for the I2C controllers.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
---
 Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml b/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
index 2f1e97969c3f..4ac5a40a3886 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
+++ b/Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml
@@ -105,6 +105,9 @@ properties:
       (t(f) in the I2C specification). If not specified we will use the SCL
       value since they are the same in nearly all cases.
 
+  power-domains:
+    maxItems: 1
+
 required:
   - compatible
   - reg
-- 
2.49.0


  parent reply	other threads:[~2025-05-18 22:07 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-18 22:06 [PATCH 0/9] rockchip: Add power controller support for RK3528 Jonas Karlman
2025-05-18 22:06 ` [PATCH 1/9] dt-bindings: power: rockchip: Add " Jonas Karlman
2025-05-19 16:13   ` Conor Dooley
2025-05-18 22:06 ` [PATCH 2/9] pmdomain: " Jonas Karlman
2025-05-19 16:52   ` Yao Zi
2025-05-19 17:07     ` Heiko Stübner
2025-05-19 17:11       ` Yao Zi
2025-05-19 17:11     ` Jonas Karlman
2025-05-18 22:06 ` [PATCH 3/9] dt-bindings: rockchip: pmu: Add compatible " Jonas Karlman
2025-05-19 16:13   ` Conor Dooley
2025-05-18 22:06 ` [PATCH 4/9] arm64: dts: rockchip: Add power controller " Jonas Karlman
2025-05-18 22:06 ` [PATCH 5/9] dt-bindings: mmc: sdhci-of-dwcmhsc: Allow use of a power-domain Jonas Karlman
2025-05-19 16:12   ` Conor Dooley
2025-05-19 17:03     ` Jonas Karlman
2025-05-19 17:26       ` Conor Dooley
2025-05-20 12:42   ` Ulf Hansson
2025-05-18 22:06 ` [PATCH 6/9] dt-bindings: gpio: rockchip: " Jonas Karlman
2025-05-27 19:34   ` Rob Herring
2025-06-21 18:23     ` Jonas Karlman
2025-05-18 22:06 ` Jonas Karlman [this message]
2025-05-18 22:06 ` [PATCH 8/9] dt-bindings: iio: adc: rockchip-saradc: " Jonas Karlman
2025-05-25 14:32   ` Jonathan Cameron
2025-05-18 22:06 ` [PATCH 9/9] arm64: dts: rockchip: Enable more power domains for RK3528 Jonas Karlman
2025-06-18 12:56 ` [PATCH 0/9] rockchip: Add power controller support " Ulf Hansson
2025-06-19 22:13 ` (subset) " Heiko Stuebner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250518220707.669515-8-jonas@kwiboo.se \
    --to=jonas@kwiboo.se \
    --cc=amadeus@jmu.edu.cn \
    --cc=andi.shyti@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=heiko@sntech.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=robh@kernel.org \
    --cc=ulf.hansson@linaro.org \
    --cc=ziyao@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox