* [PATCH v2] ARM: mvebu: Fix the main PLL frequency on Armada 375, 38x and 39x SoCs
@ 2015-04-27 6:55 Gregory CLEMENT
2015-04-27 11:28 ` Andrew Lunn
2015-05-01 17:25 ` Gregory CLEMENT
0 siblings, 2 replies; 4+ messages in thread
From: Gregory CLEMENT @ 2015-04-27 6:55 UTC (permalink / raw)
To: linux-arm-kernel
Whereas for Armada 370 and XP the main PLL frequency was 2GHz for the
Armada 375, 38x and 39x, the frequency is 1GHz. When writing support
for these last SoCs, there was no official value for the PLL. Now that
we have it, this patch fixes it in the device tree.
This value is currently only used by the NAND driver for the setting
the NAND timing. Fortunately it is not actually used: all the mainline
board with a NAND flash comes with a NAND device tree node using the
"marvell,nand-keep-config" property. With this property the timings
are not modified in the kernel driver and are kept from the
bootloader.
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
---
Hi,
The only change for this patch is the spell fixes and it was also
rebased onto v4.1-rc1. Unless there is any objection I will apply it
on mvebu/fixes for 4.1.
Thanks,
Gregroy
arch/arm/boot/dts/armada-375.dtsi | 2 +-
arch/arm/boot/dts/armada-38x.dtsi | 2 +-
arch/arm/boot/dts/armada-39x.dtsi | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/armada-375.dtsi b/arch/arm/boot/dts/armada-375.dtsi
index c675257f2377..f076ff856d8b 100644
--- a/arch/arm/boot/dts/armada-375.dtsi
+++ b/arch/arm/boot/dts/armada-375.dtsi
@@ -69,7 +69,7 @@
mainpll: mainpll {
compatible = "fixed-clock";
#clock-cells = <0>;
- clock-frequency = <2000000000>;
+ clock-frequency = <1000000000>;
};
/* 25 MHz reference crystal */
refclk: oscillator {
diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
index ed2dd8ba4080..218a2acd36e5 100644
--- a/arch/arm/boot/dts/armada-38x.dtsi
+++ b/arch/arm/boot/dts/armada-38x.dtsi
@@ -585,7 +585,7 @@
mainpll: mainpll {
compatible = "fixed-clock";
#clock-cells = <0>;
- clock-frequency = <2000000000>;
+ clock-frequency = <1000000000>;
};
/* 25 MHz reference crystal */
diff --git a/arch/arm/boot/dts/armada-39x.dtsi b/arch/arm/boot/dts/armada-39x.dtsi
index 0e85fc15ceda..ecd1318109ba 100644
--- a/arch/arm/boot/dts/armada-39x.dtsi
+++ b/arch/arm/boot/dts/armada-39x.dtsi
@@ -502,7 +502,7 @@
mainpll: mainpll {
compatible = "fixed-clock";
#clock-cells = <0>;
- clock-frequency = <2000000000>;
+ clock-frequency = <1000000000>;
};
};
};
--
2.1.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2] ARM: mvebu: Fix the main PLL frequency on Armada 375, 38x and 39x SoCs
2015-04-27 6:55 [PATCH v2] ARM: mvebu: Fix the main PLL frequency on Armada 375, 38x and 39x SoCs Gregory CLEMENT
@ 2015-04-27 11:28 ` Andrew Lunn
2015-04-27 13:06 ` Marcin Wojtas
2015-05-01 17:25 ` Gregory CLEMENT
1 sibling, 1 reply; 4+ messages in thread
From: Andrew Lunn @ 2015-04-27 11:28 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Apr 27, 2015 at 08:55:18AM +0200, Gregory CLEMENT wrote:
> Whereas for Armada 370 and XP the main PLL frequency was 2GHz for the
> Armada 375, 38x and 39x, the frequency is 1GHz. When writing support
> for these last SoCs, there was no official value for the PLL. Now that
> we have it, this patch fixes it in the device tree.
>
> This value is currently only used by the NAND driver for the setting
> the NAND timing. Fortunately it is not actually used: all the mainline
> board with a NAND flash comes with a NAND device tree node using the
> "marvell,nand-keep-config" property. With this property the timings
> are not modified in the kernel driver and are kept from the
> bootloader.
>
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
> ---
> Hi,
>
> The only change for this patch is the spell fixes and it was also
> rebased onto v4.1-rc1. Unless there is any objection I will apply it
> on mvebu/fixes for 4.1.
Hi Gregory
No objection. Without access to the data sheet or hardware, there is
little any of us can say against this.
Acked-by: Andrew Lunn <andrew@lunn.ch>
Andrew
>
> Thanks,
>
> Gregroy
>
> arch/arm/boot/dts/armada-375.dtsi | 2 +-
> arch/arm/boot/dts/armada-38x.dtsi | 2 +-
> arch/arm/boot/dts/armada-39x.dtsi | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/boot/dts/armada-375.dtsi b/arch/arm/boot/dts/armada-375.dtsi
> index c675257f2377..f076ff856d8b 100644
> --- a/arch/arm/boot/dts/armada-375.dtsi
> +++ b/arch/arm/boot/dts/armada-375.dtsi
> @@ -69,7 +69,7 @@
> mainpll: mainpll {
> compatible = "fixed-clock";
> #clock-cells = <0>;
> - clock-frequency = <2000000000>;
> + clock-frequency = <1000000000>;
> };
> /* 25 MHz reference crystal */
> refclk: oscillator {
> diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
> index ed2dd8ba4080..218a2acd36e5 100644
> --- a/arch/arm/boot/dts/armada-38x.dtsi
> +++ b/arch/arm/boot/dts/armada-38x.dtsi
> @@ -585,7 +585,7 @@
> mainpll: mainpll {
> compatible = "fixed-clock";
> #clock-cells = <0>;
> - clock-frequency = <2000000000>;
> + clock-frequency = <1000000000>;
> };
>
> /* 25 MHz reference crystal */
> diff --git a/arch/arm/boot/dts/armada-39x.dtsi b/arch/arm/boot/dts/armada-39x.dtsi
> index 0e85fc15ceda..ecd1318109ba 100644
> --- a/arch/arm/boot/dts/armada-39x.dtsi
> +++ b/arch/arm/boot/dts/armada-39x.dtsi
> @@ -502,7 +502,7 @@
> mainpll: mainpll {
> compatible = "fixed-clock";
> #clock-cells = <0>;
> - clock-frequency = <2000000000>;
> + clock-frequency = <1000000000>;
> };
> };
> };
> --
> 2.1.0
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2] ARM: mvebu: Fix the main PLL frequency on Armada 375, 38x and 39x SoCs
2015-04-27 11:28 ` Andrew Lunn
@ 2015-04-27 13:06 ` Marcin Wojtas
0 siblings, 0 replies; 4+ messages in thread
From: Marcin Wojtas @ 2015-04-27 13:06 UTC (permalink / raw)
To: linux-arm-kernel
2015-04-27 13:28 GMT+02:00 Andrew Lunn <andrew@lunn.ch>:
> On Mon, Apr 27, 2015 at 08:55:18AM +0200, Gregory CLEMENT wrote:
>> Whereas for Armada 370 and XP the main PLL frequency was 2GHz for the
>> Armada 375, 38x and 39x, the frequency is 1GHz. When writing support
>> for these last SoCs, there was no official value for the PLL. Now that
>> we have it, this patch fixes it in the device tree.
>>
>> This value is currently only used by the NAND driver for the setting
>> the NAND timing. Fortunately it is not actually used: all the mainline
>> board with a NAND flash comes with a NAND device tree node using the
>> "marvell,nand-keep-config" property. With this property the timings
>> are not modified in the kernel driver and are kept from the
>> bootloader.
>>
>> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
>> ---
>> Hi,
>>
>> The only change for this patch is the spell fixes and it was also
>> rebased onto v4.1-rc1. Unless there is any objection I will apply it
>> on mvebu/fixes for 4.1.
>
> Hi Gregory
>
> No objection. Without access to the data sheet or hardware, there is
> little any of us can say against this.
>
> Acked-by: Andrew Lunn <andrew@lunn.ch>
>
> Andrew
>
Hi Gregory,
Having an access to both HW and the spec, I can confirm the change is needed.
Acked-by: Marcin Wojtas <mw@semihalf.com>
Best regards,
Marcin
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2] ARM: mvebu: Fix the main PLL frequency on Armada 375, 38x and 39x SoCs
2015-04-27 6:55 [PATCH v2] ARM: mvebu: Fix the main PLL frequency on Armada 375, 38x and 39x SoCs Gregory CLEMENT
2015-04-27 11:28 ` Andrew Lunn
@ 2015-05-01 17:25 ` Gregory CLEMENT
1 sibling, 0 replies; 4+ messages in thread
From: Gregory CLEMENT @ 2015-05-01 17:25 UTC (permalink / raw)
To: linux-arm-kernel
On 27/04/2015 08:55, Gregory CLEMENT wrote:
> Whereas for Armada 370 and XP the main PLL frequency was 2GHz for the
> Armada 375, 38x and 39x, the frequency is 1GHz. When writing support
> for these last SoCs, there was no official value for the PLL. Now that
> we have it, this patch fixes it in the device tree.
>
> This value is currently only used by the NAND driver for the setting
> the NAND timing. Fortunately it is not actually used: all the mainline
> board with a NAND flash comes with a NAND device tree node using the
> "marvell,nand-keep-config" property. With this property the timings
> are not modified in the kernel driver and are kept from the
> bootloader.
>
> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
applied on mvebu/fixes with Andrew and Marcin Acked-by.
Thanks,
Gregory
> ---
> Hi,
>
> The only change for this patch is the spell fixes and it was also
> rebased onto v4.1-rc1. Unless there is any objection I will apply it
> on mvebu/fixes for 4.1.
>
> Thanks,
>
> Gregroy
>
> arch/arm/boot/dts/armada-375.dtsi | 2 +-
> arch/arm/boot/dts/armada-38x.dtsi | 2 +-
> arch/arm/boot/dts/armada-39x.dtsi | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/boot/dts/armada-375.dtsi b/arch/arm/boot/dts/armada-375.dtsi
> index c675257f2377..f076ff856d8b 100644
> --- a/arch/arm/boot/dts/armada-375.dtsi
> +++ b/arch/arm/boot/dts/armada-375.dtsi
> @@ -69,7 +69,7 @@
> mainpll: mainpll {
> compatible = "fixed-clock";
> #clock-cells = <0>;
> - clock-frequency = <2000000000>;
> + clock-frequency = <1000000000>;
> };
> /* 25 MHz reference crystal */
> refclk: oscillator {
> diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
> index ed2dd8ba4080..218a2acd36e5 100644
> --- a/arch/arm/boot/dts/armada-38x.dtsi
> +++ b/arch/arm/boot/dts/armada-38x.dtsi
> @@ -585,7 +585,7 @@
> mainpll: mainpll {
> compatible = "fixed-clock";
> #clock-cells = <0>;
> - clock-frequency = <2000000000>;
> + clock-frequency = <1000000000>;
> };
>
> /* 25 MHz reference crystal */
> diff --git a/arch/arm/boot/dts/armada-39x.dtsi b/arch/arm/boot/dts/armada-39x.dtsi
> index 0e85fc15ceda..ecd1318109ba 100644
> --- a/arch/arm/boot/dts/armada-39x.dtsi
> +++ b/arch/arm/boot/dts/armada-39x.dtsi
> @@ -502,7 +502,7 @@
> mainpll: mainpll {
> compatible = "fixed-clock";
> #clock-cells = <0>;
> - clock-frequency = <2000000000>;
> + clock-frequency = <1000000000>;
> };
> };
> };
>
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-05-01 17:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-27 6:55 [PATCH v2] ARM: mvebu: Fix the main PLL frequency on Armada 375, 38x and 39x SoCs Gregory CLEMENT
2015-04-27 11:28 ` Andrew Lunn
2015-04-27 13:06 ` Marcin Wojtas
2015-05-01 17:25 ` Gregory CLEMENT
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.