Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp1375660img; Tue, 26 Feb 2019 20:51:41 -0800 (PST) X-Google-Smtp-Source: AHgI3IYkpGz5VMtEQNNcYzYM/J9T/z7uSEXe1SQlmVYD02ioL3p/EDcM1etL4HuCxmofI/svINAK X-Received: by 2002:a63:295:: with SMTP id 143mr1111123pgc.362.1551243101512; Tue, 26 Feb 2019 20:51:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551243101; cv=none; d=google.com; s=arc-20160816; b=idERxtMseM5+ewezDJXVejrYlRrWNq1TrDemDHONV2lEVYPMlo88KcxDX0XN9vcVX+ v1dGnKIhO9g0qEZ8CFdC8Zndqjkai8KqMwI4mDR54EmwyD/98RvRQS3oPqy+ty6IN0UE cCDiUNmLQR+SERRlzeIP12U90Qh1gB38FQ5q9+TTbBzRSpnXCY/70ly+bEQCWauO2bYx 9RmmTLGDSr3eaXIe3K6f2Pyn4iGy5v6e38SMwS83H2AvHz5H7ZRWMXJYvozm51zP6lZA 637kHA/dKX8L6E/Nut9cCtInUrEKj+zDyDOXiLfq0yAx/UM0FuipmbwqBIMrSedXSYc8 HMEA== 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=CNsJvOGcMg2LPzfc82Rs/fuHZkOhiRrYt3KKJpqXha8=; b=fEh5rbYAPfqjDl1B3FlFGIpDCqW8thn97342mUoGHcQt1Jo9Kq0RPyxzJY2v5gIcpX OCWUvJrzJxRVE3FrHClJXrMWBQBaDeaL702Ro4LMj7YXTvBEm0WRPvjKcqUtFfHOB81y Ev3IqMqgKVL0SXBa1RRB4jCKhSc3Mu02RUb8ckRewyyF1fjAlxHM/dPSs4nDVCky9AXQ T0PwRwWji6pPL/EjGviuSy0LSAWFtsfqYwTG7Z1YZv7n6rdr6/WmQtNR0CDVkJePMS+l 9eW7EvjUei/IT9HMVncjWDam3Ln2MN2eE7ikJJfp3gXYeO6wmFkip0r/ZAg5HZkXw9JF OLAg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 31si14791217plj.244.2019.02.26.20.51.24; Tue, 26 Feb 2019 20:51:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729527AbfB0EvD (ORCPT + 99 others); Tue, 26 Feb 2019 23:51:03 -0500 Received: from mx.socionext.com ([202.248.49.38]:30969 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729274AbfB0EvC (ORCPT ); Tue, 26 Feb 2019 23:51:02 -0500 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 27 Feb 2019 13:51:00 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 522DD6117D; Wed, 27 Feb 2019 13:51:00 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Wed, 27 Feb 2019 13:51:00 +0900 Received: from yuzu.css.socionext.com (yuzu [172.31.8.45]) by iyokan.css.socionext.com (Postfix) with ESMTP id 7203840392; Wed, 27 Feb 2019 13:50:59 +0900 (JST) Received: from M20VSDK.e01.socionext.com (unknown [10.213.118.34]) by yuzu.css.socionext.com (Postfix) with ESMTP id 41C1A121B6C; Wed, 27 Feb 2019 13:50:59 +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 Cc: Rob Herring , Mark Rutland , Greg Kroah-Hartman , Daniel Lezcano , Thomas Gleixner , Russell King , Masahiro Yamada , Arnd Bergmann , Takao Orito , Kazuhiro Kasai , Shinji Kanematsu , Jassi Brar , Masami Hiramatsu , Sugaya Taichi Subject: [PATCH v4 00/10] Add basic support for Socionext Milbeaut M10V SoC Date: Wed, 27 Feb 2019 13:50:56 +0900 Message-Id: <1551243056-10521-1-git-send-email-sugaya.taichi@socionext.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 v3: * Add "Reviewed" tag to the dt-binding of the serial driver. * Fix schema string in milbeaut soc binding. * Refine defconfig for milbeaut M10V. * Add milbeaut architecture config to multi_v7_defconfig. 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 (10): 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 ARM: multi_v7_defconfig: add ARCH_MILBEAUT and ARCH_MILBEAUT_M10V 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 | 119 +++++++++++++++ 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, 672 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 -- 1.9.1