From patchwork Tue Mar 19 12:22:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 781094 Delivered-To: patch@linaro.org Received: by 2002:a5d:46c1:0:b0:33e:7753:30bd with SMTP id g1csp1896556wrs; Tue, 19 Mar 2024 05:24:45 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWVwqATqk9Hx8oV8CYLR4tqU5mkEl2rIY5ZHVU9FKW+NLROVWR3ncPxohxJCRWZ7/lm76LRM6WfibOAjHKrct99 X-Google-Smtp-Source: AGHT+IEOZIB950cFCEeiyB8trccnAJuHL8p3WfxQjKo5n2PxGYnQOYbgsrBE/fYQEX4r81pQo15p X-Received: by 2002:a5d:58cc:0:b0:33d:61c7:9b2c with SMTP id o12-20020a5d58cc000000b0033d61c79b2cmr2404920wrf.34.1710851084824; Tue, 19 Mar 2024 05:24:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1710851084; cv=none; d=google.com; s=arc-20160816; b=PkiTbt4zPIWjNgxZPGhwCJ1U44Qv3d0AxNBIQ71Kx6hqfeUgJY3wHm1AqrhNACJdx7 6LuE75+zMM+qa21gH2jHqmlV/m6ubkaSbAmiBugeii6kTsH/tVQI+p065xgaY5g0va1S 8apugM6kR8FznMtxgfu0V4oAsrgf54Ga5Yx1TH2HCGb2XxHtNYRxZqtG28utat1bx8JO mheGTcEOzZiZGEd63uU2PmnH9TjQOcQ75zhid5llWCEcbjCvVJaTRjZUEv2vbmNyd8wH YI/Cb0FZfahZpJK+WQkgBLb/K+yNBZ+0/tFO10Zxj1DtuvId3aSiV5tFdxoqL0bzVnX/ daYg== 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=p1DgpWWU6EAciyMI+tFL4AWkmHHqHFUrK84uXLk8RKs=; fh=gSVpyLKtvZ+QePPYgVwr0OwBuSQ/slJGUurC/y9msiw=; b=GZOpAD7SERjEyKTvHXDjI0fwQ6jKWh9YHfNGJoRYpbTSqNkd8x4Ji1DnXGEVavMjT9 jeLl1NxKZGFuYq4Iy9/ylb58Vjc3zonK8PWuMSzioTEc/Ct6oZ+KU1I2h9xuve3EaOu4 sF6rK6A1tEiXkPTLiTnG9a7O/12zXuVlUAChUm722KrPh3cvd3i/pZjktFbCdeQQVeWz rAW2t/fBugLaqNDD6MsnD2IeZ6iyvG3otnf5no9at6i3EMaS6FRdcp7mCYqUC9mb6o4b bPXP62i+ecD80AwF88HsAgIlnoY7FbH+SL9X/n5GjbPWzjx05EVZiHTeZqaDu0jwdczo 5Cyg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jhiCCKjh; 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 c15-20020adfe74f000000b0033d90a92270si5765495wrn.73.2024.03.19.05.24.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 05:24:44 -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=jhiCCKjh; 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 B6B1B88019; Tue, 19 Mar 2024 13:22:58 +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="jhiCCKjh"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 493F6880A7; Tue, 19 Mar 2024 13:22:55 +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=unavailable autolearn_force=no version=3.4.2 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (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 C1B358806F for ; Tue, 19 Mar 2024 13:22:48 +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-x429.google.com with SMTP id ffacd0b85a97d-33ed6078884so2148652f8f.1 for ; Tue, 19 Mar 2024 05:22:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710850968; x=1711455768; 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=p1DgpWWU6EAciyMI+tFL4AWkmHHqHFUrK84uXLk8RKs=; b=jhiCCKjh3uqajxveV7F9iLK5gkvMPKv305pIoESEGNabj+/IbXzrzQyyTyJw8HzGcV 58yEJJYnAmIJYHZUJkRrsxshyEZEXUO982Er4XskwOdsBODjLkkQVRFi+ldtSV5/rTsI mWo2IxEJrw9G8zHfsHExIETpTcqQZi4kjjJOVBtoafn58mtrXokBD+VR4F2QG2FMlsDT eWAagciO+yQvm6BLPeCgNq44GLZ9TCR8P8FTlMO/pX/p3/LXX9hqd0H+XbmjBBIGt+mV xYJcVOe84fxJU/Xaq8R1wSs14jKcQzOCt4PrV7OoJc7z5CuiJfBzU3FG3sIqmjuuFaKh t3vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710850968; x=1711455768; 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=p1DgpWWU6EAciyMI+tFL4AWkmHHqHFUrK84uXLk8RKs=; b=kdllVt0BQTXgisz5mwst0H54I7L/W9uu0Hes1bAeTYdMeM0XCWVs1IJLya4G5hHZ9y qz4AYMzHGZiIMh3xDooYQRi50lgdoM7kFkkKftwxoEaesvTtPtzrHu1kQskwOYAn01Ym SRxmDjpn76LwnN6x6cdQqMmjgekjacikrlgUWyvDidOeSMJgCNYjGzmoBih7p6ftc7H4 8pTsp/tE/4F7gKiqpAm5AvU+9S+KGT4cLUMIsMbepQJUWYBgsROpUpZuIvBBKeGY+W99 kn54VTvGMXsLJB7o/N8Qdett7nGpPJgey0pI+BjNZqPJCg1j4iczcz+BRWEfN9q1lNvi MSOw== X-Gm-Message-State: AOJu0Yx/bYYRTL6AGCHlwlW5pr6x2uQJMHTspwl6UrQqzcilYvgiRzoX j/TP62BjypCGF8GDQ70BtWLsctfOZAl0sitfIAlmznTCpHqgKtNLl/D0lcKs3YR8MO8YKqDqvOQ B X-Received: by 2002:a5d:694c:0:b0:33d:7e9:9543 with SMTP id r12-20020a5d694c000000b0033d07e99543mr2653197wrw.32.1710850967983; Tue, 19 Mar 2024 05:22:47 -0700 (PDT) Received: from lion.localdomain (host-92-17-96-232.as13285.net. [92.17.96.232]) by smtp.gmail.com with ESMTPSA id du18-20020a0560000d5200b0033b7ce8b496sm12170498wrb.108.2024.03.19.05.22.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 05:22:47 -0700 (PDT) From: Caleb Connolly Date: Tue, 19 Mar 2024 12:22:11 +0000 Subject: [PATCH v3 12/14] dts: sdm845-db845c: add u-boot fixups MIME-Version: 1.0 Message-Id: <20240319-b4-qcom-livetree-v3-12-e1b38d9b4fa4@linaro.org> References: <20240319-b4-qcom-livetree-v3-0-e1b38d9b4fa4@linaro.org> In-Reply-To: <20240319-b4-qcom-livetree-v3-0-e1b38d9b4fa4@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=843; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=YmBgscYN04ZbVZGGJFD08tSuDrrGuIbLaNGLiTo8A1w=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhtSfzV1/mpc95eapMemNPVi5ofru17cLnC60HJF3bU8xy PbLT/nVUcrCIMjBICumyCJ+Ypll09rL9hrbF1yAmcPKBDKEgYtTACbSsJKRoScrgV9/hZvcrkMx Rjfd1v/97J9wxPSL2Zp/N30CfZcuOsrw39dgz9o/xRL7EgJuSSmpKmt/zblwrWfbJKt1RVOvdd9 a6AsA 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>; +};