Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp35205pxv; Thu, 24 Jun 2021 02:06:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxL0u/CqlBfxJ5TyV4x6fCz6ILRdnYuf7pDuEg08IaWbLGabgbV7AVA9jfOhlIDVOTXV+lM X-Received: by 2002:a05:6402:144e:: with SMTP id d14mr5552272edx.339.1624525612534; Thu, 24 Jun 2021 02:06:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624525612; cv=none; d=google.com; s=arc-20160816; b=NwBwaKGeH6a7+Bh8Nu8IdxtZIOybEC/ohXgDepOgtTOCDPCBuFjAadVXV0wG5FaRcU IxXeARmFQZVzQDaGISYvKfHc6Tv9ua0M8JEzDI6zOuGR8gbRWP3wI7vnFMRx+CP+jQsU H23iIUByeyggOORBI58Ux1dL27Eig4GQiIneYLGri44UM8XZnpWlP+ez6kJ5TbS2DX5E sy685fQHorswB2rzaNQV+mePCUIJoG+SYnMNaECo/F2RMhpymNUNZ5M68a7zRpvvtax2 gj4c5izaZW3xS67/JNCzGpwfsbnSAH+Q9caEhoCx1R6VRLTR9O15IwqNiczSNuSK+z8t xNuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=6POojfxLrZNyplafUorm0NxzXnxMSoAQukSPTC+1D6w=; b=s6YlBHSa2uInmwcaGDNRPPlR7b1yqnNyjfylx85Up22IWyqVqwnSplJ4ohOjVotXPP 53a2m9v5SbfMXT7bgJflynBT7q3pmxoY6BgM711HJ2eUqFvalPPp874m+A30kZA6soEq RSZXGfBOVYlYOoDQoov2x/qMM4aKtkQCy6rrqgrMFzs5fmMPnZev5OvNLpqD54iCmf/i 0asVfa50HqPsLrjgjVudGQyBUDjvGuOmnbk5xs+i+BvPcKAwcLio81dOS7ERNus+dQVT P8bomG8nFgq/7D8QBjkY0/rAQ0mSwR6EQRj183S9WYkd4HEDlcimsWzS4Z2HBtWIhcUf pNIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=Q6hNVaze; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n9si2087343ejl.335.2021.06.24.02.06.28; Thu, 24 Jun 2021 02:06:52 -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; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=Q6hNVaze; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231252AbhFXJFT (ORCPT + 99 others); Thu, 24 Jun 2021 05:05:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:59714 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229958AbhFXJFM (ORCPT ); Thu, 24 Jun 2021 05:05:12 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6ABAB613E7; Thu, 24 Jun 2021 09:02:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624525373; bh=RipF1Knz8sFbeKctWLgXvVEeh2TWOKZIJX2SkI+qPeU=; h=From:To:Cc:Subject:Date:From; b=Q6hNVazeCbQy28r3AP/zzpTWruHs/ILDY2lgizCZQeP/E4++FWZbBqXPDEILM3zS4 yt0vsfRBLEl+o4VyPwZOnFcVmKjmyEixhOmsh48da1SCfA3dSx9WjaAjOjYQO+GRS2 Smtt60K/Ag7/fc1TLCuyv/olY2CuezkfhrcBe9302LT14ABA0IW29FxXxWi73ciLui Go9DkUHH8m+bHJeIceRtpEu5ehmlzWsDLyNk+hMnEHP+1CTighcE6Ui12ymfYynAbB q41eqFLHBBAdEyydOajM98AV6a3An+wTxR42m4HblTLXq8ukQFDY8wfC0ceZwYe7LX HsxS5EWgGQjuQ== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1lwLG6-003jrn-LG; Thu, 24 Jun 2021 11:02:50 +0200 From: Mauro Carvalho Chehab Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Mauro Carvalho Chehab , Rob Herring , Stephen Boyd , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-staging@lists.linux.dev, linux-usb@vger.kernel.org Subject: [PATCH RESEND v6 0/8] Move Hisilicon 6421v600 SPMI and USB drivers out of staging Date: Thu, 24 Jun 2021 11:01:04 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Notes: 1. Patch resent with --no-renames, in order to show the full code when moving the code out of staging (on this RESEND); 2. the previous series is at: https://lore.kernel.org/lkml/cover.1616695231.git.mchehab+huawei@kernel.org/ Hi Greg, Those are the remaining patches that are needed for the USB to work with Hikey970. This series address the comments made on v5. Sorry for taking so long to return back on this. Got sidetracked by other unrelated stuff. Changes from v5: - Some changes at DT to comply with Rob Herring's feedback; - a couple of cleanups at the phy-hi3670-usb3; - Vinod's ack added to patch 4; - Several cleanups at hi6421-spmi-pmic.c, in order to address Lee Jones feedbacks. On this series, I opted to keep using "gpios" for the DT IRQ gpios needed by the PMIC driver, as this is the string expected by of_get_gpio(), and it is the most common pattern for IRQ gpios. If required, I'll send a followup patch changing it to use, instead, the of_get_named_gpio_flags() variant. Mauro Carvalho Chehab (8): staging: phy-hi3670-usb3: do a some minor cleanups staging: hisi-spmi-controller: rename spmi-channel property staging: phy-hi3670-usb3: do some additional cleanups phy: phy-hi3670-usb3: move driver from staging into phy spmi: hisi-spmi-controller: move driver from staging mfd: hi6421-spmi-pmic: move driver from staging dts: hisilicon: add support for the PMIC found on Hikey 970 dts: hisilicon: add support for USB3 on Hikey 970 .../mfd/hisilicon,hi6421-spmi-pmic.yaml | 134 ++++ .../bindings/phy/hisilicon,hi3670-usb3.yaml | 73 ++ .../spmi/hisilicon,hisi-spmi-controller.yaml | 73 ++ MAINTAINERS | 23 +- .../boot/dts/hisilicon/hi3670-hikey970.dts | 129 +++- arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 56 ++ .../boot/dts/hisilicon/hikey970-pmic.dtsi | 87 +++ drivers/mfd/Kconfig | 16 + drivers/mfd/Makefile | 1 + drivers/mfd/hi6421-spmi-pmic.c | 316 +++++++++ drivers/phy/hisilicon/Kconfig | 10 + drivers/phy/hisilicon/Makefile | 1 + drivers/phy/hisilicon/phy-hi3670-usb3.c | 661 +++++++++++++++++ drivers/spmi/Kconfig | 9 + drivers/spmi/Makefile | 1 + drivers/spmi/hisi-spmi-controller.c | 367 ++++++++++ drivers/staging/Kconfig | 2 - drivers/staging/Makefile | 1 - drivers/staging/hikey9xx/Kconfig | 41 -- drivers/staging/hikey9xx/Makefile | 6 - drivers/staging/hikey9xx/TODO | 5 - drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 297 -------- .../staging/hikey9xx/hisi-spmi-controller.c | 367 ---------- .../hikey9xx/hisilicon,hi6421-spmi-pmic.yaml | 135 ---- .../hisilicon,hisi-spmi-controller.yaml | 71 -- drivers/staging/hikey9xx/phy-hi3670-usb3.c | 668 ------------------ drivers/staging/hikey9xx/phy-hi3670-usb3.yaml | 73 -- 27 files changed, 1937 insertions(+), 1686 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml create mode 100644 Documentation/devicetree/bindings/phy/hisilicon,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/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/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 -- 2.31.1