ARM64: Add support for FSL's LS2085A SoC
Subsystems (5)
v7 cover ARM64: Add support for FSL's LS2085A SoC
This patchset adds the support for FSL's LS2085A SoC which is based on ARMv8 architecture.
This patchset also has patches which address DT compatible strings for nodes which appear un-documented.
The enable-method for the CPU nodes is left for the bootloader (u-boot or UEFI) to patch-up which is expected to be PSCI v0.2
This patchset has been tested with the following patches which add PSCI v0.2 support in ARMv8 u-boot:
http://patchwork.ozlabs.org/patch/383556/
http://patchwork.ozlabs.org/patch/383555/
http://patchwork.ozlabs.org/patch/383557/
http://patchwork.ozlabs.org/patch/383558/
http://patchwork.ozlabs.org/patch/383559/
http://patchwork.ozlabs.org/patch/383560/
http://patchwork.ozlabs.org/patch/383561/
http://patchwork.ozlabs.org/patch/383562/
Rebased against cleanup/dts-subdirs branch of the arm-soc tree
Changes from v6:
----------------
* Rebased against cleanup/dts-subdirs branch of the arm-soc tree.
* As a result, [PATCH 4/6] and [PATCH 5/6] of the v6 series are squashed into one patch ([PATCH 4/5] of this series).
Note:
-----
Optional GIC-500 regs like GICC, GICH and GICV are currently not tested and hence are not part of the DTS patch.
Please review and consider for merge.
Bhupesh Sharma (5):
Documentation: DT: Add bindings for FSL NS16550A UART
Documentation: DT: Add entry for FSL LS2085A SoC and Simulator model
Documentation: DT: Add entry for FSL Management Complex
arm64: Add DTS support for FSL's LS2085A SoC
arm64: Add support for FSL's LS2085A SoC in Kconfig and defconfig
Documentation/devicetree/bindings/arm/fsl.txt | 8 +
.../devicetree/bindings/misc/fsl,qoriq-mc.txt | 40 +++++
.../devicetree/bindings/serial/of-serial.txt | 12 ++
arch/arm64/Kconfig | 5 +
arch/arm64/boot/dts/Makefile | 1 +
arch/arm64/boot/dts/{ => freescale}/Makefile | 4 +-
arch/arm64/boot/dts/freescale/fsl-ls2085a-simu.dts | 65 ++++++++
arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi | 163 ++++++++++++++++++++
arch/arm64/configs/defconfig | 1 +
9 files changed, 296 insertions(+), 3 deletions(-)
create mode 100644 Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
copy arch/arm64/boot/dts/{ => freescale}/Makefile (54%)
create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2085a-simu.dts
create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsiSignature · 1 line
1.7.9.5
PATCH v7 1/5 Documentation: DT: Add bindings for FSL NS16550A UART
This patch addss the device-tree documentation for Freescale's NS16550 UART (also called DUART).
There is a specific errata fix required in FSL NS16550 UART which ensures that an random interrupt storm is not observed when a break is provided as an input to the UART.
--- .../devicetree/bindings/serial/of-serial.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+)
Documentation/devicetree/bindings/serial/of-serial.txt +12 -0
@@ -15,6 +15,7 @@ Required properties: - "altr,16550-FIFO64" - "altr,16550-FIFO128" - "fsl,16550-FIFO64" + - "fsl,ns16550" - "serial" if the port type is unknown. - reg : offset and length of the register set for the device. - interrupts : should contain uart interrupt.
@@ -39,6 +40,17 @@ Optional properties: driver is allowed to detect support for the capability even without this property. +Note: +* fsl,ns16550: + ------------ + Freescale DUART is very similar to the PC16552D (and to a + pair of NS16550A), albeit with some nonstandard behavior such as + erratum A-004737 (relating to incorrect BRK handling). + + Represents a single port that is compatible with the DUART found + on many Freescale chips (examples include mpc8349, mpc8548, + mpc8641d, p4080 and ls2085a). + Example: uart at 80230000 {
Signature · 1 line
1.7.9.5
PATCH v7 2/5 Documentation: DT: Add entry for FSL LS2085A SoC and Simulator model
In reply to Bhupesh SharmaThis patch adds a devicetree binding documentation for FSL's LS2085A SoC and Simulator model.
--- Documentation/devicetree/bindings/arm/fsl.txt | 8 ++++++++ 1 file changed, 8 insertions(+)
Documentation/devicetree/bindings/arm/fsl.txt +8 -0
@@ -74,3 +74,11 @@ Required root node properties: i.MX6q generic board Required root node properties: - compatible = "fsl,imx6q"; + +Freescale LS2085A SoC Device Tree Bindings +------------------------------------------ + +LS2085A ARMv8 based Simulator model +Required root node properties: + - compatible = "fsl,ls2085a-simu", "fsl,ls2085a"; +
Signature · 1 line
1.7.9.5
PATCH v7 3/5 Documentation: DT: Add entry for FSL Management Complex
In reply to Bhupesh SharmaThis patch adds a devicetree binding documentation for FSL's Management Complex.
Management Complex is a hardware resource manager that manages specialized hardware objects used in network-oriented packet processing applications
--- .../devicetree/bindings/misc/fsl,qoriq-mc.txt | 40 ++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt new file +40 -0
@@ -0,0 +1,40 @@ +* Freescale Management Complex + +The Freescale Management Complex (fsl-mc) is a hardware resource +manager that manages specialized hardware objects used in +network-oriented packet processing applications. After the fsl-mc +block is enabled, pools of hardware resources are available, such as +queues, buffer pools, I/O interfaces. These resources are building +blocks that can be used to create functional hardware objects/devices +such as network interfaces, crypto accelerator instances, L2 switches, +etc. + +Required properties: + + - compatible + Value type: <string> + Definition: Must be "fsl,qoriq-mc". A Freescale Management Complex + compatible with this binding must have Block Revision + Registers BRR1 and BRR2 at offset 0x0BF8 and 0x0BFC in + the MC control register region. + + - reg + Value type: <prop-encoded-array> + Definition: A standard property. Specifies one or two regions + defining the MC's registers: + + -the first region is the command portal for the + this machine and must always be present + + -the second region is the MC control registers. This + region may not be present in some scenarios, such + as in the device tree presented to a virtual machine. + +Example: + + fsl_mc: fsl-mc at 80c000000 { + compatible = "fsl,qoriq-mc"; + reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */ + <0x00000000 0x08340000 0 0x40000>; /* MC control reg */ + }; +
Signature · 1 line
1.7.9.5
PATCH v7 4/5 arm64: Add DTS support for FSL's LS2085A SoC
In reply to Bhupesh SharmaThis patch adds the device tree support for FSL LS2085A SoC based on ARMv8 architecture.
Following levels of DTSI/DTS files have been created for the LS2085A SoC family:
- fsl-ls2085a.dtsi:
DTS-Include file for FSL LS2085A SoC.
- fsl-ls2085a-simu.dts:
DTS file for FSL LS2085a software simulator model.
In addition, this patch adds build support for FSL's LS2085A simulator model in arm64 dts Makefile.
---
arch/arm64/boot/dts/Makefile | 1 +
arch/arm64/boot/dts/{ => freescale}/Makefile | 4 +-
arch/arm64/boot/dts/freescale/fsl-ls2085a-simu.dts | 65 ++++++++
arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi | 163 ++++++++++++++++++++
4 files changed, 230 insertions(+), 3 deletions(-)
copy arch/arm64/boot/dts/{ => freescale}/Makefile (54%)
create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2085a-simu.dts
create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsiarch/arm64/boot/dts/Makefile +1 -0
@@ -1,6 +1,7 @@ dts-dirs += apm dts-dirs += arm dts-dirs += cavium +dts-dirs += freescale always := $(dtb-y) subdir-y := $(dts-dirs)
arch/arm64/boot/dts/freescale/Makefile renamed from arch/arm64/boot/dts/Makefile +1 -3
@@ -1,6 +1,4 @@ -dts-dirs += apm -dts-dirs += arm -dts-dirs += cavium +dtb-$(CONFIG_ARCH_FSL_LS2085A) += fsl-ls2085a-simu.dtb always := $(dtb-y) subdir-y := $(dts-dirs)
arch/arm64/boot/dts/freescale/fsl-ls2085a-simu.dts new file +65 -0
65 lines not on this page · raw message
arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi new file +163 -0
163 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH v7 5/5 arm64: Add support for FSL's LS2085A SoC in Kconfig and defconfig
In reply to Bhupesh SharmaThis patch adds support for FSL's LS2085A SoC in the arm64 Kconfig and defconfig files.
--- arch/arm64/Kconfig | 5 +++++ arch/arm64/configs/defconfig | 1 + 2 files changed, 6 insertions(+)
arch/arm64/Kconfig +5 -0
@@ -141,6 +141,11 @@ source "kernel/Kconfig.freezer" menu "Platform selection" +config ARCH_FSL_LS2085A + bool "Freescale LS2085A SOC" + help + This enables support for Freescale LS2085A SOC. + config ARCH_THUNDER bool "Cavium Inc. Thunder SoC Family" help
arch/arm64/configs/defconfig +1 -0
@@ -32,6 +32,7 @@ CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y # CONFIG_BLK_DEV_BSG is not set # CONFIG_IOSCHED_DEADLINE is not set +CONFIG_ARCH_FSL_LS2085A=y CONFIG_ARCH_THUNDER=y CONFIG_ARCH_VEXPRESS=y CONFIG_ARCH_XGENE=y
Signature · 1 line
1.7.9.5
Mark Rutland
reviewerv7 cover ARM64: Add support for FSL's LS2085A SoC
In reply to Bhupesh SharmaHi Bhupesh,
The series looks mostly fine to me, though I have a couple of comments below.
Quoted 9 lines · Bhupesh Sharma
This patchset adds the support for FSL's LS2085A SoC which is based on ARMv8 architecture.
This patchset also has patches which address DT compatible strings for nodes which appear un-documented.
The enable-method for the CPU nodes is left for the bootloader (u-boot or UEFI) to patch-up which is expected to be PSCI v0.2
Quoted 10 lines
This patchset has been tested with the following patches which add PSCI v0.2 support in ARMv8 u-boot:
http://patchwork.ozlabs.org/patch/383556/
http://patchwork.ozlabs.org/patch/383555/
http://patchwork.ozlabs.org/patch/383557/
http://patchwork.ozlabs.org/patch/383558/
http://patchwork.ozlabs.org/patch/383559/
http://patchwork.ozlabs.org/patch/383560/
http://patchwork.ozlabs.org/patch/383561/
http://patchwork.ozlabs.org/patch/383562/
Has there been any progress on these? last I saw there was some pending rework, and I was holding off a thorough review of the PSCI parts until that had happened.
Quoted 14 lines
Rebased against cleanup/dts-subdirs branch of the arm-soc tree
Changes from v6:
----------------
* Rebased against cleanup/dts-subdirs branch of the arm-soc tree.
* As a result, [PATCH 4/6] and [PATCH 5/6] of the v6 series are squashed into one patch ([PATCH 4/5] of this series).Note:
-----
Optional GIC-500 regs like GICC, GICH and GICV are currently not tested and hence are not part of the DTS patch.
Quoted 4 lines
Please review and consider for merge.
Bhupesh Sharma (5):
Documentation: DT: Add bindings for FSL NS16550A UART
Regardless of anything else, this patch should be queued given it adds missing documentation for a binding already supported by the kernel.
Quoted 2 lines
Documentation: DT: Add entry for FSL LS2085A SoC and Simulator model
Documentation: DT: Add entry for FSL Management Complex
Are there any patches adding support for the management complex? There's nothing in mainline that uses "fsl,qoriq-mc", and nothing in this series adds support.
Thanks,
Mark.
Quoted 23 lines
arm64: Add DTS support for FSL's LS2085A SoC
arm64: Add support for FSL's LS2085A SoC inKconfigand defconfigDocumentation/devicetree/bindings/arm/fsl.txt | 8 + .../devicetree/bindings/misc/fsl,qoriq-mc.txt | 40 +++++ .../devicetree/bindings/serial/of-serial.txt | 12 ++ arch/arm64/Kconfig | 5 + arch/arm64/boot/dts/Makefile | 1 + arch/arm64/boot/dts/{ => freescale}/Makefile | 4 +- arch/arm64/boot/dts/freescale/fsl-ls2085a-simu.dts | 65 ++++++++ arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi | 163 ++++++++++++++++++++ arch/arm64/configs/defconfig | 1 + 9 files changed, 296 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt copy arch/arm64/boot/dts/{ => freescale}/Makefile (54%) create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2085a-simu.dts create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsiSignature · 1 line
1.7.9.5
v7 cover ARM64: Add support for FSL's LS2085A SoC
Quoted 7 lines
Quoted 3 lines
Documentation: DT: Add entry for FSL LS2085A SoC and Simulator model
Documentation: DT: Add entry for FSL Management ComplexAre there any patches adding support for the management complex? There's nothing in mainline that uses "fsl,qoriq-mc", and nothing in this series adds support.
Yes. Patches have been in review for the last few months. Latest patch series:
https://lkml.org/lkml/2014/11/13/482
Thanks,
Stuart
v7 cover ARM64: Add support for FSL's LS2085A SoC
In reply to Mark RutlandHi Mark,
Quoted 37 lines
-----Original Message-----
From: Mark Rutland [mailto:mark.rutland at arm.com]
Sent: Monday, December 01, 2014 10:00 PM
To: Sharma Bhupesh-B45370
Cc: arm at kernel.org; Marc Zyngier; Catalin Marinas; arnd at arndb.de; linux- arm-kernel at lists.infradead.org; grant.likely at secretlab.ca; rob.herring at linaro.org; bhupesh.linux at gmail.com; Yoder Stuart-B08248;arnab_basuat rocketmail.com
Subject: Re: [PATCH v7 0/5] ARM64: Add support for FSL's LS2085A SoCHi Bhupesh,
The series looks mostly fine to me, though I have a couple of comments below.
Quoted 9 lines · Bhupesh Sharma
This patchset adds the support for FSL's LS2085A SoC which is based on ARMv8 architecture.
This patchset also has patches which address DT compatible strings for nodes which appear un-documented.
The enable-method for the CPU nodes is left for the bootloader (u-boot or UEFI) to patch-up which is expected to be PSCI v0.2
Quoted 11 lines
This patchset has been tested with the following patches which add PSCI
v0.2 support in ARMv8 u-boot:
http://patchwork.ozlabs.org/patch/383556/
http://patchwork.ozlabs.org/patch/383555/
http://patchwork.ozlabs.org/patch/383557/
http://patchwork.ozlabs.org/patch/383558/
http://patchwork.ozlabs.org/patch/383559/
http://patchwork.ozlabs.org/patch/383560/
http://patchwork.ozlabs.org/patch/383561/
http://patchwork.ozlabs.org/patch/383562/
Quoted 3 lines
Has there been any progress on these? last I saw there was some pending rework, and I was holding off a thorough review of the PSCI parts until that had happened.
Arnab Basu has since moved on from Freescale, but he plans to maintain and rework these PSCI related patches in u-boot.
Quoted 16 lines
Quoted 8 lines
Rebased against cleanup/dts-subdirs branch of the arm-soc tree
Changes from v6:
----------------
* Rebased against cleanup/dts-subdirs branch of the arm-soc tree.
* As a result, [PATCH 4/6] and [PATCH 5/6] of the v6 series aresquashed
Quoted 7 lines
into one patch ([PATCH 4/5] of this series).
Note:
-----
Optional GIC-500 regs like GICC, GICH and GICV are currently not tested and hence are not part of the DTS patch.
Quoted 7 lines
Quoted 4 lines
Please review and consider for merge.
Bhupesh Sharma (5):
Documentation: DT: Add bindings for FSL NS16550A UARTRegardless of anything else, this patch should be queued given it adds missing documentation for a binding already supported by the kernel.
Right.
Quoted 7 lines
Quoted 2 lines
Documentation: DT: Add entry for FSL LS2085A SoC and Simulator model
Documentation: DT: Add entry for FSL Management ComplexAre there any patches adding support for the management complex? There's nothing in mainline that uses "fsl,qoriq-mc", and nothing in this series adds support.
Like Stuart mentioned in another thread, the Management Complex related patches are already under review.
Quoted 12 lines
Quoted 4 lines
arm64: Add DTS support for FSL's LS2085A SoC
arm64: Add support for FSL's LS2085A SoC inKconfigand defconfigQuoted 8 lines
Documentation/devicetree/bindings/arm/fsl.txt | 8 + .../devicetree/bindings/misc/fsl,qoriq-mc.txt | 40 +++++ .../devicetree/bindings/serial/of-serial.txt | 12 ++ arch/arm64/Kconfig | 5 + arch/arm64/boot/dts/Makefile | 1 + arch/arm64/boot/dts/{ => freescale}/Makefile | 4 +- arch/arm64/boot/dts/freescale/fsl-ls2085a-simu.dts | 65 ++++++++ arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi | 163
Quoted 11 lines
++++++++++++++++++++
Quoted 10 lines
arch/arm64/configs/defconfig | 1 + 9 files changed, 296 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt copy arch/arm64/boot/dts/{ => freescale}/Makefile (54%) create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2085a-simu.dts create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi--
1.7.9.5
Regards,
Bhupesh
v7 cover ARM64: Add support for FSL's LS2085A SoC
In reply to Mark RutlandHi Arm Maintainers,
Its been some time since I posted v7 of this series.
If there are no other reviews comments on the series, can this be pulled into the ARM SoC tree (arm-soc.git) for merge.
Quoted 116 lines
-----Original Message-----
From: Sharma Bhupesh-B45370
Sent: Tuesday, December 02, 2014 1:26 AM
To: 'Mark Rutland'
Cc: arm at kernel.org; Marc Zyngier; Catalin Marinas; arnd at arndb.de; linux- arm-kernel at lists.infradead.org; grant.likely at secretlab.ca; rob.herring at linaro.org; bhupesh.linux at gmail.com; Yoder Stuart-B08248;arnab_basuat rocketmail.com
Subject: RE: [PATCH v7 0/5] ARM64: Add support for FSL's LS2085A SoCHi Mark,
Quoted 38 lines
-----Original Message-----
From: Mark Rutland [mailto:mark.rutland at arm.com]
Sent: Monday, December 01, 2014 10:00 PM
To: Sharma Bhupesh-B45370
Cc: arm at kernel.org; Marc Zyngier; Catalin Marinas; arnd at arndb.de; linux- arm-kernel at lists.infradead.org; grant.likely at secretlab.ca; rob.herring at linaro.org; bhupesh.linux at gmail.com; Yoder Stuart-B08248;arnab_basuat rocketmail.com
Subject: Re: [PATCH v7 0/5] ARM64: Add support for FSL's LS2085A SoCHi Bhupesh,
The series looks mostly fine to me, though I have a couple of comments below.
Quoted 10 lines · Bhupesh Sharma
This patchset adds the support for FSL's LS2085A SoC which is based on
ARMv8 architecture.This patchset also has patches which address DT compatible strings for nodes which appear un-documented.
The enable-method for the CPU nodes is left for the bootloader (u-boot or UEFI) to patch-up which is expected to be PSCI v0.2
Quoted 11 lines
This patchset has been tested with the following patches which add PSCI
v0.2 support in ARMv8 u-boot:
http://patchwork.ozlabs.org/patch/383556/
http://patchwork.ozlabs.org/patch/383555/
http://patchwork.ozlabs.org/patch/383557/
http://patchwork.ozlabs.org/patch/383558/
http://patchwork.ozlabs.org/patch/383559/
http://patchwork.ozlabs.org/patch/383560/
http://patchwork.ozlabs.org/patch/383561/
http://patchwork.ozlabs.org/patch/383562/Quoted 3 lines
Has there been any progress on these? last I saw there was some pending rework, and I was holding off a thorough review of the PSCI parts until that had happened.
Arnab Basu has since moved on from Freescale, but he plans to maintain and rework these PSCI related patches in u-boot.
Quoted 16 lines
Quoted 8 lines
Rebased against cleanup/dts-subdirs branch of the arm-soc tree
Changes from v6:
----------------
* Rebased against cleanup/dts-subdirs branch of the arm-soc tree.
* As a result, [PATCH 4/6] and [PATCH 5/6] of the v6 series aresquashed
Quoted 7 lines
into one patch ([PATCH 4/5] of this series).
Note:
-----
Optional GIC-500 regs like GICC, GICH and GICV are currently not tested and hence are not part of the DTS patch.Quoted 7 lines
Quoted 4 lines
Please review and consider for merge.
Bhupesh Sharma (5):
Documentation: DT: Add bindings for FSL NS16550A UARTRegardless of anything else, this patch should be queued given it adds missing documentation for a binding already supported by the kernel.
Right.
Quoted 1 line
Quoted 1 line
Documentation: DT: Add entry for FSL LS2085A SoC and Simulator
model
Quoted 6 lines
Quoted 1 line
Documentation: DT: Add entry for FSL Management Complex
Are there any patches adding support for the management complex? There's nothing in mainline that uses "fsl,qoriq-mc", and nothing in this series adds support.
Like Stuart mentioned in another thread, the Management Complex related patches are already under review.
Quoted 21 lines
Quoted 4 lines
arm64: Add DTS support for FSL's LS2085A SoC
arm64: Add support for FSL's LS2085A SoC inKconfigand defconfigQuoted 8 lines
Documentation/devicetree/bindings/arm/fsl.txt | 8 + .../devicetree/bindings/misc/fsl,qoriq-mc.txt | 40 +++++ .../devicetree/bindings/serial/of-serial.txt | 12 ++ arch/arm64/Kconfig | 5 + arch/arm64/boot/dts/Makefile | 1 + arch/arm64/boot/dts/{ => freescale}/Makefile | 4 +- arch/arm64/boot/dts/freescale/fsl-ls2085a-simu.dts | 65 ++++++++ arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi | 163++++++++++++++++++++
Quoted 8 lines
arch/arm64/configs/defconfig | 1 + 9 files changed, 296 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt copy arch/arm64/boot/dts/{ => freescale}/Makefile (54%) create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2085a-simu.dts create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls2085a.dtsi
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
--
1.7.9.5Regards,
Bhupesh
Regards,
Bhupesh
v7 cover ARM64: Add support for FSL's LS2085A SoC
Hi,
Quoted 6 lines · bhupesh.sharma at freescale.com
Hi Arm Maintainers,
Its been some time since I posted v7 of this series.
If there are no other reviews comments on the series, can this be pulled into the ARM SoC tree (arm-soc.git) for merge.
The merge window just opened, so please repost the series to arm at kernel.org once it has closed (when 3.19-rc1 is out).
Thanks,
-Olof