From patchwork Thu Mar 23 17:30:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 74132 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp3043248wrt; Thu, 23 Mar 2023 10:32:30 -0700 (PDT) X-Google-Smtp-Source: AK7set9o3zc0Ws5IpCEmiCey/c+vGYsDZIf33oH6x7jGfwb65Xn5lNg4uBmQrbWK364S1hE8/Xp+ X-Received: by 2002:a05:6a20:8925:b0:d3:89a1:76d1 with SMTP id i37-20020a056a20892500b000d389a176d1mr373038pzg.11.1679592750207; Thu, 23 Mar 2023 10:32:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679592750; cv=none; d=google.com; s=arc-20160816; b=Z7os/ZE/ySBkWmGn1/7rXB5H5h/ny68sMSWWp0GN/yfmNX0W+Sa/pLUtdYbvyOfsKH G7DMKrsXIf5hZ+4B/4kgiUioVBdjRZVoxCirCk8uIgXqrdMozbY0SYcoY369+uRCY/Yp xgFLcVBj5twT3XZ+cYU6yPE2+eZrxQGD7yckj+XslQqZjvO2G2VOOMNMJuqQCS9Ntutq DVEEzecWx0WxXtm/AI34JbahbY4o8Ikf2sE1KoKl6qnLJN+HmHEfXNe+fDenq3/+v8fM KpdSeZuCPnibmU6NDHNDltL2lGl+gc5q3DsFCM2K8D2igBQ9DbQcsOR2G2biglnENYB2 jTNg== 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=6kiM2lrh2kvgdALZI8OIkWyLB50SqdxAm52tOpr2esY=; b=d0WoYYogii4Mt72KmFvjR2ZbxiMFHswglJhNoQIm4r9g/Gi+lg8VXCZDdZq7/iWnBT eTbYIXFLcaNiRYJRh8s43K5VN9F/M6QJmC4JsGhNMpZs/7kqFEaYwE2m75I3mLQoiOAw NvWR6mVrfa1MRQ2UvpBNVIM1UMX1PzixU593xrAwBQ+AWBm5raJexycixJFKByV+MUd/ H7S8bQgmlqQt5gDHvQgL1t9eVTxlTsUiqQQkSZCNN84C9jFIH/gaFdsyRcab+xkM+pzq ij5iDnhlY2PGtQw6b93JpFpxqBgI/pCyTZazEi1HruSdpHgvieOrLRXe5Mk7k/pxCH+9 YZVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=HXiP72py; 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=chromium.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y70-20020a62ce49000000b00623e3bcfbd2si18742670pfg.11.2023.03.23.10.32.09; Thu, 23 Mar 2023 10:32:30 -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=@chromium.org header.s=google header.b=HXiP72py; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232419AbjCWRbf (ORCPT + 99 others); Thu, 23 Mar 2023 13:31:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232242AbjCWRbX (ORCPT ); Thu, 23 Mar 2023 13:31:23 -0400 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6342127D71 for ; Thu, 23 Mar 2023 10:31:17 -0700 (PDT) Received: by mail-pg1-x535.google.com with SMTP id y19so13011881pgk.5 for ; Thu, 23 Mar 2023 10:31:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1679592677; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=6kiM2lrh2kvgdALZI8OIkWyLB50SqdxAm52tOpr2esY=; b=HXiP72pym+YYw/orvrMjuH/G76artp0TTfq7fhSlUPoJldbPdKxo3MqETM7XoMrCX/ 5MljJsHVpAL1rPPYKJFros7D3ckXNFp7LvANq7FzWMN8EXqeau3FUOkkmfu430yNwGtk rNzLOsjj27FpxdgtXZE5PmSLTxs0yAK+PEzT4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679592677; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6kiM2lrh2kvgdALZI8OIkWyLB50SqdxAm52tOpr2esY=; b=ioSs/a0dPYhlnXF9Uv1y3ncwKPwF++P/2qQ18ht3kdrN5lFjga0diE8yKO8obpoiRF VbWRKcAEoEHnZP5F5iIKQRcxfAiDxRBf5fnbZaixbA+PZBR5K7ygzEqTEiAjBZJkJsDy g3SPXsnZdr0VUgo8if+XCfjHxriiahr9b588fZjjEj6ZsBM7+xXf+DPBJf+oOqeTc7pg 9/JnR/Bfgf5myDSNOk15kfa+/9FMREsXPYrTtG4392aO6x6Lwc8Ct6E7STKh6Req3QiQ JrEYT8dRLWakKEZUne+I6B4q/FmBCqBYTek8s+Vy3zChCH98pALQnPXpndv9i0BWI8XY 63Ew== X-Gm-Message-State: AAQBX9fT29zUwSsrJVvXtWV9KSwTMBfuw3AMglnrkWVZp70THNvphiHW CtPDXwrNQDOHeXK55AxI8TTCZQ== X-Received: by 2002:a62:8413:0:b0:624:d72e:e629 with SMTP id k19-20020a628413000000b00624d72ee629mr251075pfd.8.1679592676912; Thu, 23 Mar 2023 10:31:16 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:9d:2:16d3:ef20:206a:6521]) by smtp.gmail.com with ESMTPSA id x13-20020a62fb0d000000b0061a6f4c1b2bsm12613546pfm.171.2023.03.23.10.31.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 10:31:15 -0700 (PDT) From: Douglas Anderson To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Mark Brown , Linus Walleij Cc: Matthias Kaehlcke , Konrad Dybcio , linux-gpio@vger.kernel.org, Stephen Boyd , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-spi@vger.kernel.org, Douglas Anderson , Andy Gross , linux-kernel@vger.kernel.org Subject: [PATCH 04/14] arm64: dts: qcom: sc7180: Annotate l13a on trogdor to always-on Date: Thu, 23 Mar 2023 10:30:08 -0700 Message-Id: <20230323102605.4.I9f47a8a53eacff6229711a827993792ceeb36971@changeid> X-Mailer: git-send-email 2.40.0.348.gf938b09366-goog In-Reply-To: <20230323173019.3706069-1-dianders@chromium.org> References: <20230323173019.3706069-1-dianders@chromium.org> MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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?1761180647924587143?= X-GMAIL-MSGID: =?utf-8?q?1761180647924587143?= The l13a rail on trogdor devices has always been intended to be always-on on both S0 and S3. Different trogdor variants use l13a in slightly different ways, but the overall theme is that it's a 1.8V rail that the board uses for things that it wants powered in on S0 and S3. On many boards this includes the boot SPI (AKA qspi). For all intents and purposes this patch is actually a no-op since something else in the system seems to already be keeping the rail on all the time (confirmed via multimeter). That "something else" was postulated to be the modem but the rail is on / stays on even without the modem/wifi coming up so it's likely the boot config. In any case, making the fact that this is always-on explicit seems like a good idea. Signed-off-by: Douglas Anderson --- arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi index 423630c4d02c..1f2e1f701761 100644 --- a/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi @@ -512,6 +512,8 @@ pp1800_l13a: ldo13 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-initial-mode = ; + regulator-always-on; + regulator-boot-on; }; pp1800_prox: