Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: mmc: mtk-sd: increase reg items

MediaTek has a new version of mmc IP since mt8183. Some IO registers
are moved to top to improve hardware design and named as "host top
registers".

Add host top register in the reg binding description for mt8183 and
successors.

Signed-off-by: Wenbin Mei <wenbin.mei@mediatek.com>
Signed-off-by: Tinghan Shen <tinghan.shen@mediatek.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220330094532.21721-2-tinghan.shen@mediatek.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Tinghan Shen and committed by
Ulf Hansson
7792fdf6 3ddfa03d

+14 -1
+14 -1
Documentation/devicetree/bindings/mmc/mtk-sd.yaml
··· 40 40 - const: mediatek,mt8183-mmc 41 41 42 42 reg: 43 - maxItems: 1 43 + minItems: 1 44 + items: 45 + - description: base register (required). 46 + - description: top base register (required for MT8183). 44 47 45 48 clocks: 46 49 description: ··· 170 167 - pinctrl-1 171 168 - vmmc-supply 172 169 - vqmmc-supply 170 + 171 + if: 172 + properties: 173 + compatible: 174 + contains: 175 + const: mediatek,mt8183-mmc 176 + then: 177 + properties: 178 + reg: 179 + minItems: 2 173 180 174 181 unevaluatedProperties: false 175 182