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 458DA2940D; Tue, 30 Apr 2024 10:46:07 +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=1714473967; cv=none; b=fAn5mUC9v+BJQQuBdtq63oQHlXBe5bcO2rJSHgs77H6UEa+taWXpJVqd81kfJNrslvX7u6Ed3SUSn9MrR9VTmEXISnuz3z88SXDMV6Nx58DJuz8sIeRmzndoWVhbXCC7nxLe0w6WLsQT8atWVZS1vVFHFFks94/cJgjwKCvTDLg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714473967; c=relaxed/simple; bh=n/3A5VNsLMVh6Q7TnxrWTUS3zX7xTI4oOO8NIoHiQxk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=khoLYw8HrC/lfYTOftDIk7ejqzZ+eqn4D8cidoggJ5bboJibPWb+v1acyBq6VfwtWyMUjWvaZwfc3MvhXBoSejAyVRjIwvoXZBJesgrqiqmBTpkSXjOf+7sIY7oG+6mlSPoI/KwLBcHElg5U1BdAUe3N87/md4mrb9tJb30gl+o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Jg/i4jUL; 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="Jg/i4jUL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4560C2BBFC; Tue, 30 Apr 2024 10:46:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714473967; bh=n/3A5VNsLMVh6Q7TnxrWTUS3zX7xTI4oOO8NIoHiQxk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Jg/i4jULVKr392kAATlLFRhBzUGvxiNjgxiGbxoKMlgE/rKqAxvbukrZQG3j3fbTU zk+B0FZ7oV2HKNuGclRq4j77/xk/G24gT931fMj3Csb9YcchHBGMBfydJWSyxNUWdy Z7KEYDoqFpUjLlPonJifWCn66o3yxLWn++qhSfbc= 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.8 009/228] arm64: dts: rockchip: enable internal pull-up on PCIE_WAKE# for RK3399 Puma Date: Tue, 30 Apr 2024 12:36:27 +0200 Message-ID: <20240430103104.083468120@linuxfoundation.org> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240430103103.806426847@linuxfoundation.org> References: <20240430103103.806426847@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.8-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 a8102d1e31987..c0eb9f39c33e5 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi @@ -416,6 +416,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