From patchwork Mon Sep 19 20:48:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marijn Suijten X-Patchwork-Id: 12981006 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 69655C6FA92 for ; Mon, 19 Sep 2022 20:48:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229865AbiISUst (ORCPT ); Mon, 19 Sep 2022 16:48:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229863AbiISUsj (ORCPT ); Mon, 19 Sep 2022 16:48:39 -0400 Received: from m-r2.th.seeweb.it (m-r2.th.seeweb.it [5.144.164.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 829CB4A83B; Mon, 19 Sep 2022 13:48:37 -0700 (PDT) Received: from localhost.localdomain (94-209-172-39.cable.dynamic.v4.ziggo.nl [94.209.172.39]) (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 m-r2.th.seeweb.it (Postfix) with ESMTPSA id DF99F3F5F9; Mon, 19 Sep 2022 22:48:34 +0200 (CEST) From: Marijn Suijten To: phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Konrad Dybcio Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Martin Botka , Jami Kettunen , Marijn Suijten , Lee Jones , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/5] Add Qcom PM6125 PMIC, and use in Sony Xperia Seine PDX201 Date: Mon, 19 Sep 2022 22:48:21 +0200 Message-Id: <20220919204826.215845-1-marijn.suijten@somainline.org> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This series adds initial support for the PM6125 PMIC, and its power key handling and thermal monitoring capabilities are configured for Sony's PDX201 (Xperia 10II). One patch for pm660 is included to fix a node address mismatch with its reg field. Changes since v2: - Rebased on v6.0-rc6 to drop dependent DT patches; - Dropped iio patch which has already been picked into Jonathan's tree; - Added qcom,pm6125 compatible in new yaml-ified SPMI-PMIC dt-bindings. v2: https://lore.kernel.org/linux-arm-msm/20220805135729.1037079-1-marijn.suijten@somainline.org/T/#u Changes since v1: - Dropped both pinctrl patches that have already been applied; - Add -us suffix to qcom,hw-settle-time properties on ADC TM5 nodes (this suffix is not present on regular ADC5/VADC nodes); - Add -state suffix to pm6125_gpio pinctrl nodes; - Use PMIC_GPIO_FUNC_NORMAL instead of the string-literal "normal"; - Removed #address-cells and #size-cells from empty pmic@1 node; - Removed ADC5_AMUX_THM3 / ADC5_GPIO2_100K_PU channels from the ADC5 patch, these are unused on my board and hence untested. v1: https://lore.kernel.org/phone-devel/20220511220613.1015472-1-marijn.suijten@somainline.org/T/#u Marijn Suijten (5): dt-bindings: mfd: qcom-spmi-pmic: Add pm6125 compatible arm64: dts: qcom: pm660: Use unique ADC5_VCOIN address in node name arm64: dts: qcom: Add PM6125 PMIC arm64: dts: qcom: sm6125-seine: Include PM6125 and configure PON arm64: dts: qcom: sm6125-seine: Configure additional trinket thermistors .../bindings/mfd/qcom,spmi-pmic.yaml | 1 + arch/arm64/boot/dts/qcom/pm6125.dtsi | 154 +++++++++++++++++ arch/arm64/boot/dts/qcom/pm660.dtsi | 2 +- .../qcom/sm6125-sony-xperia-seine-pdx201.dts | 162 +++++++++++++++++- 4 files changed, 317 insertions(+), 2 deletions(-) create mode 100644 arch/arm64/boot/dts/qcom/pm6125.dtsi --- 2.37.3