Skip to content

Commit

Permalink
riscv: dts: microchip: mpfs: remove bogus card-detect-delay
Browse files Browse the repository at this point in the history
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: bc47b22 ("riscv: dts: microchip: add the sundance polarberry")
Fixes: 0fa6107 ("RISC-V: Initial DTS for Microchip ICICLE board")
Signed-off-by: Conor Dooley <[email protected]>
  • Loading branch information
ConchuOD committed Aug 23, 2022
1 parent 72a0574 commit 2b55915
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion arch/riscv/boot/dts/microchip/mpfs-icicle-kit.dts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@
disable-wp;
cap-sd-highspeed;
cap-mmc-highspeed;
card-detect-delay = <200>;
mmc-ddr-1_8v;
mmc-hs200-1_8v;
sd-uhs-sdr12;
Expand Down
1 change: 0 additions & 1 deletion arch/riscv/boot/dts/microchip/mpfs-polarberry.dts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
disable-wp;
cap-sd-highspeed;
cap-mmc-highspeed;
card-detect-delay = <200>;
mmc-ddr-1_8v;
mmc-hs200-1_8v;
sd-uhs-sdr12;
Expand Down

0 comments on commit 2b55915

Please sign in to comment.