From patchwork Fri Mar 14 14:54:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 873907 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A3A4D7485; Fri, 14 Mar 2025 14:55:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741964107; cv=none; b=I1DCDiXAsjIAeKzTDEqfSj5cPDTjvlG1hcsoGbRWGrP4FLGrFJIF5jLmjcE14wttjPxHcPyOW7ju/TN1QShkgCA8ImCPujA9e4fDF9u11DbFb5HfQbrC/kXmG+FThqbJlWkGJFZyK2bJhkFvcbbZFcATVnkZjOEG06zI1cMMWMk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741964107; c=relaxed/simple; bh=Y7suO4Icu91JTInezlVFwg/llfVrPdESwvywRZKTwVw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=a1zg3+YOv/nRH+wwWQG9RAxr4YkkS2c2xh6dPClXIBtvc/0Kpt3jmlbUhQ3IbP0c8JuBek5MCsNVnXxYlA9lwAxQgAuG/eEWPssCWRP67mB7c+2t5o8ZOj65zLlPTVoHCbQI99iLtMVvfkkrC3pjkxW8AN22IUorkm+ucHc7lcs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZE9VqMza; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZE9VqMza" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D42DC4CEE9; Fri, 14 Mar 2025 14:55:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1741964107; bh=Y7suO4Icu91JTInezlVFwg/llfVrPdESwvywRZKTwVw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZE9VqMzaA0XQsHHgemK96xL6vlHy1ptD2FleIPSdLODCOXOArE06JObdn5PAYwAMu oht9vi+9nXrrre4yv23hm2HSOI8WfmCD/uqp4Prpmz63BVeLKG2enOPtw8yz1yoLZM /1msXs/oskrp3TOCM6rc1tSuL5yldKSIIAJfT0P7//t16jFYfWJxZDW8nC2hGMEQ3o csCtk/9DNfhx6ddJvDRmWs7lW5hZ/FeXBRC0wPObHP/ZwqiZhsVtLSJO5p/zVNYyMg BrsHBuu5fSIP1GrmfL+loYA2xXmCA87H/6cTJq15BjuQSs2xIdvRqJGVdM91/v0Fg1 WvStGlKriWa7w== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1tt6RG-000000002yW-2Hcq; Fri, 14 Mar 2025 15:55:06 +0100 From: Johan Hovold To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , stable@vger.kernel.org, Abel Vesa , Rajendra Nayak , Sibi Sankar , Konrad Dybcio Subject: [PATCH v2 1/8] arm64: dts: qcom: x1e80100-crd: mark l12b and l15b always-on Date: Fri, 14 Mar 2025 15:54:33 +0100 Message-ID: <20250314145440.11371-2-johan+linaro@kernel.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250314145440.11371-1-johan+linaro@kernel.org> References: <20250314145440.11371-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The l12b and l15b supplies are used by components that are not (fully) described (and some never will be) and must never be disabled. Mark the regulators as always-on to prevent them from being disabled, for example, when consumers probe defer or suspend. Fixes: bd50b1f5b6f3 ("arm64: dts: qcom: x1e80100: Add Compute Reference Device") Cc: stable@vger.kernel.org # 6.8 Cc: Abel Vesa Cc: Rajendra Nayak Cc: Sibi Sankar Reviewed-by: Konrad Dybcio Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/x1-crd.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1-crd.dtsi b/arch/arm64/boot/dts/qcom/x1-crd.dtsi index 9e587dc57532..22ebcbe54e24 100644 --- a/arch/arm64/boot/dts/qcom/x1-crd.dtsi +++ b/arch/arm64/boot/dts/qcom/x1-crd.dtsi @@ -610,6 +610,7 @@ vreg_l12b_1p2: ldo12 { regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; regulator-initial-mode = ; + regulator-always-on; }; vreg_l13b_3p0: ldo13 { @@ -631,6 +632,7 @@ vreg_l15b_1p8: ldo15 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-initial-mode = ; + regulator-always-on; }; vreg_l16b_2p9: ldo16 { From patchwork Fri Mar 14 14:54:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 873533 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A3AA01990BA; Fri, 14 Mar 2025 14:55:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741964107; cv=none; b=reIgXlF6+8eDFgyMngqa7WhDsn5dISxeS8JHmRuSzUhhczcxdLhgSTiGrN1fh791XTBDA2aWIoRsDT8qSjoGfy1bDiQ9z/9WEP04xLHB6YPD1OFW8OK9wo3I7N5ToySD8BxL1hKKI672P+CJS2JPF1F6/BYr0tEXX9JG/C4/i/A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741964107; c=relaxed/simple; bh=TL1x3unFGI6eej+kotTyG0CyOGPF3gwX6bOhF2m87o0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=R7R0W45AlWNLI8efSaL1+HGc3JwsMsxc3fhbSC6I0X8eQDdxLss0mvOiZoyCwifsHJD0wEvW48Ryj1tKp7U3gsSDw4qCunavLHtvtPUzz0pQZ4N5MRWTLaO/KGr+ZXvAF21Td3edPuyNsMJazjJKjwzY+dUoef/QhGApi/XfBD0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XxDgqUfZ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XxDgqUfZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3701BC4CEEE; Fri, 14 Mar 2025 14:55:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1741964107; bh=TL1x3unFGI6eej+kotTyG0CyOGPF3gwX6bOhF2m87o0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XxDgqUfZh/bqoJAkA6fik28w1sW6TyfCWhQb2p4R8QGqGUFXoiaac2FZUIlBwNpfd wXU0TYmOKXzO6yO1ZFKoi76hpk+e+kHJLwqbahSLwpoeMweRcnS+Y68mqUppe1IM7G cWm140t5gxRkbLwmGBGho/vQHK1lgtgcPxSuQHocoDM8MJgLfqWhXZlw5mJq+yLpMZ A/CLXmw8NIAXBHBCqxIodqVRUV8tMO141L57EUhFDz9YpTu6mYq442a3tFf2zXbZuv DE2pB+EAtCgNqB6OemO++j4Lug5V3WkemVmxfDMnrr9RdtOg8/sobPWRwAHXT9Ixd0 G0DeWOJWS54Ug== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1tt6RG-000000002yY-2brI; Fri, 14 Mar 2025 15:55:06 +0100 From: Johan Hovold To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , stable@vger.kernel.org, Konrad Dybcio Subject: [PATCH v2 2/8] arm64: dts: qcom: x1e78100-t14s: mark l12b and l15b always-on Date: Fri, 14 Mar 2025 15:54:34 +0100 Message-ID: <20250314145440.11371-3-johan+linaro@kernel.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250314145440.11371-1-johan+linaro@kernel.org> References: <20250314145440.11371-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The l12b and l15b supplies are used by components that are not (fully) described (and some never will be) and must never be disabled. Mark the regulators as always-on to prevent them from being disabled, for example, when consumers probe defer or suspend. Fixes: 7d1cbe2f4985 ("arm64: dts: qcom: Add X1E78100 ThinkPad T14s Gen 6") Cc: stable@vger.kernel.org # 6.12 Reviewed-by: Konrad Dybcio Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi index eff0e73640bc..160c052db1ec 100644 --- a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi @@ -456,6 +456,7 @@ vreg_l12b_1p2: ldo12 { regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; regulator-initial-mode = ; + regulator-always-on; }; vreg_l13b_3p0: ldo13 { @@ -477,6 +478,7 @@ vreg_l15b_1p8: ldo15 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-initial-mode = ; + regulator-always-on; }; vreg_l17b_2p5: ldo17 { From patchwork Fri Mar 14 14:54:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 873906 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BE50C201023; Fri, 14 Mar 2025 14:55:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741964107; cv=none; b=C6n/SV8r8Wn2WgzP7KFS6sXJbjupqwqCL6bKy3CWmtRaPkuT8jkOR6UOz9ydedhn8bbW6X267iUXLch8qYOAYaBSnXfpF4JBt4XD+AC/iBMzMzja8adEQ/HbYbWETxlE4FGZpjSVHAkYv1qBL6B5ayzKpEelWIKmIuourOXWymY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741964107; c=relaxed/simple; bh=Y8prsE6Y5MKFwYqCup4Meyy9MxW2K2AeXHpaDDkmur4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=jetUW6TmpJ4/Qx6GpeMPatAyVjXZfCAvZjpg1saJdsvxjjsvLHpIIlCNcXwpmJSxv9anIYgYuO0AFLxxzOh4t8ael+rWIDm/3LciN8vyeu/SEHOhSx4ZwGq0Cy7p8uPp7walL9Vt6zmcrbGzBF3NbJh1yD1d26Bj26be9PYTH0Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PIhbaPGN; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PIhbaPGN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 63720C4CEFB; Fri, 14 Mar 2025 14:55:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1741964107; bh=Y8prsE6Y5MKFwYqCup4Meyy9MxW2K2AeXHpaDDkmur4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PIhbaPGNDHzT/y7NObdZ6d9emLKhChlJUlqybaDts3/vGngHJD24N3ky+oVqDzZj3 3iEmGrYZjDMIvM2jBESo38rqW5/JHBTJ7LidilcnoVdtVM5Rcuo2IHt13duh6g1r1f oRP9ddd+JYbhadWkvYFQCIEk4IF1541R7q9lRiK7gtpX0gSvuXo2PqaoY8JHZ9cj4a zxdMEPmVZRzxkyw/Jh7w3/3k38TmMIZUfXnVC2ocPPyX+YEO71lwL0EiVrzoFTHZJg /sTnB2WiDshTN869q0FOMJjG3N+0JMkPFqCBvDPRn2DEZqWZfNtvQo2RfaC8v8ccd0 KY8saT5/vFSvg== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1tt6RG-000000002ya-2wLt; Fri, 14 Mar 2025 15:55:06 +0100 From: Johan Hovold To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , stable@vger.kernel.org, Sibi Sankar , Konrad Dybcio Subject: [PATCH v2 3/8] arm64: dts: qcom: x1e001de-devkit: mark l12b and l15b always-on Date: Fri, 14 Mar 2025 15:54:35 +0100 Message-ID: <20250314145440.11371-4-johan+linaro@kernel.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250314145440.11371-1-johan+linaro@kernel.org> References: <20250314145440.11371-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The l12b and l15b supplies are used by components that are not (fully) described (and some never will be) and must never be disabled. Mark the regulators as always-on to prevent them from being disabled, for example, when consumers probe defer or suspend. Fixes: 7b8a31e82b87 ("arm64: dts: qcom: Add X1E001DE Snapdragon Devkit for Windows") Cc: stable@vger.kernel.org # 6.14 Cc: Sibi Sankar Reviewed-by: Konrad Dybcio Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/x1e001de-devkit.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e001de-devkit.dts b/arch/arm64/boot/dts/qcom/x1e001de-devkit.dts index 5e3970b26e2f..f92bda2d34f2 100644 --- a/arch/arm64/boot/dts/qcom/x1e001de-devkit.dts +++ b/arch/arm64/boot/dts/qcom/x1e001de-devkit.dts @@ -507,6 +507,7 @@ vreg_l12b_1p2: ldo12 { regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; regulator-initial-mode = ; + regulator-always-on; }; vreg_l13b_3p0: ldo13 { @@ -528,6 +529,7 @@ vreg_l15b_1p8: ldo15 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-initial-mode = ; + regulator-always-on; }; vreg_l16b_2p9: ldo16 { From patchwork Fri Mar 14 14:54:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 873532 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BE4B21FF7C1; Fri, 14 Mar 2025 14:55:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741964107; cv=none; b=IMYqokV94CskV04ax10z88rWIf/dkw2BlY/jgzYi0l1thu8zc/rAl+p/n2Zna7ZhGMAIOe5byH4j79ZACCCrgvdOGVeVsFCtOwufITtLdPpK4oEtjc7VXC05sysjUae0BywNTYIMKtPwOkOvYEEf6sEWQgGfrE/dJSnT+kFPygc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741964107; c=relaxed/simple; bh=HLfYPHE6VAicm5TNJprnO5kbgrg42RQpUDkE+CAUiWU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=VZhlMkHM+QvqM9suUmMmOkvgAmWO6vHZ4mAA4N3bYzdXGyxAnmNnsjWTyA9JbGW2/mroztV5mPrZEYNGibc1YOW/D2+uFfFpF0RPckW0bgiu7J5ze+9KmaSdOdC/CUcTGepCskSvFMiufFvUvJJw97rQay6H1XBh6C/ypYbQrMc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HWJxuGsd; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HWJxuGsd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60F16C4CEF6; Fri, 14 Mar 2025 14:55:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1741964107; bh=HLfYPHE6VAicm5TNJprnO5kbgrg42RQpUDkE+CAUiWU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HWJxuGsdfvnIWYl3nv5bW7sYwBGZYK10lJlZg40t3iFWWi/nAZgz/8JpzZPHuNAWz sSDxNegN8oiTMlvwwORUTBfIpSGJYbouTZaXmSinVdhggh9nLWIZglfRMBJzCRb3YF yWa9f9WNFtHN5QX2zoT3uJQvUkD48Sn1m8Qiu6Pku0f6UV6eR/rdLRSJkVPB2to171 cjrMLBY96b4A1QU2m3qXZMkVFP1IvXFb9/3G99bDSRXqsQ/MTAYlN0ixl3Zwb/ABvg 1y+89Map7AaJCvPIYQJqZHT59lAeb0E8RWUFJP2O+3TpnvSLWsBG5WqUZ0c3g2rQ/l 8bw8b605RKFfg== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1tt6RG-000000002yd-3IBW; Fri, 14 Mar 2025 15:55:06 +0100 From: Johan Hovold To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , stable@vger.kernel.org, Aleksandrs Vinarskis , Konrad Dybcio Subject: [PATCH v2 4/8] arm64: dts: qcom: x1e80100-dell-xps13-9345: mark l12b and l15b always-on Date: Fri, 14 Mar 2025 15:54:36 +0100 Message-ID: <20250314145440.11371-5-johan+linaro@kernel.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250314145440.11371-1-johan+linaro@kernel.org> References: <20250314145440.11371-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The l12b and l15b supplies are used by components that are not (fully) described (and some never will be) and must never be disabled. Mark the regulators as always-on to prevent them from being disabled, for example, when consumers probe defer or suspend. Note that these supplies currently have no consumers described in mainline. Fixes: f5b788d0e8cd ("arm64: dts: qcom: Add support for X1-based Dell XPS 13 9345") Cc: stable@vger.kernel.org # 6.13 Reviewed-by: Aleksandrs Vinarskis Tested-by: Aleksandrs Vinarskis Reviewed-by: Konrad Dybcio Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts b/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts index 86e87f03b0ec..90f588ed7d63 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-dell-xps13-9345.dts @@ -359,6 +359,7 @@ vreg_l12b_1p2: ldo12 { regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; regulator-initial-mode = ; + regulator-always-on; }; vreg_l13b_3p0: ldo13 { @@ -380,6 +381,7 @@ vreg_l15b_1p8: ldo15 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-initial-mode = ; + regulator-always-on; }; vreg_l17b_2p5: ldo17 { From patchwork Fri Mar 14 14:54:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 873531 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F2A1F20127E; Fri, 14 Mar 2025 14:55:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741964108; cv=none; b=uIllAUHhY49+L9MKzgmZ4qnD8ixnM6SnuEKJaJswlU6fbrfLsXKPkG5k/FS7OBTEPtyXbjQSuBqzampNHVf2W6OuH85CoNwGsZUHbG2NNMOMnci0R2kPDU6jRJHbhGb1Wvv1Px082CDkxFCbXBHpqsAdyl5NAXmvmhqEstyVFM0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741964108; c=relaxed/simple; bh=fyUDZ20iDp3j6LvLZUitJHWbZq4/yDo+RueH3P32NK0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SeoI5Oj1ISVY8eWFxu7qSpf7O0wTrUW2p+ZCFKTYrgqmsQbT9baALYClwwHmOmj8C5Gk5N7aCoaO+o/VwiMheWyjUvRqyavPGcgMhre1sl/J3SXmy6KdJIUz/9kyguE5/S3oshdSE7f8pPnO/fVRKhxlX2NHbRD/e0Uw7WJJw/M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tVZc0CG9; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tVZc0CG9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D42DC4CEFE; Fri, 14 Mar 2025 14:55:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1741964107; bh=fyUDZ20iDp3j6LvLZUitJHWbZq4/yDo+RueH3P32NK0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tVZc0CG9T4+TmRYrkfPJYroB2muYLjtNC6CUPFi9AD9X1fzwBnEPg/ZBNpiS64f2H +0juCQBOuwXMsmiwH/zYz4uVUaowViXIetB5wENNjbPr6ssqgQcOwrxQnztIzbawgC FDakKWDeZTDunJP5fPjKWj5qejdO3qyas05A5TZoDKto/Af2pkDPM6vW/sBRpbZleD qqPhrcl85kdDSBP1IGGQHXlDVY1D+VLrdANahA/dEfmAsKWV95N2pBTQXSDDnQTdFc +OKAgAKYA6h1aeI5GrndPuZsajTmabOC44t8cdPn2W6G2AQt/1kzvEXycS1FOUJcfY fjtbBcMk5iuFg== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1tt6RG-000000002yf-3fQG; Fri, 14 Mar 2025 15:55:06 +0100 From: Johan Hovold To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , stable@vger.kernel.org, Jens Glathe , Konrad Dybcio Subject: [PATCH v2 5/8] arm64: dts: qcom: x1e80100-hp-x14: mark l12b and l15b always-on Date: Fri, 14 Mar 2025 15:54:37 +0100 Message-ID: <20250314145440.11371-6-johan+linaro@kernel.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250314145440.11371-1-johan+linaro@kernel.org> References: <20250314145440.11371-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The l12b and l15b supplies are used by components that are not (fully) described (and some never will be) and must never be disabled. Mark the regulators as always-on to prevent them from being disabled, for example, when consumers probe defer or suspend. Fixes: 6f18b8d4142c ("arm64: dts: qcom: x1e80100-hp-x14: dt for HP Omnibook X Laptop 14") Cc: stable@vger.kernel.org # 6.14 Cc: Jens Glathe Reviewed-by: Konrad Dybcio Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts b/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts index cd860a246c45..ab5addb33b7a 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-hp-omnibook-x14.dts @@ -633,6 +633,7 @@ vreg_l12b_1p2: ldo12 { regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; regulator-initial-mode = ; + regulator-always-on; }; vreg_l13b_3p0: ldo13 { @@ -654,6 +655,7 @@ vreg_l15b_1p8: ldo15 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-initial-mode = ; + regulator-always-on; }; vreg_l16b_2p9: ldo16 { From patchwork Fri Mar 14 14:54:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 873530 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F2AA920127F; Fri, 14 Mar 2025 14:55:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741964108; cv=none; b=Ipydt/qX/O9Qw/Iad1QGDHQTTuRbHmdqrZy0h2JpkjzhwrVtbKRRf/Wmrayhps8XYox5R8Awc4PQekmBR2kK/DpkCK/7KwdoD0nsHMsAy0fEtX4YvjNO9ldboikD3NPKRQ2u9l/8K5WGQIPOEW78hhmnC2TR13LkSHR9Bea1BpU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741964108; c=relaxed/simple; bh=ZfL0Nio9i8WqvtbYroDAaV9ncJyzYPS4PrbFpZjWVLg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pbezZmprt9TLyRo9nNSeISb9ziGtySlVb7tAOyCh9/KcD02fYGbk9VKD8Bd5bGoTZuqS5v3EHLQygbsIGILZbb6sR5xNe6uCTN/Kw+z2/ZXBINHK+D+9m07IZF6VOGTblLVcfSkR6mCZg4SFhdI48ZhDelWl/mUq5NPoZhtTP08= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EnD7jXoi; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EnD7jXoi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92963C113D0; Fri, 14 Mar 2025 14:55:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1741964107; bh=ZfL0Nio9i8WqvtbYroDAaV9ncJyzYPS4PrbFpZjWVLg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EnD7jXoi2O4pfXG7cjoW1ZXD5nz7kB2TSmIu3M5LKP5oIeoFS4nY2CcM9IURuqxYA bPyjXDSP/TDhdRAq11PfbD1fLbMP78uo4Lycv81/W2Gyzbg40KENVhmvprSN8Of0eP Xqg0hBin94xP4STgmw5iOBqI7baWxDVL8FfuXbEPECOXB81dk1hQ9WDZ38Tf7ndRqh tkUBsJmX9a1VTsdfoPEg5OHQRZVMLUXfCeCen6PqKs5qYVT8NNN7aYSmBBoLP3UvU0 4T31S99riKSlA/omB+sHnWulg3PA/raKfJ3OOSeul2R0IR5g8XERPbSilLt0C40bhn N35nZj+iN9rQw== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1tt6RG-000000002yj-45US; Fri, 14 Mar 2025 15:55:07 +0100 From: Johan Hovold To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , stable@vger.kernel.org, Srinivas Kandagatla , Konrad Dybcio Subject: [PATCH v2 6/8] arm64: dts: qcom: x1e80100-yoga-slim7x: mark l12b and l15b always-on Date: Fri, 14 Mar 2025 15:54:38 +0100 Message-ID: <20250314145440.11371-7-johan+linaro@kernel.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250314145440.11371-1-johan+linaro@kernel.org> References: <20250314145440.11371-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The l12b and l15b supplies are used by components that are not (fully) described (and some never will be) and must never be disabled. Mark the regulators as always-on to prevent them from being disabled, for example, when consumers probe defer or suspend. Fixes: 45247fe17db2 ("arm64: dts: qcom: x1e80100: add Lenovo Thinkpad Yoga slim 7x devicetree") Cc: stable@vger.kernel.org # 6.11 Cc: Srinivas Kandagatla Reviewed-by: Konrad Dybcio Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts b/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts index a3d53f2ba2c3..9d4ba9728355 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts @@ -290,6 +290,7 @@ vreg_l12b_1p2: ldo12 { regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; regulator-initial-mode = ; + regulator-always-on; }; vreg_l14b_3p0: ldo14 { @@ -304,8 +305,8 @@ vreg_l15b_1p8: ldo15 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-initial-mode = ; + regulator-always-on; }; - }; regulators-1 { From patchwork Fri Mar 14 14:54:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 873904 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F2BBB202961; Fri, 14 Mar 2025 14:55:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741964108; cv=none; b=kaXhe5DCGCf+r9YI8rrSDsILYhsgJ20tJJ7X05dVoYYxTZsaQKGYN+5m6Ahc77BDXLxcLFs6CTPb6QZ0TheVSoAZTWCE8+jnNwgxqZ4q5NTfXOGa1KfTW+7JDX+r3MSU5c48BHPTdULb+G0sFOVaVNWdjr8PGNsT7+TTJebQIoA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741964108; c=relaxed/simple; bh=fI28x3Kb0wSd41ADQjit6RLTqB9WgFWsDerWkeZyr8I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XPJEaumxkiyuxvqLjRfXHveq0VfJmA1/BbJx/MDFeD6Ra90QGa9sJv1glHpowoW63IPVppxNrxbQMgRDwKlB6xkEplH6/nslz1G54upSh/qhM0MZrqI+E3CBNcN805iOlrNX7kmv/QKUXHg31J4sYEv56wd1X+e5SO/juEi5p5M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JeIzwUz2; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JeIzwUz2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B55D4C4AF19; Fri, 14 Mar 2025 14:55:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1741964107; bh=fI28x3Kb0wSd41ADQjit6RLTqB9WgFWsDerWkeZyr8I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JeIzwUz2ManLaexSCIhf0YF5LzZ2QwRFP1m8coAuSr+Ez9uo78Wl3PimyX80Z+cta PnmUlwomIPuuoU0dlsIrpQbBeyDKVxqFjTIaplU+OFE70yeOa/PpLJTzVg+3aUm1y7 105TZyNxvxD7L0ebo/5/4vpiZJOOzxiUlJsR8L4eDo2APYM1zbnJFw1YB2figYztGE II/Cb6HiAXLnhAFpzcT10AllSQIkijIpOPQsWjMzXpJEDRrUPn1WHbMzmNUzrHE3DO wXIfKxidslEWHql0Xkb+GV6Mlut1NZkhi354NjybB0Q+thAjBvomdkSSKA2nntBiU1 XKKEf00+fquwQ== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1tt6RH-000000002ym-0Hh8; Fri, 14 Mar 2025 15:55:07 +0100 From: Johan Hovold To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , stable@vger.kernel.org, Rajendra Nayak , Konrad Dybcio Subject: [PATCH v2 7/8] arm64: dts: qcom: x1e80100-qcp: mark l12b and l15b always-on Date: Fri, 14 Mar 2025 15:54:39 +0100 Message-ID: <20250314145440.11371-8-johan+linaro@kernel.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250314145440.11371-1-johan+linaro@kernel.org> References: <20250314145440.11371-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The l12b and l15b supplies are used by components that are not (fully) described (and some never will be) and must never be disabled. Mark the regulators as always-on to prevent them from being disabled, for example, when consumers probe defer or suspend. Fixes: af16b00578a7 ("arm64: dts: qcom: Add base X1E80100 dtsi and the QCP dts") Cc: stable@vger.kernel.org # 6.8 Cc: Rajendra Nayak Reviewed-by: Konrad Dybcio Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts index ec594628304a..8f366bf61bbd 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts @@ -437,6 +437,7 @@ vreg_l12b_1p2: ldo12 { regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; regulator-initial-mode = ; + regulator-always-on; }; vreg_l13b_3p0: ldo13 { @@ -458,6 +459,7 @@ vreg_l15b_1p8: ldo15 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-initial-mode = ; + regulator-always-on; }; vreg_l16b_2p9: ldo16 { From patchwork Fri Mar 14 14:54:40 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 873905 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F29BB20127A; Fri, 14 Mar 2025 14:55:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741964108; cv=none; b=cnNbUXZLOiAol1bHpx09Lz26RaVuiZSoeHgU3Y8F6xvHi8E0qL4SCuxLTNrEqGPm8kGC7gkflwTn4Vbf5lrY4yYdPulbx9S5l1KPoEIz8ffLMRXnD9BLH5xWrM966e+FwmwcHG2LiZ5oTAOJrBoliGRIc+vz2gC/4sGx823/4Fk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741964108; c=relaxed/simple; bh=i7kZ6wYmuRLaAfIOVM6uuzu3RdGVBiH3IGLM285iByg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GSQ0X4jLT0rydWCQxMKbeH69fP5czVyST7NuksKfdLEWk4fDB93Qw8FH45EQiXY9znh0/RlPOPxvJ+33RcTo+ig73Cy48uZ1orlf7JX8qQ9fAgUiMBhLgVouDc0EIQhjAz2Q7EH3NQxWg3hWnVrH7KxZTPZglAdDKX0NbjOnKzc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Ydn7qrBr; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ydn7qrBr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B62BBC16AAE; Fri, 14 Mar 2025 14:55:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1741964107; bh=i7kZ6wYmuRLaAfIOVM6uuzu3RdGVBiH3IGLM285iByg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ydn7qrBrfmr5u8KDgeRf2n5WCMY1T7cdDKI/NMDmoqlxEfNHqKQgfBwdYpme91Eo3 vTm+yARnZ2ThDaztBMGVD7ZBjbxl/S6mzFEPyw/QUJ7h3SALYSsa1Z2X4/+570kHaw cfrE61qXKgYNys3xkGx9qF97f5dSpag4ebFUiugw8/aFwHaJ8rLG8uvcGK1EahpCqf xXO8I1cuhAyUANmx9LDlUTWEw9Mm/CjXcDe1ujDZyRSfL6OxVSQSACoM4nXCULfZ6e nXdqnWnXnjGdhFPPP1fqz27eJ31ZZ3nlF6ogLSdrZQoAMGoRFYsJXzSqGLB4F3VnSz UzxRhv7fTogiw== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1tt6RH-000000002yp-0gi8; Fri, 14 Mar 2025 15:55:07 +0100 From: Johan Hovold To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , stable@vger.kernel.org, Konrad Dybcio Subject: [PATCH v2 8/8] arm64: dts: qcom: x1e78100-t14s: fix missing HID supplies Date: Fri, 14 Mar 2025 15:54:40 +0100 Message-ID: <20250314145440.11371-9-johan+linaro@kernel.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250314145440.11371-1-johan+linaro@kernel.org> References: <20250314145440.11371-1-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add the missing HID supplies to avoid relying on other consumers to keep them on. This also avoids the following warnings on boot: i2c_hid_of 0-0010: supply vdd not found, using dummy regulator i2c_hid_of 0-0010: supply vddl not found, using dummy regulator i2c_hid_of 1-0015: supply vdd not found, using dummy regulator i2c_hid_of 1-002c: supply vdd not found, using dummy regulator i2c_hid_of 1-0015: supply vddl not found, using dummy regulator i2c_hid_of 1-002c: supply vddl not found, using dummy regulator i2c_hid_of 1-003a: supply vdd not found, using dummy regulator i2c_hid_of 1-003a: supply vddl not found, using dummy regulator Note that VCC3B is also used for things like the modem which are not yet described so mark the regulator as always-on for now. Fixes: 7d1cbe2f4985 ("arm64: dts: qcom: Add X1E78100 ThinkPad T14s Gen 6") Cc: stable@vger.kernel.org # 6.12 Reviewed-by: Konrad Dybcio Signed-off-by: Johan Hovold --- .../qcom/x1e78100-lenovo-thinkpad-t14s.dtsi | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi index 160c052db1ec..962fb050c55c 100644 --- a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dtsi @@ -9,6 +9,7 @@ #include #include #include +#include #include #include "x1e80100.dtsi" @@ -169,6 +170,23 @@ vreg_edp_3p3: regulator-edp-3p3 { regulator-boot-on; }; + vreg_misc_3p3: regulator-misc-3p3 { + compatible = "regulator-fixed"; + + regulator-name = "VCC3B"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + gpio = <&pm8550ve_8_gpios 6 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-0 = <&misc_3p3_reg_en>; + pinctrl-names = "default"; + + regulator-boot-on; + regulator-always-on; + }; + vreg_nvme: regulator-nvme { compatible = "regulator-fixed"; @@ -692,6 +710,9 @@ touchpad@15 { hid-descr-addr = <0x1>; interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>; + vdd-supply = <&vreg_misc_3p3>; + vddl-supply = <&vreg_l12b_1p2>; + wakeup-source; }; @@ -703,6 +724,9 @@ touchpad@2c { hid-descr-addr = <0x20>; interrupts-extended = <&tlmm 3 IRQ_TYPE_LEVEL_LOW>; + vdd-supply = <&vreg_misc_3p3>; + vddl-supply = <&vreg_l12b_1p2>; + wakeup-source; }; @@ -714,6 +738,9 @@ keyboard@3a { hid-descr-addr = <0x1>; interrupts-extended = <&tlmm 67 IRQ_TYPE_LEVEL_LOW>; + vdd-supply = <&vreg_misc_3p3>; + vddl-supply = <&vreg_l15b_1p8>; + pinctrl-0 = <&kybd_default>; pinctrl-names = "default"; @@ -896,6 +923,9 @@ touchscreen@10 { hid-descr-addr = <0x1>; interrupts-extended = <&tlmm 51 IRQ_TYPE_LEVEL_LOW>; + vdd-supply = <&vreg_misc_3p3>; + vddl-supply = <&vreg_l15b_1p8>; + pinctrl-0 = <&ts0_default>; pinctrl-names = "default"; }; @@ -1037,6 +1067,19 @@ usb0_3p3_reg_en: usb0-3p3-reg-en-state { }; }; +&pm8550ve_8_gpios { + misc_3p3_reg_en: misc-3p3-reg-en-state { + pins = "gpio6"; + function = "normal"; + bias-disable; + drive-push-pull; + input-disable; + output-enable; + power-source = <1>; /* 1.8 V */ + qcom,drive-strength = ; + }; +}; + &pm8550ve_9_gpios { usb0_1p8_reg_en: usb0-1p8-reg-en-state { pins = "gpio8";