2019-12-09 23:45:04

by Michael Walle

[permalink] [raw]
Subject: [PATCH v2 0/5] ls1028a: dts fixes and new board support

This series adds basic support for the Kontron SMARC-sAL28 board. It also
adds missing nodes to the ls1028a base device tree which are used by the
board.

changes since v1:
- dropped "arm64: dts: ls1028a: add FlexSPI node" in favor of:
https://lore.kernel.org/lkml/[email protected]/
Thus, this series now depends on that patch
- better commit message for the TMU patch
- added fixes tag to the TMU patch
- document the LS1028A evaluation boards compatible strings
- document the Kontron sl28 boards compatible strings
- fix node names of the sl28 device tree(s)
- removed device specific compatible string of the spi flash
- rebased the patch series
- integrate the RGMII configuration of the AR8031 PHY since the binding is
now already upstream

This patchseries depends on:
- [Patch v2 1/5] arm64: dts: ls1028a: Add FlexSPI support
https://lore.kernel.org/lkml/[email protected]/
- [PATCH v2 1/2] dt-bindings: clock: document the fsl-sai driver
https://lore.kernel.org/lkml/[email protected]/

This patchseries superseeds:
- [PATCH 0/4] ls1028a: dts fixes and new board support
https://lore.kernel.org/lkml/[email protected]/
- [PATCH] arm64: dts: sl28: configure the RGMII PHY
https://lore.kernel.org/lkml/[email protected]/

Michael Walle (5):
arm64: dts: ls1028a: fix typo in TMU calibration data
arm64: dts: ls1028a: add missing sai nodes
dt-bindings: arm: fsl: add LS1028A based boards
dt-bindings: arm: fsl: add Kontron sl28 boards
arm64: dts: freescale: add Kontron sl28 support

.../devicetree/bindings/arm/fsl.yaml | 45 +++++
arch/arm64/boot/dts/freescale/Makefile | 4 +
.../fsl-ls1028a-kontron-kbox-a-230-ls.dts | 27 +++
.../fsl-ls1028a-kontron-sl28-var3-ads2.dts | 106 +++++++++++
.../fsl-ls1028a-kontron-sl28-var4.dts | 50 +++++
.../freescale/fsl-ls1028a-kontron-sl28.dts | 174 ++++++++++++++++++
.../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 44 ++++-
7 files changed, 449 insertions(+), 1 deletion(-)
create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts
create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts
create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts
create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts

--
2.20.1


2019-12-09 23:45:50

by Michael Walle

[permalink] [raw]
Subject: [PATCH v2 3/5] dt-bindings: arm: fsl: add LS1028A based boards

Add the Freescale LS1028A evaluation boards.

Signed-off-by: Michael Walle <[email protected]>
---
Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml
index b5497ae276bc..f7792fe89a00 100644
--- a/Documentation/devicetree/bindings/arm/fsl.yaml
+++ b/Documentation/devicetree/bindings/arm/fsl.yaml
@@ -351,6 +351,13 @@ properties:
- fsl,ls1021a-twr
- const: fsl,ls1021a

+ - description: LS1028A based Boards
+ items:
+ - enum:
+ - fsl,ls1028a-qds
+ - fsl,ls1028a-rdb
+ - const: fsl,ls1028a
+
- description: LS1043A based Boards
items:
- enum:
--
2.20.1

2019-12-09 23:46:21

by Michael Walle

[permalink] [raw]
Subject: [PATCH v2 4/5] dt-bindings: arm: fsl: add Kontron sl28 boards

Add the Kontron SMARC-sAL28 board, its variants and combination with
carriers.

Signed-off-by: Michael Walle <[email protected]>
---
.../devicetree/bindings/arm/fsl.yaml | 38 +++++++++++++++++++
1 file changed, 38 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml
index f7792fe89a00..80ab4b5b68ef 100644
--- a/Documentation/devicetree/bindings/arm/fsl.yaml
+++ b/Documentation/devicetree/bindings/arm/fsl.yaml
@@ -358,6 +358,44 @@ properties:
- fsl,ls1028a-rdb
- const: fsl,ls1028a

+ - description: Kontron KBox A-230-LS
+ items:
+ - const: kontron,kbox-a-230-ls
+ - const: kontron,sl28-var4
+ - const: kontron,sl28
+ - const: fsl,ls1028a
+ - description:
+ Kontron SMARC-sAL28 board on the SMARC Eval Carrier 2.0
+ items:
+ - enum:
+ - kontron,sl28-var2-ads2
+ - kontron,sl28-var3-ads2
+ - kontron,sl28-var4-ads2
+ - enum:
+ - kontron,sl28-var2
+ - kontron,sl28-var3
+ - kontron,sl28-var4
+ - const: kontron,sl28
+ - const: fsl,ls1028a
+
+ - description:
+ Kontron SMARC-sAL28 board (on a generic/undefined carrier)
+ items:
+ - enum:
+ - kontron,sl28-var2
+ - kontron,sl28-var3
+ - kontron,sl28-var4
+ - const: kontron,sl28
+ - const: fsl,ls1028a
+
+ - description:
+ Kontron SMARC-sAL28 board (base). This is used in the base device
+ tree which is compatible with the overlays provided by the
+ vendor.
+ items:
+ - const: kontron,sl28
+ - const: fsl,ls1028a
+
- description: LS1043A based Boards
items:
- enum:
--
2.20.1

2019-12-19 19:33:49

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH v2 3/5] dt-bindings: arm: fsl: add LS1028A based boards

On Tue, 10 Dec 2019 00:43:48 +0100, Michael Walle wrote:
> Add the Freescale LS1028A evaluation boards.
>
> Signed-off-by: Michael Walle <[email protected]>
> ---
> Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
>

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

2019-12-19 19:35:38

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH v2 4/5] dt-bindings: arm: fsl: add Kontron sl28 boards

On Tue, 10 Dec 2019 00:43:49 +0100, Michael Walle wrote:
> Add the Kontron SMARC-sAL28 board, its variants and combination with
> carriers.
>
> Signed-off-by: Michael Walle <[email protected]>
> ---
> .../devicetree/bindings/arm/fsl.yaml | 38 +++++++++++++++++++
> 1 file changed, 38 insertions(+)
>

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

2020-01-29 16:31:40

by Michael Walle

[permalink] [raw]
Subject: Re: [PATCH v2 0/5] ls1028a: dts fixes and new board support

Hi Shawn,

Am 2019-12-10 00:43, schrieb Michael Walle:
> This series adds basic support for the Kontron SMARC-sAL28 board. It
> also
> adds missing nodes to the ls1028a base device tree which are used by
> the
> board.
>
> changes since v1:
> - dropped "arm64: dts: ls1028a: add FlexSPI node" in favor of:
>
> https://lore.kernel.org/lkml/[email protected]/
> Thus, this series now depends on that patch
> - better commit message for the TMU patch
> - added fixes tag to the TMU patch
> - document the LS1028A evaluation boards compatible strings
> - document the Kontron sl28 boards compatible strings
> - fix node names of the sl28 device tree(s)
> - removed device specific compatible string of the spi flash
> - rebased the patch series
> - integrate the RGMII configuration of the AR8031 PHY since the
> binding is
> now already upstream
>
> This patchseries depends on:
> - [Patch v2 1/5] arm64: dts: ls1028a: Add FlexSPI support
>
> https://lore.kernel.org/lkml/[email protected]/
> - [PATCH v2 1/2] dt-bindings: clock: document the fsl-sai driver
>
> https://lore.kernel.org/lkml/[email protected]/


it seems that all the pieces are now together.

- "arm64: dts: ls1028a: Add FlexSPI support" is pulled
- you've already pulled the patches 1 and 2 from this series
- Rob reviewed patch 3 and 4
- your review remarks of patch 5 should be included
- and last but not least, the clock driver used by the device tree
finally
made it into clk-next [1]


-michael

[1]
https://lore.kernel.org/linux-clk/[email protected]/



>
> This patchseries superseeds:
> - [PATCH 0/4] ls1028a: dts fixes and new board support
>
> https://lore.kernel.org/lkml/[email protected]/
> - [PATCH] arm64: dts: sl28: configure the RGMII PHY
>
> https://lore.kernel.org/lkml/[email protected]/
>
> Michael Walle (5):
> arm64: dts: ls1028a: fix typo in TMU calibration data
> arm64: dts: ls1028a: add missing sai nodes
> dt-bindings: arm: fsl: add LS1028A based boards
> dt-bindings: arm: fsl: add Kontron sl28 boards
> arm64: dts: freescale: add Kontron sl28 support
>
> .../devicetree/bindings/arm/fsl.yaml | 45 +++++
> arch/arm64/boot/dts/freescale/Makefile | 4 +
> .../fsl-ls1028a-kontron-kbox-a-230-ls.dts | 27 +++
> .../fsl-ls1028a-kontron-sl28-var3-ads2.dts | 106 +++++++++++
> .../fsl-ls1028a-kontron-sl28-var4.dts | 50 +++++
> .../freescale/fsl-ls1028a-kontron-sl28.dts | 174 ++++++++++++++++++
> .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 44 ++++-
> 7 files changed, 449 insertions(+), 1 deletion(-)
> create mode 100644
> arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts
> create mode 100644
> arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts
> create mode 100644
> arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts
> create mode 100644
> arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts

2020-02-12 07:36:58

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH v2 3/5] dt-bindings: arm: fsl: add LS1028A based boards

On Tue, Dec 10, 2019 at 12:43:48AM +0100, Michael Walle wrote:
> Add the Freescale LS1028A evaluation boards.
>
> Signed-off-by: Michael Walle <[email protected]>

Applied #3 ~ #5, thanks.