Re: [PATCH-V2] arm/dts: AM33XX: Set the default status of module to "disabled" state
* Vaibhav Hiremath [120815 04:24]: > Ideally in common SoC dtsi file should set all modules > to "disabled" state and it should get enabled in respective > EVM/Board dts file as per usage. > > This patch sets default status of all modules to "disabled" > state in am33xx.dtsi file. Currently there are no modules > supported as part of Bone and EVM dts support, so care > to add entry "status = "okay"" while adding support for any > module. > > Signed-off-by: Vaibhav Hiremath > Acked-by: Arnd Bergmann > Cc: Benoit Cousson > Cc: Grant Likely > Cc: Tony Lindgren > --- > Changes from V1: > - Fixed indentation issue caused due to extra spaces. Thanks applying into devel-dt branch. Tony -- 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-V2] arm/dts: AM33XX: Set the default status of module to disabled state
* Vaibhav Hiremath hvaib...@ti.com [120815 04:24]: Ideally in common SoC dtsi file should set all modules to disabled state and it should get enabled in respective EVM/Board dts file as per usage. This patch sets default status of all modules to disabled state in am33xx.dtsi file. Currently there are no modules supported as part of Bone and EVM dts support, so care to add entry status = okay while adding support for any module. Signed-off-by: Vaibhav Hiremath hvaib...@ti.com Acked-by: Arnd Bergmann a...@arndb.de Cc: Benoit Cousson b-cous...@ti.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Tony Lindgren t...@atomide.com --- Changes from V1: - Fixed indentation issue caused due to extra spaces. Thanks applying into devel-dt branch. Tony -- 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-V2] arm/dts: AM33XX: Set the default status of module to "disabled" state
Ideally in common SoC dtsi file should set all modules to "disabled" state and it should get enabled in respective EVM/Board dts file as per usage. This patch sets default status of all modules to "disabled" state in am33xx.dtsi file. Currently there are no modules supported as part of Bone and EVM dts support, so care to add entry "status = "okay"" while adding support for any module. Signed-off-by: Vaibhav Hiremath Acked-by: Arnd Bergmann Cc: Benoit Cousson Cc: Grant Likely Cc: Tony Lindgren --- Changes from V1: - Fixed indentation issue caused due to extra spaces. arch/arm/boot/dts/am335x-bone.dts |6 ++ arch/arm/boot/dts/am335x-evm.dts |6 ++ arch/arm/boot/dts/am33xx.dtsi |9 + 3 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts index a9af4db..a7906cb 100644 --- a/arch/arm/boot/dts/am335x-bone.dts +++ b/arch/arm/boot/dts/am335x-bone.dts @@ -17,4 +17,10 @@ device_type = "memory"; reg = <0x8000 0x1000>; /* 256 MB */ }; + + ocp { + uart1: serial@44E09000 { + status = "okay"; + }; + }; }; diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index d6a97d9..5dd8a6b 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts @@ -17,4 +17,10 @@ device_type = "memory"; reg = <0x8000 0x1000>; /* 256 MB */ }; + + ocp { + uart1: serial@44E09000 { + status = "okay"; + }; + }; }; diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 59509c4..5f6c8e3 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi @@ -102,36 +102,42 @@ compatible = "ti,omap3-uart"; ti,hwmods = "uart1"; clock-frequency = <4800>; + status = "disabled"; }; uart2: serial@48022000 { compatible = "ti,omap3-uart"; ti,hwmods = "uart2"; clock-frequency = <4800>; + status = "disabled"; }; uart3: serial@48024000 { compatible = "ti,omap3-uart"; ti,hwmods = "uart3"; clock-frequency = <4800>; + status = "disabled"; }; uart4: serial@481A6000 { compatible = "ti,omap3-uart"; ti,hwmods = "uart4"; clock-frequency = <4800>; + status = "disabled"; }; uart5: serial@481A8000 { compatible = "ti,omap3-uart"; ti,hwmods = "uart5"; clock-frequency = <4800>; + status = "disabled"; }; uart6: serial@481AA000 { compatible = "ti,omap3-uart"; ti,hwmods = "uart6"; clock-frequency = <4800>; + status = "disabled"; }; i2c1: i2c@44E0B000 { @@ -139,6 +145,7 @@ #address-cells = <1>; #size-cells = <0>; ti,hwmods = "i2c1"; + status = "disabled"; }; i2c2: i2c@4802A000 { @@ -146,6 +153,7 @@ #address-cells = <1>; #size-cells = <0>; ti,hwmods = "i2c2"; + status = "disabled"; }; i2c3: i2c@4819C000 { @@ -153,6 +161,7 @@ #address-cells = <1>; #size-cells = <0>; ti,hwmods = "i2c3"; + status = "disabled"; }; }; }; -- 1.7.0.4 -- 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-V2] arm/dts: AM33XX: Set the default status of module to disabled state
Ideally in common SoC dtsi file should set all modules to disabled state and it should get enabled in respective EVM/Board dts file as per usage. This patch sets default status of all modules to disabled state in am33xx.dtsi file. Currently there are no modules supported as part of Bone and EVM dts support, so care to add entry status = okay while adding support for any module. Signed-off-by: Vaibhav Hiremath hvaib...@ti.com Acked-by: Arnd Bergmann a...@arndb.de Cc: Benoit Cousson b-cous...@ti.com Cc: Grant Likely grant.lik...@secretlab.ca Cc: Tony Lindgren t...@atomide.com --- Changes from V1: - Fixed indentation issue caused due to extra spaces. arch/arm/boot/dts/am335x-bone.dts |6 ++ arch/arm/boot/dts/am335x-evm.dts |6 ++ arch/arm/boot/dts/am33xx.dtsi |9 + 3 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts index a9af4db..a7906cb 100644 --- a/arch/arm/boot/dts/am335x-bone.dts +++ b/arch/arm/boot/dts/am335x-bone.dts @@ -17,4 +17,10 @@ device_type = memory; reg = 0x8000 0x1000; /* 256 MB */ }; + + ocp { + uart1: serial@44E09000 { + status = okay; + }; + }; }; diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index d6a97d9..5dd8a6b 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts @@ -17,4 +17,10 @@ device_type = memory; reg = 0x8000 0x1000; /* 256 MB */ }; + + ocp { + uart1: serial@44E09000 { + status = okay; + }; + }; }; diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 59509c4..5f6c8e3 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi @@ -102,36 +102,42 @@ compatible = ti,omap3-uart; ti,hwmods = uart1; clock-frequency = 4800; + status = disabled; }; uart2: serial@48022000 { compatible = ti,omap3-uart; ti,hwmods = uart2; clock-frequency = 4800; + status = disabled; }; uart3: serial@48024000 { compatible = ti,omap3-uart; ti,hwmods = uart3; clock-frequency = 4800; + status = disabled; }; uart4: serial@481A6000 { compatible = ti,omap3-uart; ti,hwmods = uart4; clock-frequency = 4800; + status = disabled; }; uart5: serial@481A8000 { compatible = ti,omap3-uart; ti,hwmods = uart5; clock-frequency = 4800; + status = disabled; }; uart6: serial@481AA000 { compatible = ti,omap3-uart; ti,hwmods = uart6; clock-frequency = 4800; + status = disabled; }; i2c1: i2c@44E0B000 { @@ -139,6 +145,7 @@ #address-cells = 1; #size-cells = 0; ti,hwmods = i2c1; + status = disabled; }; i2c2: i2c@4802A000 { @@ -146,6 +153,7 @@ #address-cells = 1; #size-cells = 0; ti,hwmods = i2c2; + status = disabled; }; i2c3: i2c@4819C000 { @@ -153,6 +161,7 @@ #address-cells = 1; #size-cells = 0; ti,hwmods = i2c3; + status = disabled; }; }; }; -- 1.7.0.4 -- 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/