* [PATCH v2 3/5] dt-bindings: iio: adc: rockchip-saradc: Allow use of a power-domain
[not found] <20250723085654.2273324-1-jonas@kwiboo.se>
@ 2025-07-23 8:56 ` Jonas Karlman
2025-07-23 13:47 ` Rob Herring (Arm)
2025-07-23 15:50 ` Jonathan Cameron
0 siblings, 2 replies; 3+ messages in thread
From: Jonas Karlman @ 2025-07-23 8:56 UTC (permalink / raw)
To: Heiko Stuebner, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko
Cc: Yao Zi, Chukun Pan, devicetree, linux-rockchip, linux-arm-kernel,
linux-kernel, Jonas Karlman, linux-iio
The SARADC controller in most Rockchip SoCs are part of power domains
that are always powered on, i.e. PD_BUS or PD_PERI. These always powered
on power domains have typically not been described in the device tree.
Because these power domains have been left out of the device tree there
has not been any real need to properly describe the power domain of the
SARADC controller.
On RK3528 the SARADC controller is part of the PD_VPU power domain.
Add support to describe an optional power-domains for the SARADC
controller in Rockchip SoCs.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
---
v2: Update commit message
---
Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml b/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml
index 41e0c56ef8e3..f776041fd08f 100644
--- a/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml
@@ -47,6 +47,9 @@ properties:
- const: saradc
- const: apb_pclk
+ power-domains:
+ maxItems: 1
+
resets:
maxItems: 1
--
2.50.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2 3/5] dt-bindings: iio: adc: rockchip-saradc: Allow use of a power-domain
2025-07-23 8:56 ` [PATCH v2 3/5] dt-bindings: iio: adc: rockchip-saradc: Allow use of a power-domain Jonas Karlman
@ 2025-07-23 13:47 ` Rob Herring (Arm)
2025-07-23 15:50 ` Jonathan Cameron
1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2025-07-23 13:47 UTC (permalink / raw)
To: Jonas Karlman
Cc: Yao Zi, Andy Shevchenko, Chukun Pan, Heiko Stuebner,
linux-arm-kernel, Jonathan Cameron, Conor Dooley, Nuno Sá,
linux-rockchip, David Lechner, linux-kernel, devicetree,
linux-iio, Krzysztof Kozlowski
On Wed, 23 Jul 2025 08:56:45 +0000, Jonas Karlman wrote:
> The SARADC controller in most Rockchip SoCs are part of power domains
> that are always powered on, i.e. PD_BUS or PD_PERI. These always powered
> on power domains have typically not been described in the device tree.
>
> Because these power domains have been left out of the device tree there
> has not been any real need to properly describe the power domain of the
> SARADC controller.
>
> On RK3528 the SARADC controller is part of the PD_VPU power domain.
>
> Add support to describe an optional power-domains for the SARADC
> controller in Rockchip SoCs.
>
> Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
> ---
> v2: Update commit message
> ---
> Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2 3/5] dt-bindings: iio: adc: rockchip-saradc: Allow use of a power-domain
2025-07-23 8:56 ` [PATCH v2 3/5] dt-bindings: iio: adc: rockchip-saradc: Allow use of a power-domain Jonas Karlman
2025-07-23 13:47 ` Rob Herring (Arm)
@ 2025-07-23 15:50 ` Jonathan Cameron
1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2025-07-23 15:50 UTC (permalink / raw)
To: Jonas Karlman
Cc: Heiko Stuebner, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
David Lechner, Nuno Sá, Andy Shevchenko, Yao Zi, Chukun Pan,
devicetree, linux-rockchip, linux-arm-kernel, linux-kernel,
linux-iio
On Wed, 23 Jul 2025 08:56:45 +0000
Jonas Karlman <jonas@kwiboo.se> wrote:
> The SARADC controller in most Rockchip SoCs are part of power domains
> that are always powered on, i.e. PD_BUS or PD_PERI. These always powered
> on power domains have typically not been described in the device tree.
>
> Because these power domains have been left out of the device tree there
> has not been any real need to properly describe the power domain of the
> SARADC controller.
>
> On RK3528 the SARADC controller is part of the PD_VPU power domain.
>
> Add support to describe an optional power-domains for the SARADC
> controller in Rockchip SoCs.
>
> Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Applied to the testing branch of iio.git.
I'll be rebasing on rc1 once available.
Thanks,
Jonathan
> ---
> v2: Update commit message
> ---
> Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml b/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml
> index 41e0c56ef8e3..f776041fd08f 100644
> --- a/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.yaml
> @@ -47,6 +47,9 @@ properties:
> - const: saradc
> - const: apb_pclk
>
> + power-domains:
> + maxItems: 1
> +
> resets:
> maxItems: 1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-07-23 15:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20250723085654.2273324-1-jonas@kwiboo.se>
2025-07-23 8:56 ` [PATCH v2 3/5] dt-bindings: iio: adc: rockchip-saradc: Allow use of a power-domain Jonas Karlman
2025-07-23 13:47 ` Rob Herring (Arm)
2025-07-23 15:50 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox