mirror of
https://github.com/torvalds/linux.git
synced 2025-11-04 18:49:34 +02:00
dt-bindings: mmc: Add support for rk3576 eMMC
The device is compatible with rk3588, so add an entry for the 2 compatibles together. The rk3576 device has a power-domain that needs to be on for the eMMC to be used. Add it as a requirement. Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240904203154.253655-2-detlev.casanova@collabora.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
819e4b3723
commit
7e856617a1
1 changed files with 29 additions and 8 deletions
|
|
@ -12,14 +12,18 @@ maintainers:
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
enum:
|
oneOf:
|
||||||
- rockchip,rk3568-dwcmshc
|
- items:
|
||||||
- rockchip,rk3588-dwcmshc
|
- const: rockchip,rk3576-dwcmshc
|
||||||
- snps,dwcmshc-sdhci
|
- const: rockchip,rk3588-dwcmshc
|
||||||
- sophgo,cv1800b-dwcmshc
|
- enum:
|
||||||
- sophgo,sg2002-dwcmshc
|
- rockchip,rk3568-dwcmshc
|
||||||
- sophgo,sg2042-dwcmshc
|
- rockchip,rk3588-dwcmshc
|
||||||
- thead,th1520-dwcmshc
|
- snps,dwcmshc-sdhci
|
||||||
|
- sophgo,cv1800b-dwcmshc
|
||||||
|
- sophgo,sg2002-dwcmshc
|
||||||
|
- sophgo,sg2042-dwcmshc
|
||||||
|
- thead,th1520-dwcmshc
|
||||||
|
|
||||||
reg:
|
reg:
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
|
|
@ -35,6 +39,9 @@ properties:
|
||||||
minItems: 1
|
minItems: 1
|
||||||
maxItems: 5
|
maxItems: 5
|
||||||
|
|
||||||
|
power-domains:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
resets:
|
resets:
|
||||||
maxItems: 5
|
maxItems: 5
|
||||||
|
|
||||||
|
|
@ -97,6 +104,20 @@ allOf:
|
||||||
- const: block
|
- const: block
|
||||||
- const: timer
|
- const: timer
|
||||||
|
|
||||||
|
- if:
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
contains:
|
||||||
|
const: rockchip,rk3576-dwcmshc
|
||||||
|
|
||||||
|
then:
|
||||||
|
required:
|
||||||
|
- power-domains
|
||||||
|
|
||||||
|
else:
|
||||||
|
properties:
|
||||||
|
power-domains: false
|
||||||
|
|
||||||
unevaluatedProperties: false
|
unevaluatedProperties: false
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue