Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp318577ybt; Wed, 8 Jul 2020 00:20:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXgoMKL9HuXLKDPyDI4ZkmgJW/BEkRWNdpL6ZVaFKKqmG+++JmUbh0q1x4Gk4GNS6cSU9C X-Received: by 2002:a50:bf09:: with SMTP id f9mr6090462edk.249.1594192838164; Wed, 08 Jul 2020 00:20:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594192838; cv=none; d=google.com; s=arc-20160816; b=FcAoKjrCdM8ZNuaP2CSTJZQ+/Pkk/fB9OoDK7xAy5OB8Vd9XB4SR1nNLT/+f2gZixW Rwf/o6pDbsRlL+DUzSNn/4Cyw8s171e8rBoxH35bbpSdfkKoTSdMQPtHt5g/Ldij5P7h 1bTZauuG0DGNjq6mmcXvPmpse56ZRwZy5aFtB5TGTjTosTpKd9muM0n1zT2p8xI9nJRV v72G+1HCfs2fdxLz4gmwDZXJ0/vf0QR3Mc49oYCvI+aekebHJhpNOhm6jXC+LCqdee5b JnNkyBbBgpT7GxrXFjereXemVwaAW4od0aFix7Lsvo4okDdMq2G8NIGRBBruOtUAuHyF q21Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=tvBaavMnoAWobS5k6fMzsezuoT32jYELnvjy7IgemPE=; b=T9NGc0L14nGkETiywIz/R/VoTajpHHeZnFcoQFe7/YnwW40MNzvH3VL5Esqn8bqdnz 8pyo8OHtI0WPzJTtK5/3vEXbCw0iF+X64H/X/RvOOA40O3z7yOcyA2rkSUdJpvDpGQCr zzzt7f1m22EmkjA+PELhxQkwOcy1Q8SMeuI4LrCB7d9MdGy1X/IV+JrDGs1dFTchu3gF iqRQnrBNLA7RbUqDb8SE4wC63WGnhap5iknzwhGRTvF4vcShYb5bMkBHYTreL2eM2JaF Q/j9PS5XVeTSPbtlLbpbc2Dpul7JREFjk/FLaWX5OsmIu8I+uhSQPAFKPAkCrst9E6RJ sJmw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e6si15835491edq.556.2020.07.08.00.20.15; Wed, 08 Jul 2020 00:20:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730253AbgGHHTw (ORCPT + 99 others); Wed, 8 Jul 2020 03:19:52 -0400 Received: from smtp2207-205.mail.aliyun.com ([121.197.207.205]:45119 "EHLO smtp2207-205.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730239AbgGHHTv (ORCPT ); Wed, 8 Jul 2020 03:19:51 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.07605836|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_system_inform|0.0484638-0.000429682-0.951107;FP=0|0|0|0|0|-1|-1|-1;HT=e01l07447;MF=frank@allwinnertech.com;NM=1;PH=DS;RN=33;RT=33;SR=0;TI=SMTPD_---.I-8lwqE_1594192774; Received: from allwinnertech.com(mailfrom:frank@allwinnertech.com fp:SMTPD_---.I-8lwqE_1594192774) by smtp.aliyun-inc.com(10.147.40.26); Wed, 08 Jul 2020 15:19:40 +0800 From: Frank Lee To: robh+dt@kernel.org, mripard@kernel.org, wens@csie.org, mturquette@baylibre.com, sboyd@kernel.org, gregory.clement@bootlin.com, tglx@linutronix.de, jason@lakedaemon.net, maz@kernel.org, srinivas.kandagatla@linaro.org, linus.walleij@linaro.org, anarsoul@gmail.com, tiny.windzz@gmail.com, rui.zhang@intel.com, daniel.lezcano@linaro.org, amit.kucheria@verdurent.com, lee.jones@linaro.org, p.zabel@pengutronix.de, clabbe@baylibre.com, icenowy@aosc.io, megous@megous.com, stefan@olimex.com, bage@linutronix.de Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-i2c@vger.kernel.org, linux-gpio@vger.kernel.org, linux-pm@vger.kernel.org, huangshuosheng@allwinnertech.com, liyong@allwinnertech.com, Frank Lee Subject: [PATCH v3 00/16] Allwinner A100 Initial support Date: Wed, 8 Jul 2020 15:19:26 +0800 Message-Id: <20200708071942.22595-1-frank@allwinnertech.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set adds initial support for allwinner a100 soc, which is a 64-bit tablet chip. v3: -Add pmu and nmi support -Add read data mask for calibration -Code style -Some trivial things in yaml files v2: -Some naming consistency -Repair email address -Fix mmc clock -Don't export system clock -Fix checkpatch warning -Drop unneeded pin function, convert to jtag_gpu and i2s_x Frank Lee (16): dt-bindings: clk: sunxi-ccu: add compatible string for A100 CCU and R-CCU clk: sunxi-ng: add support for the Allwinner A100 CCU dt-bindings: pinctrl: sunxi: Add A100 pinctrl bindings dt-bindings: pinctrl: sunxi: make gpio banks supplies required pinctrl: sunxi: add support for the Allwinner A100 pin controller dt-bindings: nvmem: SID: add binding for A100's SID controller dt-bindings: thermal: sun8i: Add binding for A100's THS controller thermal: sun8i: add TEMP_CALIB_MASK for calibration data in sun50i_h6_ths_calibrate thermal: sun8i: Add A100's THS controller support mfd: axp20x: Allow the AXP803 to be probed by I2C dt-bindings: irq: sun7i-nmi: fix dt-binding for a80 nmi dt-bindings: irq: sun7i-nmi: Add binding for A100's NMI controller dt-bindings: i2c: mv64xxx: Add compatible for the A100 i2c node. arm64: allwinner: A100: add the basical Allwinner A100 DTSI file dt-bindings: arm: sunxi: Add Allwinner A100 Perf1 Board bindings arm64: allwinner: A100: add support for Allwinner Perf1 board Documentation/devicetree/bindings/arm/sunxi.yaml | 5 + .../bindings/clock/allwinner,sun4i-a10-ccu.yaml | 7 +- .../bindings/i2c/marvell,mv64xxx-i2c.yaml | 3 + .../allwinner,sun7i-a20-sc-nmi.yaml | 5 +- .../bindings/nvmem/allwinner,sun4i-a10-sid.yaml | 3 + .../pinctrl/allwinner,sun4i-a10-pinctrl.yaml | 75 +- .../bindings/thermal/allwinner,sun8i-a83t-ths.yaml | 6 +- arch/arm64/boot/dts/allwinner/Makefile | 1 + .../dts/allwinner/sun50i-a100-allwinner-perf1.dts | 180 +++ arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 364 ++++++ drivers/clk/sunxi-ng/Kconfig | 10 + drivers/clk/sunxi-ng/Makefile | 2 + drivers/clk/sunxi-ng/ccu-sun50i-a100-r.c | 214 ++++ drivers/clk/sunxi-ng/ccu-sun50i-a100-r.h | 21 + drivers/clk/sunxi-ng/ccu-sun50i-a100.c | 1276 ++++++++++++++++++++ drivers/clk/sunxi-ng/ccu-sun50i-a100.h | 56 + drivers/mfd/axp20x-i2c.c | 2 + drivers/pinctrl/sunxi/Kconfig | 10 + drivers/pinctrl/sunxi/Makefile | 2 + drivers/pinctrl/sunxi/pinctrl-sun50i-a100-r.c | 105 ++ drivers/pinctrl/sunxi/pinctrl-sun50i-a100.c | 708 +++++++++++ drivers/thermal/sun8i_thermal.c | 16 +- include/dt-bindings/clock/sun50i-a100-ccu.h | 116 ++ include/dt-bindings/clock/sun50i-a100-r-ccu.h | 23 + include/dt-bindings/reset/sun50i-a100-ccu.h | 68 ++ include/dt-bindings/reset/sun50i-a100-r-ccu.h | 18 + 26 files changed, 3262 insertions(+), 34 deletions(-) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi create mode 100644 drivers/clk/sunxi-ng/ccu-sun50i-a100-r.c create mode 100644 drivers/clk/sunxi-ng/ccu-sun50i-a100-r.h create mode 100644 drivers/clk/sunxi-ng/ccu-sun50i-a100.c create mode 100644 drivers/clk/sunxi-ng/ccu-sun50i-a100.h create mode 100644 drivers/pinctrl/sunxi/pinctrl-sun50i-a100-r.c create mode 100644 drivers/pinctrl/sunxi/pinctrl-sun50i-a100.c create mode 100644 include/dt-bindings/clock/sun50i-a100-ccu.h create mode 100644 include/dt-bindings/clock/sun50i-a100-r-ccu.h create mode 100644 include/dt-bindings/reset/sun50i-a100-ccu.h create mode 100644 include/dt-bindings/reset/sun50i-a100-r-ccu.h -- 1.9.1