Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp4414711rwp; Sun, 16 Jul 2023 02:43:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlELuXk0xZw+Ix5yS3+wHaOBWw0uWdQy+EPe3x2kye6SR5WzFR3lpZctbX/uQhOQfviBjHZ3 X-Received: by 2002:a05:6402:254f:b0:514:a566:104a with SMTP id l15-20020a056402254f00b00514a566104amr4261521edb.3.1689500608995; Sun, 16 Jul 2023 02:43:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689500608; cv=none; d=google.com; s=arc-20160816; b=myBGYDfOxzaWBB9SdLq6q7N+iRXOWwtzxrRtDihuVpbGbOvzmb9EbYdgnCkSjBkrzF hFsQzDINiF/aVzFFXu06nLMNLnevCPx5/R8Ibqi+55AlBiGoSkMA2ZtR7nK8DfvVxGoE O2kbkv+V/wCzPwCeinMSMyW4NLcIGkm6UWEVAcFPnts18kmx+XDQ++fAjnvE/drogEqn nqSQs/KCuImUr5Dc8j6DnU4PpELXijKFgc2xcEY+g5+JWGIfBjbdvsCRsk8sHOYRVneD x3/j3E4coZHkaRYa/1N2Vo0Ad/NHHvaAScvXIjwWiEcM6ptSSCGQ7wC4dziBcEmHzRXY 7+Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=PAEW5pBQpGEQa8+u+L9FSRTp3sQn8Q/V86sBZoZsPWQ=; fh=aR6JnZoPQXyfwrAhRBimnmQL8wtShytS86MN8eur2+w=; b=AX0dR6KKfifA+z3FJ8uZYeWzNiVDrlYnLg4kadaGL6VrSF13cFnNBAuiFiRYCHc2Us wbwJRWUtwzSsed680xwIK7/E8qu86ofjNfJD6Jr52G6OHVTtfqw3pu6WRJ1zSc7QZSR7 ON9OrZaJCjO8nZCb5VcBVlmSmEp6KiiYCEFvN8v44ACbtLInrUthNsYCbb5D67kkOpKZ eSESbQ7AdvdxWUgrktrUj2UX7NCnCjLwssj6xqxJfXS4GJAddwy7aK4PJbFJRqMluNSg +xB34/s6FXRoCKMNh0AS1tueWDxTnRfR3F7N7yhuhrA1CYnpJlyGwp8ldxJBYLHsDx4g 1ZwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=l6RwRWza; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id be18-20020a0564021a3200b0051df3f7d697si12150707edb.331.2023.07.16.02.42.59; Sun, 16 Jul 2023 02:43:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=l6RwRWza; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229697AbjGPJb2 (ORCPT + 99 others); Sun, 16 Jul 2023 05:31:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjGPJb1 (ORCPT ); Sun, 16 Jul 2023 05:31:27 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 696A5BA; Sun, 16 Jul 2023 02:31:26 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1b89d47ffb6so19158685ad.2; Sun, 16 Jul 2023 02:31:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689499886; x=1692091886; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=PAEW5pBQpGEQa8+u+L9FSRTp3sQn8Q/V86sBZoZsPWQ=; b=l6RwRWzaknd6B76niiuL3tAR63PuV1iQSjFKFJXxADmQb4HesnoyQ447/WNd4TUcO6 XATKCziG9vWxMed+uSYI0nDY901HvvRQdJlAETW6bwI+GaFGfsR6yJpEQqdJ+U0ay0+W 0CwrvCc3JTkBzqTM/gPZOgHYYgVf/TnJDOCxKIXFO3EgW5HKFXKYnrDdPkP3tN//SC5o rE7IIgz7ANUGNYdgbKHmLhxbJj5Hg+Q+Ai9AvZ2m/qLmj8HfNj5ddXWulXeOSXHc/WGU os6aCBAz8ugrM3R+5w/KlXe2yoPjQ2jOpjxBoiy8/BIdbvRnBCBsk4ab5hfJVly6J/wV R8gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689499886; x=1692091886; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PAEW5pBQpGEQa8+u+L9FSRTp3sQn8Q/V86sBZoZsPWQ=; b=eR+7hxRHsU4HY7JdmCVXr03PcIqKVvwhZEoU8BeHu8PrejFD3xASUmUIhlZ9JOoZm+ r6ubkXSrzdT1z9AeQpXsEE7Syp08CZc0zqYDubPzg5/Jj6KONJ59qnz2bCk6bldi9Web PTIBO2jTNq/7Go/WwQa6RceBKbZwudVabfMWH2Zfxxdcz447AX02Q6eKrC1kbuq6aRU6 M85nNOc5+hYjCZsk/j/sddq3jGp2VHchCuSRgbpKpLiD34dVTYf2GFBDy59DVVodGOel D+oWAEt7k9ynvNjO9P41DqNFfWZeHarcvEbixQ//is9JBlQTK1Q7QvXN6dLk5GWp04mR 9Pig== X-Gm-Message-State: ABy/qLbiuiU/EgFbGVXh+m8PIV64+IWUEqW9RYFDZVhqBvXrKQOvJcYt iV3b4fiehkFbaT6OXtEsEXQ= X-Received: by 2002:a17:902:ec88:b0:1b7:fef7:d578 with SMTP id x8-20020a170902ec8800b001b7fef7d578mr7533075plg.41.1689499885772; Sun, 16 Jul 2023 02:31:25 -0700 (PDT) Received: from zephyrusG14 ([103.251.210.195]) by smtp.gmail.com with ESMTPSA id q9-20020a170902dac900b001b89f6550d1sm10662211plx.16.2023.07.16.02.31.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jul 2023 02:31:25 -0700 (PDT) Date: Sun, 16 Jul 2023 15:01:19 +0530 From: Yogesh Hegde To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, heiko@sntech.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Cc: linux-kernel-mentees@lists.linuxfoundation.org, skhan@linuxfoundation.org, ivan.orlov0322@gmail.com Subject: [PATCH] arm64: dts: rockchip: Fix Wifi/Bluetooth on ROCK Pi 4 boards Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fixes an issue affecting the Wifi/Bluetooth connectivity on ROCK Pi 4 boards. Commit f471b1b2db08 ("arm64: dts: rockchip: Fix Bluetooth on ROCK Pi 4 boards") introduced a problem with the clock configuration. Specifically, the clock-names property of the sdio-pwrseq node was not updated to 'lpo', causing the driver to wait indefinitely for the wrong clock signal 'ext_clock' instead of the expected one 'lpo'. This prevented the proper initialization of Wifi/Bluetooth chip on ROCK Pi 4 boards. To address this, this patch updates the clock-names property of the sdio-pwrseq node to "lpo" to align with the changes made to the bluetooth node. This patch has been tested on ROCK Pi 4B. Signed-off-by: Yogesh Hegde --- arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi index 907071d4fe80..795a70948d9a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi @@ -45,7 +45,7 @@ led-0 { sdio_pwrseq: sdio-pwrseq { compatible = "mmc-pwrseq-simple"; clocks = <&rk808 1>; - clock-names = "ext_clock"; + clock-names = "lpo"; pinctrl-names = "default"; pinctrl-0 = <&wifi_enable_h>; reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>; -- 2.34.1