ARM: dts: i.MX27: Using "wdog_ipg_gate" clock source for watchdog
Subsystems (2)
PATCH 1/6 ARM: dts: i.MX27: Using "wdog_ipg_gate" clock source for watchdog
Patch replaces "dummy" clock source for watchdog with "wdog_ipg_gate".
--- arch/arm/boot/dts/imx27.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx27.dtsi +1 -1
@@ -96,7 +96,7 @@ compatible = "fsl,imx27-wdt", "fsl,imx21-wdt"; reg = <0x10002000 0x1000>; interrupts = <27>; - clocks = <&clks 0>; + clocks = <&clks 74>; }; gpt1: timer at 10003000 {
Signature · 1 line
1.8.1.5
PATCH 2/6 ARM: dts: i.MX27: Remove optional "ptp" clock source for FEC
Patch removes optional "ptp" clock source for FEC. This clock is missing in i.MX27.
--- arch/arm/boot/dts/imx27.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx27.dtsi +2 -2
@@ -428,8 +428,8 @@ compatible = "fsl,imx27-fec"; reg = <0x1002b000 0x4000>; interrupts = <50>; - clocks = <&clks 48>, <&clks 67>, <&clks 0>; - clock-names = "ipg", "ahb", "ptp"; + clocks = <&clks 48>, <&clks 67>; + clock-names = "ipg", "ahb"; status = "disabled"; }; };
Signature · 1 line
1.8.1.5
PATCH 3/6 ARM: dts: i.MX27: Add label to CPU node
In reply to Alexander ShiyanAdd a label to i.MX27 CPU node. This change allows the reuse this node in the upper levels of the DTS.
--- arch/arm/boot/dts/imx27.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx27.dtsi +1 -1
@@ -53,7 +53,7 @@ #size-cells = <0>; #address-cells = <1>; - cpu { + cpu: cpu at 0 { device_type = "cpu"; compatible = "arm,arm926ej-s"; operating-points = <
Signature · 1 line
1.8.1.5
PATCH 4/6 ARM: dts: i.MX27: Increase "clock-latency" value
In reply to Alexander Shiyani.MX27 CPU can be clocked with a 32 kHz quartz, and not just 32768 Hz, so increase "clock-latency" value, which will ensure that we use two clock cycles on frequency change.
--- arch/arm/boot/dts/imx27.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx27.dtsi +1 -1
@@ -61,7 +61,7 @@ 266000 1300000 399000 1450000 >; - clock-latency = <61036>; /* two CLK32 periods */ + clock-latency = <62500>; clocks = <&clks 18>; clock-names = "cpu"; voltage-tolerance = <5>;
Signature · 1 line
1.8.1.5
PATCH 5/6 ARM: dts: i.MX27: Remove clock name from CPU node
In reply to Alexander ShiyanClock name is not needed for "cpufreq-cpu0".
--- arch/arm/boot/dts/imx27.dtsi | 1 - 1 file changed, 1 deletion(-)
arch/arm/boot/dts/imx27.dtsi +0 -1
@@ -63,7 +63,6 @@ >; clock-latency = <62500>; clocks = <&clks 18>; - clock-names = "cpu"; voltage-tolerance = <5>; }; };
Signature · 1 line
1.8.1.5
PATCH 6/6 ARM: dts: imx27-phytec-phycore-som: Fix regulator settings
In reply to Alexander ShiyanOutputs regulator SW1A and SW1A, SW2A and SW2B are connected together, so it determined as "joined" operation for MC13783. Separate work of these outputs in this case would be wrong, so we define only one of the outputs.
Additionally, define the full range of voltages for the CPU (1.2v - 1.52v).
--- arch/arm/boot/dts/imx27-phytec-phycore-som.dts | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-)
arch/arm/boot/dts/imx27-phytec-phycore-som.dts +5 -17
@@ -38,28 +38,16 @@ fsl,mc13xxx-uses-rtc; regulators { - sw1a_reg: sw1a { + /* SW1A and SW1B joined operation */ + sw1_reg: sw1a { regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; + regulator-max-microvolt = <1520000>; regulator-always-on; regulator-boot-on; }; - sw1b_reg: sw1b { - regulator-min-microvolt = <1200000>; - regulator-max-microvolt = <1200000>; - regulator-always-on; - regulator-boot-on; - }; - - sw2a_reg: sw2a { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - regulator-boot-on; - }; - - sw2b_reg: sw2b { + /* SW2A and SW2B joined operation */ + sw2_reg: sw2a { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on;
Signature · 1 line
1.8.1.5
Sascha Hauer
maintainerPATCH 1/6 ARM: dts: i.MX27: Using "wdog_ipg_gate" clock source for watchdog
In reply to Alexander ShiyanQuoted 3 lines · Alexander Shiyan
Patch replaces "dummy" clock source for watchdog with "
wdog_ipg_gate".Signed-off-by Alexander Shiyan <[email protected]>
The series looks good to me.
Sascha
Quoted 21 lines
--- arch/arm/boot/dts/imx27.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/boot/dts/imx27.dtsi +1
-1@@ -96,7 +96,7 @@ compatible = "fsl,imx27-wdt", "fsl,imx21-wdt"; reg = <0x10002000 0x1000>; interrupts = <27>; - clocks = <&clks 0>; + clocks = <&clks 74>; }; gpt1: timer at 10003000 {Signature · 1 line
1.8.1.5
Signature · 4 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Shawn Guo
AppliedPATCH 1/6 ARM: dts: i.MX27: Using "wdog_ipg_gate" clock source for watchdog
In reply to Alexander ShiyanQuoted 3 lines · Alexander Shiyan
Patch replaces "dummy" clock source for watchdog with "
wdog_ipg_gate".Signed-off-by Alexander Shiyan <[email protected]>
Applied all 6, thanks.