* [PATCH edk2-platforms] Silicon/Socionext/SynQuacer: update PHY reference clock rate
@ 2018-04-16 11:00 Ard Biesheuvel
2018-04-16 11:25 ` Masahisa Kojima
2018-04-19 15:38 ` Leif Lindholm
0 siblings, 2 replies; 6+ messages in thread
From: Ard Biesheuvel @ 2018-04-16 11:00 UTC (permalink / raw)
To: edk2-devel
Cc: leif.lindholm, jaswinder.singh, masahisa.kojima, Ard Biesheuvel
As reported by Kojima-san, the PHY reference clock value we use in our
ACPI and DT descriptions is out of sync with the hardware. Replace
125 MHz with 250 MHz throughout.
Cc: Masahisa Kojima <masahisa.kojima@linaro.org>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
---
Kojima-san,
Please confirm that the modification to ogma_config.h is correct.
Thanks,
Ard.
Silicon/Socionext/SynQuacer/AcpiTables/Dsdt.asl | 2 +-
Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi | 4 ++--
Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/netsec_for_uefi/ogma_config.h | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Silicon/Socionext/SynQuacer/AcpiTables/Dsdt.asl b/Silicon/Socionext/SynQuacer/AcpiTables/Dsdt.asl
index b6f6c4360029..3f73c191d4d6 100644
--- a/Silicon/Socionext/SynQuacer/AcpiTables/Dsdt.asl
+++ b/Silicon/Socionext/SynQuacer/AcpiTables/Dsdt.asl
@@ -162,7 +162,7 @@ DefinitionBlock ("DsdtTable.aml", "DSDT", 1, "SNI", "SYNQUACR",
Package (2) { "phy-channel", FixedPcdGet32 (PcdNetsecPhyAddress) },
Package (2) { "max-speed", 1000 },
Package (2) { "max-frame-size", 9000 },
- Package (2) { "socionext,phy-clock-frequency", 125000000 },
+ Package (2) { "socionext,phy-clock-frequency", 250000000 },
}
})
}
diff --git a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
index 6e93c6ae16a8..f6887329f6c7 100644
--- a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
+++ b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
@@ -420,9 +420,9 @@
reg-shift = <2>;
};
- clk_netsec: refclk125mhz {
+ clk_netsec: refclk250mhz {
compatible = "fixed-clock";
- clock-frequency = <125000000>;
+ clock-frequency = <250000000>;
#clock-cells = <0>;
};
diff --git a/Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/netsec_for_uefi/ogma_config.h b/Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/netsec_for_uefi/ogma_config.h
index 1caf64e30623..f6ec9b30ec8e 100644
--- a/Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/netsec_for_uefi/ogma_config.h
+++ b/Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/netsec_for_uefi/ogma_config.h
@@ -16,8 +16,8 @@
#ifndef OGMA_CONFIG_H
#define OGMA_CONFIG_H
-#define OGMA_CONFIG_CLK_HZ 125000000UL
-#define OGMA_CONFIG_GMAC_CLK_HZ 125000000UL
+#define OGMA_CONFIG_CLK_HZ 250000000UL
+#define OGMA_CONFIG_GMAC_CLK_HZ 250000000UL
#define OGMA_CONFIG_CHECK_CLK_SUPPLY
#define OGMA_CONFIG_USE_READ_GMAC_STAT
--
2.17.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH edk2-platforms] Silicon/Socionext/SynQuacer: update PHY reference clock rate
2018-04-16 11:00 [PATCH edk2-platforms] Silicon/Socionext/SynQuacer: update PHY reference clock rate Ard Biesheuvel
@ 2018-04-16 11:25 ` Masahisa Kojima
2018-04-19 11:15 ` Ard Biesheuvel
2018-04-19 15:38 ` Leif Lindholm
1 sibling, 1 reply; 6+ messages in thread
From: Masahisa Kojima @ 2018-04-16 11:25 UTC (permalink / raw)
To: Ard Biesheuvel; +Cc: edk2-devel, Leif Lindholm, Jassi Brar
Hi Ard,
> Please confirm that the modification to ogma_config.h is correct.
Thank you very much for your update.
We confirmed and your modification is correct.
Regards,
Masahisa
On 16 April 2018 at 20:00, Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote:
> As reported by Kojima-san, the PHY reference clock value we use in our
> ACPI and DT descriptions is out of sync with the hardware. Replace
> 125 MHz with 250 MHz throughout.
>
> Cc: Masahisa Kojima <masahisa.kojima@linaro.org>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> ---
> Kojima-san,
>
> Please confirm that the modification to ogma_config.h is correct.
>
> Thanks,
> Ard.
>
> Silicon/Socionext/SynQuacer/AcpiTables/Dsdt.asl | 2 +-
> Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi | 4 ++--
> Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/netsec_for_uefi/ogma_config.h | 4 ++--
> 3 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/Silicon/Socionext/SynQuacer/AcpiTables/Dsdt.asl b/Silicon/Socionext/SynQuacer/AcpiTables/Dsdt.asl
> index b6f6c4360029..3f73c191d4d6 100644
> --- a/Silicon/Socionext/SynQuacer/AcpiTables/Dsdt.asl
> +++ b/Silicon/Socionext/SynQuacer/AcpiTables/Dsdt.asl
> @@ -162,7 +162,7 @@ DefinitionBlock ("DsdtTable.aml", "DSDT", 1, "SNI", "SYNQUACR",
> Package (2) { "phy-channel", FixedPcdGet32 (PcdNetsecPhyAddress) },
> Package (2) { "max-speed", 1000 },
> Package (2) { "max-frame-size", 9000 },
> - Package (2) { "socionext,phy-clock-frequency", 125000000 },
> + Package (2) { "socionext,phy-clock-frequency", 250000000 },
> }
> })
> }
> diff --git a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
> index 6e93c6ae16a8..f6887329f6c7 100644
> --- a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
> +++ b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
> @@ -420,9 +420,9 @@
> reg-shift = <2>;
> };
>
> - clk_netsec: refclk125mhz {
> + clk_netsec: refclk250mhz {
> compatible = "fixed-clock";
> - clock-frequency = <125000000>;
> + clock-frequency = <250000000>;
> #clock-cells = <0>;
> };
>
> diff --git a/Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/netsec_for_uefi/ogma_config.h b/Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/netsec_for_uefi/ogma_config.h
> index 1caf64e30623..f6ec9b30ec8e 100644
> --- a/Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/netsec_for_uefi/ogma_config.h
> +++ b/Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/netsec_for_uefi/ogma_config.h
> @@ -16,8 +16,8 @@
> #ifndef OGMA_CONFIG_H
> #define OGMA_CONFIG_H
>
> -#define OGMA_CONFIG_CLK_HZ 125000000UL
> -#define OGMA_CONFIG_GMAC_CLK_HZ 125000000UL
> +#define OGMA_CONFIG_CLK_HZ 250000000UL
> +#define OGMA_CONFIG_GMAC_CLK_HZ 250000000UL
> #define OGMA_CONFIG_CHECK_CLK_SUPPLY
>
> #define OGMA_CONFIG_USE_READ_GMAC_STAT
> --
> 2.17.0
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH edk2-platforms] Silicon/Socionext/SynQuacer: update PHY reference clock rate
2018-04-16 11:25 ` Masahisa Kojima
@ 2018-04-19 11:15 ` Ard Biesheuvel
2018-04-19 14:53 ` Masahisa Kojima
0 siblings, 1 reply; 6+ messages in thread
From: Ard Biesheuvel @ 2018-04-19 11:15 UTC (permalink / raw)
To: Masahisa Kojima; +Cc: edk2-devel@lists.01.org, Leif Lindholm, Jassi Brar
On 16 April 2018 at 13:25, Masahisa Kojima <masahisa.kojima@linaro.org> wrote:
> Hi Ard,
>
>> Please confirm that the modification to ogma_config.h is correct.
>
> Thank you very much for your update.
> We confirmed and your modification is correct.
>
Thank you Masahisa
Does this change apply to all boards? EVB, rev 0.1 etc?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH edk2-platforms] Silicon/Socionext/SynQuacer: update PHY reference clock rate
2018-04-19 11:15 ` Ard Biesheuvel
@ 2018-04-19 14:53 ` Masahisa Kojima
0 siblings, 0 replies; 6+ messages in thread
From: Masahisa Kojima @ 2018-04-19 14:53 UTC (permalink / raw)
To: Ard Biesheuvel; +Cc: edk2-devel@lists.01.org, Leif Lindholm, Jassi Brar
Hi Ard,
Yes, please apply to all boards.
Thank you.
On 19 April 2018 at 20:15, Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote:
> On 16 April 2018 at 13:25, Masahisa Kojima <masahisa.kojima@linaro.org> wrote:
>> Hi Ard,
>>
>>> Please confirm that the modification to ogma_config.h is correct.
>>
>> Thank you very much for your update.
>> We confirmed and your modification is correct.
>>
>
> Thank you Masahisa
>
> Does this change apply to all boards? EVB, rev 0.1 etc?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH edk2-platforms] Silicon/Socionext/SynQuacer: update PHY reference clock rate
2018-04-16 11:00 [PATCH edk2-platforms] Silicon/Socionext/SynQuacer: update PHY reference clock rate Ard Biesheuvel
2018-04-16 11:25 ` Masahisa Kojima
@ 2018-04-19 15:38 ` Leif Lindholm
2018-04-26 17:05 ` Ard Biesheuvel
1 sibling, 1 reply; 6+ messages in thread
From: Leif Lindholm @ 2018-04-19 15:38 UTC (permalink / raw)
To: Ard Biesheuvel; +Cc: edk2-devel, jaswinder.singh, masahisa.kojima
On Mon, Apr 16, 2018 at 01:00:58PM +0200, Ard Biesheuvel wrote:
> As reported by Kojima-san, the PHY reference clock value we use in our
> ACPI and DT descriptions is out of sync with the hardware. Replace
> 125 MHz with 250 MHz throughout.
>
> Cc: Masahisa Kojima <masahisa.kojima@linaro.org>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
> ---
> Kojima-san,
>
> Please confirm that the modification to ogma_config.h is correct.
>
> Thanks,
> Ard.
>
> Silicon/Socionext/SynQuacer/AcpiTables/Dsdt.asl | 2 +-
> Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi | 4 ++--
> Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/netsec_for_uefi/ogma_config.h | 4 ++--
> 3 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/Silicon/Socionext/SynQuacer/AcpiTables/Dsdt.asl b/Silicon/Socionext/SynQuacer/AcpiTables/Dsdt.asl
> index b6f6c4360029..3f73c191d4d6 100644
> --- a/Silicon/Socionext/SynQuacer/AcpiTables/Dsdt.asl
> +++ b/Silicon/Socionext/SynQuacer/AcpiTables/Dsdt.asl
> @@ -162,7 +162,7 @@ DefinitionBlock ("DsdtTable.aml", "DSDT", 1, "SNI", "SYNQUACR",
> Package (2) { "phy-channel", FixedPcdGet32 (PcdNetsecPhyAddress) },
> Package (2) { "max-speed", 1000 },
> Package (2) { "max-frame-size", 9000 },
> - Package (2) { "socionext,phy-clock-frequency", 125000000 },
> + Package (2) { "socionext,phy-clock-frequency", 250000000 },
> }
> })
> }
> diff --git a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
> index 6e93c6ae16a8..f6887329f6c7 100644
> --- a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
> +++ b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
> @@ -420,9 +420,9 @@
> reg-shift = <2>;
> };
>
> - clk_netsec: refclk125mhz {
> + clk_netsec: refclk250mhz {
> compatible = "fixed-clock";
> - clock-frequency = <125000000>;
> + clock-frequency = <250000000>;
> #clock-cells = <0>;
> };
>
> diff --git a/Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/netsec_for_uefi/ogma_config.h b/Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/netsec_for_uefi/ogma_config.h
> index 1caf64e30623..f6ec9b30ec8e 100644
> --- a/Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/netsec_for_uefi/ogma_config.h
> +++ b/Silicon/Socionext/SynQuacer/Drivers/Net/NetsecDxe/netsec_for_uefi/ogma_config.h
> @@ -16,8 +16,8 @@
> #ifndef OGMA_CONFIG_H
> #define OGMA_CONFIG_H
>
> -#define OGMA_CONFIG_CLK_HZ 125000000UL
> -#define OGMA_CONFIG_GMAC_CLK_HZ 125000000UL
> +#define OGMA_CONFIG_CLK_HZ 250000000UL
> +#define OGMA_CONFIG_GMAC_CLK_HZ 250000000UL
> #define OGMA_CONFIG_CHECK_CLK_SUPPLY
>
> #define OGMA_CONFIG_USE_READ_GMAC_STAT
> --
> 2.17.0
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH edk2-platforms] Silicon/Socionext/SynQuacer: update PHY reference clock rate
2018-04-19 15:38 ` Leif Lindholm
@ 2018-04-26 17:05 ` Ard Biesheuvel
0 siblings, 0 replies; 6+ messages in thread
From: Ard Biesheuvel @ 2018-04-26 17:05 UTC (permalink / raw)
To: Leif Lindholm; +Cc: edk2-devel@lists.01.org, Jaswinder Singh, Masahisa Kojima
On 19 April 2018 at 17:38, Leif Lindholm <leif.lindholm@linaro.org> wrote:
> On Mon, Apr 16, 2018 at 01:00:58PM +0200, Ard Biesheuvel wrote:
>> As reported by Kojima-san, the PHY reference clock value we use in our
>> ACPI and DT descriptions is out of sync with the hardware. Replace
>> 125 MHz with 250 MHz throughout.
>>
>> Cc: Masahisa Kojima <masahisa.kojima@linaro.org>
>> Contributed-under: TianoCore Contribution Agreement 1.1
>> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
>
> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
>
Thanks
Pushed as 6c816b0e4175
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-04-26 17:05 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-16 11:00 [PATCH edk2-platforms] Silicon/Socionext/SynQuacer: update PHY reference clock rate Ard Biesheuvel
2018-04-16 11:25 ` Masahisa Kojima
2018-04-19 11:15 ` Ard Biesheuvel
2018-04-19 14:53 ` Masahisa Kojima
2018-04-19 15:38 ` Leif Lindholm
2018-04-26 17:05 ` Ard Biesheuvel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox