From patchwork Mon Oct 7 10:28:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Diederik de Haas X-Patchwork-Id: 13824472 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CCF7ECFB43F for ; Mon, 7 Oct 2024 11:06:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=adjafrSjr5X2oPPo4wCvTKycMj7Ej8xSRiHmdu4QNQs=; b=gRS7AyKmKJND3XlN+GRept0Xys J/FjxJ9YgtDocFQIUFa9Uy3Y6B4AtXv8pAfaz2pmGA6ggUgFiY3v6xjMQPoY+dqv3mcl6ypKOKC1V g6GJCfC0NkrftS449id/gurWXPuH4oMSFEqWRMXxgqcRcgpriFvAfvd5x6K9OYpPOggiOqNNVAwHs ePcSRU9bUYE5JSBTTTK1nFe24Yw3bvA8XVB+8oWJtlm4uh1cax6/RB25Qpui+sQNXdB9/sJf0mruS sdhREq5ft59vH41D2jzy8ZGWaF9zB4ZDnftY0ct0wZPjLcA9Hv4RzGice5ekBsRzVSoSxx4AILffh tPMUhUxA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sxlYj-000000028rj-2CYW; Mon, 07 Oct 2024 11:05:49 +0000 Received: from out-178.mta0.migadu.com ([91.218.175.178]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sxlRZ-000000027El-0Xg6 for linux-arm-kernel@lists.infradead.org; Mon, 07 Oct 2024 10:58:26 +0000 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cknow.org; s=key1; t=1728298703; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=adjafrSjr5X2oPPo4wCvTKycMj7Ej8xSRiHmdu4QNQs=; b=nMEVYHonL5IHRk7j2bInifSp0vGx16KKw9TworikV4G+nGzCAdaufVz1IvwlzYbSqCh/I2 106Gm77pvbeMrwLyT5h9x8AXIfIwpXl8ijKBuUAw79nTor6WByAbABsidYDMzDf97YiYkW wMdAzMGzZD5VN3l9rdMQiQS0R+hAA8oEthR3ZS0eNSRET9kV8otLquNs1X/hbZfWgqm6Ky DgWBWGqUnW+ciqXOOTs4jJQT3GflqN4GcdoSG8gQu+Yz6ShbDBO8XKr/k4iE09+0+O2Xzg f4uY3FbzrzGVCrEBcJY0dABH/O95Yy17NStx9cVZY/DxBSmzNwiJuHVB5DrzsA== From: Diederik de Haas To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Diederik de Haas , Dragan Simic , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] arm64: dts: rockchip: Fix reset-gpios prop on brcm BT nodes Date: Mon, 7 Oct 2024 12:28:19 +0200 Message-ID: <20241007105657.6203-6-didi.debian@cknow.org> In-Reply-To: <20241007105657.6203-2-didi.debian@cknow.org> References: <20241007105657.6203-2-didi.debian@cknow.org> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241007_035825_347377_DD54927E X-CRM114-Status: GOOD ( 10.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Except for some compatibles, the "brcm,bluetooth.yaml" binding doesn't allow the 'reset-gpios' property, so replace the invalid ones with the 'shutdown-gpios' property. Signed-off-by: Diederik de Haas --- arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi | 2 +- arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi index 7381bb751852..100a2774bbb5 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3566-pinenote.dtsi @@ -686,9 +686,9 @@ bluetooth { clock-names = "lpo"; device-wakeup-gpios = <&gpio0 RK_PC2 GPIO_ACTIVE_HIGH>; host-wakeup-gpios = <&gpio0 RK_PC3 GPIO_ACTIVE_HIGH>; - reset-gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_LOW>; pinctrl-0 = <&bt_enable_h>, <&bt_host_wake_l>, <&bt_wake_h>; pinctrl-names = "default"; + shutdown-gpios = <&gpio0 RK_PC4 GPIO_ACTIVE_LOW>; vbat-supply = <&vcc_wl>; vddio-supply = <&vcca_1v8_pmu>; }; diff --git a/arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3.dtsi b/arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3.dtsi index d09e6542e236..3e0cbfff96d8 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3.dtsi @@ -402,9 +402,9 @@ bluetooth { clock-names = "lpo"; device-wakeup-gpios = <&gpio2 RK_PB2 GPIO_ACTIVE_HIGH>; host-wakeup-gpios = <&gpio2 RK_PB1 GPIO_ACTIVE_HIGH>; - reset-gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_LOW>; pinctrl-names = "default"; pinctrl-0 = <&bt_host_wake_h &bt_reg_on_h &bt_wake_host_h>; + shutdown-gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_LOW>; vbat-supply = <&vcc_3v3>; vddio-supply = <&vcc_1v8>; };