From patchwork Wed Jan 31 15:17:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 768510 Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp1911379wro; Wed, 31 Jan 2024 07:18:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IEldwOkj2NUI3sWMWKRZ6vr3pY+nHZyi6NmYN6pxq4OINu7YoMJWN4II1dc2T0ovgzynl3Z X-Received: by 2002:a05:600c:4b2a:b0:40e:46b6:bc48 with SMTP id i42-20020a05600c4b2a00b0040e46b6bc48mr1642386wmp.41.1706714333146; Wed, 31 Jan 2024 07:18:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706714333; cv=none; d=google.com; s=arc-20160816; b=wGMtiJfAHnFD39bdBhzkxd69IldHQqZT7nvFRdsXx1xMjOchkKygQhE5h+iun2Sm6o RjHSQ2JCppnhS9YEjtReo4Lx3aSZjmaxVL92hIDVeBvRF3D0ms431iU7debsHYvafi9E 3aBODgUS5Puyrm0aZFmK12HeBXtqSdK01BmYv1gOlQVPhyAu1TcjVsx4aGp8WCb7+fQv peWFTc17XYTwIIOBP1UQfumXMtMQ6tUFwXTgIHNcVK8jyJo5mYQJCbGwQUuEfc/5nvuA C8qxowS8WjdVZ8plhUv2QRWyD4oJiPdjyakZD2lxnYhFe0pHuF9sBwoiFX1feQDf1mKU KtaA== 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=7gS7zpo61JmV4RiezQyJ8jmpn3ALZjRjf7mpIfEhg9Y=; fh=gSVpyLKtvZ+QePPYgVwr0OwBuSQ/slJGUurC/y9msiw=; b=H1EpmEK5mGvXN/l6ttnI8xhlzhCLEoGe4fNMQzXzSeR7FqYTZRBTv1SfkyfMiylUDA uL4fLyKs5PFPuySJ6vp9FIrihpdcg6KvZV8iszypZPS5pcndTUTxZgUzPaiv7yOREWM1 /BAc/cEHtjuG0FHfUbmpaMyqEaotOhQEsslrPMqdxNVJQTLK0eBy9Gg9mVhoIYHW5r1P EXXAPPIJOcdrq2shZ1p6skIjZTTKf9N9NBFFmZ42h3THa+f99uT5ZWx3RK8ggfb34HqI l0V91wbkb8JUre7XSWEOQ5oJAqZjtFAw/W/WjLoQTwm7K//nBbXBBS0HWjhUYWHO//T+ DE4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PCu3ff0q; 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 m9-20020a05600c280900b0040fb0d65c42si818413wmb.231.2024.01.31.07.18.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 07:18:53 -0800 (PST) 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=PCu3ff0q; 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 6356B87DD1; Wed, 31 Jan 2024 16:17:18 +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="PCu3ff0q"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D3FE387CE9; Wed, 31 Jan 2024 16:17:15 +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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) (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 C9B8287DBB for ; Wed, 31 Jan 2024 16:17:11 +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-x436.google.com with SMTP id ffacd0b85a97d-33ae3cc8a6aso3141416f8f.2 for ; Wed, 31 Jan 2024 07:17:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706714230; x=1707319030; 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=7gS7zpo61JmV4RiezQyJ8jmpn3ALZjRjf7mpIfEhg9Y=; b=PCu3ff0q5/JMWRmp4I9hQMROlW4H8IuBxOMMRbnXtbruj7xBAouDtF8ZUre1BpbnXH ZXXU6uslwkkWOO3Ef1837IgJ4vb7TUWArH+340vcpICWv30omdzazVMM3zMLoVmFzKML bA5cT2jqrfw0glRa+NtNbqMyfu8PXL1MqVz+ZtEdBL7g0FJIAD5m6gJaM5LMSLEIYjLN KErkTS3AyDn4BuonNpoqJUAcE/oXRgxBeWPZWZcLRBjqE38h/KP+Ibi/6NeF5fASTpK0 m1GkITkZNNe11yN2ZdR2eHEE1vbw4xrhaWj5dkMPT/ycsH2g76EBR9eUjiNzRTVNTFoR ByFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706714230; x=1707319030; 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=7gS7zpo61JmV4RiezQyJ8jmpn3ALZjRjf7mpIfEhg9Y=; b=vbYf+Vyi/3tVNDo1avczBvLYc1kYdkxfQf77R7G+C/Jg3jf13lmB2bNIXRmKGL2uBJ jdxeZxwzCkyoQhsHdqgzUODECeqMohzcgd7IpTnXqjfQ0GqlpiIPQVTs7Lhe4ZKLPsxZ GjexChAf3PASNjGfQ/CK7/JmuKQQcLDHRTzGPVxH0pIVBaHMPXlPsrcJP4UXgX9f4W1M 4KOsuaVJoEJViam2c2i3PB+N3Io7fJ9GHSdCoY0Th3V6LpKDODPQzoyzguXRgsjYGwja RIyR76OAKx+mvNAadCehVQBlveQJeMs/gB9yF2HEoyAKpsSsra/l3uWvMx3jhHlCpSsP 6/IQ== X-Gm-Message-State: AOJu0YwikOu7ypL0XacOfUFO3IR5KQXw9Mt6GpVBADpfjWfoD5vT6sqC LiXconIvE/rniv/zSqdrhi8XSyNlLMWfQlBH1iC+7XcXQlETYsP9+za3oB7VXZqomLVIz11RHls N X-Received: by 2002:adf:fc92:0:b0:33a:eed5:7072 with SMTP id g18-20020adffc92000000b0033aeed57072mr1137469wrr.71.1706714230681; Wed, 31 Jan 2024 07:17:10 -0800 (PST) Received: from lion.localdomain (host-92-17-96-232.as13285.net. [92.17.96.232]) by smtp.gmail.com with ESMTPSA id en6-20020a056000420600b0033ae5b637d4sm11109031wrb.35.2024.01.31.07.17.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 07:17:10 -0800 (PST) From: Caleb Connolly Date: Wed, 31 Jan 2024 15:17:02 +0000 Subject: [PATCH 10/13] dts: sdm845-db845c: add u-boot fixups MIME-Version: 1.0 Message-Id: <20240131-b4-qcom-livetree-v1-10-4071c0787db0@linaro.org> References: <20240131-b4-qcom-livetree-v1-0-4071c0787db0@linaro.org> In-Reply-To: <20240131-b4-qcom-livetree-v1-0-4071c0787db0@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.13-dev-4bd13 X-Developer-Signature: v=1; a=openpgp-sha256; l=843; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=dGiXbkaMfkO6VGP03CgItaGcQXC5bVnesE53z55Dua4=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhtRdKTkXZXy+bri75ZTV+sWOC2ffM1u/n4F/7oLj+akHL tcXsicFdpSyMAhyMMiKKbKIn1hm2bT2sr3G9gUXYOawMoEMYeDiFICJMPsy/LOxWfbe/H5/qeEr lhWf/5Qu7ZR8+n3/watnj+X15M1rmljL8D9tKd+OzYsvh77ZOyXpuZVom7feOs6a6bI6/M9jXkT 8PNkLAA== 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 The USB VBUS supply for the type-A port is enabled via a GPIO regulator. This is incorrectly modelled in Linux where only the PCIe dependency is expressed. Add a U-Boot specific dtsi snippet so that this supply will get enabled when initialising USB. Signed-off-by: Caleb Connolly --- arch/arm/dts/sdm845-db845c-u-boot.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/sdm845-db845c-u-boot.dtsi b/arch/arm/dts/sdm845-db845c-u-boot.dtsi new file mode 100644 index 000000000000..3c83e21251c4 --- /dev/null +++ b/arch/arm/dts/sdm845-db845c-u-boot.dtsi @@ -0,0 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 + +/* This GPIO must be turned on to enable the 5v VBUS + * supply on the USB port. + */ +&usb_2_dwc3 { + vbus-supply = <&pcie0_3p3v_dual>; +};