From patchwork Mon Nov 16 12:59:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 11908423 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=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, 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 8439DC5519F for ; Mon, 16 Nov 2020 13:02:22 +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 16F9E2223D for ; Mon, 16 Nov 2020 13:02:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="TMn4es1U"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="Cra0GlFH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 16F9E2223D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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=ZP6vecz3NCz4N052mf0YJouZ1tu9cVH5+59bwyCBFtE=; b=TMn4es1UsIN2o495eKaF7fl2NT uXqFZ1Vwu077EDsDMNoypfPEX0p3wWh0rNc60RtGB+PukDoTkIV4DfIxi2gJtURPvd/eh6/qZwdVq /gWfm0mr5cmDP1NLX/3UNBvGdo47Znx8I/JtcsK/pVp8Txb/c96EWSKbSPEdP6iPKp9hjVjb4q44L VcmJIyx7uDQbm9MN2SmB8TdTVmhizbwbAJjr6mkRwltLzThztSNsrnQMLUPX5QgOZOITD/t16uu4g tdGnDhWd65CAQnxRYBJlEYtQh2PoROiLwx+9h4mjCxqtAv/o+NOONWeIHXfft/tFXIN8EwJvqjAbF R8P+VlJg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kee7f-0005bK-Cp; Mon, 16 Nov 2020 13:00:43 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kee6d-0005Eh-Bs for linux-arm-kernel@lists.infradead.org; Mon, 16 Nov 2020 12:59:45 +0000 Received: from mail.kernel.org (ip5f5ad5de.dynamic.kabel-deutschland.de [95.90.213.222]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4BFE3222B9; Mon, 16 Nov 2020 12:59:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605531578; bh=qlGwSgPikpE0U2qe95ULJqOtEF/mssjj88IwK283zys=; h=From:To:Cc:Subject:Date:From; b=Cra0GlFHnGWBIw8P+Eo5um/rPlgQajX3XpgA4m579zA9pS9i0U56l2W7peRzrVxGn lvgGHNVVXjrQvNEdFh23spGNcWKrICz/xyj3aiSk+duMQmID3VtgPreHa5yX5Y65mq 6niplTwvF9l15lWFaAJaPKWz17NznY+3bIdvVxlA= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kee6Z-00FyfU-F1; Mon, 16 Nov 2020 13:59:35 +0100 From: Mauro Carvalho Chehab To: Subject: [PATCH 0/8] Move Hikey 970 USB support out of staging and add DT Date: Mon, 16 Nov 2020 13:59:26 +0100 Message-Id: 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-20201116_075939_904602_882BB4FE X-CRM114-Status: GOOD ( 16.35 ) 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: Yu Chen , linuxarm@huawei.com, linux-kernel@vger.kernel.org, Wei Xu , Lee Jones , devel@driverdev.osuosl.org, Mauro Carvalho Chehab , YueHaibing , Krzysztof Kozlowski , Kishon Vijay Abraham I , Dan Carpenter , devicetree@vger.kernel.org, Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, Rob Herring , John Stultz , mauro.chehab@huawei.com, Alex Dewar , linux-arm-kernel@lists.infradead.org, Mayulong , Stephen Boyd , Greg Kroah-Hartman , Liam Girdwood , Vinod Koul , Mark Brown , Colin Ian King Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series finish addressing support for Hikey 970 USB. It moves the power management and USB3 drivers out of staging, adding the device tree changes required for USB3 to work on Hikey 970. Mauro Carvalho Chehab (8): phy: phy-hi3670-usb3: move driver from staging into phy spmi: hi6421-spmi-pmic: move driver from staging mfd: hi6421-spmi-pmic: move driver from staging regulator: hi6421v600-regulator: move it from staging arm64: dts: hisilicon: hi3670.dtsi: add I2C settings arm64: dts: hikey970-pinctrl.dtsi: add missing pinctrl settings dts: hisilicon: add support for USB3 on Hikey 970 dts: hisilicon: add support for the PMIC found on Hikey 970 .../mfd/hisilicon,hi6421-spmi-pmic.yaml | 159 +++++ .../bindings/phy/phy-hi3670-usb3.yaml | 72 ++ .../spmi/hisilicon,hisi-spmi-controller.yaml | 62 ++ MAINTAINERS | 24 +- .../boot/dts/hisilicon/hi3670-hikey970.dts | 124 +++- arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 135 ++++ .../boot/dts/hisilicon/hikey970-pinctrl.dtsi | 548 +++++++++++++- .../boot/dts/hisilicon/hikey970-pmic.dtsi | 197 +++++ drivers/mfd/Kconfig | 15 + drivers/mfd/Makefile | 1 + drivers/mfd/hi6421-spmi-pmic.c | 342 +++++++++ drivers/phy/hisilicon/Kconfig | 10 + drivers/phy/hisilicon/Makefile | 1 + drivers/phy/hisilicon/phy-hi3670-usb3.c | 671 ++++++++++++++++++ drivers/regulator/Kconfig | 9 + drivers/regulator/Makefile | 1 + drivers/regulator/hi6421v600-regulator.c | 478 +++++++++++++ drivers/spmi/Kconfig | 9 + drivers/spmi/Makefile | 1 + drivers/spmi/hisi-spmi-controller.c | 358 ++++++++++ drivers/staging/Kconfig | 2 - drivers/staging/Makefile | 1 - drivers/staging/hikey9xx/Kconfig | 49 -- drivers/staging/hikey9xx/Makefile | 7 - drivers/staging/hikey9xx/TODO | 5 - drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 342 --------- .../staging/hikey9xx/hi6421v600-regulator.c | 478 ------------- .../staging/hikey9xx/hisi-spmi-controller.c | 358 ---------- .../hikey9xx/hisilicon,hi6421-spmi-pmic.yaml | 159 ----- .../hisilicon,hisi-spmi-controller.yaml | 62 -- drivers/staging/hikey9xx/phy-hi3670-usb3.c | 671 ------------------ drivers/staging/hikey9xx/phy-hi3670-usb3.yaml | 72 -- 32 files changed, 3183 insertions(+), 2240 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml create mode 100644 Documentation/devicetree/bindings/phy/phy-hi3670-usb3.yaml create mode 100644 Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml create mode 100644 arch/arm64/boot/dts/hisilicon/hikey970-pmic.dtsi create mode 100644 drivers/mfd/hi6421-spmi-pmic.c create mode 100644 drivers/phy/hisilicon/phy-hi3670-usb3.c create mode 100644 drivers/regulator/hi6421v600-regulator.c create mode 100644 drivers/spmi/hisi-spmi-controller.c delete mode 100644 drivers/staging/hikey9xx/Kconfig delete mode 100644 drivers/staging/hikey9xx/Makefile delete mode 100644 drivers/staging/hikey9xx/TODO delete mode 100644 drivers/staging/hikey9xx/hi6421-spmi-pmic.c delete mode 100644 drivers/staging/hikey9xx/hi6421v600-regulator.c delete mode 100644 drivers/staging/hikey9xx/hisi-spmi-controller.c delete mode 100644 drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml delete mode 100644 drivers/staging/hikey9xx/hisilicon,hisi-spmi-controller.yaml delete mode 100644 drivers/staging/hikey9xx/phy-hi3670-usb3.c delete mode 100644 drivers/staging/hikey9xx/phy-hi3670-usb3.yaml