Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp270560rwb; Mon, 26 Sep 2022 12:06:55 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5AXIeeOgCT6OUZF5V+UOXbnDxa7/qHkvEelvcX2E7Piqv9HaeEBbuvYuJzbqAzFbwiKVZ4 X-Received: by 2002:a05:6402:270f:b0:451:b5bd:95dd with SMTP id y15-20020a056402270f00b00451b5bd95ddmr24235957edd.215.1664219214898; Mon, 26 Sep 2022 12:06:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664219214; cv=none; d=google.com; s=arc-20160816; b=DhHLjhDircYY3GhK4++AQwdGw6sEbnjRFzmtpi0tZJLCipRjIrxERcZ2vZR/LJ8vI6 8PB8uAsALQkoCwyxRTwKnrczzw08YUCF2E7ilTjalgQvLyVsDHI+4jvyzGPrWIDdWOMS vucjgufTRtl3ZJUbvA3p/Zrf3IT7Z9FvpgQu7wjHoPiEQ7pNGQYax3tjbcpJGFGVk85W H05RyTkTvVPgXS6vKmFJD7uP0n7I27JX5Bias8XJm0oZDKOhVvpj6HqTEKuGIsaWW9PV DXjGU8V8m2yXhM4pum12gnvtz2LymP8LNRAkX99NCe2QJmJ0VtxTiVXJDcV8Yec7Ww/1 TMCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=tcxkoxWZqKk43SRI3vppgpUcj7TxGh4xRrntJjEYPUE=; b=yZouLLeKo+wQH5T8G4pAB7QOcTczIpTeQZcGRPE3T8gi/taYfjlujKVLAR6D+52Eq9 t5kienA8iaxEmPjT6tdn3eh0/kEF9jaAleV1UYyIpL6/RJ+RFgd/gpdVafT40yHJeA+Z 9ujY8lhLMjO+eXe3xUO5U310KVXICI0PZ9p/yG2jRKgPx57R4MkM0kUNARodD18yeW/T mQJip5CXVtksQOtao7LvmvcxIpF3QZVbU0htFnMnV6vwubtDws+yVyDu6huRiUyTO26R PnrtyDWdznyHZsBMBnPuVSop7tf/n8lSijhaxm6ilDzE6upabRbjF2tjTNM4UX7S8jF8 mEZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l6-20020a170906794600b0078266dc4b8csi697509ejo.719.2022.09.26.12.06.26; Mon, 26 Sep 2022 12:06:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230246AbiIZTCK (ORCPT + 99 others); Mon, 26 Sep 2022 15:02:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbiIZTCG (ORCPT ); Mon, 26 Sep 2022 15:02:06 -0400 Received: from relay07.th.seeweb.it (relay07.th.seeweb.it [5.144.164.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7491F84E43 for ; Mon, 26 Sep 2022 12:02:03 -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 3B9EA3F434; Mon, 26 Sep 2022 21:02:00 +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 v4 0/5] Add Qcom PM6125 PMIC and use in Sony Xperia Seine PDX201 Date: Mon, 26 Sep 2022 21:01:43 +0200 Message-Id: <20220926190148.283805-1-marijn.suijten@somainline.org> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 v3: - Rebased on next-20220923 to fix (diff-context) conflicts with: - https://lore.kernel.org/all/20220902111055.106814-1-luca.weiss@fairphone.com/ - https://lore.kernel.org/all/20220912061746.6311-35-krzysztof.kozlowski@linaro.org/ v3: https://lore.kernel.org/linux-arm-msm/20220919204826.215845-1-marijn.suijten@somainline.org/T/#t 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