From patchwork Fri Feb 8 12:24:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sugaya Taichi X-Patchwork-Id: 157821 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1891112jaa; Fri, 8 Feb 2019 04:24:40 -0800 (PST) X-Google-Smtp-Source: AHgI3IYMTiHb6z1K+TThO8vCjj1HXoz6IFXDYQEcVIUQ3lqmgjfXiHu91uziqiSk5HLjg4WN/HOu X-Received: by 2002:a65:514c:: with SMTP id g12mr19998170pgq.169.1549628680697; Fri, 08 Feb 2019 04:24:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549628680; cv=none; d=google.com; s=arc-20160816; b=rg6EWhPXIA5NJ6s3BRvIu258VlogPscerSOpEztOjFe6tfoKekJ8sbSTb9AenXhKwI 6cYdAsf/RCyGaYbZY6ltUtQSVuNA+aCqXivnHDMovafT81A66VTrOR29xKHRinfGhnqj dch9ZLvHWE9fB+1Pbr7l8jUTgXnd0ltA+YknBYaC/ym7S6YBLoBGoiRhMaNihxliGQDv g+Ch/SO9RyqjFkCC89ZBh2mfy9AwENbQykhwLuUvXVfeCRc2mWcZJ4Nzkf1zI86blbv3 F0c46RoqUXZPwAB4vHGzdO/BAieaEijoENhjIaiNwE9M0nkT5tNdEzDlVkqqDNVZEw/d tCHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=A696WTPvDPsgvWgyOa1HXdpdO25Nzrr6h2Yy/ox+NUo=; b=OOqqTE9swCMjjM3lv1ztlVY8WebLMhFz0e3GHOPTHaS5EhqRYL+xNIIxNVMzDyGOZ+ ZOlbM8UoTql3eKduC0h9v2FzS6lSMGAED9kT1Rkjj5Uvjj8kjUrgsMVTM1aUXLdjurbt 76X8Y4+CIm3q4LUldiAUpbwTpn4ktJtaidG9MHA4T7gPDPGv1uqa6xoJ9kU95pv1FoR/ i1TgGEbTwMZims48BzH/NW+9Sx/JZi9pKS9Kc6XSupsjYprd6/oIC2U9rcajyKL7uKQW y5nKttImn2HYOPoBuvI1hSdEiAeWvDbWNF3ZcfCUPSvQFPWWeh4Q+8nAtiMIZDrxH9/s RXFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q202si1995856pgq.194.2019.02.08.04.24.40; Fri, 08 Feb 2019 04:24:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726568AbfBHMYk (ORCPT + 5 others); Fri, 8 Feb 2019 07:24:40 -0500 Received: from mx.socionext.com ([202.248.49.38]:27721 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726567AbfBHMYk (ORCPT ); Fri, 8 Feb 2019 07:24:40 -0500 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 08 Feb 2019 21:24:37 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id C769060062; Fri, 8 Feb 2019 21:24:37 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Fri, 8 Feb 2019 21:24:37 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by iyokan.css.socionext.com (Postfix) with ESMTP id 839744036D; Fri, 8 Feb 2019 21:24:37 +0900 (JST) Received: from M20VSDK.e01.socionext.com (unknown [10.213.118.34]) by yuzu.css.socionext.com (Postfix) with ESMTP id 3BE7D1202F1; Fri, 8 Feb 2019 21:24:37 +0900 (JST) From: Sugaya Taichi To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-serial@vger.kernel.org Cc: Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd , Linus Walleij , Greg Kroah-Hartman , Daniel Lezcano , Thomas Gleixner , Russell King , Jiri Slaby , Takao Orito , Kazuhiro Kasai , Shinji Kanematsu , Jassi Brar , Masami Hiramatsu , Sugaya Taichi Subject: [PATCH v2 00/15] Add basic support for Socionext Milbeaut M10V SoC Date: Fri, 8 Feb 2019 21:24:47 +0900 Message-Id: <1549628687-29628-1-git-send-email-sugaya.taichi@socionext.com> X-Mailer: git-send-email 1.9.1 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org 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 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 (15): 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 ndings: clock: milbeaut: add Milbeaut clock description clock: milbeaut: Add Milbeaut M10V clock controller dt-bindings: serial: Add Milbeaut serial driver description serial: Add Milbeaut serial control dt-bindings: pinctrl: milbeaut: Add Milbeaut M10V pinctrl description pinctrl: milbeaut: Add Milbeaut M10V pinctrl ARM: dts: milbeaut: Add device tree set for the Milbeaut M10V board ARM: configs: Add Milbeaut M10V defconfig MAINTAINERS: Add entry to MAINTAINERS for Milbeaut Documentation/devicetree/bindings/arm/cpus.yaml | 1 + Documentation/devicetree/bindings/arm/milbeaut.txt | 6 + .../devicetree/bindings/clock/milbeaut-clock.txt | 49 ++ .../pinctrl/socionext,milbeaut-pinctrl.txt | 35 + .../devicetree/bindings/serial/milbeaut-uart.txt | 21 + .../devicetree/bindings/sram/milbeaut-smp-sram.txt | 24 + .../bindings/timer/socionext,milbeaut-timer.txt | 17 + MAINTAINERS | 9 + 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 | 131 ++++ arch/arm/configs/milbeaut_m10v_defconfig | 366 ++++++++++ arch/arm/mach-milbeaut/Kconfig | 20 + arch/arm/mach-milbeaut/Makefile | 1 + arch/arm/mach-milbeaut/platsmp.c | 144 ++++ drivers/clk/Makefile | 1 + drivers/clk/clk-milbeaut.c | 626 +++++++++++++++++ drivers/clocksource/Kconfig | 9 + drivers/clocksource/Makefile | 1 + drivers/clocksource/timer-milbeaut.c | 161 +++++ drivers/pinctrl/Kconfig | 9 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-milbeaut.c | 759 +++++++++++++++++++++ drivers/tty/serial/Kconfig | 25 + drivers/tty/serial/Makefile | 1 + drivers/tty/serial/milbeaut_usio.c | 621 +++++++++++++++++ include/uapi/linux/serial_core.h | 3 + 29 files changed, 3077 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/milbeaut.txt create mode 100644 Documentation/devicetree/bindings/clock/milbeaut-clock.txt create mode 100644 Documentation/devicetree/bindings/pinctrl/socionext,milbeaut-pinctrl.txt 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/clk/clk-milbeaut.c create mode 100644 drivers/clocksource/timer-milbeaut.c create mode 100644 drivers/pinctrl/pinctrl-milbeaut.c create mode 100644 drivers/tty/serial/milbeaut_usio.c -- 1.9.1