* [PATCH v2 00/17] ARM: Initial Actions Semi S500 and S900 enablement
@ 2017-02-24 3:40 Andreas Färber
2017-02-24 3:40 ` [PATCH v2 01/17] dt-bindings: Add vendor prefix for Actions Semi Andreas Färber
` (6 more replies)
0 siblings, 7 replies; 22+ messages in thread
From: Andreas Färber @ 2017-02-24 3:40 UTC (permalink / raw)
To: arm-DgEjT+Ai2ygdnm+yROfE0A
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
mp-cs-/sSyCTpAT0ql5r2w9Jh5Rg, 96boards-Ty1hIZOCd2XuufBYgWm87A,
support-8Vy/tIz7429AfugRpC6u6w,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Andreas Färber,
Mark Rutland, Arnd Bergmann, Rob Herring,
devicetree-u79uwXL29TY76Z2rM5mHXA
Hello,
This series adds initial support for Actions Semiconductor S500 (ARMv7) and
S900 (ARMv8) SoCs.
In addition to earlycon serial output, v2 includes a serial console driver RFC.
Guitar output is coming further along thanks to a new timer implementation, but
is still earlycon only - to be investigated. Bubblegum-96 reaches an initrd,
but a small part of the serial output just before is lost (visible in dmesg).
https://github.com/afaerber/linux/commits/bg96-next
Booting from U-Boot is straightforward on both boards:
https://en.opensuse.org/HCL:Guitar
https://en.opensuse.org/HCL:Bubblegum-96
Have a lot of fun!
Cheers,
Andreas
v1 -> v2:
* S900 DT fixes (Mark)
* Kconfig name changes (Arnd)
* Bubblegum-96 .dts rename
* Vendor prefix rename
* Minor cleanups
* Add serial driver
* Add MAINTAINERS section
* Use SPDX-License-Identifier in DT (Rob)
* Add clocksource driver
Cc: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>
Cc: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
Cc: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: mp-cs-/sSyCTpAT0ql5r2w9Jh5Rg@public.gmane.org
Cc: 96boards-Ty1hIZOCd2XuufBYgWm87A@public.gmane.org
Cc: support-8Vy/tIz7429AfugRpC6u6w@public.gmane.org
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Andreas Färber (17):
dt-bindings: Add vendor prefix for Actions Semi
dt-bindings: arm: Document Actions Semi S500
dt-bindings: timer: Document Owl timer
clocksource: Add Owl timer
ARM: Prepare Actions Semi S500
ARM64: Prepare Actions Semi S900
dt-bindings: serial: Document Actions Semi Owl UARTs
tty: serial: Add Actions Semi Owl UART earlycon
Documentation: kernel-parameters: Document owl earlycon
ARM: dts: Add Actions Semi S500 and LeMaker Guitar
dt-bindings: Add vendor prefix for uCRobotics
dt-bindings: arm: Document Actions Semi S900
ARM64: dts: Add Actions Semi S900 and Bubblegum-96
MAINTAINERS: Add Actions Semi Owl section
tty: serial: owl: Implement console driver
ARM64: dts: actions: s900-bubblegum-96: Add fake uart5 clk
ARM: dts: s500-guitar-bb-rev-b: Add fake uart3 clock
Documentation/admin-guide/kernel-parameters.txt | 6 +
Documentation/devicetree/bindings/arm/actions.txt | 39 ++
.../bindings/serial/actions,owl-uart.txt | 16 +
.../bindings/timer/actions,owl-timer.txt | 16 +
.../devicetree/bindings/vendor-prefixes.txt | 2 +
MAINTAINERS | 10 +
arch/arm/Kconfig | 2 +
arch/arm/Makefile | 1 +
arch/arm/boot/dts/Makefile | 2 +
arch/arm/boot/dts/s500-guitar-bb-rev-b.dts | 33 +
arch/arm/boot/dts/s500-guitar.dtsi | 20 +
arch/arm/boot/dts/s500.dtsi | 135 ++++
arch/arm/mach-actions/Kconfig | 10 +
arch/arm/mach-actions/Makefile | 1 +
arch/arm/mach-actions/owl.c | 28 +
arch/arm64/Kconfig.platforms | 5 +
arch/arm64/boot/dts/Makefile | 1 +
arch/arm64/boot/dts/actions/Makefile | 5 +
arch/arm64/boot/dts/actions/s900-bubblegum-96.dts | 38 ++
arch/arm64/boot/dts/actions/s900.dtsi | 109 ++++
drivers/clocksource/Kconfig | 7 +
drivers/clocksource/Makefile | 1 +
drivers/clocksource/owl-timer.c | 146 +++++
drivers/tty/serial/Kconfig | 19 +
drivers/tty/serial/Makefile | 1 +
drivers/tty/serial/owl-uart.c | 707 +++++++++++++++++++++
include/uapi/linux/serial_core.h | 3 +
27 files changed, 1363 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arm/actions.txt
create mode 100644 Documentation/devicetree/bindings/serial/actions,owl-uart.txt
create mode 100644 Documentation/devicetree/bindings/timer/actions,owl-timer.txt
create mode 100644 arch/arm/boot/dts/s500-guitar-bb-rev-b.dts
create mode 100644 arch/arm/boot/dts/s500-guitar.dtsi
create mode 100644 arch/arm/boot/dts/s500.dtsi
create mode 100644 arch/arm/mach-actions/Kconfig
create mode 100644 arch/arm/mach-actions/Makefile
create mode 100644 arch/arm/mach-actions/owl.c
create mode 100644 arch/arm64/boot/dts/actions/Makefile
create mode 100644 arch/arm64/boot/dts/actions/s900-bubblegum-96.dts
create mode 100644 arch/arm64/boot/dts/actions/s900.dtsi
create mode 100644 drivers/clocksource/owl-timer.c
create mode 100644 drivers/tty/serial/owl-uart.c
--
2.10.2
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 22+ messages in thread* [PATCH v2 01/17] dt-bindings: Add vendor prefix for Actions Semi 2017-02-24 3:40 [PATCH v2 00/17] ARM: Initial Actions Semi S500 and S900 enablement Andreas Färber @ 2017-02-24 3:40 ` Andreas Färber 2017-02-27 14:57 ` Andreas Färber 2017-02-24 3:40 ` [PATCH v2 02/17] dt-bindings: arm: Document Actions Semi S500 Andreas Färber ` (5 subsequent siblings) 6 siblings, 1 reply; 22+ messages in thread From: Andreas Färber @ 2017-02-24 3:40 UTC (permalink / raw) To: arm Cc: linux-arm-kernel, mp-cs, 96boards, support, linux-kernel, Andreas Färber, Rob Herring, Mark Rutland, devicetree Actions Semiconductor was listed on NASDAQ as ACTS until Dec 16, 2016. Cc: mp-cs@actions-semi.com Signed-off-by: Andreas Färber <afaerber@suse.de> --- v1 -> v2: * Reverted from "acts" to "actions" (cf. IAP140 "mrvl" vs. "marvell") Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index a76b981..64f8469 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -6,6 +6,7 @@ using them to avoid name-space collisions. abcn Abracon Corporation abilis Abilis Systems active-semi Active-Semi International Inc +actions Actions Semiconductor Co., Ltd. ad Avionic Design GmbH adapteva Adapteva, Inc. adh AD Holdings Plc. -- 2.10.2 ^ permalink raw reply related [flat|nested] 22+ messages in thread
* Re: [PATCH v2 01/17] dt-bindings: Add vendor prefix for Actions Semi 2017-02-24 3:40 ` [PATCH v2 01/17] dt-bindings: Add vendor prefix for Actions Semi Andreas Färber @ 2017-02-27 14:57 ` Andreas Färber 2017-02-28 0:11 ` Rob Herring 0 siblings, 1 reply; 22+ messages in thread From: Andreas Färber @ 2017-02-27 14:57 UTC (permalink / raw) To: arm, Rob Herring Cc: Mark Rutland, support, devicetree, linux-kernel, mp-cs, 96boards, linux-arm-kernel Am 24.02.2017 um 04:40 schrieb Andreas Färber: > Actions Semiconductor was listed on NASDAQ as ACTS until Dec 16, 2016. > > Cc: mp-cs@actions-semi.com > Signed-off-by: Andreas Färber <afaerber@suse.de> > --- > v1 -> v2: > * Reverted from "acts" to "actions" (cf. IAP140 "mrvl" vs. "marvell") > > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt > index a76b981..64f8469 100644 > --- a/Documentation/devicetree/bindings/vendor-prefixes.txt > +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt > @@ -6,6 +6,7 @@ using them to avoid name-space collisions. > abcn Abracon Corporation > abilis Abilis Systems > active-semi Active-Semi International Inc > +actions Actions Semiconductor Co., Ltd. If the use of "actions" gets ack'ed, I realize it should move one line up. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [PATCH v2 01/17] dt-bindings: Add vendor prefix for Actions Semi 2017-02-27 14:57 ` Andreas Färber @ 2017-02-28 0:11 ` Rob Herring 0 siblings, 0 replies; 22+ messages in thread From: Rob Herring @ 2017-02-28 0:11 UTC (permalink / raw) To: Andreas Färber Cc: Mark Rutland, support, devicetree, linux-kernel, arm, mp-cs, 96boards, linux-arm-kernel On Mon, Feb 27, 2017 at 03:57:19PM +0100, Andreas Färber wrote: > Am 24.02.2017 um 04:40 schrieb Andreas Färber: > > Actions Semiconductor was listed on NASDAQ as ACTS until Dec 16, 2016. > > > > Cc: mp-cs@actions-semi.com > > Signed-off-by: Andreas Färber <afaerber@suse.de> > > --- > > v1 -> v2: > > * Reverted from "acts" to "actions" (cf. IAP140 "mrvl" vs. "marvell") > > > > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt > > index a76b981..64f8469 100644 > > --- a/Documentation/devicetree/bindings/vendor-prefixes.txt > > +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt > > @@ -6,6 +6,7 @@ using them to avoid name-space collisions. > > abcn Abracon Corporation > > abilis Abilis Systems > > active-semi Active-Semi International Inc > > +actions Actions Semiconductor Co., Ltd. > > If the use of "actions" gets ack'ed, I realize it should move one line up. With that fix, Acked-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 22+ messages in thread
* [PATCH v2 02/17] dt-bindings: arm: Document Actions Semi S500 2017-02-24 3:40 [PATCH v2 00/17] ARM: Initial Actions Semi S500 and S900 enablement Andreas Färber 2017-02-24 3:40 ` [PATCH v2 01/17] dt-bindings: Add vendor prefix for Actions Semi Andreas Färber @ 2017-02-24 3:40 ` Andreas Färber 2017-02-28 0:12 ` Rob Herring 2017-02-24 3:40 ` [RFC v2 03/17] dt-bindings: timer: Document Owl timer Andreas Färber ` (4 subsequent siblings) 6 siblings, 1 reply; 22+ messages in thread From: Andreas Färber @ 2017-02-24 3:40 UTC (permalink / raw) To: arm Cc: linux-arm-kernel, mp-cs, 96boards, support, linux-kernel, Andreas Färber, Rob Herring, Mark Rutland, devicetree The Actions Semi S500 is a quad-core ARM Cortex-A9 SoC. The LeMaker Guitar is an SODIMM-format module with that SoC. Signed-off-by: Andreas Färber <afaerber@suse.de> --- v1 -> v2: * Adopted "actions" vendor prefix * Extended text Documentation/devicetree/bindings/arm/actions.txt | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/actions.txt diff --git a/Documentation/devicetree/bindings/arm/actions.txt b/Documentation/devicetree/bindings/arm/actions.txt new file mode 100644 index 0000000..1d3782e --- /dev/null +++ b/Documentation/devicetree/bindings/arm/actions.txt @@ -0,0 +1,24 @@ +Actions Semi platforms device tree bindings +------------------------------------------- + + +S500 SoC +======== + +Required root node properties: + + - compatible : must contain "actions,s500" + + +Modules: + +Root node property compatible must contain, depending on module: + + - LeMaker Guitar: "lemaker,guitar" + + +Boards: + +Root node property compatible must contain, depending on board: + + - LeMaker Guitar Base Board rev. B: "lemaker,guitar-bb-rev-b", "lemaker,guitar" -- 2.10.2 ^ permalink raw reply related [flat|nested] 22+ messages in thread
* Re: [PATCH v2 02/17] dt-bindings: arm: Document Actions Semi S500 2017-02-24 3:40 ` [PATCH v2 02/17] dt-bindings: arm: Document Actions Semi S500 Andreas Färber @ 2017-02-28 0:12 ` Rob Herring 0 siblings, 0 replies; 22+ messages in thread From: Rob Herring @ 2017-02-28 0:12 UTC (permalink / raw) To: Andreas Färber Cc: Mark Rutland, support, devicetree, linux-kernel, arm, mp-cs, 96boards, linux-arm-kernel On Fri, Feb 24, 2017 at 04:40:40AM +0100, Andreas Färber wrote: > The Actions Semi S500 is a quad-core ARM Cortex-A9 SoC. > The LeMaker Guitar is an SODIMM-format module with that SoC. > > Signed-off-by: Andreas Färber <afaerber@suse.de> > --- > v1 -> v2: > * Adopted "actions" vendor prefix > * Extended text > > Documentation/devicetree/bindings/arm/actions.txt | 24 +++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/actions.txt Acked-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 22+ messages in thread
* [RFC v2 03/17] dt-bindings: timer: Document Owl timer 2017-02-24 3:40 [PATCH v2 00/17] ARM: Initial Actions Semi S500 and S900 enablement Andreas Färber 2017-02-24 3:40 ` [PATCH v2 01/17] dt-bindings: Add vendor prefix for Actions Semi Andreas Färber 2017-02-24 3:40 ` [PATCH v2 02/17] dt-bindings: arm: Document Actions Semi S500 Andreas Färber @ 2017-02-24 3:40 ` Andreas Färber 2017-02-24 3:45 ` Andreas Färber 2017-02-27 14:40 ` Andreas Färber [not found] ` <20170224034055.18807-1-afaerber-l3A5Bk7waGM@public.gmane.org> ` (3 subsequent siblings) 6 siblings, 2 replies; 22+ messages in thread From: Andreas Färber @ 2017-02-24 3:40 UTC (permalink / raw) To: arm Cc: linux-arm-kernel, mp-cs, 96boards, support, linux-kernel, Andreas Färber, Rob Herring, Mark Rutland, devicetree The Actions Semi S500 SoC contains a timer block with two timers. Signed-off-by: Andreas Färber <afaerber@suse.de> --- v2: new .../devicetree/bindings/timer/actions,owl-timer.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/actions,owl-timer.txt diff --git a/Documentation/devicetree/bindings/timer/actions,owl-timer.txt b/Documentation/devicetree/bindings/timer/actions,owl-timer.txt new file mode 100644 index 0000000..141bc7b --- /dev/null +++ b/Documentation/devicetree/bindings/timer/actions,owl-timer.txt @@ -0,0 +1,16 @@ +Actions Semi Owl Timer + +Required properties: +- compatible : "actions,owl-timer" +- reg : Offset and length of the register set for the device. +- interrupts : Should contain two timer interrupts. + + +Example: + + timer@b0168000 { + compatible = "actions,owl-timer"; + reg = <0xb0168000 0x100>; + interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; + }; -- 2.10.2 ^ permalink raw reply related [flat|nested] 22+ messages in thread
* Re: [RFC v2 03/17] dt-bindings: timer: Document Owl timer 2017-02-24 3:40 ` [RFC v2 03/17] dt-bindings: timer: Document Owl timer Andreas Färber @ 2017-02-24 3:45 ` Andreas Färber 2017-02-27 14:40 ` Andreas Färber 1 sibling, 0 replies; 22+ messages in thread From: Andreas Färber @ 2017-02-24 3:45 UTC (permalink / raw) To: arm Cc: Mark Rutland, support, devicetree, linux-kernel, Rob Herring, mp-cs, 96boards, linux-arm-kernel Am 24.02.2017 um 04:40 schrieb Andreas Färber: > The Actions Semi S500 SoC contains a timer block with two timers. > > Signed-off-by: Andreas Färber <afaerber@suse.de> > --- > v2: new Sorry, script error: nothing particularly RFC here. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [RFC v2 03/17] dt-bindings: timer: Document Owl timer 2017-02-24 3:40 ` [RFC v2 03/17] dt-bindings: timer: Document Owl timer Andreas Färber 2017-02-24 3:45 ` Andreas Färber @ 2017-02-27 14:40 ` Andreas Färber 2017-02-28 0:15 ` Rob Herring 1 sibling, 1 reply; 22+ messages in thread From: Andreas Färber @ 2017-02-27 14:40 UTC (permalink / raw) To: Rob Herring, Daniel Lezcano Cc: Mark Rutland, support, devicetree, linux-kernel, arm, mp-cs, 96boards, linux-arm-kernel Am 24.02.2017 um 04:40 schrieb Andreas Färber: > The Actions Semi S500 SoC contains a timer block with two timers. > > Signed-off-by: Andreas Färber <afaerber@suse.de> > --- > v2: new > > .../devicetree/bindings/timer/actions,owl-timer.txt | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > create mode 100644 Documentation/devicetree/bindings/timer/actions,owl-timer.txt > > diff --git a/Documentation/devicetree/bindings/timer/actions,owl-timer.txt b/Documentation/devicetree/bindings/timer/actions,owl-timer.txt > new file mode 100644 > index 0000000..141bc7b > --- /dev/null > +++ b/Documentation/devicetree/bindings/timer/actions,owl-timer.txt > @@ -0,0 +1,16 @@ > +Actions Semi Owl Timer > + > +Required properties: > +- compatible : "actions,owl-timer" > +- reg : Offset and length of the register set for the device. > +- interrupts : Should contain two timer interrupts. > + > + > +Example: > + > + timer@b0168000 { > + compatible = "actions,owl-timer"; > + reg = <0xb0168000 0x100>; > + interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>, > + <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; > + }; I need to modify these bindings for upcoming v3 in the following ways: * "actions,s500-timer", "actions,owl-timer" to deal with S500 vs. S900 differences while keeping a single driver registration (or would two registrations be preferred, dropping the second compatible? they do share a common subset) * Use named interrupts to deal with 2x 2Hz + 2x Timer vs. 4x Timer for complete hardware description Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [RFC v2 03/17] dt-bindings: timer: Document Owl timer 2017-02-27 14:40 ` Andreas Färber @ 2017-02-28 0:15 ` Rob Herring 0 siblings, 0 replies; 22+ messages in thread From: Rob Herring @ 2017-02-28 0:15 UTC (permalink / raw) To: Andreas Färber Cc: Mark Rutland, support, devicetree, Daniel Lezcano, linux-kernel, arm, mp-cs, 96boards, linux-arm-kernel On Mon, Feb 27, 2017 at 03:40:07PM +0100, Andreas Färber wrote: > Am 24.02.2017 um 04:40 schrieb Andreas Färber: > > The Actions Semi S500 SoC contains a timer block with two timers. > > > > Signed-off-by: Andreas Färber <afaerber@suse.de> > > --- > > v2: new > > > > .../devicetree/bindings/timer/actions,owl-timer.txt | 16 ++++++++++++++++ > > 1 file changed, 16 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/timer/actions,owl-timer.txt > > > > diff --git a/Documentation/devicetree/bindings/timer/actions,owl-timer.txt b/Documentation/devicetree/bindings/timer/actions,owl-timer.txt > > new file mode 100644 > > index 0000000..141bc7b > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/timer/actions,owl-timer.txt > > @@ -0,0 +1,16 @@ > > +Actions Semi Owl Timer > > + > > +Required properties: > > +- compatible : "actions,owl-timer" > > +- reg : Offset and length of the register set for the device. > > +- interrupts : Should contain two timer interrupts. > > + > > + > > +Example: > > + > > + timer@b0168000 { > > + compatible = "actions,owl-timer"; > > + reg = <0xb0168000 0x100>; > > + interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>, > > + <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; > > + }; > > I need to modify these bindings for upcoming v3 in the following ways: > > * "actions,s500-timer", "actions,owl-timer" to deal with S500 vs. S900 > differences while keeping a single driver registration (or would two > registrations be preferred, dropping the second compatible? they do > share a common subset) The former is fine. > > * Use named interrupts to deal with 2x 2Hz + 2x Timer vs. 4x Timer for > complete hardware description The compatible should imply this difference. Rob ^ permalink raw reply [flat|nested] 22+ messages in thread
[parent not found: <20170224034055.18807-1-afaerber-l3A5Bk7waGM@public.gmane.org>]
* [PATCH v2 07/17] dt-bindings: serial: Document Actions Semi Owl UARTs [not found] ` <20170224034055.18807-1-afaerber-l3A5Bk7waGM@public.gmane.org> @ 2017-02-24 3:40 ` Andreas Färber 2017-02-28 0:16 ` Rob Herring 2017-02-24 3:40 ` [PATCH v2 10/17] ARM: dts: Add Actions Semi S500 and LeMaker Guitar Andreas Färber ` (2 subsequent siblings) 3 siblings, 1 reply; 22+ messages in thread From: Andreas Färber @ 2017-02-24 3:40 UTC (permalink / raw) To: arm-DgEjT+Ai2ygdnm+yROfE0A Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, mp-cs-/sSyCTpAT0ql5r2w9Jh5Rg, 96boards-Ty1hIZOCd2XuufBYgWm87A, support-8Vy/tIz7429AfugRpC6u6w, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Andreas Färber, Greg Kroah-Hartman, Rob Herring, Mark Rutland, linux-serial-u79uwXL29TY76Z2rM5mHXA, devicetree-u79uwXL29TY76Z2rM5mHXA This UART is found on S500 and S900 SoCs. Signed-off-by: Andreas Färber <afaerber-l3A5Bk7waGM@public.gmane.org> --- v1 -> v2: * Adopted "actions" vendor prefix .../devicetree/bindings/serial/actions,owl-uart.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/actions,owl-uart.txt diff --git a/Documentation/devicetree/bindings/serial/actions,owl-uart.txt b/Documentation/devicetree/bindings/serial/actions,owl-uart.txt new file mode 100644 index 0000000..aa873ea --- /dev/null +++ b/Documentation/devicetree/bindings/serial/actions,owl-uart.txt @@ -0,0 +1,16 @@ +Actions Semi Owl UART + +Required properties: +- compatible : "actions,s500-uart", "actions,owl-uart" for S500 + "actions,s900-uart", "actions,owl-uart" for S900 +- reg : Offset and length of the register set for the device. +- interrupts : Should contain UART interrupt. + + +Example: + + uart3: serial@b0126000 { + compatible = "actions,s500-uart", "actions,owl-uart"; + reg = <0xb0126000 0x1000>; + interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; + }; -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 22+ messages in thread
* Re: [PATCH v2 07/17] dt-bindings: serial: Document Actions Semi Owl UARTs 2017-02-24 3:40 ` [PATCH v2 07/17] dt-bindings: serial: Document Actions Semi Owl UARTs Andreas Färber @ 2017-02-28 0:16 ` Rob Herring 0 siblings, 0 replies; 22+ messages in thread From: Rob Herring @ 2017-02-28 0:16 UTC (permalink / raw) To: Andreas Färber Cc: Mark Rutland, support, devicetree, Greg Kroah-Hartman, linux-kernel, arm, mp-cs, linux-serial, 96boards, linux-arm-kernel On Fri, Feb 24, 2017 at 04:40:45AM +0100, Andreas Färber wrote: > This UART is found on S500 and S900 SoCs. > > Signed-off-by: Andreas Färber <afaerber@suse.de> > --- > v1 -> v2: > * Adopted "actions" vendor prefix > > .../devicetree/bindings/serial/actions,owl-uart.txt | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > create mode 100644 Documentation/devicetree/bindings/serial/actions,owl-uart.txt Acked-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 22+ messages in thread
* [PATCH v2 10/17] ARM: dts: Add Actions Semi S500 and LeMaker Guitar [not found] ` <20170224034055.18807-1-afaerber-l3A5Bk7waGM@public.gmane.org> 2017-02-24 3:40 ` [PATCH v2 07/17] dt-bindings: serial: Document Actions Semi Owl UARTs Andreas Färber @ 2017-02-24 3:40 ` Andreas Färber 2017-02-24 23:36 ` Andreas Färber 2017-02-24 3:40 ` [RFC v2 13/17] ARM64: dts: Add Actions Semi S900 and Bubblegum-96 Andreas Färber 2017-02-24 3:40 ` [PATCH v2 17/17] ARM: dts: s500-guitar-bb-rev-b: Add fake uart3 clock Andreas Färber 3 siblings, 1 reply; 22+ messages in thread From: Andreas Färber @ 2017-02-24 3:40 UTC (permalink / raw) To: arm-DgEjT+Ai2ygdnm+yROfE0A Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, mp-cs-/sSyCTpAT0ql5r2w9Jh5Rg, 96boards-Ty1hIZOCd2XuufBYgWm87A, support-8Vy/tIz7429AfugRpC6u6w, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Andreas Färber, Rob Herring, Mark Rutland, Russell King, devicetree-u79uwXL29TY76Z2rM5mHXA Signed-off-by: Andreas Färber <afaerber-l3A5Bk7waGM@public.gmane.org> --- v1 -> v2: * Reworded subject * Updated ARCH_OWL to ARCH_ACTIONS (Arnd) * Adopted "actions" vendor prefix * Dropped irq.h include * Added memory@0 node for Guitar SoM * Dropped bogus uart3 clock-frequency * Added device_type for CPU nodes * Fixed UART reg size * Adopted SPDX-License-Identifier (Rob) * Added remaining UART nodes * Added timer node arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/s500-guitar-bb-rev-b.dts | 26 ++++++ arch/arm/boot/dts/s500-guitar.dtsi | 20 +++++ arch/arm/boot/dts/s500.dtsi | 135 +++++++++++++++++++++++++++++ 4 files changed, 183 insertions(+) create mode 100644 arch/arm/boot/dts/s500-guitar-bb-rev-b.dts create mode 100644 arch/arm/boot/dts/s500-guitar.dtsi create mode 100644 arch/arm/boot/dts/s500.dtsi diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 0118084..578a20b 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -638,6 +638,8 @@ dtb-$(CONFIG_ARCH_ORION5X) += \ orion5x-maxtor-shared-storage-2.dtb \ orion5x-netgear-wnr854t.dtb \ orion5x-rd88f5182-nas.dtb +dtb-$(CONFIG_ARCH_ACTIONS) += \ + s500-guitar-bb-rev-b.dtb dtb-$(CONFIG_ARCH_PRIMA2) += \ prima2-evb.dtb dtb-$(CONFIG_ARCH_OXNAS) += \ diff --git a/arch/arm/boot/dts/s500-guitar-bb-rev-b.dts b/arch/arm/boot/dts/s500-guitar-bb-rev-b.dts new file mode 100644 index 0000000..834b71d --- /dev/null +++ b/arch/arm/boot/dts/s500-guitar-bb-rev-b.dts @@ -0,0 +1,26 @@ +/* + * Copyright (c) 2016-2017 Andreas Färber + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +/dts-v1/; + +#include "s500-guitar.dtsi" + +/ { + compatible = "lemaker,guitar-bb-rev-b", "lemaker,guitar", "actions,s500"; + model = "LeMaker Guitar Base Board rev. B"; + + aliases { + serial3 = &uart3; + }; + + chosen { + stdout-path = "serial3:115200n8"; + }; +}; + +&uart3 { + status = "okay"; +}; diff --git a/arch/arm/boot/dts/s500-guitar.dtsi b/arch/arm/boot/dts/s500-guitar.dtsi new file mode 100644 index 0000000..ef0e7e3 --- /dev/null +++ b/arch/arm/boot/dts/s500-guitar.dtsi @@ -0,0 +1,20 @@ +/* + * LeMaker Guitar SoM + * + * Copyright (c) 2016-2017 Andreas Färber + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +#include "s500.dtsi" + +/ { + compatible = "lemaker,guitar", "actions,s500"; + + /delete-node/ memory; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x40000000>; + }; +}; diff --git a/arch/arm/boot/dts/s500.dtsi b/arch/arm/boot/dts/s500.dtsi new file mode 100644 index 0000000..149bb7a --- /dev/null +++ b/arch/arm/boot/dts/s500.dtsi @@ -0,0 +1,135 @@ +/* + * Actions Semi S500 SoC + * + * Copyright (c) 2016-2017 Andreas Färber + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +#include "skeleton.dtsi" + +#include <dt-bindings/interrupt-controller/arm-gic.h> + +/ { + compatible = "actions,s500"; + interrupt-parent = <&gic>; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a9"; + reg = <0x0>; + }; + + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a9"; + reg = <0x1>; + }; + + cpu2: cpu@2 { + device_type = "cpu"; + compatible = "arm,cortex-a9"; + reg = <0x2>; + }; + + cpu3: cpu@3 { + device_type = "cpu"; + compatible = "arm,cortex-a9"; + reg = <0x3>; + }; + }; + + arm-pmu { + compatible = "arm,cortex-a9-pmu"; + interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; + interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; + }; + + soc { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + + gic: interrupt-controller@b0021000 { + compatible = "arm,cortex-a9-gic"; + reg = <0xb0021000 0x1000>, + <0xb0020100 0x0100>; + interrupt-controller; + #interrupt-cells = <3>; + }; + + l2: cache-controller@b0022000 { + compatible = "arm,pl310-cache"; + reg = <0xb0022000 0x1000>; + cache-unified; + cache-level = <2>; + interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; + arm,tag-latency = <3 3 2>; + arm,data-latency = <5 3 3>; + }; + + uart0: serial@b0120000 { + compatible = "actions,s500-uart", "actions,owl-uart"; + reg = <0xb0120000 0x2000>; + interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + uart1: serial@b0122000 { + compatible = "actions,s500-uart", "actions,owl-uart"; + reg = <0xb0122000 0x2000>; + interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + uart2: serial@b0124000 { + compatible = "actions,s500-uart", "actions,owl-uart"; + reg = <0xb0126000 0x2000>; + interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + uart3: serial@b0126000 { + compatible = "actions,s500-uart", "actions,owl-uart"; + reg = <0xb0126000 0x2000>; + interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + uart4: serial@b0128000 { + compatible = "actions,s500-uart", "actions,owl-uart"; + reg = <0xb0128000 0x2000>; + interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + uart5: serial@b012a000 { + compatible = "actions,s500-uart", "actions,owl-uart"; + reg = <0xb012a000 0x2000>; + interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + uart6: serial@b012c000 { + compatible = "actions,s500-uart", "actions,owl-uart"; + reg = <0xb012c000 0x2000>; + interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + + timer@b0168000 { + compatible = "actions,owl-timer"; + reg = <0xb0168000 0x100>; + interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; + }; + }; +}; -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 22+ messages in thread
* Re: [PATCH v2 10/17] ARM: dts: Add Actions Semi S500 and LeMaker Guitar 2017-02-24 3:40 ` [PATCH v2 10/17] ARM: dts: Add Actions Semi S500 and LeMaker Guitar Andreas Färber @ 2017-02-24 23:36 ` Andreas Färber 0 siblings, 0 replies; 22+ messages in thread From: Andreas Färber @ 2017-02-24 23:36 UTC (permalink / raw) To: arm Cc: Mark Rutland, support, devicetree, linux-kernel, Russell King, Rob Herring, mp-cs, 96boards, linux-arm-kernel Am 24.02.2017 um 04:40 schrieb Andreas Färber: > + uart2: serial@b0124000 { > + compatible = "actions,s500-uart", "actions,owl-uart"; > + reg = <0xb0126000 0x2000>; Wrong reg offset. > + interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; > + status = "disabled"; > + }; > + > + uart3: serial@b0126000 { > + compatible = "actions,s500-uart", "actions,owl-uart"; > + reg = <0xb0126000 0x2000>; > + interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; > + status = "disabled"; > + }; -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 22+ messages in thread
* [RFC v2 13/17] ARM64: dts: Add Actions Semi S900 and Bubblegum-96 [not found] ` <20170224034055.18807-1-afaerber-l3A5Bk7waGM@public.gmane.org> 2017-02-24 3:40 ` [PATCH v2 07/17] dt-bindings: serial: Document Actions Semi Owl UARTs Andreas Färber 2017-02-24 3:40 ` [PATCH v2 10/17] ARM: dts: Add Actions Semi S500 and LeMaker Guitar Andreas Färber @ 2017-02-24 3:40 ` Andreas Färber [not found] ` <20170224034055.18807-14-afaerber-l3A5Bk7waGM@public.gmane.org> 2017-02-24 3:40 ` [PATCH v2 17/17] ARM: dts: s500-guitar-bb-rev-b: Add fake uart3 clock Andreas Färber 3 siblings, 1 reply; 22+ messages in thread From: Andreas Färber @ 2017-02-24 3:40 UTC (permalink / raw) To: arm-DgEjT+Ai2ygdnm+yROfE0A Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, mp-cs-/sSyCTpAT0ql5r2w9Jh5Rg, 96boards-Ty1hIZOCd2XuufBYgWm87A, support-8Vy/tIz7429AfugRpC6u6w, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Andreas Färber, Rob Herring, Mark Rutland, Catalin Marinas, Will Deacon, devicetree-u79uwXL29TY76Z2rM5mHXA Cc: 96boards-Ty1hIZOCd2XuufBYgWm87A@public.gmane.org Signed-off-by: Andreas Färber <afaerber-l3A5Bk7waGM@public.gmane.org> --- v1 -> v2: * Reworded subject * Added memory@0 node for Bubblegum-96 (Mark) * Filled in reserved-memory sub-node for Bubblegum-96 (Mark) * Added arm-pmu interrupt-affinity property (Mark) * Changed second GIC reg size 0x1000 -> 0x2000 for Bubblegum-96 (Mark) * Updated ARCH_OWL to ARCH_ACTIONS (Arnd) * Renamed s900-bubblegum96.dts to s900-bubblegum-96.dts * Adopted "actions" vendor prefix * Dropped irq.h include * Adopted SPDX-License-Identifier (Rob) arch/arm64/boot/dts/Makefile | 1 + arch/arm64/boot/dts/actions/Makefile | 5 + arch/arm64/boot/dts/actions/s900-bubblegum-96.dts | 31 ++++++ arch/arm64/boot/dts/actions/s900.dtsi | 109 ++++++++++++++++++++++ 4 files changed, 146 insertions(+) create mode 100644 arch/arm64/boot/dts/actions/Makefile create mode 100644 arch/arm64/boot/dts/actions/s900-bubblegum-96.dts create mode 100644 arch/arm64/boot/dts/actions/s900.dtsi diff --git a/arch/arm64/boot/dts/Makefile b/arch/arm64/boot/dts/Makefile index 080232b..d1a6b0a 100644 --- a/arch/arm64/boot/dts/Makefile +++ b/arch/arm64/boot/dts/Makefile @@ -1,3 +1,4 @@ +dts-dirs += actions dts-dirs += al dts-dirs += allwinner dts-dirs += altera diff --git a/arch/arm64/boot/dts/actions/Makefile b/arch/arm64/boot/dts/actions/Makefile new file mode 100644 index 0000000..62922d6 --- /dev/null +++ b/arch/arm64/boot/dts/actions/Makefile @@ -0,0 +1,5 @@ +dtb-$(CONFIG_ARCH_ACTIONS) += s900-bubblegum-96.dtb + +always := $(dtb-y) +subdir-y := $(dts-dirs) +clean-files := *.dtb diff --git a/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts b/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts new file mode 100644 index 0000000..a4ab7df --- /dev/null +++ b/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2017 Andreas Färber + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +/dts-v1/; + +#include "s900.dtsi" + +/ { + compatible = "ucrobotics,bubblegum-96", "actions,s900"; + model = "Bubblegum-96"; + + aliases { + serial5 = &uart5; + }; + + chosen { + stdout-path = "serial5:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x80000000>; + }; +}; + +&uart5 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi new file mode 100644 index 0000000..75e1dea2 --- /dev/null +++ b/arch/arm64/boot/dts/actions/s900.dtsi @@ -0,0 +1,109 @@ +/* + * Copyright (c) 2017 Andreas Färber + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +#include <dt-bindings/interrupt-controller/arm-gic.h> + +/ { + compatible = "actions,s900"; + interrupt-parent = <&gic>; + #address-cells = <2>; + #size-cells = <2>; + + cpus { + #address-cells = <2>; + #size-cells = <0>; + + cpu0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x0>; + enable-method = "psci"; + }; + + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x1>; + enable-method = "psci"; + }; + + cpu2: cpu@2 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x2>; + enable-method = "psci"; + }; + + cpu3: cpu@3 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x3>; + enable-method = "psci"; + }; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + secmon@1f000000 { + reg = <0x0 0x1f000000 0x0 0x1000000>; + no-map; + }; + }; + + psci { + compatible = "arm,psci-0.2"; + method = "smc"; + }; + + arm-pmu { + compatible = "arm,cortex-a53-pmu"; + interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; + interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = <GIC_PPI 13 + (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 14 + (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 11 + (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, + <GIC_PPI 10 + (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; + }; + + soc { + compatible = "simple-bus"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + gic: interrupt-controller@e00f1000 { + compatible = "arm,gic-400"; + reg = <0x0 0xe00f1000 0x0 0x1000>, + <0x0 0xe00f2000 0x0 0x2000>, + <0x0 0xe00f4000 0x0 0x2000>, + <0x0 0xe00f6000 0x0 0x2000>; + interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; + interrupt-controller; + #interrupt-cells = <3>; + }; + + uart5: serial@e012a000 { + compatible = "actions,s900-uart", "actions,owl-uart"; + reg = <0x0 0xe012a000 0x0 0x1000>; + interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; + }; +}; -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 22+ messages in thread
[parent not found: <20170224034055.18807-14-afaerber-l3A5Bk7waGM@public.gmane.org>]
* Re: [RFC v2 13/17] ARM64: dts: Add Actions Semi S900 and Bubblegum-96 [not found] ` <20170224034055.18807-14-afaerber-l3A5Bk7waGM@public.gmane.org> @ 2017-02-24 3:49 ` Andreas Färber 0 siblings, 0 replies; 22+ messages in thread From: Andreas Färber @ 2017-02-24 3:49 UTC (permalink / raw) To: arm-DgEjT+Ai2ygdnm+yROfE0A Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, mp-cs-/sSyCTpAT0ql5r2w9Jh5Rg, 96boards-Ty1hIZOCd2XuufBYgWm87A, support-8Vy/tIz7429AfugRpC6u6w, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rob Herring, Mark Rutland, Catalin Marinas, Will Deacon, devicetree-u79uwXL29TY76Z2rM5mHXA Am 24.02.2017 um 04:40 schrieb Andreas Färber: > Cc: 96boards-Ty1hIZOCd2XuufBYgWm87A@public.gmane.org > Signed-off-by: Andreas Färber <afaerber-l3A5Bk7waGM@public.gmane.org> > --- > v1 -> v2: > * Reworded subject > * Added memory@0 node for Bubblegum-96 (Mark) > * Filled in reserved-memory sub-node for Bubblegum-96 (Mark) > * Added arm-pmu interrupt-affinity property (Mark) > * Changed second GIC reg size 0x1000 -> 0x2000 for Bubblegum-96 (Mark) > * Updated ARCH_OWL to ARCH_ACTIONS (Arnd) > * Renamed s900-bubblegum96.dts to s900-bubblegum-96.dts > * Adopted "actions" vendor prefix > * Dropped irq.h include > * Adopted SPDX-License-Identifier (Rob) Sorry, not this patch but the tty patches 15ff/17 should've been RFC. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 22+ messages in thread
* [PATCH v2 17/17] ARM: dts: s500-guitar-bb-rev-b: Add fake uart3 clock [not found] ` <20170224034055.18807-1-afaerber-l3A5Bk7waGM@public.gmane.org> ` (2 preceding siblings ...) 2017-02-24 3:40 ` [RFC v2 13/17] ARM64: dts: Add Actions Semi S900 and Bubblegum-96 Andreas Färber @ 2017-02-24 3:40 ` Andreas Färber 3 siblings, 0 replies; 22+ messages in thread From: Andreas Färber @ 2017-02-24 3:40 UTC (permalink / raw) To: arm-DgEjT+Ai2ygdnm+yROfE0A Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, mp-cs-/sSyCTpAT0ql5r2w9Jh5Rg, 96boards-Ty1hIZOCd2XuufBYgWm87A, support-8Vy/tIz7429AfugRpC6u6w, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Andreas Färber, Rob Herring, Mark Rutland, Russell King, devicetree-u79uwXL29TY76Z2rM5mHXA Add a fixed-clock for baudrate 115200. Signed-off-by: Andreas Färber <afaerber-l3A5Bk7waGM@public.gmane.org> --- v2: new arch/arm/boot/dts/s500-guitar-bb-rev-b.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/s500-guitar-bb-rev-b.dts b/arch/arm/boot/dts/s500-guitar-bb-rev-b.dts index 834b71d..f6fd10a 100644 --- a/arch/arm/boot/dts/s500-guitar-bb-rev-b.dts +++ b/arch/arm/boot/dts/s500-guitar-bb-rev-b.dts @@ -19,8 +19,15 @@ chosen { stdout-path = "serial3:115200n8"; }; + + uart3_clk: uart3-clk { + compatible = "fixed-clock"; + clock-frequency = <921600>; + #clock-cells = <0>; + }; }; &uart3 { status = "okay"; + clocks = <&uart3_clk>; }; -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 22+ messages in thread
* [PATCH v2 11/17] dt-bindings: Add vendor prefix for uCRobotics 2017-02-24 3:40 [PATCH v2 00/17] ARM: Initial Actions Semi S500 and S900 enablement Andreas Färber ` (3 preceding siblings ...) [not found] ` <20170224034055.18807-1-afaerber-l3A5Bk7waGM@public.gmane.org> @ 2017-02-24 3:40 ` Andreas Färber 2017-02-28 0:16 ` Rob Herring 2017-02-24 3:40 ` [PATCH v2 12/17] dt-bindings: arm: Document Actions Semi S900 Andreas Färber 2017-02-24 3:40 ` [PATCH v2 16/17] ARM64: dts: actions: s900-bubblegum-96: Add fake uart5 clk Andreas Färber 6 siblings, 1 reply; 22+ messages in thread From: Andreas Färber @ 2017-02-24 3:40 UTC (permalink / raw) To: arm Cc: linux-arm-kernel, mp-cs, 96boards, support, linux-kernel, Andreas Färber, Rob Herring, Mark Rutland, devicetree Cc: 96boards@ucrobotics.com Signed-off-by: Andreas Färber <afaerber@suse.de> --- v1 -> v2: unchanged Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 64f8469..a89dbab 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.txt +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt @@ -320,6 +320,7 @@ tronfy Tronfy tronsmart Tronsmart truly Truly Semiconductors Limited tyan Tyan Computer Corporation +ucrobotics uCRobotics udoo Udoo uniwest United Western Technologies Corp (UniWest) upisemi uPI Semiconductor Corp. -- 2.10.2 ^ permalink raw reply related [flat|nested] 22+ messages in thread
* Re: [PATCH v2 11/17] dt-bindings: Add vendor prefix for uCRobotics 2017-02-24 3:40 ` [PATCH v2 11/17] dt-bindings: Add vendor prefix for uCRobotics Andreas Färber @ 2017-02-28 0:16 ` Rob Herring 0 siblings, 0 replies; 22+ messages in thread From: Rob Herring @ 2017-02-28 0:16 UTC (permalink / raw) To: Andreas Färber Cc: arm, linux-arm-kernel, mp-cs, 96boards, support, linux-kernel, Mark Rutland, devicetree On Fri, Feb 24, 2017 at 04:40:49AM +0100, Andreas Färber wrote: > Cc: 96boards@ucrobotics.com > Signed-off-by: Andreas Färber <afaerber@suse.de> > --- > v1 -> v2: unchanged > > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 22+ messages in thread
* [PATCH v2 12/17] dt-bindings: arm: Document Actions Semi S900 2017-02-24 3:40 [PATCH v2 00/17] ARM: Initial Actions Semi S500 and S900 enablement Andreas Färber ` (4 preceding siblings ...) 2017-02-24 3:40 ` [PATCH v2 11/17] dt-bindings: Add vendor prefix for uCRobotics Andreas Färber @ 2017-02-24 3:40 ` Andreas Färber 2017-02-28 0:17 ` Rob Herring 2017-02-24 3:40 ` [PATCH v2 16/17] ARM64: dts: actions: s900-bubblegum-96: Add fake uart5 clk Andreas Färber 6 siblings, 1 reply; 22+ messages in thread From: Andreas Färber @ 2017-02-24 3:40 UTC (permalink / raw) To: arm Cc: linux-arm-kernel, mp-cs, 96boards, support, linux-kernel, Andreas Färber, Rob Herring, Mark Rutland, devicetree The Actions Semi S900 is a quad-core ARM Cortex-A53 SoC. The Bubblegum-96 is a 96Boards Consumer Edition compliant board (4/96). Cc: 96boards@ucrobotics.com Signed-off-by: Andreas Färber <afaerber@suse.de> --- v1 -> v2: * Adopted "actions" vendor prefix * Extended text Documentation/devicetree/bindings/arm/actions.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/actions.txt b/Documentation/devicetree/bindings/arm/actions.txt index 1d3782e..3bc7ea5 100644 --- a/Documentation/devicetree/bindings/arm/actions.txt +++ b/Documentation/devicetree/bindings/arm/actions.txt @@ -22,3 +22,18 @@ Boards: Root node property compatible must contain, depending on board: - LeMaker Guitar Base Board rev. B: "lemaker,guitar-bb-rev-b", "lemaker,guitar" + + +S900 SoC +======== + +Required root node properties: + +- compatible : must contain "actions,s900" + + +Boards: + +Root node property compatible must contain, depending on board: + + - uCRobotics Bubblegum-96: "ucrobotics,bubblegum-96" -- 2.10.2 ^ permalink raw reply related [flat|nested] 22+ messages in thread
* Re: [PATCH v2 12/17] dt-bindings: arm: Document Actions Semi S900 2017-02-24 3:40 ` [PATCH v2 12/17] dt-bindings: arm: Document Actions Semi S900 Andreas Färber @ 2017-02-28 0:17 ` Rob Herring 0 siblings, 0 replies; 22+ messages in thread From: Rob Herring @ 2017-02-28 0:17 UTC (permalink / raw) To: Andreas Färber Cc: Mark Rutland, support, devicetree, linux-kernel, arm, mp-cs, 96boards, linux-arm-kernel On Fri, Feb 24, 2017 at 04:40:50AM +0100, Andreas Färber wrote: > The Actions Semi S900 is a quad-core ARM Cortex-A53 SoC. > The Bubblegum-96 is a 96Boards Consumer Edition compliant board (4/96). > > Cc: 96boards@ucrobotics.com > Signed-off-by: Andreas Färber <afaerber@suse.de> > --- > v1 -> v2: > * Adopted "actions" vendor prefix > * Extended text > > Documentation/devicetree/bindings/arm/actions.txt | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) Acked-by: Rob Herring <robh@kernel.org> ^ permalink raw reply [flat|nested] 22+ messages in thread
* [PATCH v2 16/17] ARM64: dts: actions: s900-bubblegum-96: Add fake uart5 clk 2017-02-24 3:40 [PATCH v2 00/17] ARM: Initial Actions Semi S500 and S900 enablement Andreas Färber ` (5 preceding siblings ...) 2017-02-24 3:40 ` [PATCH v2 12/17] dt-bindings: arm: Document Actions Semi S900 Andreas Färber @ 2017-02-24 3:40 ` Andreas Färber 6 siblings, 0 replies; 22+ messages in thread From: Andreas Färber @ 2017-02-24 3:40 UTC (permalink / raw) To: arm Cc: linux-arm-kernel, mp-cs, 96boards, support, linux-kernel, Andreas Färber, Rob Herring, Mark Rutland, Catalin Marinas, Will Deacon, devicetree Give the serial driver a fixed-clock as input for baudrate 115200. Signed-off-by: Andreas Färber <afaerber@suse.de> --- v2: new arch/arm64/boot/dts/actions/s900-bubblegum-96.dts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts b/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts index a4ab7df..e25f606 100644 --- a/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts +++ b/arch/arm64/boot/dts/actions/s900-bubblegum-96.dts @@ -24,8 +24,15 @@ device_type = "memory"; reg = <0x0 0x0 0x0 0x80000000>; }; + + uart5_clk: uart5-clk { + compatible = "fixed-clock"; + clock-frequency = <921600>; + #clock-cells = <0>; + }; }; &uart5 { status = "okay"; + clocks = <&uart5_clk>; }; -- 2.10.2 ^ permalink raw reply related [flat|nested] 22+ messages in thread
end of thread, other threads:[~2017-02-28 0:17 UTC | newest]
Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-24 3:40 [PATCH v2 00/17] ARM: Initial Actions Semi S500 and S900 enablement Andreas Färber
2017-02-24 3:40 ` [PATCH v2 01/17] dt-bindings: Add vendor prefix for Actions Semi Andreas Färber
2017-02-27 14:57 ` Andreas Färber
2017-02-28 0:11 ` Rob Herring
2017-02-24 3:40 ` [PATCH v2 02/17] dt-bindings: arm: Document Actions Semi S500 Andreas Färber
2017-02-28 0:12 ` Rob Herring
2017-02-24 3:40 ` [RFC v2 03/17] dt-bindings: timer: Document Owl timer Andreas Färber
2017-02-24 3:45 ` Andreas Färber
2017-02-27 14:40 ` Andreas Färber
2017-02-28 0:15 ` Rob Herring
[not found] ` <20170224034055.18807-1-afaerber-l3A5Bk7waGM@public.gmane.org>
2017-02-24 3:40 ` [PATCH v2 07/17] dt-bindings: serial: Document Actions Semi Owl UARTs Andreas Färber
2017-02-28 0:16 ` Rob Herring
2017-02-24 3:40 ` [PATCH v2 10/17] ARM: dts: Add Actions Semi S500 and LeMaker Guitar Andreas Färber
2017-02-24 23:36 ` Andreas Färber
2017-02-24 3:40 ` [RFC v2 13/17] ARM64: dts: Add Actions Semi S900 and Bubblegum-96 Andreas Färber
[not found] ` <20170224034055.18807-14-afaerber-l3A5Bk7waGM@public.gmane.org>
2017-02-24 3:49 ` Andreas Färber
2017-02-24 3:40 ` [PATCH v2 17/17] ARM: dts: s500-guitar-bb-rev-b: Add fake uart3 clock Andreas Färber
2017-02-24 3:40 ` [PATCH v2 11/17] dt-bindings: Add vendor prefix for uCRobotics Andreas Färber
2017-02-28 0:16 ` Rob Herring
2017-02-24 3:40 ` [PATCH v2 12/17] dt-bindings: arm: Document Actions Semi S900 Andreas Färber
2017-02-28 0:17 ` Rob Herring
2017-02-24 3:40 ` [PATCH v2 16/17] ARM64: dts: actions: s900-bubblegum-96: Add fake uart5 clk Andreas Färber
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).