Re: [PATCH] ARM: moxart: DT fixups
On Tue, Jan 21, 2014 at 04:26:13PM +0100, Jonas Jensen wrote: > Change DT files to remain coherent with changes in > accompanying drivers. > > 1. replace "sdhci" with "mmc" > 2. add bus-width property to mmc node > 3. drop device_type property > 4. replace "mac@" with "ethernet@" > 5. replace CONFIG_MMC_SDHCI_MOXART with CONFIG_MMC_MOXART > > Signed-off-by: Jonas Jensen > --- > > Notes: > Applies on top of: > > "[PATCH] ARM: moxart: move fixed rate clock child node to board level dts" > > http://lists.infradead.org/pipermail/linux-arm-kernel/2014-January/226141.html > > Applies to next-20140121 Since the prereqs for this patch are in different branches right now, I'll have to apply it after the merges have been done by Linus. I'll include it in a batch of fixes later on -- remind me if we forget. -Olof -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH] ARM: moxart: DT fixups
On Tue, Jan 21, 2014 at 04:26:13PM +0100, Jonas Jensen wrote: Change DT files to remain coherent with changes in accompanying drivers. 1. replace sdhci with mmc 2. add bus-width property to mmc node 3. drop device_type property 4. replace mac@ with ethernet@ 5. replace CONFIG_MMC_SDHCI_MOXART with CONFIG_MMC_MOXART Signed-off-by: Jonas Jensen jonas.jen...@gmail.com --- Notes: Applies on top of: [PATCH] ARM: moxart: move fixed rate clock child node to board level dts http://lists.infradead.org/pipermail/linux-arm-kernel/2014-January/226141.html Applies to next-20140121 Since the prereqs for this patch are in different branches right now, I'll have to apply it after the merges have been done by Linus. I'll include it in a batch of fixes later on -- remind me if we forget. -Olof -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH] ARM: moxart: DT fixups
Change DT files to remain coherent with changes in accompanying drivers. 1. replace "sdhci" with "mmc" 2. add bus-width property to mmc node 3. drop device_type property 4. replace "mac@" with "ethernet@" 5. replace CONFIG_MMC_SDHCI_MOXART with CONFIG_MMC_MOXART Signed-off-by: Jonas Jensen --- Notes: Applies on top of: "[PATCH] ARM: moxart: move fixed rate clock child node to board level dts" http://lists.infradead.org/pipermail/linux-arm-kernel/2014-January/226141.html Applies to next-20140121 arch/arm/boot/dts/moxart-uc7112lx.dts | 5 ++--- arch/arm/boot/dts/moxart.dtsi | 8 arch/arm/configs/moxart_defconfig | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/moxart-uc7112lx.dts b/arch/arm/boot/dts/moxart-uc7112lx.dts index 10d088d..ee6ef7c 100644 --- a/arch/arm/boot/dts/moxart-uc7112lx.dts +++ b/arch/arm/boot/dts/moxart-uc7112lx.dts @@ -80,15 +80,15 @@ clocks = <>; }; - { + { status = "okay"; + bus-width = <4>; }; { status = "okay"; ethphy0: ethernet-phy@1 { - device_type = "ethernet-phy"; compatible = "moxa,moxart-rtl8201cp", "ethernet-phy-ieee802.3-c22"; reg = <1>; }; @@ -98,7 +98,6 @@ status = "okay"; ethphy1: ethernet-phy@1 { - device_type = "ethernet-phy"; compatible = "moxa,moxart-rtl8201cp", "ethernet-phy-ieee802.3-c22"; reg = <1>; }; diff --git a/arch/arm/boot/dts/moxart.dtsi b/arch/arm/boot/dts/moxart.dtsi index 1fd27ed..97c8084 100644 --- a/arch/arm/boot/dts/moxart.dtsi +++ b/arch/arm/boot/dts/moxart.dtsi @@ -90,8 +90,8 @@ clocks = <_apb>; }; - sdhci: sdhci@98e0 { - compatible = "moxa,moxart-sdhci"; + mmc: mmc@98e0 { + compatible = "moxa,moxart-mmc"; reg = <0x98e0 0x5C>; interrupts = <5 0>; clocks = <_apb>; @@ -117,7 +117,7 @@ status = "disabled"; }; - mac0: mac@9090 { + mac0: ethernet@9090 { compatible = "moxa,moxart-mac"; reg = <0x9090 0x90>; interrupts = <25 0>; @@ -126,7 +126,7 @@ status = "disabled"; }; - mac1: mac@9200 { + mac1: ethernet@9200 { compatible = "moxa,moxart-mac"; reg = <0x9200 0x90>; interrupts = <27 0>; diff --git a/arch/arm/configs/moxart_defconfig b/arch/arm/configs/moxart_defconfig index a3cb76c..708c0cf 100644 --- a/arch/arm/configs/moxart_defconfig +++ b/arch/arm/configs/moxart_defconfig @@ -107,7 +107,7 @@ CONFIG_WATCHDOG_NOWAYOUT=y CONFIG_MOXART_WDT=y # CONFIG_USB_SUPPORT is not set CONFIG_MMC=y -CONFIG_MMC_SDHCI_MOXART=y +CONFIG_MMC_MOXART=y CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y CONFIG_LEDS_GPIO=y -- 1.8.2.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH] ARM: moxart: DT fixups
Change DT files to remain coherent with changes in accompanying drivers. 1. replace sdhci with mmc 2. add bus-width property to mmc node 3. drop device_type property 4. replace mac@ with ethernet@ 5. replace CONFIG_MMC_SDHCI_MOXART with CONFIG_MMC_MOXART Signed-off-by: Jonas Jensen jonas.jen...@gmail.com --- Notes: Applies on top of: [PATCH] ARM: moxart: move fixed rate clock child node to board level dts http://lists.infradead.org/pipermail/linux-arm-kernel/2014-January/226141.html Applies to next-20140121 arch/arm/boot/dts/moxart-uc7112lx.dts | 5 ++--- arch/arm/boot/dts/moxart.dtsi | 8 arch/arm/configs/moxart_defconfig | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/moxart-uc7112lx.dts b/arch/arm/boot/dts/moxart-uc7112lx.dts index 10d088d..ee6ef7c 100644 --- a/arch/arm/boot/dts/moxart-uc7112lx.dts +++ b/arch/arm/boot/dts/moxart-uc7112lx.dts @@ -80,15 +80,15 @@ clocks = ref12; }; -sdhci { +mmc { status = okay; + bus-width = 4; }; mdio0 { status = okay; ethphy0: ethernet-phy@1 { - device_type = ethernet-phy; compatible = moxa,moxart-rtl8201cp, ethernet-phy-ieee802.3-c22; reg = 1; }; @@ -98,7 +98,6 @@ status = okay; ethphy1: ethernet-phy@1 { - device_type = ethernet-phy; compatible = moxa,moxart-rtl8201cp, ethernet-phy-ieee802.3-c22; reg = 1; }; diff --git a/arch/arm/boot/dts/moxart.dtsi b/arch/arm/boot/dts/moxart.dtsi index 1fd27ed..97c8084 100644 --- a/arch/arm/boot/dts/moxart.dtsi +++ b/arch/arm/boot/dts/moxart.dtsi @@ -90,8 +90,8 @@ clocks = clk_apb; }; - sdhci: sdhci@98e0 { - compatible = moxa,moxart-sdhci; + mmc: mmc@98e0 { + compatible = moxa,moxart-mmc; reg = 0x98e0 0x5C; interrupts = 5 0; clocks = clk_apb; @@ -117,7 +117,7 @@ status = disabled; }; - mac0: mac@9090 { + mac0: ethernet@9090 { compatible = moxa,moxart-mac; reg = 0x9090 0x90; interrupts = 25 0; @@ -126,7 +126,7 @@ status = disabled; }; - mac1: mac@9200 { + mac1: ethernet@9200 { compatible = moxa,moxart-mac; reg = 0x9200 0x90; interrupts = 27 0; diff --git a/arch/arm/configs/moxart_defconfig b/arch/arm/configs/moxart_defconfig index a3cb76c..708c0cf 100644 --- a/arch/arm/configs/moxart_defconfig +++ b/arch/arm/configs/moxart_defconfig @@ -107,7 +107,7 @@ CONFIG_WATCHDOG_NOWAYOUT=y CONFIG_MOXART_WDT=y # CONFIG_USB_SUPPORT is not set CONFIG_MMC=y -CONFIG_MMC_SDHCI_MOXART=y +CONFIG_MMC_MOXART=y CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y CONFIG_LEDS_GPIO=y -- 1.8.2.1 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/