From patchwork Tue Feb 8 14:52:14 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: 12738837 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 19007C433EF for ; Tue, 8 Feb 2022 14:56:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378775AbiBHO4v (ORCPT ); Tue, 8 Feb 2022 09:56:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378807AbiBHO4u (ORCPT ); Tue, 8 Feb 2022 09:56:50 -0500 X-Greylist: delayed 123 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 08 Feb 2022 06:56:48 PST Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B922C06157A; Tue, 8 Feb 2022 06:56:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1644332208; x=1675868208; h=from:to:cc:subject:date:message-id:mime-version; bh=YQGb+3b6pl3pqDKbO+wrZjMeCmySRkEdSxC5xyXLuEc=; b=KlI9zmOFC/S7hr78bVnncpHCMT7CLCGxzZq3x3p77oWRwCv0HMbR2Wkk OwDrilLZ5EbHocb7FKpyGpctMZs0NNhFsH2n7Xe3kvDOA5YuLRyifholp xU2JuDiEVPGnkFRqY+s58WXwN3TuD378cqtYf0DibloZlGIHDwdAs911o E=; Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-01.qualcomm.com with ESMTP; 08 Feb 2022 06:54:45 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg04-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2022 06:54:44 -0800 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.922.19; Tue, 8 Feb 2022 06:54:43 -0800 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.922.19; Tue, 8 Feb 2022 06:54:38 -0800 From: Satya Priya To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski CC: Lee Jones , Liam Girdwood , Mark Brown , Das Srinagesh , , , , , , , , Satya Priya Subject: [PATCH V5 0/6] Add Qualcomm Technologies, Inc. PM8008 regulator driver Date: Tue, 8 Feb 2022 20:22:14 +0530 Message-ID: <1644331940-18986-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: regulator: Add pm8008 regulator bindings dt-bindings: mfd: pm8008: Add regulators node 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 .../devicetree/bindings/mfd/qcom,pm8008.yaml | 49 ++++- .../bindings/regulator/qcom,pm8008-regulator.yaml | 31 +++ arch/arm64/boot/dts/qcom/pm8008.dtsi | 46 ++++ arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 66 ++++++ drivers/mfd/qcom-pm8008.c | 59 +++++- drivers/regulator/Kconfig | 9 + drivers/regulator/Makefile | 1 + drivers/regulator/qcom-pm8008-regulator.c | 234 +++++++++++++++++++++ 8 files changed, 485 insertions(+), 10 deletions(-) create mode 100644 Documentation/devicetree/bindings/regulator/qcom,pm8008-regulator.yaml create mode 100644 arch/arm64/boot/dts/qcom/pm8008.dtsi create mode 100644 drivers/regulator/qcom-pm8008-regulator.c