From patchwork Tue May 11 00:27:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guru Das Srinagesh X-Patchwork-Id: 12249445 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=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,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 E59A8C43460 for ; Tue, 11 May 2021 00:27:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BE2D161621 for ; Tue, 11 May 2021 00:27:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230463AbhEKA2Q (ORCPT ); Mon, 10 May 2021 20:28:16 -0400 Received: from alexa-out-sd-02.qualcomm.com ([199.106.114.39]:9537 "EHLO alexa-out-sd-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230227AbhEKA2P (ORCPT ); Mon, 10 May 2021 20:28:15 -0400 Received: from unknown (HELO ironmsg01-sd.qualcomm.com) ([10.53.140.141]) by alexa-out-sd-02.qualcomm.com with ESMTP; 10 May 2021 17:27:10 -0700 X-QCInternal: smtphost Received: from gurus-linux.qualcomm.com ([10.46.162.81]) by ironmsg01-sd.qualcomm.com with ESMTP; 10 May 2021 17:27:10 -0700 Received: by gurus-linux.qualcomm.com (Postfix, from userid 383780) id F14E21F2B1; Mon, 10 May 2021 17:27:09 -0700 (PDT) From: Guru Das Srinagesh To: Lee Jones , Rob Herring , devicetree@vger.kernel.org Cc: Mark Brown , linux-arm-msm , Bjorn Andersson , linux-kernel@vger.kernel.org, Guru Das Srinagesh Subject: [PATCH v4 0/3] Add Qualcomm Technologies, Inc. PM8008 MFD driver Date: Mon, 10 May 2021 17:27:05 -0700 Message-Id: X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Changes from v3: - Addressed Lee's comments. - This patchset is still based on regmap.git's for-next branch as my regmap-irq changes have not yet landed in mfd.git for-mfd-next or for-mfd-next-next (please advise which branch to use in this regard). Changes from v2: - Collected Rob Herring's Acked-by for the IRQ listing patch - Addressed Rob's comments for the dt-bindings patch Changes from v1: - Removed errant Change-Id from dt-bindings IRQ patch and gathered Bjorn's Reviewed-by - Fixed up YAML errors using make dt_binding_check This driver is dependent on changes that have been made to the regmap-irq framework that have currently been accepted [1][2] in regmap.git upstream by Mark Brown but haven't made it to Linus' tree yet. For this reason, this driver has been based on the tip of regmap.git and not mfd.git. Those changes, and this driver, are the result of a rewrite effort that was promised a long ago [3]. The framework changes and this driver have been tested and verified end-to-end on an internal platform. [1] https://lore.kernel.org/lkml/20210318183607.gFxO2hoTO274vl3jUuxWbi19rq9wQELzN-y3B4jvO10@z/ [2] https://lore.kernel.org/lkml/161726943419.2413.4844313396830856637.b4-ty@kernel.org/ [3] https://lore.kernel.org/lkml/20200519185757.GA13992@codeaurora.org/ Guru Das Srinagesh (3): dt-bindings: mfd: pm8008: Add IRQ listing dt-bindings: mfd: pm8008: Add bindings mfd: pm8008: Add driver for QCOM PM8008 PMIC .../devicetree/bindings/mfd/qcom,pm8008.yaml | 121 ++++++++++ drivers/mfd/Kconfig | 14 ++ drivers/mfd/Makefile | 1 + drivers/mfd/qcom-pm8008.c | 260 +++++++++++++++++++++ include/dt-bindings/mfd/qcom-pm8008.h | 19 ++ 5 files changed, 415 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/qcom,pm8008.yaml create mode 100644 drivers/mfd/qcom-pm8008.c create mode 100644 include/dt-bindings/mfd/qcom-pm8008.h