arm: dts: exynos: Remove outdated DW MMC properties in all Exynos dts
authorSam Protsenko <semen.protsenko@linaro.org>
Thu, 8 Aug 2024 03:14:42 +0000 (22:14 -0500)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 19 Aug 2024 07:09:06 +0000 (16:09 +0900)
Upstream properties were added to device trees to follow current Linux
kernel. DW MMC driver was updated accordingly. Safely remove outdated
MMC properties. Details on removed properties are as follows:

* samsung,removable: replaced by non-removable
* samsung,bus-width: replaced by bus-width
* samsung,timing:
  - replaced by samsung,dw-mshc-ciu-div and samsung,dw-mshc-sdr-timing
    in dw_mmc nodes
  - removed from sdhci nodes (it's neither described in bindings, nor
    it's used in s5p_sdhci.c driver)
* fifoth_val: replaced by fifo-depth
* bus_hz: replaced by clock-frequency
* div: the fixed CIU clock divider value was moved to the chip data in
  exynos_dw_mmc.c driver

No functional change.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
12 files changed:
arch/arm/dts/exynos4210-origen.dts
arch/arm/dts/exynos4210-trats.dts
arch/arm/dts/exynos4210-universal_c210.dts
arch/arm/dts/exynos4412-odroid.dts
arch/arm/dts/exynos4412-trats2.dts
arch/arm/dts/exynos5250-arndale.dts
arch/arm/dts/exynos5250-smdk5250.dts
arch/arm/dts/exynos5250-snow.dts
arch/arm/dts/exynos5250-spring.dts
arch/arm/dts/exynos5420-smdk5420.dts
arch/arm/dts/exynos5422-odroidxu3.dts
arch/arm/dts/exynos54xx.dtsi

index a4915de..40289c8 100644 (file)
@@ -25,9 +25,7 @@
 };
 
 &sdhci2 {
-       samsung,bus-width = <4>;
        bus-width = <4>;
-       samsung,timing = <1 2 3>;
        cd-gpios = <&gpk2 2 0>;
        status = "okay";
 };
index 4fbdf47..88e9c0e 100644 (file)
 };
 
 &sdhci0 {
-       samsung,bus-width = <8>;
        bus-width = <8>;
-       samsung,timing = <1 3 3>;
        pwr-gpios = <&gpk0 2 0>;
        status = "okay";
 };
 
 &sdhci2 {
-       samsung,bus-width = <4>;
        bus-width = <4>;
-       samsung,timing = <1 2 3>;
        cd-gpios = <&gpx3 4 0>;
        status = "okay";
 };
index 1b3ac1f..c87b92b 100644 (file)
 };
 
 &sdhci0 {
-       samsung,bus-width = <8>;
        bus-width = <8>;
-       samsung,timing = <1 3 3>;
        pwr-gpios = <&gpk0 2 0>;
        status = "okay";
 };
 
 &sdhci2 {
-       samsung,bus-width = <4>;
        bus-width = <4>;
-       samsung,timing = <1 2 3>;
        cd-gpios = <&gpx3 4 0>;
        status = "okay";
 };
index a405b97..346e0f5 100644 (file)
 };
 
 &sdhci2 {
-       samsung,bus-width = <4>;
        bus-width = <4>;
-       samsung,timing = <1 2 3>;
        cd-inverted;
        cd-gpios = <&gpk2 2 0>;
        status = "okay";
 };
 
 &mshc_0 {
-       samsung,bus-width = <8>;
        bus-width = <8>;
-       samsung,timing = <2 1 0>;
        samsung,dw-mshc-ciu-div = <0>;
        samsung,dw-mshc-sdr-timing = <2 1>;
-       samsung,removable = <0>;
        non-removable;
-       fifoth_val = <0x203f0040>;
        fifo-depth = <0x80>;
        clock-frequency = <400000000>;
-       bus_hz = <400000000>;
-       div = <0x3>;
        index = <4>;
        status = "okay";
 };
index 30758ff..2b71d32 100644 (file)
        };
 
        sdhci@12510000 {
-               samsung,bus-width = <8>;
                bus-width = <8>;
-               samsung,timing = <1 3 3>;
                pwr-gpios = <&gpk0 4 0>;
                status = "disabled";
        };
 };
 
 &sdhci0 {
-       samsung,bus-width = <8>;
        bus-width = <8>;
-       samsung,timing = <1 3 3>;
        pwr-gpios = <&gpk0 4 0>;
        status = "disabled";
 };
 
 &sdhci2 {
-       samsung,bus-width = <4>;
        bus-width = <4>;
-       samsung,timing = <1 2 3>;
        cd-gpios = <&gpk2 2 0>;
        status = "okay";
 };
 
 &mshc_0 {
-       samsung,bus-width = <8>;
        bus-width = <8>;
-       samsung,timing = <2 1 0>;
        samsung,dw-mshc-ciu-div = <0>;
        samsung,dw-mshc-sdr-timing = <2 1>;
-       samsung,removable = <0>;
        non-removable;
-       fifoth_val = <0x203f0040>;
        clock-frequency = <400000000>;
-       bus_hz = <400000000>;
-       div = <0x3>;
        index = <4>;
        fifo-depth = <0x80>;
        status = "okay";
index 7f84589..4c894f1 100644 (file)
@@ -27,9 +27,7 @@
        };
 
        mmc@12200000 {
-               samsung,bus-width = <8>;
                bus-width = <8>;
-               samsung,timing = <1 3 3>;
                samsung,dw-mshc-ciu-div = <3>;
                samsung,dw-mshc-sdr-timing = <1 3>;
        };
@@ -39,9 +37,7 @@
        };
 
        mmc@12220000 {
-               samsung,bus-width = <4>;
                bus-width = <4>;
-               samsung,timing = <1 2 3>;
                samsung,dw-mshc-ciu-div = <3>;
                samsung,dw-mshc-sdr-timing = <1 2>;
        };
index 882db2d..f9f54cb 100644 (file)
        };
 
        mmc@12200000 {
-               samsung,bus-width = <8>;
                bus-width = <8>;
-               samsung,timing = <1 3 3>;
                samsung,dw-mshc-ciu-div = <3>;
                samsung,dw-mshc-sdr-timing = <1 3>;
-               samsung,removable = <0>;
                non-removable;
        };
 
        };
 
        mmc@12220000 {
-               samsung,bus-width = <4>;
                bus-width = <4>;
-               samsung,timing = <1 2 3>;
                samsung,dw-mshc-ciu-div = <3>;
                samsung,dw-mshc-sdr-timing = <1 2>;
-               samsung,removable = <1>;
        };
 
        mmc@12230000 {
index bcf04d5..ab7b521 100644 (file)
        };
 
        mmc@12200000 {
-               samsung,bus-width = <8>;
                bus-width = <8>;
-               samsung,timing = <1 3 3>;
                samsung,dw-mshc-ciu-div = <3>;
                samsung,dw-mshc-sdr-timing = <1 3>;
-               samsung,removable = <0>;
                non-removable;
        };
 
        };
 
        mmc@12220000 {
-               samsung,bus-width = <4>;
                bus-width = <4>;
-               samsung,timing = <1 2 3>;
                samsung,dw-mshc-ciu-div = <3>;
                samsung,dw-mshc-sdr-timing = <1 2>;
-               samsung,removable = <1>;
        };
 
        mmc@12230000 {
index 7270a54..9c47883 100644 (file)
        };
 
        mmc@12200000 {
-               samsung,bus-width = <8>;
                bus-width = <8>;
-               samsung,timing = <1 3 3>;
                samsung,dw-mshc-ciu-div = <3>;
                samsung,dw-mshc-sdr-timing = <1 3>;
-               samsung,removable = <0>;
                non-removable;
        };
 
index 1f27baa..6ba1306 100644 (file)
        };
 
        mmc@12200000 {
-               samsung,bus-width = <8>;
                bus-width = <8>;
-               samsung,timing = <1 3 3>;
                samsung,dw-mshc-ciu-div = <3>;
                samsung,dw-mshc-sdr-timing = <1 3>;
-               samsung,removable = <0>;
                non-removable;
                samsung,pre-init;
        };
        };
 
        mmc@12220000 {
-               samsung,bus-width = <4>;
                bus-width = <4>;
-               samsung,timing = <1 2 3>;
                samsung,dw-mshc-ciu-div = <3>;
                samsung,dw-mshc-sdr-timing = <1 2>;
-               samsung,removable = <1>;
        };
 
        mmc@12230000 {
index 767b3e4..ef25cf7 100644 (file)
        };
 
        mmc@12200000 {
-               fifoth_val = <0x201f0020>;
                fifo-depth = <0x40>;
        };
 
        mmc@12220000 {
-               fifoth_val = <0x201f0020>;
                fifo-depth = <0x40>;
        };
 
index fd74166..5915ed6 100644 (file)
        };
 
        mmc@12200000 {
-               samsung,bus-width = <8>;
                bus-width = <8>;
-               samsung,timing = <1 3 3>;
                samsung,dw-mshc-ciu-div = <3>;
                samsung,dw-mshc-sdr-timing = <1 3>;
-               samsung,removable = <0>;
                non-removable;
                samsung,pre-init;
        };
        };
 
        mmc@12220000 {
-               samsung,bus-width = <4>;
                bus-width = <4>;
-               samsung,timing = <1 2 3>;
                samsung,dw-mshc-ciu-div = <3>;
                samsung,dw-mshc-sdr-timing = <1 2>;
-               samsung,removable = <1>;
        };
 
        mmc@12230000 {