Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3050247pxj; Mon, 10 May 2021 17:27:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyzDg5HWSN319QIMB1oG83WwRS+UeJdj1FEzeSy6QatrQl3LSvoH7I1yePRZXbIhDKfcEI X-Received: by 2002:a5e:a806:: with SMTP id c6mr7576186ioa.180.1620692876972; Mon, 10 May 2021 17:27:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620692876; cv=none; d=google.com; s=arc-20160816; b=I+80PBJpYeUkgZgcETv0H0j07waohYy6QooO655PGyMTgTv34CEq7zDBWwhX0d8CZT 5H9CJBn1/awdiq6Qdia7rgTjdsX+EeRRcdTVdKuEvncRC3MtLfwUHR4zS4+9Gxw2VUDY BD3XZKICEl2CiJsnuPsWvb3XuFbI6F3x7NqXoOSpjBuFCoSYoY8SKvBJCKTtuX1ZJTeZ 94NKVXBoNMwIrwyp8zQfO7DZUrts8Jwtt0/89DA6JVApdie9UiblsJ+Wzl1uHd6I6rkA bN9h/Jfh8l3GJJ2s96RnXKA1QbSVhrZZAIyO8U3rPJNggOUsWuFTRbJbz6DoGIVIzA1e dzNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=BDdC8OLnB0UaFPf7svTZXJzlBZK5aujeJXtekFHjzFQ=; b=VCKu5R2W0p24bL4cSyBEaTB0VDncsXGNw8bX1swV+FokQElw5jDGjXR3aY782kHeWK xxCHaRDjtd2QkijJWLqYz8VDyZqxeuwUfsNK45y615aFXlnrJURWKRq+mH1D0MgXlfHK LL1wumiimJ+y5k5VKlaHJMLyi3aQ6l0dlWQu0lROsBIpaNyFiDb27o3tX+ToU5ZZ73lp eLRYdvjOw7+NxmEj/+PrKMEA0IV93FQ3vyYQN1HOxpiNMGuM1//225Gk2vRw8e2n4492 KBqX52zfYzhrwHPQr9IfcFZ1dz1uQrpA5g1sfaJtCmmuun/k2pEiRo7L4V2839qNu+Vo 1uPw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f4si18440169ilq.1.2021.05.10.17.27.44; Mon, 10 May 2021 17:27:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230484AbhEKA2S (ORCPT + 99 others); Mon, 10 May 2021 20:28:18 -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-kernel@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 -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project