Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp642248lqc; Fri, 8 Mar 2024 07:46:38 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUbG4e2DAu+TChFl57xklFYc6xyPkmvCdvcEe8ZRCmSV2qJpsUoqUxigww562BSQCwckAZClGVEm3uClvt6nBP176Ktux1f4zfFDENe1w== X-Google-Smtp-Source: AGHT+IG7rTGyzwT+nFLl/c7K/twbQMwPKFAyWAB9vekQh7KUzJIOxbWdSjh0PTECPoEwGG3MnJ73 X-Received: by 2002:a17:907:2495:b0:a45:d7fb:8423 with SMTP id zg21-20020a170907249500b00a45d7fb8423mr586484ejb.9.1709912798140; Fri, 08 Mar 2024 07:46:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709912798; cv=pass; d=google.com; s=arc-20160816; b=kGoTaC51kgMgmGBENRhjSmR9aUTFDi9Eokna5p6HzrP85LjxgiXEcp97rn2Y2FCaz9 Qv71dis7MLn/bgEZU4ypi7NOkidQE2GObkM7xmUq2pqjKQhW1icIxPuYXq1PKwA/ijXE 7FSsS5BwhahQ4wJtxyD7SyNSLFPD/zBcr/2V7g+QLtfNzVfo/+xLrDl3Mv8Vz6z0HzOl 9Kov7v9ifuLh/xiZ8dpgFmKy86xmFbwSopPwWWEYLgiH5ZnyoaFMvbhN3iAaEInXjI35 /MO6/0emQxIk/F7/NQckzUnzOxDlfeUbC926aV85sEwmE5S4Ljw8h7nYkCyY/BF7hVHH sC4w== 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=gZoSLL1qLjnz7ni1AZSjdrRwago7SyIHx9krsYjrP6mKOVCC64K7gxn/BSEXlvuqes 5SMrfnJUswfVqEoJ7RJQnbDsBcuFXvF7kaOmj9lWWNCiG0JJxjcur1ALplqXwJuGnwi8 vF8nowDZRqgK/wQm4CCxgdNtoDx+f0CtRIykH07zQWt62Z3UU5zKLrLIp7ryxDh4UloD wnc94LFejp+Mt18V9lJB1erQ5vc/BcqS6nQj6h4w1/gBVd+jmTBOTCfr18YCCb0gmljJ KViQwc2YWNgmYcw0wGSYBpzMn88plcT1ob/n0EyefVutEM7t7gqI4EKM0Vw8VuO4nITr O73w==; 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-97248-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97248-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id l6-20020a170906414600b00a457a13f8b6si4166399ejk.832.2024.03.08.07.46.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 07:46:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97248-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=0leil.net); spf=pass (google.com: domain of linux-kernel+bounces-97248-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97248-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 am.mirrors.kernel.org (Postfix) with ESMTPS id D8F5C1F22B13 for ; Fri, 8 Mar 2024 15:46:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 766EE208CE; Fri, 8 Mar 2024 15:46:30 +0000 (UTC) Received: from smtp-42ac.mail.infomaniak.ch (smtp-42ac.mail.infomaniak.ch [84.16.66.172]) (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 24AE01DFE8 for ; Fri, 8 Mar 2024 15:46:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=84.16.66.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709912790; cv=none; b=hoZmbGdY0zY7kKnLRUv6NJVWJev8N5O5UNbfROh83q8b9/AlaiHTgeW0wGPvfk1BG6EciY6iCDNM+1edDzT+c+okkWjwKHZI5dGpNYe4x5hK+PU++ETKBzT9DhW/vTR8Bm9Mn5GKN/BYRiOuzIXRTDEx6TgK4N8UTsXLfp0hS1Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709912790; c=relaxed/simple; bh=CsxBBBSHXzQ815mZ6jxRjFfX677ayQW2fERBzYakubA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=NObbA7Pbp1EudFSFDMC5zpG+dnw6EpLBGzS89oDGbMtmPQgiDHg3YYVKy0JhQ4IoY/0cCKK8KF49IUzylIVpoYQm2XxK+78IbxO40f0RDGg7lEi7QbVTovurmrsSsndw0HNo0AaQ7goSr187feC19wsKsf6o95ZZln3qpbBPJiM= 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.172 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-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4TrrB90RFXzMpvmL; Fri, 8 Mar 2024 16:46:25 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4TrrB83sMlz3g; Fri, 8 Mar 2024 16:46:24 +0100 (CET) From: Quentin Schulz Date: Fri, 08 Mar 2024 16:46:07 +0100 Subject: [PATCH v2 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-v2-1-309f83da110a@theobroma-systems.com> References: <20240308-puma-diode-pu-v2-0-309f83da110a@theobroma-systems.com> In-Reply-To: <20240308-puma-diode-pu-v2-0-309f83da110a@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