From patchwork Thu Mar 28 17:59:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 783630 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:b0:33e:7753:30bd with SMTP id p1csp2861035wrt; Thu, 28 Mar 2024 11:02:12 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWkEHugOMC7aN9+Xk/bTueQL5D3ODXIhkWgn0pUQ3aWHWsXCrHyp6HqXlUoEwunXJyo+6ioGOHoAUA3uDKuylfY X-Google-Smtp-Source: AGHT+IGxFDclnDH4hl+wpHloSkSPkrdVBZXX2xBLe9tcprY4zIWj1xqnVj9U1B6vWsTWGKIN85LU X-Received: by 2002:a5d:6d0e:0:b0:33d:a185:17ec with SMTP id e14-20020a5d6d0e000000b0033da18517ecmr3947300wrq.4.1711648932511; Thu, 28 Mar 2024 11:02:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711648932; cv=none; d=google.com; s=arc-20160816; b=OgH6UCEFE63efX87y5WaUtZWe3JcU4cqbk7ttWx6NdTqLxw0QxP6Qn5fVY+B8BeIqm EC8ZINn1wrfaa7v7UL3jTCX4mI19yqYp2Yh1/pnzUFlq1HkL/dwReA4AyhuSZNFFlhLt E/PpGk1R/Ii93p1x6I3UzwdcMijZXV6tV9tNwLhfDTfiYxlctVOVlZmdOm7LIw2rzVUn 2iARPLVwnCS5smyFLq61R/KMajhyHW9fX3CiEaz7hQz14iuYV3t42i3lJhz8fdOtpSEP WjFxbhgAaTKd7dZ/Ox8q2eFMLoznRyo1/T6fmMKl5QNZtEn4XwvyZOg1/TEVDgFC6yyd Vz5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:cc:to:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=NRQksOoQBBCu1S502LG/RKcB23CbUdRKpxTRdGODXGI=; fh=gSVpyLKtvZ+QePPYgVwr0OwBuSQ/slJGUurC/y9msiw=; b=LtV5bjPfq9QfJeFX3+eHLajXynMred+OjAxNUOtfo43UgM0ACmkG6RD9RtSZJh55M0 GkI3bD5ilPfNqdjOHstFJdPmFU3KKij602HZJ5CrEPkm5UXhG7/CvTn0B42SwSUAiyaa U83p9VVNmEYdmgahEyR/1SB4+/ux9rivMwukXnC9CTnZxwH44wr0lw7pjidRYQtHux+j ReHGEXOOhAkKlwTpGDJt4LBRoBtX+55ZrBlcLk3kLIkOe4IxdLtATmrqVABcZPyyQTEI q5enP5fmarfi4oP9LIK08iAkzeyHOioQOZ+z7swRGZCngkBfiK4riVK+oliXcSOL1Ace lgMw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UXMThWSO; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id j12-20020a5d564c000000b00341bdf12328si1087494wrw.111.2024.03.28.11.02.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 11:02:12 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UXMThWSO; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E68F0881F7; Thu, 28 Mar 2024 18:59:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="UXMThWSO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A1DEE8083F; Thu, 28 Mar 2024 18:59:58 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E20B0881F7 for ; Thu, 28 Mar 2024 18:59:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=caleb.connolly@linaro.org Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-34175878e3cso876559f8f.0 for ; Thu, 28 Mar 2024 10:59:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711648793; x=1712253593; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=NRQksOoQBBCu1S502LG/RKcB23CbUdRKpxTRdGODXGI=; b=UXMThWSOoc2ry335j3uKMs5LFJZqLnpbJtDcdWMijSzk6L64ZwNsFBSbx5e9+Fos1R LKufpE/IBC7DIH2LpayqM5Q6hifHHHgDxxx/YSZ3sJ47cFCNhoAtUgRGzrE7kGld+hCT YBrrt29xXFfvKT/8/I6IKZ61FefCSAeq+k+xjT1WBDRt5n3xHrGyCivKvVRcuUY7lSUT 5YS74urMlGZtEfpVb+mJsW172XiVtY31kaMgjZ3Dw2H9cmCvlMCRQxwkuFaQ92rjxKY2 gnuk70IPWmyvo1NldVOzcT+JJTwTQ8gFJIs/7p4TqUV0MvMDoqA4M9B30ian2MY+0JER lZwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711648793; x=1712253593; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NRQksOoQBBCu1S502LG/RKcB23CbUdRKpxTRdGODXGI=; b=t3tds2fH300fCPdvoJh1Ja4lk0o78BmYQ4Rz0uTlDumlPMNDn+mthORfkCjIxC2rks uRuIksUER8/nl7CXElmog5DRUGHY5UlAxsCztutp2a+QM25pQGuvjNccm9oAFB63Jtfb gEd3gWNNzYS9xUSJAsUXBRHeODgEdwPFNUk4WUcOIUQ0Oub6P1HjqPOHxj1769n83cqj /gDBCGis9ET1yDDjpDsHb2DfGANX56Q0smUmKMOJn2JMwLKsueXaEqc0QrJFmmjduqsX /+AxHxk/+paWGDrI8mB8w0rdylpicZOi3z3A2x3iVhInHzWd2sCFToNxtS/Hc9+hJLc0 9UvA== X-Gm-Message-State: AOJu0Yy8I4AOfihgsxLloH+WtojMKJsW0/W8J6Zb1oOt2WRDelEt4QvK DCFff3XZJBifS9Edr7aXVlVVM2I04RMsVxTbxAtT276p7MsjmOkzeavOor1kNig= X-Received: by 2002:a5d:67c3:0:b0:33e:7f5c:a75d with SMTP id n3-20020a5d67c3000000b0033e7f5ca75dmr2407025wrw.57.1711648793498; Thu, 28 Mar 2024 10:59:53 -0700 (PDT) Received: from lion.localdomain (host-92-17-96-232.as13285.net. [92.17.96.232]) by smtp.gmail.com with ESMTPSA id y13-20020a5d4acd000000b00341e5f487casm2292237wrs.46.2024.03.28.10.59.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 10:59:52 -0700 (PDT) From: Caleb Connolly Date: Thu, 28 Mar 2024 17:59:18 +0000 Subject: [PATCH v5 12/16] mach-snapdragon: call regulators_enable_boot_on() MIME-Version: 1.0 Message-Id: <20240328-b4-qcom-livetree-v5-12-4e98228b3d03@linaro.org> References: <20240328-b4-qcom-livetree-v5-0-4e98228b3d03@linaro.org> In-Reply-To: <20240328-b4-qcom-livetree-v5-0-4e98228b3d03@linaro.org> To: Tom Rini , Caleb Connolly , Neil Armstrong , Sumit Garg , Lukasz Majewski , Sean Anderson Cc: u-boot@lists.denx.de X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=946; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=iHXnsqcVLhfSIq88PzmJ9sTxqmVwLCybN5TBqignPCs=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhjTWDVzbrq01kAhauFz2jZvo4fcSX24xWU5dPLuIQ3DK7 cO3M8PiOkpZGAQ5GGTFFFnETyyzbFp72V5j+4ILMHNYmUCGMHBxCsBE/O4xMuydLiEodstg6t4j ryNvi5h/cNw7TeBE7DeN9lndbLPVmg8x/C/e6fyg5/mVY4/TG+4+lm6MXC/Gs2p6zv0v//dP7gj 4fnk2AA== X-Developer-Key: i=caleb.connolly@linaro.org; a=openpgp; fpr=83B24DA7FE145076BC38BB250CD904EB673A7C47 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Make sure we power on any boot-on or always-on regulators. These are used for peripherals like USB on some platforms. Signed-off-by: Caleb Connolly Reviewed-by: Sumit Garg Reviewed-by: Neil Armstrong --- arch/arm/mach-snapdragon/board.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-snapdragon/board.c b/arch/arm/mach-snapdragon/board.c index 65e4c61e866a..3d5994c87886 100644 --- a/arch/arm/mach-snapdragon/board.c +++ b/arch/arm/mach-snapdragon/board.c @@ -15,8 +15,9 @@ #include #include #include #include +#include #include #include #include #include @@ -160,8 +161,9 @@ void __weak qcom_board_init(void) } int board_init(void) { + regulators_enable_boot_on(false); show_psci_version(); qcom_of_fixup_nodes(); qcom_board_init(); return 0;