Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp2181848imc; Tue, 12 Mar 2019 08:34:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxYx+x0iFvTseNlUdDBTkxEn3OLtJFulpOlQzvIz9SCtPJw3jWV3eLoutDXjnb8bKWYGKpS X-Received: by 2002:a17:902:43a4:: with SMTP id j33mr10274493pld.71.1552404875118; Tue, 12 Mar 2019 08:34:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552404875; cv=none; d=google.com; s=arc-20160816; b=lTX7Zz7PDz++kTWjp3gNsQ7tLD3w6szwk8gluPL8qjozktEAxnsU+9IIybUP9d5RQq bX1PNhl/IWLO1VW/4c/W/DzQTmH9g+Q2oyaCzd4tp+I991QvyaOgKV5mJhPK9zK4clOJ +YbXxUgkDPJBPt9JbBAKhIdO73oIlSt0FZ69f8lp+J3BBY6ASyskD/SQWHFWXNnX26yR B+lb2krlB/lTxo3H8VOv+fGlJu1EQV4llOb4EwaUC5z899i92qEP8BLwC8RkUd59yQ/n kd2Wzgi4ZR0UdLLKsC8GeqnuzaUupm6EzWSkDd44dAJavABHS/GHXc6UvBP7v4lnjOIQ d6/A== 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=yXc7bFplKZlQrveQzIUKj5NW0n+fXXjL0KaK3Z7uEhI=; b=CWj2nbDZeL3FD2J54mvz/AtCmr5B1EYqS6MTS/3FdLnRn9C62lder6yw8tELGMq5dE riHsHj8qR9JKqn/qGUMXpL3zLKIJn6CVTi3GUi0LdUIGKy1Ek5LJSaN0/iSbzN6L4PPq leO5lX3NzudmZgeX17Pg/8QkijLFcbB1gdljhQBH8g+CqN1GjjXkrlF1ydrRh9NdbT42 SjzJlC9YurnNcDRhOA4aAz8auFP4uCebuQJVmeMevsMp531G4NV38k5E5nYvcFva1IqO iqQrTmgtdxhuJqocRNnYa83yoFG6EHyPqcZeIdZDW4ohtJpo2f+afq3kRN2kFd3jP0S3 b2xA== 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 11si7928502pfh.90.2019.03.12.08.34.18; Tue, 12 Mar 2019 08:34:35 -0700 (PDT) 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 S1726292AbfCLPdd (ORCPT + 99 others); Tue, 12 Mar 2019 11:33:33 -0400 Received: from hermes.aosc.io ([199.195.250.187]:40104 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726559AbfCLPc7 (ORCPT ); Tue, 12 Mar 2019 11:32:59 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 0876A15FCBA; Tue, 12 Mar 2019 15:23:40 +0000 (UTC) From: Icenowy Zheng To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Linus Walleij , Jagan Teki Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [PATCH 00/14] Support for Allwinner V3/S3L and Sochip S3 Date: Tue, 12 Mar 2019 23:22:42 +0800 Message-Id: <20190312152256.35574-1-icenowy@aosc.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset tries to add support for Allwinner V3/S3L and Sochip S3. Allwinner V3/V3s/S3L and Sochip S3 share the same die, but with different package. V3 is BGA w/o co-packaged DDR, V3s is QFP w/ DDR2, S3L is BGA w/ DDR2 and S3 is BGA w/ DDR3. (S3 and S3L is compatible for pinout, but because of different DDR, DDR voltage is different between the two variants). Because of the pin count of V3s is restricted due to the package, some pins are not bound on V3s, but they're bound on V3/S3/S3L. Currently the kernel is only prepared for the features available on V3s. This patchset adds the features missing on V3s for using them on V3/S3/S3L, and add bindings for V3/S3/S3L. It also adds a S3L device, the Pine64 Single Cube Computer. The S3/S3L SoM by Sipeed (formerly Lichee Pi), called Lichee Nano Plus, is ongoing. Icenowy Zheng (14): dt-bindings: pinctrl: add missing compatible string for V3s pinctrl: sunxi: rename V3s driver to V3 driver dt-bindings: pinctrl: add compatible string for Allwinner V3 pinctrl pinctrl: sunxi: v3: really introduce support for V3 clk: sunxi-ng: v3s: add the missing PLL_DDR1 dt-bindings: clock: sunxi-ccu: remove bogus + before R40 compatible dt-bindings: clk: sunxi-ccu: add compatible string for V3 CCU clk: sunxi-ng: v3s: add Allwinner V3 support dt-bindings: vendor-prefixes: add SoChip dt-bindings: arm: sunxi: add compatible string for V3/S3/S3L SoCs ARM: sunxi: dts: s3/s3l/v3: add DTSI files for S3/S3L/V3 SoCs ARM: dts: sun8i: V3/V3s/S3/S3L: add pinctrl for UART2 RX/TX ARM: dts: sun8i: V3/V3s/S3/S3L: add Ethernet support ARM: dts: sun8i: s3l: add support for Pine64 Single Cube Computer .../devicetree/bindings/arm/sunxi.txt | 3 + .../devicetree/bindings/clock/sunxi-ccu.txt | 3 +- .../pinctrl/allwinner,sunxi-pinctrl.txt | 2 + .../devicetree/bindings/vendor-prefixes.txt | 1 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/sun8i-s3.dtsi | 6 + .../dts/sun8i-s3l-single-cube-computer.dts | 166 ++++++++++ arch/arm/boot/dts/sun8i-s3l.dtsi | 6 + arch/arm/boot/dts/sun8i-v3.dtsi | 27 ++ arch/arm/boot/dts/sun8i-v3s.dtsi | 59 ++++ drivers/clk/sunxi-ng/ccu-sun8i-v3s.c | 244 ++++++++++++++- drivers/clk/sunxi-ng/ccu-sun8i-v3s.h | 6 +- drivers/pinctrl/sunxi/Kconfig | 2 +- drivers/pinctrl/sunxi/Makefile | 2 +- ...pinctrl-sun8i-v3s.c => pinctrl-sun8i-v3.c} | 291 ++++++++++++++++-- drivers/pinctrl/sunxi/pinctrl-sunxi.h | 2 + include/dt-bindings/clock/sun8i-v3s-ccu.h | 4 + include/dt-bindings/reset/sun8i-v3s-ccu.h | 3 + 18 files changed, 799 insertions(+), 29 deletions(-) create mode 100644 arch/arm/boot/dts/sun8i-s3.dtsi create mode 100644 arch/arm/boot/dts/sun8i-s3l-single-cube-computer.dts create mode 100644 arch/arm/boot/dts/sun8i-s3l.dtsi create mode 100644 arch/arm/boot/dts/sun8i-v3.dtsi rename drivers/pinctrl/sunxi/{pinctrl-sun8i-v3s.c => pinctrl-sun8i-v3.c} (51%) -- 2.18.1