From patchwork Mon Jul 5 09:38:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 12358629 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=-18.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,USER_AGENT_GIT autolearn=unavailable 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 EE8BFC07E9B for ; Mon, 5 Jul 2021 09:41:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 C4F1D613C8 for ; Mon, 5 Jul 2021 09:41:24 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C4F1D613C8 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=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :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=2rGK+6M3B0v+fp86PK/IBPQNkl4zr+y6lyqm2qdIe08=; b=yg/KuHj8D+MtNv DNXV3hrfhDQwVwLQRbu6+1nrLO8MGqSipadbvjwSz2WWfbYC/a2XugYnamXksv9QcJhGE22mRin4J aj9lv3ei7/WTbwUdpECz4t3erktqThZoQt81GvcfwjS1Mg/1jTV1+Wk6C2ypatBApXi/MVOGr0pvX HHwXcMP7wMcxLGb/AMtjGWEk/zBKYyfAB4j84y27IkPIKBRq1j/gc+r7EO28vdoYLMe+wBmODzg+K yxObNE3f8TotF3J5Rq/G2BuPvyVYGI5ilxgOH/5Gjbegyi19mkEt0hEE0ZS7S8IobaGI/3+ugxZxo MY4KZPkP6D1dIio+tfVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m0L4j-008SLX-Ov; Mon, 05 Jul 2021 09:39:37 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m0L4B-008S6S-FC for linux-arm-kernel@lists.infradead.org; Mon, 05 Jul 2021 09:39:07 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 68C9E613F3; Mon, 5 Jul 2021 09:39:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625477942; bh=vxAWY0ph6pmD3HQOObhs9oaejXG7EqWCVvjjXkEJ4tQ=; h=From:To:Cc:Subject:Date:From; b=BHnV8OF0dDWQOPfKdV2ED8A+zfgkH6lFzOTOmc5wampmO/oBmLh42iS0nmVDrwXAO pD3qLZ1ks4qecuJ6jb9VZoUKB2ajzvFdbTT0A2YJrRSvbEAEISAz3m6YFv4MNinVAM iX7EKmsZ+R1ynxGrZG3rL45ZqkQ9V8oF+3Re0m4t1uQrnadJqzqFUpkhvNR8N1Jn4Q FcIbHiVAWHo9tN6vZKQs/UsImjM/cxFr+z+LXiVijkGglArAA6Sl98+EmpuSBMgv9k /RrxZouJfwqRxksPRuemsWSnaicuJaRIsRVtmrqN/7T8/TchLotdyGbrEJdsRxkYmw co0OwDiJrwGxw== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1m0L43-002toh-3M; Mon, 05 Jul 2021 11:38:55 +0200 From: Mauro Carvalho Chehab To: Greg Kroah-Hartman Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Mauro Carvalho Chehab , Derek Kiernan , Dragan Cvetic , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Subject: [PATCH v12 0/9] Move Hisilicon 6421v600 SPMI and USB drivers out of staging Date: Mon, 5 Jul 2021 11:38:41 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210705_023903_630888_5646AF7C X-CRM114-Status: GOOD ( 14.82 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Greg, This series depends on a regression fix patch merged via the regulator's tree, not merged upstream yet: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git/commit/?h=for-5.14&id=5db5dd5be70eaf808d9fd90174b957fc5c2912cb (the dependence is just because of a trivial merge conflict) This series contain the final bits needed for the USB3 bus to work without staging drivers on Hikey 970. v12: - Added Mark Brown's ack to patch 5; - Addressed a couple issues at the DT binding, as pointed by Rob Herring (patch 1). Mauro Carvalho Chehab (9): staging: hi6421-spmi-pmic: rename GPIO IRQ OF node staging: hi6421-spmi-pmic: add a missing dot at copyright regulator: hi6421v600-regulator: add a missing dot at copyright staging: hikey9xx: split hi6421v600 irq into a separate driver staging: hi6421-spmi-pmic: cleanup drvdata staging: hi6421-spmi-pmic: rename spmi_device struct 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 ++++++++ MAINTAINERS | 7 + .../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 | 66 ++++ drivers/misc/Kconfig | 10 + drivers/misc/Makefile | 1 + drivers/misc/hi6421v600-irq.c | 313 ++++++++++++++++++ drivers/regulator/hi6421v600-regulator.c | 12 +- drivers/staging/Kconfig | 2 - drivers/staging/Makefile | 1 - drivers/staging/hikey9xx/Kconfig | 19 -- drivers/staging/hikey9xx/Makefile | 3 - drivers/staging/hikey9xx/TODO | 5 - drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 311 ----------------- .../hikey9xx/hisilicon,hi6421-spmi-pmic.yaml | 134 -------- include/linux/mfd/hi6421-spmi-pmic.h | 30 -- 20 files changed, 807 insertions(+), 530 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.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/misc/hi6421v600-irq.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/hisilicon,hi6421-spmi-pmic.yaml delete mode 100644 include/linux/mfd/hi6421-spmi-pmic.h