]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: dts: microchip: mpfs: remove bogus card-detect-delay
authorConor Dooley <conor.dooley@microchip.com>
Fri, 19 Aug 2022 23:14:15 +0000 (00:14 +0100)
committerConor Dooley <conor.dooley@microchip.com>
Tue, 23 Aug 2022 21:15:54 +0000 (22:15 +0100)
commit4615e5d53618f8c136d15f7653abffd36bb30277
tree68453fc3752bbef61af1b5bed091a4dbbd64ca09
parenta262cdfdff0919b86a3eaf4891148b343842e3f1
riscv: dts: microchip: mpfs: remove bogus card-detect-delay

Recent versions of dt-schema warn about a previously undetected
undocumented property:
arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dtb: mmc@20008000: Unevaluated properties are not allowed ('card-detect-delay' was unexpected)
        From schema: Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml

There are no GPIOs connected to MSSIO6B4 pin K3 so adding the common
cd-debounce-delay-ms property makes no sense. The Cadence IP has a
register that sets the card detect delay as "DP * tclk". On MPFS, this
clock frequency is not configurable (it must be 200 MHz) & the FPGA
comes out of reset with this register already set.

Fixes: 0df6121fd2c5 ("riscv: dts: microchip: add the sundance polarberry")
Fixes: 6b215eb5b39b ("RISC-V: Initial DTS for Microchip ICICLE board")
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts
arch/riscv/boot/dts/microchip/mpfs-polarberry.dts