* [PATCH 1/6] ARM: dts: i.MX27: Using "wdog_ipg_gate" clock source for watchdog
@ 2013-07-20 7:17 Alexander Shiyan
2013-07-20 7:17 ` [PATCH 2/6] ARM: dts: i.MX27: Remove optional "ptp" clock source for FEC Alexander Shiyan
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: Alexander Shiyan @ 2013-07-20 7:17 UTC (permalink / raw)
To: linux-arm-kernel
Patch replaces "dummy" clock source for watchdog with "wdog_ipg_gate".
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
arch/arm/boot/dts/imx27.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
index 56b8c97..e9d60ab 100644
--- a/arch/arm/boot/dts/imx27.dtsi
+++ b/arch/arm/boot/dts/imx27.dtsi
@@ -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 {
--
1.8.1.5
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/6] ARM: dts: i.MX27: Remove optional "ptp" clock source for FEC
2013-07-20 7:17 [PATCH 1/6] ARM: dts: i.MX27: Using "wdog_ipg_gate" clock source for watchdog Alexander Shiyan
@ 2013-07-20 7:17 ` Alexander Shiyan
2013-07-20 7:17 ` [PATCH 3/6] ARM: dts: i.MX27: Add label to CPU node Alexander Shiyan
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Alexander Shiyan @ 2013-07-20 7:17 UTC (permalink / raw)
To: linux-arm-kernel
Patch removes optional "ptp" clock source for FEC. This clock is
missing in i.MX27.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
arch/arm/boot/dts/imx27.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
index e9d60ab..7cf954b 100644
--- a/arch/arm/boot/dts/imx27.dtsi
+++ b/arch/arm/boot/dts/imx27.dtsi
@@ -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";
};
};
--
1.8.1.5
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 3/6] ARM: dts: i.MX27: Add label to CPU node
2013-07-20 7:17 [PATCH 1/6] ARM: dts: i.MX27: Using "wdog_ipg_gate" clock source for watchdog Alexander Shiyan
2013-07-20 7:17 ` [PATCH 2/6] ARM: dts: i.MX27: Remove optional "ptp" clock source for FEC Alexander Shiyan
@ 2013-07-20 7:17 ` Alexander Shiyan
2013-07-20 7:17 ` [PATCH 4/6] ARM: dts: i.MX27: Increase "clock-latency" value Alexander Shiyan
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Alexander Shiyan @ 2013-07-20 7:17 UTC (permalink / raw)
To: linux-arm-kernel
Add a label to i.MX27 CPU node. This change allows the reuse this node
in the upper levels of the DTS.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
arch/arm/boot/dts/imx27.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
index 7cf954b..a8e0c7e 100644
--- a/arch/arm/boot/dts/imx27.dtsi
+++ b/arch/arm/boot/dts/imx27.dtsi
@@ -53,7 +53,7 @@
#size-cells = <0>;
#address-cells = <1>;
- cpu {
+ cpu: cpu at 0 {
device_type = "cpu";
compatible = "arm,arm926ej-s";
operating-points = <
--
1.8.1.5
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 4/6] ARM: dts: i.MX27: Increase "clock-latency" value
2013-07-20 7:17 [PATCH 1/6] ARM: dts: i.MX27: Using "wdog_ipg_gate" clock source for watchdog Alexander Shiyan
2013-07-20 7:17 ` [PATCH 2/6] ARM: dts: i.MX27: Remove optional "ptp" clock source for FEC Alexander Shiyan
2013-07-20 7:17 ` [PATCH 3/6] ARM: dts: i.MX27: Add label to CPU node Alexander Shiyan
@ 2013-07-20 7:17 ` Alexander Shiyan
2013-07-20 7:17 ` [PATCH 5/6] ARM: dts: i.MX27: Remove clock name from CPU node Alexander Shiyan
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Alexander Shiyan @ 2013-07-20 7:17 UTC (permalink / raw)
To: linux-arm-kernel
i.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.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
arch/arm/boot/dts/imx27.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
index a8e0c7e..c06df85 100644
--- a/arch/arm/boot/dts/imx27.dtsi
+++ b/arch/arm/boot/dts/imx27.dtsi
@@ -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>;
--
1.8.1.5
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 5/6] ARM: dts: i.MX27: Remove clock name from CPU node
2013-07-20 7:17 [PATCH 1/6] ARM: dts: i.MX27: Using "wdog_ipg_gate" clock source for watchdog Alexander Shiyan
` (2 preceding siblings ...)
2013-07-20 7:17 ` [PATCH 4/6] ARM: dts: i.MX27: Increase "clock-latency" value Alexander Shiyan
@ 2013-07-20 7:17 ` Alexander Shiyan
2013-07-20 7:17 ` [PATCH 6/6] ARM: dts: imx27-phytec-phycore-som: Fix regulator settings Alexander Shiyan
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Alexander Shiyan @ 2013-07-20 7:17 UTC (permalink / raw)
To: linux-arm-kernel
Clock name is not needed for "cpufreq-cpu0".
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
arch/arm/boot/dts/imx27.dtsi | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
index c06df85..76cd89f 100644
--- a/arch/arm/boot/dts/imx27.dtsi
+++ b/arch/arm/boot/dts/imx27.dtsi
@@ -63,7 +63,6 @@
>;
clock-latency = <62500>;
clocks = <&clks 18>;
- clock-names = "cpu";
voltage-tolerance = <5>;
};
};
--
1.8.1.5
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 6/6] ARM: dts: imx27-phytec-phycore-som: Fix regulator settings
2013-07-20 7:17 [PATCH 1/6] ARM: dts: i.MX27: Using "wdog_ipg_gate" clock source for watchdog Alexander Shiyan
` (3 preceding siblings ...)
2013-07-20 7:17 ` [PATCH 5/6] ARM: dts: i.MX27: Remove clock name from CPU node Alexander Shiyan
@ 2013-07-20 7:17 ` Alexander Shiyan
2013-07-21 18:50 ` [PATCH 1/6] ARM: dts: i.MX27: Using "wdog_ipg_gate" clock source for watchdog Sascha Hauer
2013-07-22 8:39 ` Shawn Guo
6 siblings, 0 replies; 8+ messages in thread
From: Alexander Shiyan @ 2013-07-20 7:17 UTC (permalink / raw)
To: linux-arm-kernel
Outputs 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).
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
arch/arm/boot/dts/imx27-phytec-phycore-som.dts | 22 +++++-----------------
1 file changed, 5 insertions(+), 17 deletions(-)
diff --git a/arch/arm/boot/dts/imx27-phytec-phycore-som.dts b/arch/arm/boot/dts/imx27-phytec-phycore-som.dts
index 22d0d27..aa70ad7 100644
--- a/arch/arm/boot/dts/imx27-phytec-phycore-som.dts
+++ b/arch/arm/boot/dts/imx27-phytec-phycore-som.dts
@@ -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;
--
1.8.1.5
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 1/6] ARM: dts: i.MX27: Using "wdog_ipg_gate" clock source for watchdog
2013-07-20 7:17 [PATCH 1/6] ARM: dts: i.MX27: Using "wdog_ipg_gate" clock source for watchdog Alexander Shiyan
` (4 preceding siblings ...)
2013-07-20 7:17 ` [PATCH 6/6] ARM: dts: imx27-phytec-phycore-som: Fix regulator settings Alexander Shiyan
@ 2013-07-21 18:50 ` Sascha Hauer
2013-07-22 8:39 ` Shawn Guo
6 siblings, 0 replies; 8+ messages in thread
From: Sascha Hauer @ 2013-07-21 18:50 UTC (permalink / raw)
To: linux-arm-kernel
On Sat, Jul 20, 2013 at 11:17:54AM +0400, Alexander Shiyan wrote:
> Patch replaces "dummy" clock source for watchdog with "wdog_ipg_gate".
>
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
The series looks good to me.
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Sascha
> ---
> arch/arm/boot/dts/imx27.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
> index 56b8c97..e9d60ab 100644
> --- a/arch/arm/boot/dts/imx27.dtsi
> +++ b/arch/arm/boot/dts/imx27.dtsi
> @@ -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 {
> --
> 1.8.1.5
>
>
--
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 |
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/6] ARM: dts: i.MX27: Using "wdog_ipg_gate" clock source for watchdog
2013-07-20 7:17 [PATCH 1/6] ARM: dts: i.MX27: Using "wdog_ipg_gate" clock source for watchdog Alexander Shiyan
` (5 preceding siblings ...)
2013-07-21 18:50 ` [PATCH 1/6] ARM: dts: i.MX27: Using "wdog_ipg_gate" clock source for watchdog Sascha Hauer
@ 2013-07-22 8:39 ` Shawn Guo
6 siblings, 0 replies; 8+ messages in thread
From: Shawn Guo @ 2013-07-22 8:39 UTC (permalink / raw)
To: linux-arm-kernel
On Sat, Jul 20, 2013 at 11:17:54AM +0400, Alexander Shiyan wrote:
> Patch replaces "dummy" clock source for watchdog with "wdog_ipg_gate".
>
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Applied all 6, thanks.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-07-22 8:39 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-20 7:17 [PATCH 1/6] ARM: dts: i.MX27: Using "wdog_ipg_gate" clock source for watchdog Alexander Shiyan
2013-07-20 7:17 ` [PATCH 2/6] ARM: dts: i.MX27: Remove optional "ptp" clock source for FEC Alexander Shiyan
2013-07-20 7:17 ` [PATCH 3/6] ARM: dts: i.MX27: Add label to CPU node Alexander Shiyan
2013-07-20 7:17 ` [PATCH 4/6] ARM: dts: i.MX27: Increase "clock-latency" value Alexander Shiyan
2013-07-20 7:17 ` [PATCH 5/6] ARM: dts: i.MX27: Remove clock name from CPU node Alexander Shiyan
2013-07-20 7:17 ` [PATCH 6/6] ARM: dts: imx27-phytec-phycore-som: Fix regulator settings Alexander Shiyan
2013-07-21 18:50 ` [PATCH 1/6] ARM: dts: i.MX27: Using "wdog_ipg_gate" clock source for watchdog Sascha Hauer
2013-07-22 8:39 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).