From patchwork Wed Feb 20 07:42:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sugaya Taichi X-Patchwork-Id: 10821569 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AB8B96C2 for ; Wed, 20 Feb 2019 07:42:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 92C042D693 for ; Wed, 20 Feb 2019 07:42:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8673D2D6B5; Wed, 20 Feb 2019 07:42:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 18D862D693 for ; Wed, 20 Feb 2019 07:42:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=GBo2KfyhJLjs83kvUONT6zRnxP91DA4WyztQy9Qf+ZY=; b=IC/ v+kYhmH6PowPw5THUyhdNbXGQ3TQ3JIHKmeymWrHKrACu1ZeALLxDvAAzhboK8GrUr/4n2mjsbFoT BYA17np5YokayxZM9Z5dWfmiKf+A3u98pQpthDszFu520qOMNoQ/hwqVoe6khki94dQRdsbAz7+dQ ZVhQSmmahEiiRceZCDEQPqLKa6vW8ibe6zqpUK9t64YagSwL8FT2K04z5bkwZSwd5MB1rAYFVO4Sy EPvKYP1FLb258DbjAPNYvUy4M13/fIi6hYgSgpKvvq41EXU/GDnKn3bcftrsXPMyWLiD9GDrKybaY ASt2oW1iusKI3z8AOqVTYBeYw35m5tQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gwMWW-0001A2-BV; Wed, 20 Feb 2019 07:42:32 +0000 Received: from mx.socionext.com ([202.248.49.38]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gwMWS-00019c-Tb for linux-arm-kernel@lists.infradead.org; Wed, 20 Feb 2019 07:42:30 +0000 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 20 Feb 2019 16:42:27 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id A1629180097; Wed, 20 Feb 2019 16:42:27 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Wed, 20 Feb 2019 16:42:27 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by iyokan.css.socionext.com (Postfix) with ESMTP id 3C70A40368; Wed, 20 Feb 2019 16:42:27 +0900 (JST) Received: from M20VSDK.e01.socionext.com (unknown [10.213.118.34]) by yuzu.css.socionext.com (Postfix) with ESMTP id 1843F120459; Wed, 20 Feb 2019 16:42:27 +0900 (JST) From: Sugaya Taichi To: devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, soc@kernel.org Subject: [PATCH v3 0/9] Add basic support for Socionext Milbeaut M10V SoC Date: Wed, 20 Feb 2019 16:42:58 +0900 Message-Id: <1550648578-9928-1-git-send-email-sugaya.taichi@socionext.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190219_234229_279888_6B72E6AB X-CRM114-Status: GOOD ( 20.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Shinji Kanematsu , Masami Hiramatsu , Arnd Bergmann , Jassi Brar , Sugaya Taichi , Greg Kroah-Hartman , Daniel Lezcano , Russell King , Masahiro Yamada , Rob Herring , Takao Orito , Thomas Gleixner , Kazuhiro Kasai MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, Here is the series of patches the initial support for SC2000(M10V) of Milbeaut SoCs. "M10V" is the internal name of SC2000, so commonly used in source code. SC2000 is a SoC of the Milbeaut series. equipped with a DSP optimized for computer vision. It also features advanced functionalities such as 360-degree, real-time spherical stitching with multi cameras, image stabilization for without mechanical gimbals, and rolling shutter correction. More detail is below: https://www.socionext.com/en/products/assp/milbeaut/SC2000.html Specifications for developers are below: - Quad-core 32bit Cortex-A7 on ARMv7-A architecture - NEON support - DSP - GPU - MAX 3GB DDR3 - Cortex-M0 for power control - NAND Flash Interface - SD UHS-I - SD UHS-II - SDIO - USB2.0 HOST / Device - USB3.0 HOST / Device - PCI express Gen2 - Ethernet Engine - I2C - UART - SPI - PWM Support is quite minimal for now, since it only includes timer, clock, pictrl and serial controller drivers, so we can only boot to userspace through initramfs. Support for the other peripherals will come eventually. Changes since v2: * Drop clk, pinctrl, and serial driver. * Drop unneeded options from defconfig. * Convert milbeaut soc binding to yaml. * Fix serial driver binding. * Change serial id of aliases in DT. * Add platform checking when entering suspend/resume. * Drop pr_err()s. Changes since v1: * Change file names. * Change #define names. * Refine cpu-enable-method and bindigs. * Add documentation for Milbeaut SoCs. * Add more infomation for timer driver. * Add sched_clock to timer driver. * Refine whole of clk driver. * Add earlycon instead of earlyprintk. * Refine Device Tree. Sugaya Taichi (9): dt-bindings: sram: milbeaut: Add binding for Milbeaut smp-sram dt-bindings: arm: Add SMP enable-method for Milbeaut dt-bindings: Add documentation for Milbeaut SoCs ARM: milbeaut: Add basic support for Milbeaut m10v SoC dt-bindings: timer: Add Milbeaut M10V timer description clocksource/drivers/timer-milbeaut: Introduce timer for Milbeaut SoCs dt-bindings: serial: Add Milbeaut serial driver description ARM: dts: milbeaut: Add device tree set for the Milbeaut M10V board ARM: configs: Add Milbeaut M10V defconfig Documentation/devicetree/bindings/arm/cpus.yaml | 1 + .../bindings/arm/socionext/milbeaut.yaml | 22 +++ .../devicetree/bindings/serial/milbeaut-uart.txt | 21 +++ .../devicetree/bindings/sram/milbeaut-smp-sram.txt | 24 +++ .../bindings/timer/socionext,milbeaut-timer.txt | 17 ++ arch/arm/Kconfig | 2 + arch/arm/Makefile | 1 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/milbeaut-m10v-evb.dts | 32 ++++ arch/arm/boot/dts/milbeaut-m10v.dtsi | 95 +++++++++++ arch/arm/configs/milbeaut_m10v_defconfig | 175 +++++++++++++++++++++ arch/arm/configs/multi_v7_defconfig | 2 + arch/arm/mach-milbeaut/Kconfig | 20 +++ arch/arm/mach-milbeaut/Makefile | 1 + arch/arm/mach-milbeaut/platsmp.c | 143 +++++++++++++++++ drivers/clocksource/Kconfig | 9 ++ drivers/clocksource/Makefile | 1 + drivers/clocksource/timer-milbeaut.c | 161 +++++++++++++++++++ 18 files changed, 728 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/socionext/milbeaut.yaml create mode 100644 Documentation/devicetree/bindings/serial/milbeaut-uart.txt create mode 100644 Documentation/devicetree/bindings/sram/milbeaut-smp-sram.txt create mode 100644 Documentation/devicetree/bindings/timer/socionext,milbeaut-timer.txt create mode 100644 arch/arm/boot/dts/milbeaut-m10v-evb.dts create mode 100644 arch/arm/boot/dts/milbeaut-m10v.dtsi create mode 100644 arch/arm/configs/milbeaut_m10v_defconfig create mode 100644 arch/arm/mach-milbeaut/Kconfig create mode 100644 arch/arm/mach-milbeaut/Makefile create mode 100644 arch/arm/mach-milbeaut/platsmp.c create mode 100644 drivers/clocksource/timer-milbeaut.c