From patchwork Sat Jul 17 09:58:11 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: 12383425 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,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 C764DC636C9 for ; Sat, 17 Jul 2021 10:01:07 +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 950F5613D4 for ; Sat, 17 Jul 2021 10:01:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 950F5613D4 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=cLCLMtDuM6ZC+iNDQveJeBEu6snjoa2gZ0Hjwig4iuU=; b=VI9Ud6YOu8OLeF TAppS5KIBHSR85nCRhmyTaXwlUUdmxWUeDgcKh6RIR5O8tOYiOe2Twq+3iMPKENCFtP6MV7mYSX4D 0Yr5Y5cal+B74SWCixjGdEHL2W0+aTvFwyc6ABxPo1tLACbj0es6siPFn90pbQz49BJlJapm3KPfo aJSXVJ6BKtSjWfIDA1CploCxw8T2KVisn/YWJNS6FyliLz+rS1cHpx//FJlQC4nYgDrR1EKVGPhbn d3DKbrZXq15gW8PrNwV3lOJaBjDOgndRn6cioAJ7TNUICZWD3bTxZGvPokAWLXva0sHY23+0ZiLlH aK2q7u3M0e7eR9eIby/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m4h6L-006Pn7-8b; Sat, 17 Jul 2021 09:59:17 +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 1m4h5X-006PBF-8M for linux-arm-kernel@lists.infradead.org; Sat, 17 Jul 2021 09:58:31 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id CA9D8613E8; Sat, 17 Jul 2021 09:58:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626515903; bh=4z4BKAC0MMEjYpl+Jy5xNnrifKZsNO5uPep0gMPeJTs=; h=From:To:Cc:Subject:Date:From; b=gvPpVFjWvOYKZ1RiwOcGtMRbXgoxC/s8rgOqoMzuO3QzXkXibtMxk76sb2nQO12AA d4/hoeFDL/BkZfuA/C7T90kVFE2wXqDy9Ic6dpDbdsrrSGuVA+dOjjC057e5LWQAoW N0J9GE8ybyUeUOUnYi4Nfx0JsqHvgKFQ+0RDdyPUN8WP9Rnjewi9drcRc91StmqI4i 8gKGQmXMn2kzGGgxID5z7DePeupSaptgesSePrSW+x0UgP9+kPTKkzfKGx9xY0Zt5n OZJ4e0bNF6GP06pdsZLVuN7M05uSK5tl4Coh61UJELc9pelszn1zBCIFaNJDyPVtJt GVgYk681wpqzw== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1m4h5R-0007Jx-NT; Sat, 17 Jul 2021 11:58:21 +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 v14 0/9] Move Hisilicon 6421v600 SPMI and USB drivers out of staging Date: Sat, 17 Jul 2021 11:58:11 +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-20210717_025827_470614_7B19C8EE X-CRM114-Status: GOOD ( 13.45 ) 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 v14: - use platform_get_irq() instead of of_get_gpio(). 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 spmi_device struct 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: 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 | 16 +- MAINTAINERS | 7 + .../boot/dts/hisilicon/hi3670-hikey970.dts | 129 ++++++-- arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 56 ++++ .../boot/dts/hisilicon/hikey970-pmic.dtsi | 88 +++++ 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 | 306 +++++++++++++++++ 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 - drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 311 ------------------ include/linux/mfd/hi6421-spmi-pmic.h | 30 -- 19 files changed, 675 insertions(+), 402 deletions(-) rename {drivers/staging/hikey9xx => Documentation/devicetree/bindings/mfd}/hisilicon,hi6421-spmi-pmic.yaml (92%) 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 include/linux/mfd/hi6421-spmi-pmic.h