From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0121612D761; Tue, 30 Apr 2024 11:07:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714475249; cv=none; b=YlDlyecqkPNoDvZRw4Qyvvn4wOy6gPOFArNJnSTAoxTh2pL2HlV1IqYWMfI2G+YsWFt4Cn/BhqvkOlNDlKTM111F28JmD8HqGVQ5/IvtmD7pE1HMOdtbERRb/5q1fJUHzkuo5qIQ+/axpE4kcMFM+W+Swix0mUL0KwlXVuWFgFg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714475249; c=relaxed/simple; bh=qNjG9e/Hh5IBte/Ee5ayhj1rCiRiAxSkBZAdH/W9tpo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=YjqvOl5dxBH/j6DC5KbbiYl0LDKvIa1qjldJknsb81O9px3g93Yzt06njYvnl/DVY99Atmxu7JacZ9F5gFDcvLfxNMVYIfUaUJKaI9sj36v7IoA4K55TADaA5X/OBy7wesxvkOlYUtHLAWaNhRYQNa3uoyLht6MH/7feHYlIULU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=p08v/dnG; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="p08v/dnG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6145CC4AF18; Tue, 30 Apr 2024 11:07:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714475248; bh=qNjG9e/Hh5IBte/Ee5ayhj1rCiRiAxSkBZAdH/W9tpo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=p08v/dnGfBRYQVc0VOKJBrDxWhYF2RV33zxUpFD1eWO4g5pD4K5kpzv9y0z893b24 wVNCI9BtHeB/+I2kp0T+fkAZcHcFk57+fGkinQ1VoVqoejnKzXYmOzdRuwq85PvxpF 1r0+BnYGkng4ZBfC69CttmD/PEsrlHW8LuT/doUI= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Quentin Schulz , Heiko Stuebner , Sasha Levin Subject: [PATCH 6.6 009/186] arm64: dts: rockchip: enable internal pull-up on PCIE_WAKE# for RK3399 Puma Date: Tue, 30 Apr 2024 12:37:41 +0200 Message-ID: <20240430103058.290395686@linuxfoundation.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240430103058.010791820@linuxfoundation.org> References: <20240430103058.010791820@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Quentin Schulz [ Upstream commit 945a7c8570916650a415757d15d83e0fa856a686 ] The PCIE_WAKE# has a diode used as a level-shifter, and is used as an input pin. While the SoC default is to enable the pull-up, the core rk3399 pinconf for this pin opted for pull-none. So as to not disturb the behaviour of other boards which may rely on pull-none instead of pull-up, set the needed pull-up only for RK3399 Puma. Fixes: 60fd9f72ce8a ("arm64: dts: rockchip: add Haikou baseboard with RK3399-Q7 SoM") Signed-off-by: Quentin Schulz Link: https://lore.kernel.org/r/20240308-puma-diode-pu-v2-2-309f83da110a@theobroma-systems.com Signed-off-by: Heiko Stuebner Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi index 2979e6f4f96ce..39ec38ac716ed 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi @@ -401,6 +401,11 @@ gpio1830-supply = <&vcc_1v8>; }; +&pcie_clkreqn_cpm { + rockchip,pins = + <2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_up>; +}; + &pinctrl { i2c8 { i2c8_xfer_a: i2c8-xfer { -- 2.43.0