Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1975544lqz; Tue, 2 Apr 2024 03:41:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUIBYdyHZR+COgauKM6rWK0ViOBYNmlZwxLCQr1jJbApRZ9XUUI0fzH9Icfw0F+vFqgAnj9G9hRcVvQVc4BqTwdBcam1FHHC6QS1SlkKQ== X-Google-Smtp-Source: AGHT+IHvs/IsGcw/YlmCw2y6KFfPfya7WKmpi4r2BlYYALHsnS/uh8HPvxLAE3kfj4jbZyM5ZJzn X-Received: by 2002:a17:903:2409:b0:1e2:5b2e:ee83 with SMTP id e9-20020a170903240900b001e25b2eee83mr5298328plo.57.1712054461642; Tue, 02 Apr 2024 03:41:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712054461; cv=pass; d=google.com; s=arc-20160816; b=zpqtx5azcsEazMPBWSLMcNEFIgTJtPqIV9fL7LCXk0LujCJVgJ7rvKkGZgPJPGbgFT 6X9RWVuW8r+DN/GYjqHLhOVoCCZQ60fe1F9SvrTvXyQts2IPmRBVBdg4I8WOnSo4bDWU EkFOpzPzz4oVcQahtplEuh8QAK4j1ed+Ii4cS6l4/5OElP6bF/mldcdO0PRAab58oHcu XDLoodzsYjoi5dq1wCJOFB/+y1X+TbWUSSkYv8ImZw5Km96Kt13nL/9qyGnRfCFiMtvd KgS/XCw5X8mS04/FQ4co0p28rq9KarsoyFyWZeO/zXv79iiv418u8alspN+hDkbLO98t ucFA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=YqAdqlsyttGCPljt8upEYfXdRnplZUADsBpQBViqCiw=; fh=rouosvckRCIz7eTpUtZlOAc72rOvQgKRsvZNjwvgfL8=; b=LmtMIdUp7asIsc7uD8IHsUCe7aseXm+imJulOeKUlJWMaOS7j4gqdOaTP3cpH+38xx IIMHQurVptw99TD0AFLXfJGAPy4ihV2NK9wZg7QfnIneNmcwCC4xH1IijRTNcIDzVc/t saxOymQWTrD2N3y7B3sWNPHA0aGYV+Qn9e1T3FXHcJnPJSGc2DHPl09C6M1j9fQI1zuC CL5biZjraDApHqCMjufeN19xns2SXPggVJaWHOtaYVwIFHz3m1TJz3tnO+tQPwH162pS 0OQ65ta2wmT760D3nGVknNp5LwOSkIb3OZSdJaoNkbI4FWDBW35Sr+VTpp9PSPHae0ru sZxQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=sntech.de dmarc=pass fromdomain=sntech.de); spf=pass (google.com: domain of linux-kernel+bounces-127755-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127755-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i9-20020a170902cf0900b001e0e85b71b9si11332727plg.566.2024.04.02.03.41.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 03:41:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127755-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=sntech.de dmarc=pass fromdomain=sntech.de); spf=pass (google.com: domain of linux-kernel+bounces-127755-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127755-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de 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 AA0E02822FA for ; Tue, 2 Apr 2024 10:41:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E3ECC63511; Tue, 2 Apr 2024 10:39:25 +0000 (UTC) Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (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 7A79061691; Tue, 2 Apr 2024 10:39:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.11.138.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712054365; cv=none; b=DAqgoe6L1AZ649kUW2SEBrI6i3YF385RE48fyG/X6KLR4+iACM99kFBVkFLCohUfIWEAMhAV6UJAlkU+swndYUoMia+5iKnrjhsTavZLueQUFca31wQz3Rr8NWYedlr7EXi3Nujz4XOohphGIAeqr5dOaxsT9kFik+FD7iVvbKA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712054365; c=relaxed/simple; bh=0ywk1aPD4iHu2wTKDlo26tgrYdL1uutRqFQeQi3qw1g=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HmNYKLekPUz9uI9HHWuesux5aU/iXZy38mm+ZcFYS9Be8BhSqBZkvo1o9mX7kYztoTWDDN7yVhu9P2ShGpFhDdRJjQJpCX1X5v+qTFnmUehbCaARunUF+bu1kCL/p4Zqi5aYOH/PKQnYFjnmb6WHi7EyXhh80C/isdYUZKZf1bA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de; spf=pass smtp.mailfrom=sntech.de; arc=none smtp.client-ip=185.11.138.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Received: from i53875aaf.versanet.de ([83.135.90.175] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rrbXy-00051j-5X; Tue, 02 Apr 2024 12:39:18 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Jianfeng Liu Cc: robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, sfr@canb.auug.org.au, liujianfeng1994@gmail.com Subject: Re: [PATCH] arm64: dts: rockchip: remove startup-delay-us from vcc3v3_pcie2x1l0 on rock-5b Date: Tue, 02 Apr 2024 12:39:17 +0200 Message-ID: <2535182.Sgy9Pd6rRy@diego> In-Reply-To: <20240401081302.942742-1-liujianfeng1994@gmail.com> References: <20240401081302.942742-1-liujianfeng1994@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Am Montag, 1. April 2024, 10:13:02 CEST schrieb Jianfeng Liu: > Property startup-delay-us is copied from vendor dts and it will > make kernel not detect pcie wifi device. If I run command: > "echo 1 > /sys/bus/pci/rescan", pcie wifi device is detected, but > my wifi device RTL8822CE failed to load driver. Another device > RTL8723BE can load driver but no wifi signal is detected. > > Removing this property will fix issues above. > > Signed-off-by: Jianfeng Liu > --- > arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts > index d6bf2ee07..a9af654a0 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts > +++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts > @@ -76,7 +76,6 @@ vcc3v3_pcie2x1l0: vcc3v3-pcie2x1l0-regulator { > regulator-boot-on; > regulator-min-microvolt = <3300000>; > regulator-max-microvolt = <3300000>; > - startup-delay-us = <50000>; > vin-supply = <&vcc5v0_sys>; > }; this somehow sounds like a hack around a deeper issue. Because regulator_enable just delays its return by that delay so the pcie driver should just after this return do the scanning? Does the pcie driver enable the regulator too late somehow? Heiko