2022-03-09 22:16:10

by Kuldeep Singh

[permalink] [raw]
Subject: [PATCH 0/2] Make DTs compliant with bindings

These patches are an attempt to fix DTs which are not in compliant with
pl022 binding.
LG1312, LG1313 and amd seattle platforms require fix in clock
properties.
https://lore.kernel.org/linux-spi/[email protected]/T/#u

Based on git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git,
master.
Rob, could you please help in picking these patches as git tree is not
specified in MAINTAINERS.

Kuldeep Singh (2):
arm64: dts: lg131x: Update spi clock properties
arm64: dts: seattle: Update spi node properties

arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 8 ++++----
arch/arm64/boot/dts/lg/lg1312.dtsi | 8 ++++----
arch/arm64/boot/dts/lg/lg1313.dtsi | 8 ++++----
3 files changed, 12 insertions(+), 12 deletions(-)

--
2.25.1


2022-03-10 03:43:36

by Kuldeep Singh

[permalink] [raw]
Subject: [PATCH 1/2] arm64: dts: lg131x: Update spi clock properties

PL022 binding require two clocks to be defined but LG1312 and LG1213
platforms don't comply with bindings and define only one clock.

Update spi clocks and clocks-names property by adding appropriate clock
reference to make it compliant with bindings.

CC: Chanho Min <[email protected]>
Signed-off-by: Kuldeep Singh <[email protected]>
---
arch/arm64/boot/dts/lg/lg1312.dtsi | 8 ++++----
arch/arm64/boot/dts/lg/lg1313.dtsi | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/arch/arm64/boot/dts/lg/lg1312.dtsi b/arch/arm64/boot/dts/lg/lg1312.dtsi
index 081fe7a9f605..fa44e0b67400 100644
--- a/arch/arm64/boot/dts/lg/lg1312.dtsi
+++ b/arch/arm64/boot/dts/lg/lg1312.dtsi
@@ -172,15 +172,15 @@ spi0: spi@fe800000 {
compatible = "arm,pl022", "arm,primecell";
reg = <0x0 0xfe800000 0x1000>;
interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&clk_bus>;
- clock-names = "apb_pclk";
+ clocks = <&clk_bus>, <&clk_bus>;
+ clock-names = "sspclk", "apb_pclk";
};
spi1: spi@fe900000 {
compatible = "arm,pl022", "arm,primecell";
reg = <0x0 0xfe900000 0x1000>;
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&clk_bus>;
- clock-names = "apb_pclk";
+ clocks = <&clk_bus>, <&clk_bus>;
+ clock-names = "sspclk", "apb_pclk";
};
dmac0: dma@c1128000 {
compatible = "arm,pl330", "arm,primecell";
diff --git a/arch/arm64/boot/dts/lg/lg1313.dtsi b/arch/arm64/boot/dts/lg/lg1313.dtsi
index 604bb6975337..b61b5e20189c 100644
--- a/arch/arm64/boot/dts/lg/lg1313.dtsi
+++ b/arch/arm64/boot/dts/lg/lg1313.dtsi
@@ -172,15 +172,15 @@ spi0: spi@fe800000 {
compatible = "arm,pl022", "arm,primecell";
reg = <0x0 0xfe800000 0x1000>;
interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&clk_bus>;
- clock-names = "apb_pclk";
+ clocks = <&clk_bus>, <&clk_bus>;
+ clock-names = "sspclk", "apb_pclk";
};
spi1: spi@fe900000 {
compatible = "arm,pl022", "arm,primecell";
reg = <0x0 0xfe900000 0x1000>;
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
- clocks = <&clk_bus>;
- clock-names = "apb_pclk";
+ clocks = <&clk_bus>, <&clk_bus>;
+ clock-names = "sspclk", "apb_pclk";
};
dmac0: dma@c1128000 {
compatible = "arm,pl330", "arm,primecell";
--
2.25.1

2022-03-11 21:50:44

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH 0/2] Make DTs compliant with bindings

On Wed, Mar 9, 2022 at 12:24 PM Kuldeep Singh
<[email protected]> wrote:
>
> These patches are an attempt to fix DTs which are not in compliant with
> pl022 binding.
> LG1312, LG1313 and amd seattle platforms require fix in clock
> properties.
> https://lore.kernel.org/linux-spi/[email protected]/T/#u
>
> Based on git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git,
> master.
> Rob, could you please help in picking these patches as git tree is not
> specified in MAINTAINERS.

I don't take dts files. Resend to [email protected] asking them to apply.

>
> Kuldeep Singh (2):
> arm64: dts: lg131x: Update spi clock properties
> arm64: dts: seattle: Update spi node properties

Acked-by: Rob Herring <[email protected]>

>
> arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 8 ++++----
> arch/arm64/boot/dts/lg/lg1312.dtsi | 8 ++++----
> arch/arm64/boot/dts/lg/lg1313.dtsi | 8 ++++----
> 3 files changed, 12 insertions(+), 12 deletions(-)
>
> --
> 2.25.1
>

2022-03-11 22:31:54

by Kuldeep Singh

[permalink] [raw]
Subject: Re: [PATCH 0/2] Make DTs compliant with bindings

On Thu, Mar 10, 2022 at 05:18:51PM -0600, Rob Herring wrote:
> On Wed, Mar 9, 2022 at 12:24 PM Kuldeep Singh
> <[email protected]> wrote:
> >
> > These patches are an attempt to fix DTs which are not in compliant with
> > pl022 binding.
> > LG1312, LG1313 and amd seattle platforms require fix in clock
> > properties.
> > https://lore.kernel.org/linux-spi/[email protected]/T/#u
> >
> > Based on git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git,
> > master.
> > Rob, could you please help in picking these patches as git tree is not
> > specified in MAINTAINERS.
>
> I don't take dts files. Resend to [email protected] asking them to apply.

Thanks for mentioning. I will resend this series to appropriate list.

>
> >
> > Kuldeep Singh (2):
> > arm64: dts: lg131x: Update spi clock properties
> > arm64: dts: seattle: Update spi node properties
>
> Acked-by: Rob Herring <[email protected]>

Thanks for reviewing it.

>
> >
> > arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi | 8 ++++----
> > arch/arm64/boot/dts/lg/lg1312.dtsi | 8 ++++----
> > arch/arm64/boot/dts/lg/lg1313.dtsi | 8 ++++----
> > 3 files changed, 12 insertions(+), 12 deletions(-)
> >
> > --
> > 2.25.1
> >