Skip to content

Commit 82e4726

Browse files
blarson866Ulf Hansson
authored andcommitted
dt-bindings: mmc: cdns: Add AMD Pensando Elba SoC
AMD Pensando Elba ARM 64-bit SoC is integrated with this IP and explicitly controls byte-lane enables. Signed-off-by: Brad Larson <blarson@amd.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230410184526.15990-3-blarson@amd.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent f695c5f commit 82e4726

1 file changed

Lines changed: 23 additions & 4 deletions

File tree

Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,18 @@ title: Cadence SD/SDIO/eMMC Host Controller (SD4HC)
99
maintainers:
1010
- Masahiro Yamada <yamada.masahiro@socionext.com>
1111

12-
allOf:
13-
- $ref: mmc-controller.yaml
14-
1512
properties:
1613
compatible:
1714
items:
1815
- enum:
16+
- amd,pensando-elba-sd4hc
1917
- microchip,mpfs-sd4hc
2018
- socionext,uniphier-sd4hc
2119
- const: cdns,sd4hc
2220

2321
reg:
24-
maxItems: 1
22+
minItems: 1
23+
maxItems: 2
2524

2625
interrupts:
2726
maxItems: 1
@@ -120,6 +119,26 @@ required:
120119
- interrupts
121120
- clocks
122121

122+
allOf:
123+
- $ref: mmc-controller.yaml
124+
- if:
125+
properties:
126+
compatible:
127+
contains:
128+
const: amd,pensando-elba-sd4hc
129+
then:
130+
properties:
131+
reg:
132+
items:
133+
- description: Host controller registers
134+
- description: Elba byte-lane enable register for writes
135+
required:
136+
- resets
137+
else:
138+
properties:
139+
reg:
140+
maxItems: 1
141+
123142
unevaluatedProperties: false
124143

125144
examples:

0 commit comments

Comments
 (0)