From patchwork Mon Nov 6 12:08:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dang Huynh X-Patchwork-Id: 13446817 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 24EEBC4332F for ; Mon, 6 Nov 2023 12:10:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231421AbjKFMKF (ORCPT ); Mon, 6 Nov 2023 07:10:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231601AbjKFMJy (ORCPT ); Mon, 6 Nov 2023 07:09:54 -0500 Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 941C71718; Mon, 6 Nov 2023 04:08:55 -0800 (PST) Received: from mx0.riseup.net (mx0-pn.riseup.net [10.0.1.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4SP99z0yVmzDqsV; Mon, 6 Nov 2023 12:08:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1699272535; bh=DZc5x9vkCzuuaEUVgKW05lDTzpnh7yi/JzzkDRqdcWQ=; h=From:Subject:Date:To:Cc:From; b=p1/xvraU4/1E28miZiPJynlEP0W5ed8pPMe8RX9g5nZdSiWW/qSiHI3f76sqmpkTB F40iMtUSJT0ndVXl+Zg4JV+F/ZsicmsDR8hX1c5O33cO0ZNL3OoDm3vGD/gftGyrK/ BiU1H3X4fHA/Bwb/Hvm/EDJ57FZ3uQC1bPbaBaHQ= Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx0.riseup.net (Postfix) with ESMTPS id 4SP99x5dYMz9t37; Mon, 6 Nov 2023 12:08:53 +0000 (UTC) X-Riseup-User-ID: 286C730A51436F1E5A2183D411F2896D0D44EA9549464B8F17AFD85E7B56467D Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4SP99s6h4szJmtY; Mon, 6 Nov 2023 12:08:49 +0000 (UTC) From: Dang Huynh Subject: [PATCH 0/8] Add PM8937 PMIC support Date: Mon, 06 Nov 2023 19:08:28 +0700 Message-Id: <20231106-pm8937-v1-0-ec51d9eeec53@riseup.net> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIADzXSGUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2NDQwMz3YJcC0tjc10DA4NUEyPjRHPTtCQloOKCotS0zAqwQdGxtbUAlRF NhVgAAAA= To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephen Boyd , Liam Girdwood , Mark Brown , Robert Marko Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Dang Huynh Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org PM8937 is a power management IC. It is used in various boards with MSM8917, MSM8937, MSM8940 and APQ variants. Signed-off-by: Dang Huynh --- Dang Huynh (8): mfd: qcom-spmi-pmic: Add support for PM8937 dt-bindings: mfd: qcom-spmi-pmic: Document PM8937 PMIC regulator: qcom_spmi: Add PM8937 SPMI regulator dt-bindings: regulator: qcom,spmi-regulator: Document PM8937 PMIC regulator: qcom_smd: Add PM8937 regulators dt-bindings: regulator: qcom,smd-rpm-regulator: Document PM8937 IC arm64: dts: qcom: Add PM8937 PMIC soc: qcom: socinfo: Add PM8937 Power IC .../devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 1 + .../bindings/regulator/qcom,smd-rpm-regulator.yaml | 4 + .../bindings/regulator/qcom,spmi-regulator.yaml | 19 ++ arch/arm64/boot/dts/qcom/pm8937.dtsi | 202 +++++++++++++++++++++ drivers/mfd/qcom-spmi-pmic.c | 1 + drivers/regulator/qcom_smd-regulator.c | 34 ++++ drivers/regulator/qcom_spmi-regulator.c | 34 ++++ drivers/soc/qcom/socinfo.c | 2 +- include/soc/qcom/qcom-spmi-pmic.h | 1 + 9 files changed, 297 insertions(+), 1 deletion(-) --- base-commit: 12c9e8890929813dc852d9739f8d900ff51d9814 change-id: 20231106-pm8937-000e423a75fb Best regards,