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 {