Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp522661lqc; Fri, 8 Mar 2024 04:52:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXW3V23MBKv12vyz7fWut6/2bHayR4ZwX/FJlfTY/qNFHgGyobYpOauDgalYDK0rIO1km7MustDnL/LhsPG2dl5zLBL+9nJeviJiYxkKA== X-Google-Smtp-Source: AGHT+IGnoUxJ1SCSDv4Nw9j5I64eUirYQ+Y0y79z7qtgXwhLciQWEajBn+9ZHCCnG7ZzNQVKsdw1 X-Received: by 2002:a05:6a21:32a9:b0:1a1:72aa:11c1 with SMTP id yt41-20020a056a2132a900b001a172aa11c1mr5255516pzb.27.1709902367217; Fri, 08 Mar 2024 04:52:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709902367; cv=pass; d=google.com; s=arc-20160816; b=axzBGs14Ij1XHptOA4xHJUBcHwUd/Zc8CbicJIrAGmO7ryOtgfh2+BoZYkC8AOTgh7 x3S73UC2SC0/ArsOCcq2ZqBKMB4+ZRM8ZVkG2PZFooTMpSjWplqUWFufV6Lh+GRpOFX0 Q4FhWM7Y2dgOwW0kcEendf/nqiqrENq+elM16ERl6l/sZsAIra3FlN5uk+Ra8eeogc3g P2476DbiNmGd4eLtPD3xSGjbO/i7MGm+JSCWJ+GKeDwP970X6a7lI0vlFPiOJY3l8W5T T16FwPFbDyRX5npGyNmq7eNuNB1B9kliI4kbgYfvVjLmL2zdqsqGAjyxS184ttRq1MUP PjIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from; bh=sPVexCPM26i6eq9bjM+AvHDgZGAJ3YouEX7VuAvH6lo=; fh=rTsj5RmERjj27sEgozrxw9HFgE0Arx8Z0LoJK8x5SA8=; b=r94RaBVNSYTQuMFoa9a/UFsm1B6b4fJ5S1EqrovwVi2vLRKgNuAugzQo+IMLvJaaGH fClNaZtDZB2fvasAkwtz2Ksfo0ifIy2LvmVH9sKmblqrWIZoG6KSfr3Bincrhm/r4KrE IFQkAMYJkpTghpu+WsK9NqmPotHAEj6H301ykAEmPlfXXSO0aPnAJjyVt+dSS3hKGM7W BXYGrOmsrHFoZUV1hfy7wnhIsfIsrO+7bf61lrQCvA2jBvANOIcyAk7GY/qQXpE9mHQp v8UK32ti1PE3CYuPXO5lFMiolQHsiOw2QTkVd/qO8qdcN/enuzwu47RYrshbIs1aTn+1 vHKg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=0leil.net); spf=pass (google.com: domain of linux-kernel+bounces-97027-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97027-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j6-20020a170903024600b001dc69aeefafsi16366609plh.517.2024.03.08.04.52.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 04:52:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97027-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=0leil.net); spf=pass (google.com: domain of linux-kernel+bounces-97027-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97027-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A66CD281F94 for ; Fri, 8 Mar 2024 12:52:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AF5631C693; Fri, 8 Mar 2024 12:52:26 +0000 (UTC) Received: from smtp-42a8.mail.infomaniak.ch (smtp-42a8.mail.infomaniak.ch [84.16.66.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE75517BDC for ; Fri, 8 Mar 2024 12:52:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=84.16.66.168 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709902346; cv=none; b=U0N4xO2Xi7WuGG8mx5ffeb7l2Xv0MOueppUGo6BLDnvhylGo/WcBywazoZdlWtK76xfnaXt+5DSIxxT/kgq0Ey2z98PMS0bqPlWxnhlgJPc88GSWqJ+yIGmIk96JObC03vi9PRqEMSOEhn+Wz8oY4oAQ+UCJAurVki+QOW9t01E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709902346; c=relaxed/simple; bh=CsxBBBSHXzQ815mZ6jxRjFfX677ayQW2fERBzYakubA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Wq/fK1sWGkq5umc9OfsZopHEcWGDUXTrLtQ9V3Yl0ucS7LJtS44DK8kestZbPKtgaV8o3TmgJKPrBjTC4NKQLJAnvBy7bV1VTt1MEHEMRzcyn25RRMnAML4sD9SDTJoEOu89mOVZvQHMbD0ut/Y5Zn+Ifjs2iDUjQ9/EJPfJ/j8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=0leil.net; spf=pass smtp.mailfrom=0leil.net; arc=none smtp.client-ip=84.16.66.168 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=0leil.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=0leil.net Received: from smtp-3-0001.mail.infomaniak.ch (unknown [10.4.36.108]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4TrmKD1xrYzMq51F; Fri, 8 Mar 2024 13:52:16 +0100 (CET) Received: from unknown by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4TrmKC4mKDzMppDX; Fri, 8 Mar 2024 13:52:15 +0100 (CET) From: Quentin Schulz Date: Fri, 08 Mar 2024 13:52:08 +0100 Subject: [PATCH 1/3] arm64: dts: rockchip: enable internal pull-up on Q7_USB_ID for RK3399 Puma Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240308-puma-diode-pu-v1-1-2b38457bcdc0@theobroma-systems.com> References: <20240308-puma-diode-pu-v1-0-2b38457bcdc0@theobroma-systems.com> In-Reply-To: <20240308-puma-diode-pu-v1-0-2b38457bcdc0@theobroma-systems.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Klaus Goger , Quentin Schulz , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Quentin Schulz X-Mailer: b4 0.13.0 X-Infomaniak-Routing: alpha From: Quentin Schulz The Q7_USB_ID has a diode used as a level-shifter, and is used as an input pin. The SoC default for this pin is a pull-up, which is correct but the pinconf in the introducing commit missed that, so let's fix this oversight. Fixes: ed2c66a95c0c ("arm64: dts: rockchip: fix rk3399-puma-haikou USB OTG mode") Signed-off-by: Quentin Schulz --- arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi index 214ea62b24a5b..a51ebb8f8b80f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi @@ -459,7 +459,7 @@ vcc5v0_host_en: vcc5v0-host-en { usb3 { usb3_id: usb3-id { rockchip,pins = - <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>; + <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_up>; }; }; }; -- 2.44.0