From patchwork Tue Nov 10 04:05:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Lee X-Patchwork-Id: 11893221 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D653C388F7 for ; Tue, 10 Nov 2020 04:06:47 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A948920663 for ; Tue, 10 Nov 2020 04:06:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="qK4Zx07y" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A948920663 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=allwinnertech.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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=KStyXgoA1SYLhcTvNBtEtewSKsyZZjMWmriVOmp/fr4=; b=qK4Zx07yVWZVsYZd5if24s0Un2 TkJqnZTsw3HAiLTpb736ec0AZLHQ4jRYXwKpN52C2QT9H64VjzAaPt8G0ILGwBi9bc9fAJPFBFAjf G3xOAYpvp11Jc93ef/Ga5rvUhcWb6UcAp4G/D8kBvXhtzcDlGi+4FHYutf9F9jSjZuMFKrSEJQ2fF 0rmzn4OwQY8TY0MaRfiKJ/s0wvMbgoaKyprAANKyL2+OiyqIlKnCFiCtnxsL15BAn2R4cAShq930Z SyRZ/1hhNRqC4Y+LiKN2BsZJeTFwgigm/pHDcumQq+Nr8zNtsvoqyMIhZbfl1RTn/TXj8iFdhdRR5 wO++qSNA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcKv9-0005gS-3R; Tue, 10 Nov 2020 04:06:15 +0000 Received: from smtp2207-205.mail.aliyun.com ([121.197.207.205]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcKv5-0005eq-0p for linux-arm-kernel@lists.infradead.org; Tue, 10 Nov 2020 04:06:12 +0000 X-Alimail-AntiSpam: AC=CONTINUE; BC=0.1739784|-1; CH=green; DM=|CONTINUE|false|; DS=CONTINUE|ham_system_inform|0.0582695-0.00106321-0.940667; FP=0|0|0|0|0|-1|-1|-1; HT=ay29a033018047199; MF=frank@allwinnertech.com; NM=1; PH=DS; RN=28; RT=28; SR=0; TI=SMTPD_---.IulFdj5_1604981159; Received: from allwinnertech.com(mailfrom:frank@allwinnertech.com fp:SMTPD_---.IulFdj5_1604981159) by smtp.aliyun-inc.com(10.147.42.135); Tue, 10 Nov 2020 12:06:04 +0800 From: Frank Lee To: vkoul@kernel.org, robh+dt@kernel.org, mripard@kernel.org, wens@csie.org, ulf.hansson@linaro.org, kishon@ti.com, wim@linux-watchdog.org, linux@roeck-us.net, dan.j.williams@intel.com, linus.walleij@linaro.org, wsa+renesas@sang-engineering.com, dianders@chromium.org, marex@denx.de, colin.king@canonical.com, rdunlap@infradead.org, krzk@kernel.org, gregkh@linuxfoundation.org, megous@megous.com, rikard.falkeborn@gmail.com, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-gpio@vger.kernel.org, tiny.windzz@gmail.com Subject: [PATCH 00/19] Second step support for A100 Date: Tue, 10 Nov 2020 12:05:34 +0800 Message-Id: <20201110040553.1381-1-frank@allwinnertech.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201109_230611_328496_9178CCF1 X-CRM114-Status: UNSURE ( 9.11 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Frank Lee Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, Let's add watchdog, arm-pmu, dma, usb, mmc..... support for allwinner a100 soc. Yangtao Li (19): pinctrl: sunxi: fix irq bank map for the Allwinner A100 pin controller pinctrl: sunxi: Mark the irq bank not found in sunxi_pinctrl_irq_handler() with WARN_ON pinctrl: sunxi: Always call chained_irq_{enter, exit} in sunxi_pinctrl_irq_handler dt-bindings: dma: allwinner,sun50i-a64-dma: Add A100 compatible dmaengine: sun6i: Add support for A100 DMA arm64: allwinner: a100: Add device node for DMA controller arm64: dts: allwinner: A100: Add PMU mode phy: sun4i-usb: remove enable_pmu_unk1 from sun50i_h6_cfg phy: allwinner: Convert to devm_platform_ioremap_* API dt-bindings: watchdog: sun4i: Add A100 compatible arm64: dts: allwinner: a100: add watchdog node dt-bindings: Add bindings for USB phy on Allwinner A100 phy: sun4i-usb: add support for A100 USB PHY arm64: dts: allwinner: a100: add usb related nodes arm64: allwinner: A100: enable EHCI, OHCI and USB PHY nodes in Perf1 dt-bindings: mmc: sunxi: Add A100 compatibles mmc: sunxi: add support for A100 mmc controller arm64: allwinner: a100: Add MMC related nodes arm64: dts: allwinner: a100: perf1: Add eMMC and MMC node .../dma/allwinner,sun50i-a64-dma.yaml | 5 +- .../bindings/mmc/allwinner,sun4i-a10-mmc.yaml | 2 + .../phy/allwinner,sun50i-a100-usb-phy.yaml | 105 ++++++++++ .../watchdog/allwinner,sun4i-a10-wdt.yaml | 3 + .../allwinner/sun50i-a100-allwinner-perf1.dts | 54 +++++ .../arm64/boot/dts/allwinner/sun50i-a100.dtsi | 197 +++++++++++++++++- drivers/dma/sun6i-dma.c | 25 +++ drivers/mmc/host/sunxi-mmc.c | 28 ++- drivers/phy/allwinner/phy-sun4i-usb.c | 29 ++- drivers/phy/allwinner/phy-sun50i-usb3.c | 4 +- drivers/phy/allwinner/phy-sun6i-mipi-dphy.c | 4 +- drivers/phy/allwinner/phy-sun9i-usb.c | 4 +- drivers/pinctrl/sunxi/pinctrl-sun50i-a100.c | 2 +- drivers/pinctrl/sunxi/pinctrl-sunxi.c | 9 +- 14 files changed, 443 insertions(+), 28 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/allwinner,sun50i-a100-usb-phy.yaml