From patchwork Thu May 5 09:25:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Satya Priya Kakitapalli (Temp)" X-Patchwork-Id: 12839290 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 97CBBC433FE for ; Thu, 5 May 2022 09:26:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239699AbiEEJaR (ORCPT ); Thu, 5 May 2022 05:30:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352702AbiEEJaP (ORCPT ); Thu, 5 May 2022 05:30:15 -0400 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7BDF344CC; Thu, 5 May 2022 02:26:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1651742796; x=1683278796; h=from:to:cc:subject:date:message-id:mime-version; bh=Qy7H/zpZChtzGkafZkP3xe/cE1VKxWgicbhdF3xm+Ro=; b=Prixl+qHBWB1Cb2F9fqeF6AUE8VowMRstEGSzoxwjFugQW0nNS9T52Y1 qG7dzeb/2mE8uNHd60lHSP7VSNWNQtncr8Zjt4m4ji9WFB3tda72R0ATt WGCq+tVdDz4B6mGF9kLXKR/jyYFgSYQWUoUrN03RigMsbvyfhG3a3qWBV 4=; Received: from unknown (HELO ironmsg01-sd.qualcomm.com) ([10.53.140.141]) by alexa-out-sd-02.qualcomm.com with ESMTP; 05 May 2022 02:26:36 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg01-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 May 2022 02:26:36 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 5 May 2022 02:26:36 -0700 Received: from c-skakit-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 5 May 2022 02:26:31 -0700 From: Satya Priya To: Bjorn Andersson , Rob Herring CC: Lee Jones , Liam Girdwood , Mark Brown , , , , , , , , Satya Priya Subject: [PATCH V11 0/9] Add Qualcomm Technologies, Inc. PM8008 regulator driver Date: Thu, 5 May 2022 14:55:30 +0530 Message-ID: <1651742739-12338-1-git-send-email-quic_c_skakit@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Satya Priya (9): dt-bindings: mfd: pm8008: Add reset-gpios dt-bindings: mfd: pm8008: Change the address cells dt-bindings: mfd: pm8008: Add regulators for pm8008 mfd: pm8008: Add reset-gpios mfd: pm8008: Remove the regmap member from pm8008_data struct mfd: pm8008: Use i2c_new_dummy_device() API regulator: Add a regulator driver for the PM8008 PMIC arm64: dts: qcom: pm8008: Add base dts file arm64: dts: qcom: sc7280: Add pm8008 support for sc7280-idp .../devicetree/bindings/mfd/qcom,pm8008.yaml | 69 ++++++- arch/arm64/boot/dts/qcom/pm8008.dtsi | 54 ++++++ arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 66 +++++++ drivers/mfd/qcom-pm8008.c | 57 ++++-- drivers/regulator/Kconfig | 9 + drivers/regulator/Makefile | 1 + drivers/regulator/qcom-pm8008-regulator.c | 216 +++++++++++++++++++++ include/linux/mfd/qcom_pm8008.h | 8 + 8 files changed, 462 insertions(+), 18 deletions(-) create mode 100644 arch/arm64/boot/dts/qcom/pm8008.dtsi create mode 100644 drivers/regulator/qcom-pm8008-regulator.c create mode 100644 include/linux/mfd/qcom_pm8008.h