Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp642444lqc; Fri, 8 Mar 2024 07:47:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVAPveLGbkbZCzLE+5zPuTLCq5oqP7wkDDW3MbX4kzOOxFm9WXyiXAGz94dpAO30zA3ElYdRa4PVjX9RFIGU1Znnv8Yir2QyymtqAhGtQ== X-Google-Smtp-Source: AGHT+IG21ewvoEbKxSyXTfujiqck+y0ASvJDBzESc5RFlxPVGR70TlZ0cjP2oA5wRxGEC5xAAmiN X-Received: by 2002:a17:906:2e88:b0:a3e:68a2:3d4e with SMTP id o8-20020a1709062e8800b00a3e68a23d4emr15397120eji.54.1709912820652; Fri, 08 Mar 2024 07:47:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709912820; cv=pass; d=google.com; s=arc-20160816; b=fZtkoT1Izih9LVHGnyiKpVpBtBvv/hztO/r/24s/FbazWfht7ulRK+5GsF95YqpNRv tddBOLlarZobaa8qkmbiEY/sMbsvSnvpIfGClCXilDCCrCGg5ha4TvwoXoF1BqjAIuKY I2y7KfDmwEYqhEjueg1T0cZ67e8LfaDgbz71sGb5WKKZZkAKuiuP7kJAxslVeVAKKZEX b0O01k3ErY0dr+Dtdt+yozXbzAjzJo5kKZ4OVaOFchn1VLlALDldLAxE+yeMHQNERlzM oHgZuoaRWdAtQB1Vh32Tatxtn7xeGbE49SKzXQefVXnN23UTXOGE0t5SKN3o947PMBV1 iRSg== 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=0bE3n1slM4C82EoALcJZuc/laC4BI4jcTP5dPsRCiR8=; fh=rTsj5RmERjj27sEgozrxw9HFgE0Arx8Z0LoJK8x5SA8=; b=q8clAFR55B8a5w3iU6alIJvH1tceIT8O5xDXN7BlsBUxg7+epYNt/3KNeACI/NoeAe HoNOOMTxuHpVkLsTs/oRVj8EAxnLwz5x5qzcLDIiNMZPBtEPQTb4R5ZOzsLZRdSjCZlu I1vxPO0VLSn0GZwdDksYLBzSZtxVcjJRfBVXGdBSZMaqYcM84bqUPm/UA8ezEftyHlN+ xCVrPHGnPqPrwJYjJuQeUQSfuJileQx8AjapsW04pOLVn5ReTv0bnuTDFo/u2SpmEu+a hbqkFIAuXt0CQnLsJs4KxyRnL1OBMWRDMx8AQPbY0x57j6NDtm2Q/EuJz0Qkg8vcM8A0 yoVg==; 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-97249-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97249-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 o27-20020a1709061d5b00b00a45eba38115si700627ejh.207.2024.03.08.07.47.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 07:47:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97249-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-97249-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97249-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 B31FF1F222A5 for ; Fri, 8 Mar 2024 15:46:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DE08825634; Fri, 8 Mar 2024 15:46:30 +0000 (UTC) Received: from smtp-190b.mail.infomaniak.ch (smtp-190b.mail.infomaniak.ch [185.125.25.11]) (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 CA5361DFFD for ; Fri, 8 Mar 2024 15:46:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.125.25.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709912790; cv=none; b=JaEI/GeNzUryE679MkZqr8GH8U05yAwhdhGH9NHhi6b/1Dqq/a5LqCx6TLru5Ki/VtXwjVKnXbIIPO6dGSihvWul5PK+vUPs42ZTKfEl5AwfYi37zEy8YaNZKajxhhwNpIHQNDHmNHhZjb7uygQrJIvGvsbwqRlFj2mJRRSEPwI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709912790; c=relaxed/simple; bh=ibhmQTmHbyVWDQ1/jhwBdjYkiEqKWfrsbIvKFq155A8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=d+rPdgq0dH1l7OGoH8Vw8AJxrp09LUeC4EjZBgkM/XUpqk3Pc1L5yX3I124BaiiMmU21tcdb91Edx+rlNhED9hDU4PnVKWlUh+rHcQpbBcNgZOcowyAQDB/XvNGUw1eZ6PNaKlOZiw03Lsqo67on7xTxgK2mZWcBKYiFlCFaggg= 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=185.125.25.11 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 (smtp-3-0000.mail.infomaniak.ch [10.4.36.107]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4TrrB94fWyz179d; Fri, 8 Mar 2024 16:46:25 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4TrrB90Knxzr1; Fri, 8 Mar 2024 16:46:25 +0100 (CET) From: Quentin Schulz Date: Fri, 08 Mar 2024 16:46:08 +0100 Subject: [PATCH v2 2/3] arm64: dts: rockchip: enable internal pull-up on PCIE_WAKE# 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-2-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 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 --- 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 a51ebb8f8b80f..2484ad2bd86fc 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi @@ -416,6 +416,11 @@ &io_domains { gpio1830-supply = <&vcc_1v8>; }; +&pcie_clkreqn_cpm { + rockchip,pins = + <2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_up>; +}; + &pinctrl { pinctrl-names = "default"; pinctrl-0 = <&q7_thermal_pin>; -- 2.44.0