Skip to content

Commit f8fd855

Browse files
KwibooAndi Shyti
authored andcommitted
dt-bindings: i2c: i2c-rk3x: Allow use of a power-domain
The I2C controllers in most Rockchip SoCs are part of power domains that are always powered on, i.e. PD_BUS or PD_PMU. 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 I2C controllers power domain. On RK3528 the I2C controllers are spread out among the described PD_RKVENC, PD_VO and PD_VPU power domains. However, one I2C controller belong to an undescribed always powered on power domain. Add support to describe an optional power-domains for the I2C controllers in Rockchip SoCs. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]> Signed-off-by: Andi Shyti <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent ae5e80b commit f8fd855

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Documentation/devicetree/bindings/i2c/i2c-rk3x.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,9 @@ properties:
105105
(t(f) in the I2C specification). If not specified we will use the SCL
106106
value since they are the same in nearly all cases.
107107

108+
power-domains:
109+
maxItems: 1
110+
108111
required:
109112
- compatible
110113
- reg

0 commit comments

Comments
 (0)