From patchwork Tue Apr 13 02:00:24 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: 12199087 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 29E5AC43462 for ; Tue, 13 Apr 2021 02:00:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 09152613B3 for ; Tue, 13 Apr 2021 02:00:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241214AbhDMCAu (ORCPT ); Mon, 12 Apr 2021 22:00:50 -0400 Received: from alexa-out-sd-01.qualcomm.com ([199.106.114.38]:62544 "EHLO alexa-out-sd-01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238374AbhDMCAt (ORCPT ); Mon, 12 Apr 2021 22:00:49 -0400 Received: from unknown (HELO ironmsg01-sd.qualcomm.com) ([10.53.140.141]) by alexa-out-sd-01.qualcomm.com with ESMTP; 12 Apr 2021 19:00:29 -0700 X-QCInternal: smtphost Received: from gurus-linux.qualcomm.com (HELO gurus-linux.localdomain) ([10.46.162.81]) by ironmsg01-sd.qualcomm.com with ESMTP; 12 Apr 2021 19:00:29 -0700 Received: by gurus-linux.localdomain (Postfix, from userid 383780) id 278D61B19; Mon, 12 Apr 2021 19:00:29 -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 v3 0/3] Add Qualcomm Technologies, Inc. PM8008 MFD driver Date: Mon, 12 Apr 2021 19:00:24 -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 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 | 15 ++ drivers/mfd/Makefile | 1 + drivers/mfd/qcom-pm8008.c | 284 +++++++++++++++++++++ include/dt-bindings/mfd/qcom-pm8008.h | 19 ++ 5 files changed, 440 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