mmc: SDHI: updata sh_mobile_sdhi_of_data for r8a7779
Subsystems (3)
RFC PATCH 3/6 mmc: SDHI: updata sh_mobile_sdhi_of_data for r8a7779
From: Kuninori Morimoto <[email protected]>
This patch updates r8a7779 DT data to have SoC specific settings. Latest Renesas Chip has some SDHI channels and the WP pin availability depends on its channel or HW implementation. Thus, this patch disables it as default,
but we can use wp-gpios property to enable it.
Signed-off-by Kuninori Morimoto <[email protected]>
--- arch/arm/boot/dts/r8a7779.dtsi | 8 -------- drivers/mmc/host/sh_mobile_sdhi.c | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-)
arch/arm/boot/dts/r8a7779.dtsi +0 -8
@@ -220,8 +220,6 @@ reg = <0xffe4c000 0x100>; interrupt-parent = <&gic>; interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH>; - cap-sd-highspeed; - cap-sdio-irq; status = "disabled"; };
@@ -230,8 +228,6 @@ reg = <0xffe4d000 0x100>; interrupt-parent = <&gic>; interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>; - cap-sd-highspeed; - cap-sdio-irq; status = "disabled"; };
@@ -240,8 +236,6 @@ reg = <0xffe4e000 0x100>; interrupt-parent = <&gic>; interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>; - cap-sd-highspeed; - cap-sdio-irq; status = "disabled"; };
@@ -250,8 +244,6 @@ reg = <0xffe4f000 0x100>; interrupt-parent = <&gic>; interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>; - cap-sd-highspeed; - cap-sdio-irq; status = "disabled"; };
drivers/mmc/host/sh_mobile_sdhi.c +1 -1
@@ -58,7 +58,7 @@ static const struct of_device_id sh_mobile_sdhi_of_match[] = { { .compatible = "renesas,sdhi-r8a73a4", .data = &sh_mobile_sdhi_of_cfg[0], }, { .compatible = "renesas,sdhi-r8a7740", .data = &sh_mobile_sdhi_of_cfg[0], }, { .compatible = "renesas,sdhi-r8a7778", .data = &of_rcar_gen1_compatible, }, - { .compatible = "renesas,sdhi-r8a7779", .data = &sh_mobile_sdhi_of_cfg[0], }, + { .compatible = "renesas,sdhi-r8a7779", .data = &of_rcar_gen1_compatible, }, { .compatible = "renesas,sdhi-r8a7790", .data = &sh_mobile_sdhi_of_cfg[0], }, {}, };
Signature · 1 line
1.7.9.5