From patchwork Tue Apr 5 13:50:27 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: 12802109 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 5C43DC4167E for ; Tue, 5 Apr 2022 23:34:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1575463AbiDEXHn (ORCPT ); Tue, 5 Apr 2022 19:07:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442117AbiDEPhA (ORCPT ); Tue, 5 Apr 2022 11:37:00 -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 8D464EBB89; Tue, 5 Apr 2022 06:51:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1649166671; x=1680702671; h=from:to:cc:subject:date:message-id:mime-version; bh=5D34UaduOZxKtOtP2D5/LdeG9bz85Hpl1MRZfRSaHn0=; b=gxt8cLCJqem8Dt5ynQRTkjaqvLiF3Zs05j72SRVaBh6wJNBnQwYMM1r3 MscESIabo/JXbBi5BKKgnjVJum/zNIkbE4Dsbn67drc/8dpixyKMK9BK+ Ugp7BODBhtzrHFNQG5HYQQDDGmP9kXEsuRcawfAb3d2HNQAGcmFwE0bxL I=; Received: from unknown (HELO ironmsg02-sd.qualcomm.com) ([10.53.140.142]) by alexa-out-sd-02.qualcomm.com with ESMTP; 05 Apr 2022 06:51:11 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg02-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2022 06:51:10 -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; Tue, 5 Apr 2022 06:51:10 -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; Tue, 5 Apr 2022 06:51:06 -0700 From: Satya Priya To: Bjorn Andersson , Rob Herring CC: Lee Jones , Liam Girdwood , Mark Brown , , , , , , , , Satya Priya Subject: [PATCH V9 0/6] Add Qualcomm Technologies, Inc. PM8008 regulator driver Date: Tue, 5 Apr 2022 19:20:27 +0530 Message-ID: <1649166633-25872-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 (6): dt-bindings: mfd: pm8008: Add reset-gpios dt-bindings: mfd: pm8008: Add pm8008 regulator bindings mfd: pm8008: Add mfd cell struct to register LDOs 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 .../bindings/mfd/qcom,pm8008-regulators.yaml | 84 +++++++++ .../devicetree/bindings/mfd/qcom,pm8008.yaml | 7 + arch/arm64/boot/dts/qcom/pm8008.dtsi | 47 +++++ arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 68 +++++++ drivers/mfd/qcom-pm8008.c | 80 +++++++- drivers/regulator/Kconfig | 9 + drivers/regulator/Makefile | 1 + drivers/regulator/qcom-pm8008-regulator.c | 205 +++++++++++++++++++++ 8 files changed, 499 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/qcom,pm8008-regulators.yaml create mode 100644 arch/arm64/boot/dts/qcom/pm8008.dtsi create mode 100644 drivers/regulator/qcom-pm8008-regulator.c