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: 73373 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2289299wrt; Wed, 22 Mar 2023 04:36:22 -0700 (PDT) X-Google-Smtp-Source: AK7set8oscFUJUvXJ+WiAqC7ri0raDiqg+6+btvNPB/ZppgFS5KILl1XYRKIO/clMgYtvWb6DJQx X-Received: by 2002:a17:90b:4a86:b0:233:cd29:f168 with SMTP id lp6-20020a17090b4a8600b00233cd29f168mr3458418pjb.24.1679484982179; Wed, 22 Mar 2023 04:36:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679484982; cv=none; d=google.com; s=arc-20160816; b=AJv2kKxkRV1NxCp0K8by/8h53938WSYpKrwrOm1W4bXOM/4Hib2Kez0gjF6wOlaCbB BpKKCCI4vl8pe7Ix1CdjdxwmzryetwtePSXOfchXBEKdrP3nNpbGa+B6OOM9w0x707/B SEgFz1C4ExAExhdxrgS1GWk9fta83n01HG3Fa85EiM+LVqLTgte3yRT79xU3KVy4cB/b L1TD1EmRURhfOa189uXm7oiisDl8GcdUSmkgaYolT8cvz0CQmEm9keQwttUd0o/LlYFS a+jOiGmuvFIKtdHHgoBfI2fj2UEo3sb5hFTd+DwfmT5kOjj2iJcB/8g01SnaCtMdnmEs 8m7g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3/1233ljRx4yP6udhyyFndn3zmv9CX/iu7HrVPxnYwA=; b=Q1uHBK0gRdozbQl8RMwPn3PUVEAJlvy7tWE4gzD319s3Cv28CBhV1ybnG50NaWtr9d 6X3JkA2ta9TY8fu6qyawc9gvhwraSiVl2tC4Mk914awlQYBdQtwqD5pHi/FMi/h9LnEu bhOWwAK7qJaAYFI1C63UsGpenEs+9F8VMsN3fdVfmnajCrgdWtyWeaMoFQZuLZQUMJhe FHe3BAyzxQJOXbRGkPdIPS9mCajwNIAD/xw9Pz0MZYBGBV84xA53QS6W58Ii6sKuDlCv N7BwGsiNJqCfUuGG0t4Uke18IumnHEy0iQ9EAqXf6k536FSUdt1Mvu0w5pUK97QtRR8w /omQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hdS+FNlj; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r6-20020a17090a690600b0023672f9f970si21336687pjj.5.2023.03.22.04.36.09; Wed, 22 Mar 2023 04:36:22 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hdS+FNlj; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230464AbjCVLc4 (ORCPT + 99 others); Wed, 22 Mar 2023 07:32:56 -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 X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761067644294831981?= X-GMAIL-MSGID: =?utf-8?q?1761067644294831981?= 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: 73372 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2289147wrt; Wed, 22 Mar 2023 04:36:02 -0700 (PDT) X-Google-Smtp-Source: AK7set96kACddgykb41XqvraZpekku6t1LOMELUJ9pvPx9JrY4qS/BTCyEsLAjApukUL6CJ7D94w X-Received: by 2002:a05:6a00:cd:b0:627:fea9:2060 with SMTP id e13-20020a056a0000cd00b00627fea92060mr3276165pfj.13.1679484962595; Wed, 22 Mar 2023 04:36:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679484962; cv=none; d=google.com; s=arc-20160816; b=vnaTdUddZ+RDSg1X0OqTnmBILAik4uNSyL0L6EIDgBq4+/EtsEUfD253wgZ95IOZWK qhBx0L4KKkG6iTzuMSwyGJ7KSemdtK9tnqzRQ7u7YN4OOdPDm7ro8BgcTaMeyxzU7N4o 1emSV6BmYXgYl/bpCg8gJXX2NmZKuyd4nwDY2pKOs0K80lShB1t20x3ApbWv4nB/lywp yPHDaH5Oem8yUTAIT+Oz/DNEhPAiGf5tDoBgH9UIcBbjwvbZaSunW2paSaZfPx/vNdVj 9OJGtasHFHi+lVyMJ+xakCY74FThf+7faehU/UNs6qJnUa1n89SFQqvWlTt86c4pQ3s6 awAg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ALgs1joOJ3EjeoWwYuXWbLyX7vhyB/H6QokjKe5Z1Qs=; b=lf+c0Bkl800/G31oIuiWK7x8FXfBDY19jkHz96jzhKMF4ur0pzQuu24X4UfwkImYH9 kNLxdRSklGyft0JFTJ0c0m1ECIETLW/51K6NIj81VPELMGoYieMSZglRZGflZr2IP93g uuN4KRNGRPGyEruFtnLtSeTEG+z5UwiloZXebsZA3OEQ6vlDK1Rid7MBBuSRXEm2FSKR CAe6rerLZZHNAoe6vKRgJ2DYdNDE9RKEwTaKUtv80dVggy3CWxDoVZS1LefTMkCBUkZ2 FyeVvDGC9PYG4GfKCrMCLrF9h5RmR+foNsIhve+lg6pRxAj2TCeNLw0hIn9Cheyjuj/L rr6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XnSSoUHC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d32-20020a631d60000000b0050beb841320si15085011pgm.405.2023.03.22.04.35.50; Wed, 22 Mar 2023 04:36:02 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XnSSoUHC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230372AbjCVLcv (ORCPT + 99 others); Wed, 22 Mar 2023 07:32:51 -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 X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761067624060675069?= X-GMAIL-MSGID: =?utf-8?q?1761067624060675069?= 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: 73374 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2289411wrt; Wed, 22 Mar 2023 04:36:36 -0700 (PDT) X-Google-Smtp-Source: AK7set+fDnjRgOATog7F1V34/xLX5vn7XP6SD7vxgVKHMCFJTmI6L8VpsSnUYJCoFU52Wt3xa1Am X-Received: by 2002:a17:903:886:b0:19c:9420:6236 with SMTP id kt6-20020a170903088600b0019c94206236mr2190196plb.22.1679484996650; Wed, 22 Mar 2023 04:36:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679484996; cv=none; d=google.com; s=arc-20160816; b=yizCnMhfaKgb21FhGtXyLbwIuC4BbJnmNvICXtBqH9MuMD6moMvMBgL5PqNS++sBw3 e2e1rArmPJN9cYg4FsHCVvdl8Rw0dT6pFoC8OFaGWoOzAfVE1dgVi/dv0aOaEZa3yNt2 CWIGnHRNaeTUGkFjpM2XVPPD6AEX+LpxvMiAZFKQ4js/M0kWkVC+zH4Y/f8rFUTHzTSz a9Nkp+tnfcAFtFGGYsI11Ulc5n1R2aVtbAIV1qZoZRFSZEANlthpmSKRj/qGjjWASvwz LP9lR/isZqF/aOoKXNlEziQX50pzsbr6nahrdxEb99F6w0TMNoFUZRhbxpMdo2FnR6hE LMGw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=IG3L/U/Qm5+6Lo+tYG3eZQDQC6jV4TGTB5OZvWNhBfs=; b=Vca9rODJXXQS+vEoDykTi08FDEQ2xqHaAi9I1N1+tQIOGGHHAu4CF2EyY2/nPzOhG1 R2DvyMLTEh/lYk1KloT4P2muwrr1p/LlWwryK/KOq14JP+yvan3VZPngkgTjRB/h9gas RjnRejKVqhj43CfNG4GdTQeQm5xWuH7AdDICfvqywfyl4M5OW4/6ERXrvNTFzXGbWbPs I5JMWOuaQNjImhRX4TIhzCjLowThDqsmzekVg/OvhxyFJOcBlkvajYtKXWACMWRl8IhG JDt5sr6H6WqPikZW6QaLh3HohfdoSXetDypmCA4qdQHLSwompCQe5hCdtcdLaZOdA1r3 BpMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DRNUhAWn; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p17-20020a170902a41100b0019ac13b77efsi15332223plq.158.2023.03.22.04.36.24; Wed, 22 Mar 2023 04:36:36 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DRNUhAWn; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230483AbjCVLdC (ORCPT + 99 others); Wed, 22 Mar 2023 07:33:02 -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 X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761067659950364821?= X-GMAIL-MSGID: =?utf-8?q?1761067659950364821?= 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: 73377 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2291708wrt; Wed, 22 Mar 2023 04:42:39 -0700 (PDT) X-Google-Smtp-Source: AK7set/pXIsVaxA22zTKanMd0mXQSNFixbuvrib+irXzzH62HpvK5U0zdImeG6ZiZC/FW/n0wTRh X-Received: by 2002:a05:6a20:41b:b0:d9:b4a9:3fd8 with SMTP id a27-20020a056a20041b00b000d9b4a93fd8mr5267564pza.51.1679485359022; Wed, 22 Mar 2023 04:42:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679485359; cv=none; d=google.com; s=arc-20160816; b=GHzuRUH9domZ6JzHZ8Gsdkf2o9+tHi+YTpD6KRfi4Bn14FIxxlusnvZUBV2BgvGbzs sf/8/8NnP9+ghPN5wkWeVOdJK8AXRIGkQXj/wStmAcHfqiFShidlLVIOb4GhddEjFBRQ QPWR3y7j54/dq2HaGSpzj4Eue8dQ4nhWn1irW8NGOCfksy9zUdcbNAKHG563UnB+7rvJ Me1SdlVaTzxEt8Tu34WlKRaepTytNutLBnk+1855yw0qsODOdRii9J28VnX81G1GJJ9m R9ZVxczFwOLZhXvoAKhLgKOSl3lbEcv8d4nRMTetV6YTcheGXvZQP8ml9etCoL9Mgve+ DL6Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JJwqIjSz5VfZdU6gM8VwldJ34FLArehRmaXAJSK/9Dg=; b=aAodkDwzneZr2DL+EgRLw259Up9s6iiZvvJInHozGk9U828a2QagrhyV0kT/cy0jq6 RWQZwJFhkNLZVzLj8ozVqD14hrw5/yXPeaV41/i/MiAFVkSqbgaXrbOAKc1wUrEtIg80 Oy1F7jL5McvsjseS+0SuDomEokzZ1Ql6BcGR2XheCartVD/PMybPuulWRAIkHGwZ1MLp XaPbPwSHjEXVd44/pQte/CjkWJMWRLUEx/7K+Zueu80GB9eoXRTsZWgA4jmhW6hva8cA 3qmPitV3Xqhxm/se4EZLTWl2tXJ8VOsUYuT1L/iPcJHpkWBdBPgiQKx9zrxkk7k1BCfV fsag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZefD2SeC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t11-20020a65554b000000b00503000a780asi10355334pgr.153.2023.03.22.04.42.26; Wed, 22 Mar 2023 04:42:39 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZefD2SeC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230477AbjCVLc7 (ORCPT + 99 others); Wed, 22 Mar 2023 07:32:59 -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 X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761068039520997169?= X-GMAIL-MSGID: =?utf-8?q?1761068039520997169?= 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: 73378 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2292142wrt; Wed, 22 Mar 2023 04:43:42 -0700 (PDT) X-Google-Smtp-Source: AK7set8bJKhvrEHqmqWHCxG52crspfRcJk/mSeNkRUD+BkbTc4Uo2qKK0NexcmBW7ljMlrgn9HoA X-Received: by 2002:a17:90b:4c03:b0:23b:3939:9c50 with SMTP id na3-20020a17090b4c0300b0023b39399c50mr3768647pjb.8.1679485422338; Wed, 22 Mar 2023 04:43:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679485422; cv=none; d=google.com; s=arc-20160816; b=XkUu0Q010VgNkGWZM/XBSqNLjcI1QRyltq+hgtJFyFsfV9n3ApJolczG++nWVtJ+7Q t/nnxtyrk0JJbwiVgQUCkRS0g6cQm/OwlmXBhxjJis7hAiwpEkmZh0bUpYph6tPifa9D 7XCDmcNdhM5VuGyJXe/KwGic+718sPL4/Ef/E5aYKCMyfo5dYLG/3R8ylow+ZYJaROp5 sTCf4VJ632ycfe7dcF0whAijvGUCa2fVqGFLs9FaZBICMNRA6Ek0gv5U0NuUwea9M1/l WkFhX//xUwB7z0TFrF92sHBYaG166Fr0sSPkeZw/uxk9QL9N8fKKW6w3J7oadIMkrdcM zZBQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nBRUr9Ry8ikAOLaUN16/9FgVRcDeZ9KO8/EuR2T8vbk=; b=HZnCy1wGohE2/sBcZfgwc4ldEpTVch6czjYAAJTQ5GEDE3+wkKYkk9T2UjCU/xKQDA cpNDMwNfn5RybGNbLphhTCa6WP61R5AXx7JZALpsSqCzJTUhLnuacr/OsRBvjj1zOw/z z736vBsdfiuJDgDv+cPuMEVuW2/+f4INt+SFLBtJqijEhqvt0fWe3rGtUcMXmiCeE/86 ya2C6YnoH3QcAyoCP8+Lum5u4Ci77cSmBB1yr8gCIlEwWwdnKULb5rTWLy6f6N6GJx9o esR426LrV4MWdkhADtSzUuyFIT96yjlkUShiU4Gpua4P/imj0bqPpGKwRcmCwuRHf+RH +aig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q5PuWhGD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h13-20020a17090a648d00b0023fb878c669si7882646pjj.6.2023.03.22.04.43.29; Wed, 22 Mar 2023 04:43:42 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q5PuWhGD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230452AbjCVLcy (ORCPT + 99 others); Wed, 22 Mar 2023 07:32:54 -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 X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761068106408001264?= X-GMAIL-MSGID: =?utf-8?q?1761068106408001264?= 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: 73375 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2289424wrt; Wed, 22 Mar 2023 04:36:39 -0700 (PDT) X-Google-Smtp-Source: AK7set+t4HyRKKzmkXwjdi288Cj2DA/40Dqu0GXzKT+SqV3SveysmCNu6pP/76O1lDdLGaIAMYXB X-Received: by 2002:a05:6a20:1e58:b0:db:bc99:1f4f with SMTP id cy24-20020a056a201e5800b000dbbc991f4fmr238378pzb.32.1679484998948; Wed, 22 Mar 2023 04:36:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679484998; cv=none; d=google.com; s=arc-20160816; b=fPg4ybXBB4DdRlt6KROd+vmeqjnnA9txVAYT3OrLR34ccLDPmcK5QT+IpqJrk2SqUW P7t0B4XDf3ajyPx7sEsr0w057tXQZwxt2nQb5JnvEQrE/h96vHZxZuW+qK1MIwWSY320 DPw93SII5fyVo+j+0hiv7o201/wR03r7l0iepZcmWFg9a2GfYEZ1F4J3wCXU68C4KvF4 eJK3FSNMevo/pOubYIgRDLk49J5t2tAeV6FtYuUb5Ibt3Vn3bykOMyB8n+O3jxaFeQZJ cFUxVigEGUOZ/4GVn9i5BZRSNVF29Ay8M7EsB8gKpuGm8PQbjF3dx/slTU9DYT7IN+lA ZbrA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=0Mc8xCHg6Ib8XZG1j5F6nC5zYR9vcxsEw+EEvCKMhLI=; b=0K0az9vhbSbEP0bELZBgeDjl1GwLqTLtygRAIOq9pK/8I0nst8x2YRwbC82lWr8DKr +2O52/LDkT+A4Lh4zoiSa15uvMrPrvftqndmwm3dKr1q4WEAJCJMknJI4yLrVdh2kVtY exUFjB/JeUEYcPGuKZDDkiPZvZZ6/CzCetJrSApMDxyd+T+ToXzOY7SktowaTfrx+OUg SRRCTF28krKkHcQAUfcMz1lgqmYbDKWVVfLSrQ5ubU8BdFUiJhdvFVV+eRVxJhJ6kMIt 453NHaCbFWwA4bDEqepb95I+8yypyZC52cO50ESp2tM9fQ1KSNbJc4T1hoWj8wxiHKuT OKTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P8sTAuVp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d8-20020a056a0010c800b00627f37f3ca1si9487575pfu.246.2023.03.22.04.36.26; Wed, 22 Mar 2023 04:36:38 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P8sTAuVp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230511AbjCVLdJ (ORCPT + 99 others); Wed, 22 Mar 2023 07:33:09 -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 X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761067662022793395?= X-GMAIL-MSGID: =?utf-8?q?1761067662022793395?= 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>;