From patchwork Wed Jul 14 09:12:52 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: 12376327 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=-17.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 B947CC07E9A for ; Wed, 14 Jul 2021 09:15:20 +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 8690361370 for ; Wed, 14 Jul 2021 09:15:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8690361370 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=EwAoX607Fndebu3Wx3I9kKu5Vu2Gkjg+N8N3YyvxwMY=; b=y9OVbPyb0h/JbX B8HMjjUu8Ypz4jAvWTI6nEqNp81VHAdzofpdCTSkuZzhBxf7rRhZlEUg+bx31hRdDiuTGhqKkVfd3 yCmmqMyLG50fmFizRx67/EUyYPzbeoPfuh0BXzzKai+3ExODx6Wdr2Ko4wZ4QH0G0kw+clNhQjbTZ d8SUJL9O6M+V5YZqMRP24oA1QLPXeR0yeBcwhSYA9Hcp+45PUxOnWjf//JmMqCh5LAgRIc46sB0LY 3jXK8KIJ049t2+SuahDU003PgEdz15hy6nUWwuwhFC0OmYnp+AssET8B9OeQvRfp3byMyyXRQXPnO w4GA5am4ebeXPeuEUT4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m3ax5-00CqDA-IQ; Wed, 14 Jul 2021 09:13:11 +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 1m3ax0-00Cq88-D6 for linux-arm-kernel@lists.infradead.org; Wed, 14 Jul 2021 09:13:09 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6A5D3613AA; Wed, 14 Jul 2021 09:13:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626253985; bh=7gr0CBndfQM78/xqmfg/z2V2Fg0eKXeoB+3mVSmJ88k=; h=From:To:Cc:Subject:Date:From; b=CPRJ//RVN5MfTowiHLKPIM1o6PcibCynofRk9JLYkSBMgPae6zbViXlfAbmY0RVk9 OW3Ajw9YuKEjzrbK0mWSvQDGP1ShQ3lYd6hthn7mewLkFZH5Jzi0EJ/4emcElYScJ3 h0LCiDAvxdtaOyrwscda6OYT1DETYNnZ7NxO8vW6H0FlOS0xxu8MY3Mpy1KA4V6O98 SgpcfWvQA240cZtGSfCM+DtDlAuAaSFEaEQuizPziFie+4vgdWmdF9Eljd0bj5+UMQ Zg54WixyoMQmctVWrNLOXZNeXIytwnPYSPPM5TC2hmIINoDcxDKOxMIVe6bVWzBpt2 eTuio/uFmWx5w== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1m3awx-007q2E-09; Wed, 14 Jul 2021 11:13:03 +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 v13 0/9] Move Hisilicon 6421v600 SPMI and USB drivers out of staging Date: Wed, 14 Jul 2021 11:12:52 +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-20210714_021306_553535_51CEC3D5 X-CRM114-Status: GOOD ( 13.75 ) 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 contain the final bits needed for the USB3 bus to work without staging drivers on Hikey 970. It is based on next-20210714, as it depends on a patch on this branch: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next v13: - Addressed an issue pointed by Rob Herring at the DT file (patch 6). 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 staging: hikey9xx: split hi6421v600 irq into a separate driver staging: hi6421-spmi-pmic: cleanup drvdata staging: hi6421-spmi-pmic: rename spmi_device struct staging: hisilicon,hi6421-spmi-pmic.yaml: fix patternProperties 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 | 12 +- 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 + .../mfd/hi6421-spmi-pmic.c | 78 +++++-- drivers/misc/Kconfig | 10 + drivers/misc/Makefile | 1 + .../hi6421v600-irq.c} | 208 +++++++++--------- drivers/regulator/hi6421v600-regulator.c | 10 +- drivers/staging/Kconfig | 2 - drivers/staging/Makefile | 1 - drivers/staging/hikey9xx/Kconfig | 19 -- drivers/staging/hikey9xx/Makefile | 3 - drivers/staging/hikey9xx/TODO | 5 - 17 files changed, 463 insertions(+), 182 deletions(-) rename {drivers/staging/hikey9xx => Documentation/devicetree/bindings/mfd}/hisilicon,hi6421-spmi-pmic.yaml (93%) create mode 100644 arch/arm64/boot/dts/hisilicon/hikey970-pmic.dtsi rename include/linux/mfd/hi6421-spmi-pmic.h => drivers/mfd/hi6421-spmi-pmic.c (4%) rename drivers/{staging/hikey9xx/hi6421-spmi-pmic.c => misc/hi6421v600-irq.c} (48%) delete mode 100644 drivers/staging/hikey9xx/Kconfig delete mode 100644 drivers/staging/hikey9xx/Makefile delete mode 100644 drivers/staging/hikey9xx/TODO