From patchwork Wed Mar 22 11:33:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 13183940 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 08698C77B60 for ; Wed, 22 Mar 2023 11:32:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229684AbjCVLcw (ORCPT ); Wed, 22 Mar 2023 07:32:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230114AbjCVLcu (ORCPT ); Wed, 22 Mar 2023 07:32:50 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2D025ADE9; Wed, 22 Mar 2023 04:32:49 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6E86062048; Wed, 22 Mar 2023 11:32:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35627C433A1; Wed, 22 Mar 2023 11:32:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679484768; bh=A224LTHWKyLxmjx6qp6P3XqpHiJ6RCtOe0JndfMbuWI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hdS+FNljpt/dOsy1LrjXkYjv512iVkZ9rD3totrRvXbNjlbUCjSz+xxRNAEGHF7+I YAiCsJfK10E3Ay2ZzqccwFq7jRTKR/nPwVd7EY4ggWknbb8nRO9bdLj56UkVyk4sEG ZZeFRzP+MK8aVxPcKHGbhbkMJhQUFUNcAfCVrHtZ81glExHlJpIh2Enl+UHb6W2gr2 ZTPn+jZgvpqjJGf1Btyp7JvFSc4jA4p0evwGEeXK8UHHbtwXtQHFk4/A1l8Z/XtCUI 53VUVtX7ZA4fJ07vD7i1rjqWQFolWAxDx0eI3JzdmMzGmklTwyVMMWwp+dKNWd8oK7 1iru9e3FllRTA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1pewjO-0004fN-NK; Wed, 22 Mar 2023 12:34:14 +0100 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla , Steev Klimaszewski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , stable@vger.kernel.org Subject: [PATCH 1/6] arm64: dts: qcom: sc8280xp-x13s: mark s11b regulator as always-on Date: Wed, 22 Mar 2023 12:33:13 +0100 Message-Id: <20230322113318.17908-2-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230322113318.17908-1-johan+linaro@kernel.org> References: <20230322113318.17908-1-johan+linaro@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The s11b supply is used by the wlan module (as well as some of the pmics) which are not yet fully described in the devicetree. Mark the regulator as always-on for now. Fixes: 123b30a75623 ("arm64: dts: qcom: sc8280xp-x13s: enable WiFi controller") Cc: stable@vger.kernel.org # 6.2 Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index 26dbba9f51fb..c79559e4b22e 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -386,6 +386,7 @@ vreg_s11b: smps11 { regulator-min-microvolt = <1272000>; regulator-max-microvolt = <1272000>; regulator-initial-mode = ; + regulator-always-on; }; vreg_s12b: smps12 { From patchwork Wed Mar 22 11:33:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 13183937 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 1A2CFC6FD1F for ; Wed, 22 Mar 2023 11:32:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230008AbjCVLcu (ORCPT ); Wed, 22 Mar 2023 07:32:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229684AbjCVLct (ORCPT ); Wed, 22 Mar 2023 07:32:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40E6D5ADDE; Wed, 22 Mar 2023 04:32:49 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D171E62047; Wed, 22 Mar 2023 11:32:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D371C433EF; Wed, 22 Mar 2023 11:32:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679484768; bh=SuI2Mt0lTmawe/KiqF95JfMCqGfTwRR40SY9PfkvkxE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XnSSoUHCCawGgMA+49f646RXiy2J3rdIzEbW3D7/GM9Ev2GV1avcsdcAtVVDILGEV feRVfh3vT9OecdfMN7+hEB5g1wGrdsB9iN1wYSLUKh4iiPz3KYN8b7o0TUDven9tYn JNqNBVgyl+u3eDA9e0N6MUO8j79M2KtHEhhFjGMVJbA3TpYJLM/qbVlcy+Rm3Qilr+ 4EyzM0KL+w0N6MADEHbx/wv1hDlIGZ+37neiwEPAdQrFG/ce5Hh22s47ich4AW7iqL 9QNfJRXoC2cqZWaZAjyzdubEmwwLH0SYp+EfBQhcl8A69Ei/j2+iYlz+vPFmdWqEIB xjmFwonvez45g== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1pewjO-0004fP-Pp; Wed, 22 Mar 2023 12:34:14 +0100 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla , Steev Klimaszewski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 2/6] arm64: dts: qcom: sc8280xp-x13s: mark s10b regulator as always-on Date: Wed, 22 Mar 2023 12:33:14 +0100 Message-Id: <20230322113318.17908-3-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230322113318.17908-1-johan+linaro@kernel.org> References: <20230322113318.17908-1-johan+linaro@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The s10b supply is used by several components that are not (yet) described in devicetree (e.g. ram, charger, ec) and must not be disabled. Mark the regulator as always-on. Fixes: f29077d86652 ("arm64: dts: qcom: sc8280xp-x13s: Add soundcard support") Cc: Srinivas Kandagatla Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index c79559e4b22e..e52fd09f9cc9 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -379,6 +379,7 @@ vreg_s10b: smps10 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-initial-mode = ; + regulator-always-on; }; vreg_s11b: smps11 { From patchwork Wed Mar 22 11:33:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 13183941 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 338D6C761A6 for ; Wed, 22 Mar 2023 11:32:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230457AbjCVLcz (ORCPT ); Wed, 22 Mar 2023 07:32:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230397AbjCVLcw (ORCPT ); Wed, 22 Mar 2023 07:32:52 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E348C5ADEB; Wed, 22 Mar 2023 04:32:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 88FE4B81C28; Wed, 22 Mar 2023 11:32:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2A81BC4339B; Wed, 22 Mar 2023 11:32:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679484768; bh=tC9SXfQDLnQun3QT+gIMJuud1lLq44QL1VxlMVpGgs8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DRNUhAWn9VBEioInNJGp3p7dgF/wxUCg34B97jsfv/SETOzXzvl9R67HfHpdXALiP nzM0txVcPp14Ewy7HNaXA2lsdeZjteqVtqoYoeJOO3LMSLFCwDELolUrJtHlql5KkT IyHx/4rZyZtEmxAZaVbh7qLFJh06gKH5n2YSApiMmNXy/7mpOK24dyf4WF8lXNza2r OxLb3zQgxEjcqbGCcYcthfHnIAYtuWQFtec1kSkk5l01sWCuUkz+egME2srNX/BzKy nPFlItyHtQP9k4jiRjRx4OtzPwbnItHS/YpZfVmc//IVrP35QOBbln7Bdcx9Yth8T5 NMNy6XOrtdlnA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1pewjO-0004fR-SM; Wed, 22 Mar 2023 12:34:14 +0100 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla , Steev Klimaszewski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 3/6] arm64: dts: qcom: sc8280xp-x13s: mark s12b regulator as always-on Date: Wed, 22 Mar 2023 12:33:15 +0100 Message-Id: <20230322113318.17908-4-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230322113318.17908-1-johan+linaro@kernel.org> References: <20230322113318.17908-1-johan+linaro@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The s12b supply is used by several pmic regulators as well as the wlan/bluetooth radio which are not yet fully described in the devicetree. Mark the regulator as always-on for now. Fixes: f29077d86652 ("arm64: dts: qcom: sc8280xp-x13s: Add soundcard support") Cc: Srinivas Kandagatla Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index e52fd09f9cc9..cdd2791576e2 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -395,6 +395,7 @@ vreg_s12b: smps12 { regulator-min-microvolt = <984000>; regulator-max-microvolt = <984000>; regulator-initial-mode = ; + regulator-always-on; }; vreg_l3b: ldo3 { From patchwork Wed Mar 22 11:33:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 13183939 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 3AC88C6FD1C for ; Wed, 22 Mar 2023 11:32:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230448AbjCVLcx (ORCPT ); Wed, 22 Mar 2023 07:32:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230364AbjCVLcv (ORCPT ); Wed, 22 Mar 2023 07:32:51 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B394D5ADE4; Wed, 22 Mar 2023 04:32:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 64B9CB81C0E; Wed, 22 Mar 2023 11:32:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2780EC433D2; Wed, 22 Mar 2023 11:32:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679484768; bh=K0EI/TVG1t+eImsGBQzIgPOhGwu6kr9ZIVmBxZ9hkYo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZefD2SeCeJs2+R1k0YTJVQODkRNmm013NgUHkviS1EmrryMAGQE+Zx71L7zwVUGcN yyu96DxRKqxHFfSAFIOD0FFuBvp9fUSVbvG0/PgtJJkLIzHCzIM8svclQLMe5Qln7R hJ9GR2UiTBg3M2owtafaxIsQERSmeDDZB0za2Qls535eE3jXL+hFwHohPu9naGdBK8 f5o1d5E87MzOCI+mPCk1PnwbNp21q0sbEiKbMSI8KhiCpIKThvjB4yAYiKFshVc8mc 93VdiRO/9MAo9aTkjlpiCaGangyVje2SkLCh1LQ5j1fKTWzgCFg2ZcTzcLEVdWdr2+ Pj1e/kILz/qhw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1pewjO-0004fT-Us; Wed, 22 Mar 2023 12:34:14 +0100 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla , Steev Klimaszewski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 4/6] arm64: dts: qcom: sc8280xp-x13s: mark bob regulator as always-on Date: Wed, 22 Mar 2023 12:33:16 +0100 Message-Id: <20230322113318.17908-5-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230322113318.17908-1-johan+linaro@kernel.org> References: <20230322113318.17908-1-johan+linaro@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The bob supply is used by several pmic regulators and components which are not (yet fully) described in the devicetree. Mark the regulator as always-on for now. Fixes: f29077d86652 ("arm64: dts: qcom: sc8280xp-x13s: Add soundcard support") Cc: Srinivas Kandagatla Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index cdd2791576e2..44cf93ddc1b9 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -453,6 +453,7 @@ vreg_bob: bob { regulator-min-microvolt = <3008000>; regulator-max-microvolt = <3960000>; regulator-initial-mode = ; + regulator-always-on; }; }; From patchwork Wed Mar 22 11:33:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 13183938 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 75AD9C761A6 for ; Wed, 22 Mar 2023 11:32:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230352AbjCVLcv (ORCPT ); Wed, 22 Mar 2023 07:32:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229693AbjCVLcu (ORCPT ); Wed, 22 Mar 2023 07:32:50 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48DA35ADE4; Wed, 22 Mar 2023 04:32:49 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D74CF6204A; Wed, 22 Mar 2023 11:32:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30305C4339E; Wed, 22 Mar 2023 11:32:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679484768; bh=0nrQcvjmi6aFPxOeEU5Ub+hRdZiT2L7Vv1XiseXI/HI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q5PuWhGDksemcsBGglUJ+HgniWKAXI7v4Ovc9Oo49/Oq0d/MHnvoUiiWM2VdcBF7Y YQ8MsCY2TMWYbDTpwlYPLc5AtryxSBnVOCw9T0/DUbRKGaS0dnQJZZ/x9jPg6trlqM 64G8RXzTh/1U/qdiYS39Tpc2C02K9zteVMsqiI81rGU2zgYQ92qHCGHNjxLIawXdtW tsB7Rkr2HGeZDKPnXmGE+Gq1jORMYgy0LjIdr75NLTeyswGejGtZeOHWcJIray7nOY CA55gQqlpARmNDjzwsgE8sPr5MNrn8iXgIuNawK4KZVLbnUzn6aIdu+Ttft5FU+ZEk KPDuiUgQHgY9g== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1pewjP-0004fV-0n; Wed, 22 Mar 2023 12:34:15 +0100 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla , Steev Klimaszewski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 5/6] arm64: dts: qcom: sc8280xp-x13s: add pmic regulator supplies Date: Wed, 22 Mar 2023 12:33:17 +0100 Message-Id: <20230322113318.17908-6-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230322113318.17908-1-johan+linaro@kernel.org> References: <20230322113318.17908-1-johan+linaro@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The s11b, s12b, s1c and bob supplies are used by several pmic regulators. Add the missing description to the devicetree. Note that there are still some consumers that are not (fully) described in the devicetree so the supplies must remain marked as always-on for now. Signed-off-by: Johan Hovold --- .../qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index 44cf93ddc1b9..14e8d0a78b60 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -372,7 +372,11 @@ regulators-0 { compatible = "qcom,pm8350-rpmh-regulators"; qcom,pmic-id = "b"; + vdd-l1-l4-supply = <&vreg_s12b>; + vdd-l2-l7-supply = <&vreg_bob>; vdd-l3-l5-supply = <&vreg_s11b>; + vdd-l6-l9-l10-supply = <&vreg_s12b>; + vdd-l8-supply = <&vreg_s12b>; vreg_s10b: smps10 { regulator-name = "vreg_s10b"; @@ -425,7 +429,21 @@ vreg_l6b: ldo6 { regulators-1 { compatible = "qcom,pm8350c-rpmh-regulators"; qcom,pmic-id = "c"; + vdd-bob-supply = <&vreg_vph_pwr>; + vdd-l1-l12-supply = <&vreg_s1c>; + vdd-l2-l8-supply = <&vreg_s1c>; + vdd-l3-l4-l5-l7-l13-supply = <&vreg_bob>; + vdd-l6-l9-l11-supply = <&vreg_bob>; + vdd-l10-supply = <&vreg_s11b>; + + vreg_s1c: smps1 { + regulator-name = "vreg_s1c"; + regulator-min-microvolt = <1880000>; + regulator-max-microvolt = <1900000>; + regulator-initial-mode = ; + regulator-always-on; + }; vreg_l1c: ldo1 { regulator-name = "vreg_l1c"; @@ -462,6 +480,10 @@ regulators-2 { qcom,pmic-id = "d"; vdd-l1-l4-supply = <&vreg_s11b>; + vdd-l2-l7-supply = <&vreg_bob>; + vdd-l3-l5-supply = <&vreg_s11b>; + vdd-l6-l9-l10-supply = <&vreg_s12b>; + vdd-l8-supply = <&vreg_s12b>; vreg_l3d: ldo3 { regulator-name = "vreg_l3d"; From patchwork Wed Mar 22 11:33:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 13183943 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 EEF8AC6FD1C for ; Wed, 22 Mar 2023 11:32:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230466AbjCVLc4 (ORCPT ); Wed, 22 Mar 2023 07:32:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230449AbjCVLcy (ORCPT ); Wed, 22 Mar 2023 07:32:54 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF58A5ADE9; Wed, 22 Mar 2023 04:32:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3AA0EB81C4D; Wed, 22 Mar 2023 11:32:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 38436C433A0; Wed, 22 Mar 2023 11:32:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679484768; bh=rbznbEaYWjVRE7b0o62igvsq7AgRkoVuxUrn1yLctEE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=P8sTAuVpRUpkaFPFZiRnC135gVrrrFBuRP6dqB7m+z1A3/4bNnybbB4uMtMektIVv vbU8wE6sUdHyggdIH9Hq/7YEDA0x1HW6HWlM2YM4hMkIne95IbPyyMR4zPacsFzldb FFLXuXyP/9eawFIR4KE792hxO80NeOcgnTS5at84dQNaNcb1oP1e3MLR1uvayamXTr 48dko9gd5wExsGKQUf0nqciZqlNVe5+V9VxMdIAg+8T+PGkCHxvU0u7eB7pobFSZKq zvBV270NPvejKvunAEKFhbLk0QLdatm0FAyon/PBzoZ7FlFaV6055HVj9DP2uLj/cc 1jHNGjvelExzA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1pewjP-0004fX-3g; Wed, 22 Mar 2023 12:34:15 +0100 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Srinivas Kandagatla , Steev Klimaszewski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 6/6] arm64: dts: qcom: sc8280xp-x13s: add hid 1.8V supplies Date: Wed, 22 Mar 2023 12:33:18 +0100 Message-Id: <20230322113318.17908-7-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230322113318.17908-1-johan+linaro@kernel.org> References: <20230322113318.17908-1-johan+linaro@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org All the input devices use s10b as 1.8V supply. Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index 14e8d0a78b60..43b7f63b79a2 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -622,6 +622,7 @@ touchscreen@10 { hid-descr-addr = <0x1>; interrupts-extended = <&tlmm 175 IRQ_TYPE_LEVEL_LOW>; vdd-supply = <&vreg_misc_3p3>; + vddl-supply = <&vreg_s10b>; pinctrl-names = "default"; pinctrl-0 = <&ts0_default>; @@ -643,6 +644,7 @@ touchpad@15 { hid-descr-addr = <0x1>; interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>; vdd-supply = <&vreg_misc_3p3>; + vddl-supply = <&vreg_s10b>; pinctrl-names = "default"; pinctrl-0 = <&tpad_default>; @@ -659,6 +661,7 @@ touchpad@2c { hid-descr-addr = <0x20>; interrupts-extended = <&tlmm 182 IRQ_TYPE_LEVEL_LOW>; vdd-supply = <&vreg_misc_3p3>; + vddl-supply = <&vreg_s10b>; pinctrl-names = "default"; pinctrl-0 = <&tpad_default>; @@ -673,6 +676,7 @@ keyboard@68 { hid-descr-addr = <0x1>; interrupts-extended = <&tlmm 104 IRQ_TYPE_LEVEL_LOW>; vdd-supply = <&vreg_misc_3p3>; + vddl-supply = <&vreg_s10b>; pinctrl-names = "default"; pinctrl-0 = <&kybd_default>;