From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757675AbbLBJdj (ORCPT ); Wed, 2 Dec 2015 04:33:39 -0500 Received: from eu-smtp-delivery-143.mimecast.com ([146.101.78.143]:24620 "EHLO eu-smtp-delivery-143.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756910AbbLBJdd (ORCPT ); Wed, 2 Dec 2015 04:33:33 -0500 From: Vladimir Murzin To: arnd@arndb.de, linux@arm.linux.org.uk, gregkh@linuxfoundation.org, daniel.lezcano@linaro.org, tglx@linutronix.de, u.kleine-koenig@pengutronix.de, afaerber@suse.de, mcoquelin.stm32@gmail.com Cc: Mark.Rutland@arm.com, Pawel.Moll@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, jslaby@suse.cz, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-api@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 00/10] Support for Cortex-M Prototyping System Date: Wed, 2 Dec 2015 09:33:00 +0000 Message-Id: <1449048790-25859-1-git-send-email-vladimir.murzin@arm.com> X-Mailer: git-send-email 2.0.0 X-OriginalArrivalTime: 02 Dec 2015 09:33:28.0871 (UTC) FILETIME=[8064CB70:01D12CE4] X-MC-Unique: v9U7-ZLPQBKTamajFWpsJg-1 Content-Type: text/plain; charset=WINDOWS-1252 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id tB29cTVm002415 Hi, This patch series provide the basic support for running ucLinux on V2M-MPS2 platform. With these patches applied ucLinux can be run on both HW and FVP models with Cortex-M3/M4/M7 configurations. Board description: http://infocenter.arm.com/help/topic/com.arm.doc.100112_0100_03_en/arm_versatile_express_cortex_m_prototyping_system_(v2m_mps2)_technical_reference_manual_100112_0100_03_en.pdf Application notes (cover Cortex-M3/M4/M7): http://infocenter.arm.com/help/topic/com.arm.doc.dai0385a/DAI0385A_cortex_m3_on_v2m_mps2.pdf http://infocenter.arm.com/help/topic/com.arm.doc.dai0386a/DAI0386A_cortex_m4_on_v2m_mps2.pdf http://infocenter.arm.com/help/topic/com.arm.doc.dai0399a/DAI0399A_cortex_m7_on_v2m_mps2.pdf http://infocenter.arm.com/help/topic/com.arm.doc.dai0400a/DAI0400A_cortex_m7_on_v2m_mps2.pdf Cortex-M System Design Kit (referenced as CMDK from documents above): http://infocenter.arm.com/help/topic/com.arm.doc.ddi0479c/DDI0479C_cortex_m_system_design_kit_r1p0_trm.pdf I'd be happy to hear any feedback/comments on this series (especially on uart since I'm not sure I got it right)! Changelog: RFC -> v1: - dropped RFC tag - rebased on 4.4-rc3 - added Acks from Rob - updated mps2-timer per Daniel - fixed build failures reported by 0-DAY kernel test infrastructure Thanks! Vladimir Murzin (10): dt-bindings: document the MPS2 timer bindings clockevents/drivers: add MPS2 Timer driver dt-bindings: document the MPS2 UART bindings serial: mps2-uart: add MPS2 UART driver serial: mps2-uart: add support for early console ARM: mps2: introduce MPS2 platform ARM: mps2: add low-level debug support ARM: configs: add MPS2 defconfig ARM: dts: introduce MPS2 AN385/AN386 ARM: dts: introduce MPS2 AN399/AN400 .../devicetree/bindings/serial/arm,mps2-uart.txt | 22 + .../devicetree/bindings/timer/arm,mps2-timer.txt | 28 + arch/arm/Kconfig | 8 + arch/arm/Kconfig.debug | 12 +- arch/arm/Makefile | 1 + arch/arm/boot/dts/Makefile | 3 + arch/arm/boot/dts/mps2-an385.dts | 90 +++ arch/arm/boot/dts/mps2-an399.dts | 92 +++ arch/arm/boot/dts/mps2.dtsi | 227 +++++++ arch/arm/configs/mps2_defconfig | 112 ++++ arch/arm/include/debug/mps2.S | 27 + arch/arm/mach-mps2/Makefile | 1 + arch/arm/mach-mps2/Makefile.boot | 3 + arch/arm/mach-mps2/dtmachine.c | 21 + drivers/clocksource/Kconfig | 5 + drivers/clocksource/Makefile | 1 + drivers/clocksource/mps2-timer.c | 277 +++++++++ drivers/tty/serial/Kconfig | 13 + drivers/tty/serial/Makefile | 1 + drivers/tty/serial/mps2-uart.c | 626 ++++++++++++++++++++ include/uapi/linux/serial_core.h | 3 + 21 files changed, 1572 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/serial/arm,mps2-uart.txt create mode 100644 Documentation/devicetree/bindings/timer/arm,mps2-timer.txt create mode 100644 arch/arm/boot/dts/mps2-an385.dts create mode 100644 arch/arm/boot/dts/mps2-an399.dts create mode 100644 arch/arm/boot/dts/mps2.dtsi create mode 100644 arch/arm/configs/mps2_defconfig create mode 100644 arch/arm/include/debug/mps2.S create mode 100644 arch/arm/mach-mps2/Makefile create mode 100644 arch/arm/mach-mps2/Makefile.boot create mode 100644 arch/arm/mach-mps2/dtmachine.c create mode 100644 drivers/clocksource/mps2-timer.c create mode 100644 drivers/tty/serial/mps2-uart.c -- 1.7.9.5 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Murzin Subject: [PATCH v1 00/10] Support for Cortex-M Prototyping System Date: Wed, 2 Dec 2015 09:33:00 +0000 Message-ID: <1449048790-25859-1-git-send-email-vladimir.murzin@arm.com> Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Return-path: Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: arnd-r2nGTMty4D4@public.gmane.org, linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org, gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org, daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org, u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org, afaerber-l3A5Bk7waGM@public.gmane.org, mcoquelin.stm32-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Cc: Mark.Rutland-5wv7dgnIgG8@public.gmane.org, Pawel.Moll-5wv7dgnIgG8@public.gmane.org, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org, galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, jslaby-AlSwsSmVLrQ@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-serial-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org Hi, This patch series provide the basic support for running ucLinux on V2M-MPS2 platform. With these patches applied ucLinux can be run on both HW and FVP models with Cortex-M3/M4/M7 configurations. Board description: http://infocenter.arm.com/help/topic/com.arm.doc.100112_0100_03_en/arm_vers= atile_express_cortex_m_prototyping_system_(v2m_mps2)_technical_reference_ma= nual_100112_0100_03_en.pdf Application notes (cover Cortex-M3/M4/M7): http://infocenter.arm.com/help/topic/com.arm.doc.dai0385a/DAI0385A_cortex_m= 3_on_v2m_mps2.pdf http://infocenter.arm.com/help/topic/com.arm.doc.dai0386a/DAI0386A_cortex_m= 4_on_v2m_mps2.pdf http://infocenter.arm.com/help/topic/com.arm.doc.dai0399a/DAI0399A_cortex_m= 7_on_v2m_mps2.pdf http://infocenter.arm.com/help/topic/com.arm.doc.dai0400a/DAI0400A_cortex_m= 7_on_v2m_mps2.pdf Cortex-M System Design Kit (referenced as CMDK from documents above): http://infocenter.arm.com/help/topic/com.arm.doc.ddi0479c/DDI0479C_cortex_m= _system_design_kit_r1p0_trm.pdf I'd be happy to hear any feedback/comments on this series (especially on ua= rt since I'm not sure I got it right)! Changelog: RFC -> v1: - dropped RFC tag - rebased on 4.4-rc3 - added Acks from Rob - updated mps2-timer per Daniel - fixed build failures reported by 0-DAY kernel test infrastructure Thanks! Vladimir Murzin (10): dt-bindings: document the MPS2 timer bindings clockevents/drivers: add MPS2 Timer driver dt-bindings: document the MPS2 UART bindings serial: mps2-uart: add MPS2 UART driver serial: mps2-uart: add support for early console ARM: mps2: introduce MPS2 platform ARM: mps2: add low-level debug support ARM: configs: add MPS2 defconfig ARM: dts: introduce MPS2 AN385/AN386 ARM: dts: introduce MPS2 AN399/AN400 .../devicetree/bindings/serial/arm,mps2-uart.txt | 22 + .../devicetree/bindings/timer/arm,mps2-timer.txt | 28 + arch/arm/Kconfig | 8 + arch/arm/Kconfig.debug | 12 +- arch/arm/Makefile | 1 + arch/arm/boot/dts/Makefile | 3 + arch/arm/boot/dts/mps2-an385.dts | 90 +++ arch/arm/boot/dts/mps2-an399.dts | 92 +++ arch/arm/boot/dts/mps2.dtsi | 227 +++++++ arch/arm/configs/mps2_defconfig | 112 ++++ arch/arm/include/debug/mps2.S | 27 + arch/arm/mach-mps2/Makefile | 1 + arch/arm/mach-mps2/Makefile.boot | 3 + arch/arm/mach-mps2/dtmachine.c | 21 + drivers/clocksource/Kconfig | 5 + drivers/clocksource/Makefile | 1 + drivers/clocksource/mps2-timer.c | 277 +++++++++ drivers/tty/serial/Kconfig | 13 + drivers/tty/serial/Makefile | 1 + drivers/tty/serial/mps2-uart.c | 626 ++++++++++++++++= ++++ include/uapi/linux/serial_core.h | 3 + 21 files changed, 1572 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/serial/arm,mps2-uart.= txt create mode 100644 Documentation/devicetree/bindings/timer/arm,mps2-timer.= txt create mode 100644 arch/arm/boot/dts/mps2-an385.dts create mode 100644 arch/arm/boot/dts/mps2-an399.dts create mode 100644 arch/arm/boot/dts/mps2.dtsi create mode 100644 arch/arm/configs/mps2_defconfig create mode 100644 arch/arm/include/debug/mps2.S create mode 100644 arch/arm/mach-mps2/Makefile create mode 100644 arch/arm/mach-mps2/Makefile.boot create mode 100644 arch/arm/mach-mps2/dtmachine.c create mode 100644 drivers/clocksource/mps2-timer.c create mode 100644 drivers/tty/serial/mps2-uart.c --=20 1.7.9.5 From mboxrd@z Thu Jan 1 00:00:00 1970 From: vladimir.murzin@arm.com (Vladimir Murzin) Date: Wed, 2 Dec 2015 09:33:00 +0000 Subject: [PATCH v1 00/10] Support for Cortex-M Prototyping System Message-ID: <1449048790-25859-1-git-send-email-vladimir.murzin@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, This patch series provide the basic support for running ucLinux on V2M-MPS2 platform. With these patches applied ucLinux can be run on both HW and FVP models with Cortex-M3/M4/M7 configurations. Board description: http://infocenter.arm.com/help/topic/com.arm.doc.100112_0100_03_en/arm_versatile_express_cortex_m_prototyping_system_(v2m_mps2)_technical_reference_manual_100112_0100_03_en.pdf Application notes (cover Cortex-M3/M4/M7): http://infocenter.arm.com/help/topic/com.arm.doc.dai0385a/DAI0385A_cortex_m3_on_v2m_mps2.pdf http://infocenter.arm.com/help/topic/com.arm.doc.dai0386a/DAI0386A_cortex_m4_on_v2m_mps2.pdf http://infocenter.arm.com/help/topic/com.arm.doc.dai0399a/DAI0399A_cortex_m7_on_v2m_mps2.pdf http://infocenter.arm.com/help/topic/com.arm.doc.dai0400a/DAI0400A_cortex_m7_on_v2m_mps2.pdf Cortex-M System Design Kit (referenced as CMDK from documents above): http://infocenter.arm.com/help/topic/com.arm.doc.ddi0479c/DDI0479C_cortex_m_system_design_kit_r1p0_trm.pdf I'd be happy to hear any feedback/comments on this series (especially on uart since I'm not sure I got it right)! Changelog: RFC -> v1: - dropped RFC tag - rebased on 4.4-rc3 - added Acks from Rob - updated mps2-timer per Daniel - fixed build failures reported by 0-DAY kernel test infrastructure Thanks! Vladimir Murzin (10): dt-bindings: document the MPS2 timer bindings clockevents/drivers: add MPS2 Timer driver dt-bindings: document the MPS2 UART bindings serial: mps2-uart: add MPS2 UART driver serial: mps2-uart: add support for early console ARM: mps2: introduce MPS2 platform ARM: mps2: add low-level debug support ARM: configs: add MPS2 defconfig ARM: dts: introduce MPS2 AN385/AN386 ARM: dts: introduce MPS2 AN399/AN400 .../devicetree/bindings/serial/arm,mps2-uart.txt | 22 + .../devicetree/bindings/timer/arm,mps2-timer.txt | 28 + arch/arm/Kconfig | 8 + arch/arm/Kconfig.debug | 12 +- arch/arm/Makefile | 1 + arch/arm/boot/dts/Makefile | 3 + arch/arm/boot/dts/mps2-an385.dts | 90 +++ arch/arm/boot/dts/mps2-an399.dts | 92 +++ arch/arm/boot/dts/mps2.dtsi | 227 +++++++ arch/arm/configs/mps2_defconfig | 112 ++++ arch/arm/include/debug/mps2.S | 27 + arch/arm/mach-mps2/Makefile | 1 + arch/arm/mach-mps2/Makefile.boot | 3 + arch/arm/mach-mps2/dtmachine.c | 21 + drivers/clocksource/Kconfig | 5 + drivers/clocksource/Makefile | 1 + drivers/clocksource/mps2-timer.c | 277 +++++++++ drivers/tty/serial/Kconfig | 13 + drivers/tty/serial/Makefile | 1 + drivers/tty/serial/mps2-uart.c | 626 ++++++++++++++++++++ include/uapi/linux/serial_core.h | 3 + 21 files changed, 1572 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/serial/arm,mps2-uart.txt create mode 100644 Documentation/devicetree/bindings/timer/arm,mps2-timer.txt create mode 100644 arch/arm/boot/dts/mps2-an385.dts create mode 100644 arch/arm/boot/dts/mps2-an399.dts create mode 100644 arch/arm/boot/dts/mps2.dtsi create mode 100644 arch/arm/configs/mps2_defconfig create mode 100644 arch/arm/include/debug/mps2.S create mode 100644 arch/arm/mach-mps2/Makefile create mode 100644 arch/arm/mach-mps2/Makefile.boot create mode 100644 arch/arm/mach-mps2/dtmachine.c create mode 100644 drivers/clocksource/mps2-timer.c create mode 100644 drivers/tty/serial/mps2-uart.c -- 1.7.9.5