From patchwork Tue Oct 8 20:39:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 13826904 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 67F7BCEF17E for ; Tue, 8 Oct 2024 20:41:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1IM0OrzlMARCyTP/cKzBRYf+XaNpIXTDJQSS01m+dqc=; b=UFNebRcb+IkkRp VmkoFqBCKaT2UNcK0FcxAQcJCqYbJYo3fH15TX5OfMdz7Pn2X189dy7Pe885zatqOzFWKam056v2z JQvESY3zf7n6fdDjGgYVSSOP7Oja+fdjKfcDo6k5VMbNtsJqvQpPdgH2K28xtKDyOSN3pmFPz5doG ojAm2nlS+l3rl/EEvYogG2IVtwrd4JMDPqJQWozCDyfAUyAnm/nwhtHjc7VkNvZlf4U8+ZnUosZDg jwMPwvwTUH8LZLqTwfmahyBKqh7Af3hZ9FPVu5qDHdjsFTgG2thQckpQXUfEObKOnyp3GFgMp2hQb Md9zB0iC2PZr96ifVoeA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syH1D-000000075Rs-0dE8; Tue, 08 Oct 2024 20:41:19 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syGzr-0000000759G-0r2r; Tue, 08 Oct 2024 20:39:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=277QVKUgBZx9Kqmh10Kpiu8kjEqYEgwLRvpKlI61ue8=; b=o7h9IlgjVc1SIzTNCKVOgehWbk xYBuL9RXaDHs+VW9PS7Hvn9QW/UIePNVYtyJIvrn8PT67J0IL1miaGCaoWdgfN6TkcStuFP40KVxV 3lQg5oTlOGxeG/Ekm7kLUnE5m4NbBL8w6y74XTdbiVMxZF5h321DE2kIEiZ+AmtFmMVVxZ6rbVP2+ 8YVDf3qgN38u6F+DL+JGrlSMX/MPcNWxzhdv2EGqr/+VJ/kO0WynBGIkULRnlzo6Rw4+694OuGdBf ipN8G4hNG/tjsjcds4ZFo0Q4pTBBr1KMSRmBv/3fTBEAq4jQn6sHgjJPjI9fbzYhl7YVzq41v6dPf yi9joteg==; Received: from i53875ad9.versanet.de ([83.135.90.217] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1syGzp-0007ua-TI; Tue, 08 Oct 2024 22:39:53 +0200 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org Cc: heiko@sntech.de, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Chris Morgan Subject: [PATCH v2 01/14] arm64: dts: rockchip: fix i2c2 pinctrl-names property on anbernic-rg353p/v Date: Tue, 8 Oct 2024 22:39:27 +0200 Message-ID: <20241008203940.2573684-2-heiko@sntech.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008203940.2573684-1-heiko@sntech.de> References: <20241008203940.2573684-1-heiko@sntech.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241008_133955_268184_F167F749 X-CRM114-Status: GOOD ( 12.02 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org We want to control pins, not beer mugs, so rename pintctrl-names to the expected inctrl-names. This was not affecting functionality, because the i2c2 controller already had a set of pinctrl properties. Fixes: 523adb553573 ("arm64: dts: rockchip: add Anbernic RG353P and RG503") Fixes: 1e141cf12726 ("arm64: dts: rockchip: add Anbernic RG353V and RG353VS") Cc: Chris Morgan Signed-off-by: Heiko Stuebner Acked-by: Chris Morgan Reviewed-by: Dragan Simic --- arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353p.dts | 2 +- arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353v.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353p.dts b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353p.dts index a73cf30801ec..9816a4ed4599 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353p.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353p.dts @@ -92,7 +92,7 @@ button-r2 { }; &i2c2 { - pintctrl-names = "default"; + pinctrl-names = "default"; pinctrl-0 = <&i2c2m1_xfer>; status = "okay"; diff --git a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353v.dts b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353v.dts index e9954a33e8cd..a79a5614bcc8 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353v.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg353v.dts @@ -79,7 +79,7 @@ button-r2 { }; &i2c2 { - pintctrl-names = "default"; + pinctrl-names = "default"; pinctrl-0 = <&i2c2m1_xfer>; status = "okay"; From patchwork Tue Oct 8 20:39:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 13826905 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 6F754CEF17E for ; Tue, 8 Oct 2024 20:42:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6v/7ZyJbzwMpYqaqQq1Ua3jwG7m8M8p8LFRSSVVKfzU=; b=jK1YAVd1C5qbnz KotTQyepod1Yh4GASlFh8cIOjW775rKcfLIf8ScsQOmNHxBP175khvhlKYs/vPtS4uaWnlOtSpD07 P2UixfQRgdOLp07p1rOSdOrxpJE11kc3MCJjfpelH28RcghOXPX6J8mruP7gVa4mvDZKtLpccpx4/ 9F1schel8NX/3+tp3EH7v+x4313R3t5RlCZ753lrS7XfGaazTzo9QApYhGh4YazRpV7yctIdqlAxe YG3H4XNuWhL7uFAbsUEa0PRhQnVYmGsNwSTyPJnoX4sNH88BEo1U5gaGV9NXayDT2DpzDaDVbaB6C 8EJQ0mxH22dcwLSmOqrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syH2T-000000075ey-471v; Tue, 08 Oct 2024 20:42:37 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syGzs-000000075AO-2GMD; Tue, 08 Oct 2024 20:39:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=MkCaKskrO/nF9QQnRoBZ2O5aN148arkIhAAPWOoj440=; b=1svss9TRSdDFMG59J/YDEISSGa DOGQzSUOW37901EZPDKCM/9xQFAX5VPyIMy6vaI4LXnXWnghjEOhf1hL2L1vtgRLWimAGucn7uuUE 6E7BQdgDGlA9I4Hi5kD0PF7zyM6ztcceO31pxSFfi0ab/yUFMyReIDcYXojRI/ljzDR1nIxREMoTf ebWrnrPpu5EGL4mPsZEpDNeVaAR2IpWPEXsTUokPVPJfzvcoi8Hhl220yS/vzep/hkQEriz8RK8zT Q9N4AJL2cfu3atZDdiVuIqZEyHBu/9tcdsjRO3UAcdl6SiWfH/tF223VN3VJ+etExe81tI/YJpPVV lssjVf3A==; Received: from i53875ad9.versanet.de ([83.135.90.217] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1syGzq-0007ua-7Q; Tue, 08 Oct 2024 22:39:54 +0200 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org Cc: heiko@sntech.de, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Furkan Kardame , Elon Zhang Subject: [PATCH v2 02/14] arm64: dts: rockchip: Drop regulator-init-microvolt from two boards Date: Tue, 8 Oct 2024 22:39:28 +0200 Message-ID: <20241008203940.2573684-3-heiko@sntech.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008203940.2573684-1-heiko@sntech.de> References: <20241008203940.2573684-1-heiko@sntech.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241008_133956_602986_8FB756F2 X-CRM114-Status: GOOD ( 12.40 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org rk3568-roc-pc and rk3588-toybrick-x0 re-introduced this property despite previous patches removing older instances already. regulator-init-microvolt is not part of any regulator binding and is only used in the Rockchip vendor kernel. So drop it. It is used by u-boot in some places to setup initial regulator-state, but that should happen in the existing -u-boot devicetree additions. Fixes: 007b4bb47f44 ("arm64: dts: rockchip: add dts for Firefly Station P2 aka rk3568-roc-pc") Cc: Furkan Kardame Fixes: 8ffe365f8dc7 ("arm64: dts: rockchip: Add devicetree support for TB-RK3588X board") Cc: Elon Zhang Signed-off-by: Heiko Stuebner Reviewed-by: Dragan Simic --- arch/arm64/boot/dts/rockchip/rk3568-roc-pc.dts | 3 --- arch/arm64/boot/dts/rockchip/rk3588-toybrick-x0.dts | 1 - 2 files changed, 4 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-roc-pc.dts b/arch/arm64/boot/dts/rockchip/rk3568-roc-pc.dts index e333449ead04..2fa89a0eeafc 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-roc-pc.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-roc-pc.dts @@ -272,7 +272,6 @@ vdd_logic: DCDC_REG1 { regulator-name = "vdd_logic"; regulator-always-on; regulator-boot-on; - regulator-init-microvolt = <900000>; regulator-initial-mode = <0x2>; regulator-min-microvolt = <500000>; regulator-max-microvolt = <1350000>; @@ -285,7 +284,6 @@ regulator-state-mem { vdd_gpu: DCDC_REG2 { regulator-name = "vdd_gpu"; - regulator-init-microvolt = <900000>; regulator-initial-mode = <0x2>; regulator-min-microvolt = <500000>; regulator-max-microvolt = <1350000>; @@ -309,7 +307,6 @@ regulator-state-mem { vdd_npu: DCDC_REG4 { regulator-name = "vdd_npu"; - regulator-init-microvolt = <900000>; regulator-initial-mode = <0x2>; regulator-min-microvolt = <500000>; regulator-max-microvolt = <1350000>; diff --git a/arch/arm64/boot/dts/rockchip/rk3588-toybrick-x0.dts b/arch/arm64/boot/dts/rockchip/rk3588-toybrick-x0.dts index d0021524e7f9..328dcb894ccb 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-toybrick-x0.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-toybrick-x0.dts @@ -428,7 +428,6 @@ vdd_vdenc_s0: vdd_vdenc_mem_s0: dcdc-reg4 { regulator-boot-on; regulator-min-microvolt = <550000>; regulator-max-microvolt = <950000>; - regulator-init-microvolt = <750000>; regulator-ramp-delay = <12500>; regulator-state-mem { From patchwork Tue Oct 8 20:39:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 13826911 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 C155ACEFC56 for ; Tue, 8 Oct 2024 20:46:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MwwvMdXse7LHij4vkKfpRV5jDN8J+xH/SzhG9BJJDvI=; b=V4TBrS7cpgQD1U /nzk8XURpHljHhugfpcvvmThoSfLnIkrIAh4jzFV4qJXgi/CTrC+HT0RWEt9qZ1D7vzYYmZ6RDRrj c5PMnrU4OYlvYM76zKK2LD0iuh31UV4/FxUbMeUVPwn2Xbx2GwIEpFCFQffVaO6qqtWEZxdRowO0l uaOTpcGGUL5jACEzNSHmQLvukKycULb58RMTmspJat95d9faFiCwkbMjWxbTQQNG8GwsqHBJ3Kc70 fOzrCNP+qtuDNhpyphpYr72RSeCWK+HfDzi8JCE4Kix9sbluWassM/LpdEwF8LSv4/mk+Ro3TV6Uh cAh+XAWnEoo2VX46Lvzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syH6H-000000076An-1IVs; Tue, 08 Oct 2024 20:46:33 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syH0E-000000075I2-3SV1; Tue, 08 Oct 2024 20:40:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=k/5sNKevC+o9Lp1ItqUhRy3pPTMdn3RRBndu2fGnT5c=; b=iuwlSqvR36x7nwhum8+pM28/BS 9ukE513xiryH26afSTnx9Ezf6pqryQE2TESEBFTkfPsb7Boh0+K/Zu23h7LGurxB1gRDtgIx2s5Xj EnARFY9IUPjlJdByE9iiGW956unbtqbdqzuPwVaZFUr91IKUFmuQy3V+gp7ZkBej+Lv7h2hznFGpv KVgttV3y181J6g445OTS/Gsq4VNPNv3fLohfid0UFuowCGWRe8zVSftJSCDT6sV1xKQj4phm41nCM VTdmnoNW/NGH6rBFKcbK4Krr4u0OafZZMnWHQQCko9ILaPZIzCfifk4AQav8aH+gmBHEkqReqCMN1 VoWurD5w==; Received: from gloria.sntech.de ([185.11.138.130]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syH06-00000004gel-3Lil; Tue, 08 Oct 2024 20:40:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=k/5sNKevC+o9Lp1ItqUhRy3pPTMdn3RRBndu2fGnT5c=; b=0Jly2FwYX3Ck1HU3A++7h39T1n Qx/WO/nnoMpEc3Fm1fSa0+iLFTiPwN9eSbT7krtfJIF0lYkqZFH1KlP16gMN/fc+VX57Z71Pay3kC pj98cjFwi0tU8ZUTSV9YQ9DUwtyq9QI4GvqhO76L8ZCMULQrxx9LNvOVoa8gDJH1RaFoKiWoxpPAv i/xCQ8t8TrBZW8rbAXe46BWsqw3AILnpzjetD4V0Dd8IuV9W9C67d8MoJn1X0OpmlgSAGOmwz07dq mGs00UADlqGgt3tH/ff/Os2ge7KCnO9sjy6KgjPTgyYnq8t7lUFo0fOOU1vIT2FRodNloQHOYcaQu QOjShNyg==; Received: from i53875ad9.versanet.de ([83.135.90.217] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1syGzw-0007ua-Rh; Tue, 08 Oct 2024 22:40:00 +0200 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org Cc: heiko@sntech.de, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Andy Yan Subject: [PATCH v2 03/14] arm64: dts: rockchip: Fix bluetooth properties on rk3566 box demo Date: Tue, 8 Oct 2024 22:39:29 +0200 Message-ID: <20241008203940.2573684-4-heiko@sntech.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008203940.2573684-1-heiko@sntech.de> References: <20241008203940.2573684-1-heiko@sntech.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241008_214015_021555_1178FAD6 X-CRM114-Status: GOOD ( 11.89 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The expected clock-name is different, and extclk also is deprecated in favor of txco for clocks that are not crystals. The wakeup gpio properties are named differently too, when changing from vendor-tree to mainline. So fix those to match the binding. Fixes: 2e0537b16b25 ("arm64: dts: rockchip: Add dts for rockchip rk3566 box demo board") Cc: Andy Yan Signed-off-by: Heiko Stuebner Reviewed-by: Dragan Simic --- arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts b/arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts index 0c18406e4c59..7d4680933823 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts @@ -449,9 +449,9 @@ &uart1 { bluetooth { compatible = "brcm,bcm43438-bt"; clocks = <&pmucru CLK_RTC_32K>; - clock-names = "ext_clock"; - device-wake-gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>; - host-wake-gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>; + clock-names = "txco"; + device-wakeup-gpios = <&gpio2 RK_PC1 GPIO_ACTIVE_HIGH>; + host-wakeup-gpios = <&gpio2 RK_PC0 GPIO_ACTIVE_HIGH>; shutdown-gpios = <&gpio2 RK_PB7 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&bt_host_wake_l &bt_wake_l &bt_enable_h>; From patchwork Tue Oct 8 20:39:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 13826906 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 59F83CEFC56 for ; Tue, 8 Oct 2024 20:44:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AHdD3h/Crrq1jcXIe25FIv5+CKeJMOvkYe8RryeIsBI=; b=a6XGJyZqmTjpu2 gZ3mhn3USKopi4VXGzBc0v6De/xGwSLyCv3brWBhgIH3Oy+/quv9rO9slzCGxvMapG9ue/DH2akKf m/C33wkuLZdciSm2PgCiibkewD2XLlk+gsExl+7ipcNkCb3hxqs/iSN6ywvN1/+/9ngPsw8S1YoSy lRXIfnIYER5Sen0U8tRhntSl3bQ3ecm3ml+0XRB36GMD2cIvBsRoZmGdfVJ5/BCkqgiSl1+8Dw+oP rIrRJPsl6Ngfpi6OFQdq73D6djHmc3k4hVCUS4Etcr8Ai9HwZPjFUKHf0H6LF7IKEvdp7Qb7Jvbb6 I+F0wz/yCTTnyxDM8prw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syH3k-000000075tk-3nvr; Tue, 08 Oct 2024 20:43:56 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syGzy-000000075Cg-2Oxp; Tue, 08 Oct 2024 20:40:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=LNyTDXAOfDtfweQQ1cZdwJvM/wUwnqE+NuSrFe9SWt8=; b=VfbiDGfHVRvxIAbCjkJLJjZMue HyvmLash0GJ39tj9tTWqgw/FXzkHscbAcUm6nSzgHamVVLOtA5wiZrcmoKg8mPseMyQWTBIktWsaZ cvQZfTe/W8RVcaMzhHLGKIiZLxhclR1Jp9MuXFF3PPGZh74NMfhQzjQk6HLhv36fZxWtvjGnW22o7 mnzPid57rh63V6YyatuljFzwe8hvPu7QWgQg7DLstP/VuwRo2+mBaG7Vx+jffhlo3BmNWARh7ttxj rrezg5TsCgJfl8Vt1wk+XikvPooRcT7ESyHw7UtRqi59TMf2Ej+ih+lJ0ngXGuwcX/lLvlYEgA+Dn tZ8lzasg==; Received: from i53875ad9.versanet.de ([83.135.90.217] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1syGzx-0007ua-5P; Tue, 08 Oct 2024 22:40:01 +0200 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org Cc: heiko@sntech.de, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH v2 04/14] arm64: dts: rockchip: Fix bluetooth properties on Rock960 boards Date: Tue, 8 Oct 2024 22:39:30 +0200 Message-ID: <20241008203940.2573684-5-heiko@sntech.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008203940.2573684-1-heiko@sntech.de> References: <20241008203940.2573684-1-heiko@sntech.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241008_134002_639568_D3F9ECC4 X-CRM114-Status: GOOD ( 12.85 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The expected clock-name is different, and extclk also is deprecated in favor of txco for clocks that are not crystals. So fix it to match the binding. Fixes: c72235c288c8 ("arm64: dts: rockchip: Add on-board WiFi/BT support for Rock960 boards") Cc: Manivannan Sadhasivam Signed-off-by: Heiko Stuebner Reviewed-by: Dragan Simic --- arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi index 8146f870d2bd..ab890e7b6c59 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi @@ -576,7 +576,7 @@ &uart0 { bluetooth { compatible = "brcm,bcm43438-bt"; clocks = <&rk808 1>; - clock-names = "ext_clock"; + clock-names = "txco"; device-wakeup-gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>; host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>; shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>; From patchwork Tue Oct 8 20:39:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 13826918 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 AB69FCF0421 for ; Tue, 8 Oct 2024 20:50:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fn+TE3lDePaUbK9EHwbeOvf55oGmv9dpPbU3g57ZMXk=; b=qOkb46Lvk8IMht /dZ4l3iC+6axDNVVAA2WqReQd8IqdMouOqQr6SfAo+bTmKy1QC/R1twAuvdA0uSmciibCqN/Rzji4 +PvSJFNUb334CSLIJ2HlyLJFf4FE2HlesELDeEd4eb4fQuh/DLE77B4PtZHkRckaLsxOT3eYhuNZD WCt9WwqTQ71ErVqf4MRDrs8+6utmGOSlaGiDDu04NYPgfqDMVQmOX1oHUdvL7gyKHsl2hQ1LyZNa1 Oy+7AwSfC7pBWsFKNAJ1ZDvVBrwzur7QPkxPEIx3r37PKTRENFqGv7bUR7YS82VNYBobI4dgD+MsE Izm54nwBxkvraLxz3qWg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syHA6-000000076YG-29dE; Tue, 08 Oct 2024 20:50:30 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syH0H-000000075IZ-0GRT; Tue, 08 Oct 2024 20:40:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=fMY3Hx2YxzWWEFZLZHGJcI0fZev4CYGwKOUcWpqRbzI=; b=X9Ib9pCri1RVikiNl2SRQO3Bnj hHnRmUsFUQI6VMwtC7ySowyda6EeH2GXeSib5CPJpF9dq/fXje/1As8KIOQK3xe72y6Fkg39/GA0j RCfjpaWiyWUkLtgXek4VhPj2c8Sj9IrMrOlEwiGfym7foPzUkdFjMYgBi5CzwjBTlKmGzxGIxlgR2 Wl1CAVFx9TCPxD/ns38Vb6eIFqD0OxuFLkoQEcC6ph+emtqlLRST/1OqlvDL//fbK+p9MhujHFOVW 7iKu/PsSE+kucos3DOJ+woLknl+bKICG6xvJvuCiKfgQdCHZAuP3JHWrhLRsUROYhburfbWhM9BFb X1p8cYQQ==; Received: from gloria.sntech.de ([185.11.138.130]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syH06-00000004gen-3LrC; Tue, 08 Oct 2024 20:40:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:Content-Type:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fMY3Hx2YxzWWEFZLZHGJcI0fZev4CYGwKOUcWpqRbzI=; b=gr5OUt9OETpicas45k1+5dGprA K6+y+lKFC/aShZr7VJC+ty2lnMUW+vVKmm+JQMb7qq5H5ReWLAebTp3iOdmxz2LWYwi6BJKQi3u/t wB8QrfUcmI4eOHgBS3vlb6CGPt1QrGHNM+V2ABkW+SERNz9DwTaZrnvGpu1e0tkJ0MrQAB2ffCcjf lWhjcSfjLmMs9GnjihLLxmwNg17tuGmEuLV7rDjL3gW7M4pAtnS1UuUQUrqKbsvJFSTIJ0g7Yrf4o xSXO3BBY4kpjlSbAgIQRq2V6ZD1g501bCwVcPcBsDP5hTpDRqqUlXCB3dv0RAYNovsoFxOLVLTFNa BIHKTD1g==; Received: from i53875ad9.versanet.de ([83.135.90.217] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1syGzx-0007ua-Hi; Tue, 08 Oct 2024 22:40:01 +0200 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org Cc: heiko@sntech.de, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Quentin Schulz , Sergey Bostandzhyan , Wenhao Cui , Andy Yan Subject: [PATCH v2 05/14] arm64: dts: rockchip: Remove undocumented supports-emmc property Date: Tue, 8 Oct 2024 22:39:31 +0200 Message-ID: <20241008203940.2573684-6-heiko@sntech.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008203940.2573684-1-heiko@sntech.de> References: <20241008203940.2573684-1-heiko@sntech.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241008_214015_064859_2334423C X-CRM114-Status: GOOD ( 10.69 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org supports-emmc is an undocumented property that slipped into the mainline kernel devicetree for some boards. Drop it. Fixes: c484cf93f61b ("arm64: dts: rockchip: add PX30-µQ7 (Ringneck) SoM with Haikou baseboard") Cc: Quentin Schulz Fixes: b8c028782922 ("arm64: dts: rockchip: Add DTS for FriendlyARM NanoPi R2S Plus") Cc: Sergey Bostandzhyan Fixes: 8d94da58de53 ("arm64: dts: rockchip: Add EmbedFire LubanCat 1") Cc: Wenhao Cui Fixes: cdf46cdbabfc ("arm64: dts: rockchip: Add dts for EmbedFire rk3568 LubanCat 2") Cc: Andy Yan Signed-off-by: Heiko Stuebner Reviewed-by: Dragan Simic --- arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi | 1 - arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts | 1 - arch/arm64/boot/dts/rockchip/rk3566-lubancat-1.dts | 1 - arch/arm64/boot/dts/rockchip/rk3568-lubancat-2.dts | 1 - 4 files changed, 4 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi b/arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi index bb1aea82e666..b7163ed74232 100644 --- a/arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi @@ -66,7 +66,6 @@ &emmc { bus-width = <8>; cap-mmc-highspeed; mmc-hs200-1_8v; - supports-emmc; mmc-pwrseq = <&emmc_pwrseq>; non-removable; vmmc-supply = <&vcc_3v3>; diff --git a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts b/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts index cb81ba3f23ff..3093f607f282 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts @@ -27,6 +27,5 @@ &emmc { num-slots = <1>; pinctrl-names = "default"; pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>; - supports-emmc; status = "okay"; }; diff --git a/arch/arm64/boot/dts/rockchip/rk3566-lubancat-1.dts b/arch/arm64/boot/dts/rockchip/rk3566-lubancat-1.dts index c1194d1e438d..9a2f59a351de 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-lubancat-1.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-lubancat-1.dts @@ -507,7 +507,6 @@ &sdhci { non-removable; pinctrl-names = "default"; pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd>; - supports-emmc; status = "okay"; }; diff --git a/arch/arm64/boot/dts/rockchip/rk3568-lubancat-2.dts b/arch/arm64/boot/dts/rockchip/rk3568-lubancat-2.dts index a3112d5df200..b505a4537ee8 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-lubancat-2.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-lubancat-2.dts @@ -589,7 +589,6 @@ &sdhci { non-removable; pinctrl-names = "default"; pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd>; - supports-emmc; status = "okay"; }; From patchwork Tue Oct 8 20:39:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 13826910 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 031AACEFC56 for ; Tue, 8 Oct 2024 20:45:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=j+bQtZPPu88Bf7wM1zCjt4D8+/5p7Avp5GKnUn35yBI=; b=biuqX0gFOI9Rqv zem2rpvLjWMfNCViciEwW4X2R8tM3fc4dUrv5GcEaFfGXCnu7xnJbJFP6RNKLL1VUWKO4zn3XnJAj VLlw5K6+bMNPiQijEZMpc01D8EaElxWKoc9PCLeB5lD1AqsxdyokhsDfcDOlLqeWDoqVHO5TNNWFE 8UGocr0toczaVthEcbT36edT6FafQVjRj6IPQrYSt1routjlzch77xFxCh6kSlY/OOZMwfZlQYL8O sy9kop+rb46m+s9Y/KhaQlSa9HhrGoDLJc20TXYiS3Zv06lXLUdym4R9iUMfBWZMIxTrVSpWJEMvb zQIIx7Ty6JlBM2YMFlrw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syH50-0000000762E-3QEZ; Tue, 08 Oct 2024 20:45:14 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syGzz-000000075Cv-1m0J; Tue, 08 Oct 2024 20:40:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:Content-Type:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Yf04+QXT03J/TjvEQgDGnbMwpR73yd5cNPeoOtdIFnk=; b=gx5ShjBNYIrZSk4OMsyqJE52fQ q/5S+Z/47L4AfMrv4gQePKJrCmjdLlyA2T/4Aa23YZxjFLYY81yOlWLvnUIL4h0AWR2iZE7QNum7X iikekfZtptftfTv4Cr0TuwKO0+uOJWv9PIYWYzalHaIMuIvFFJW8Uf5wqANODACIUxhFkUpsRNfXe t7/LSZtkfHkKTM9Z6MSCMtfDEQTRpA+YK1sEppjpUKTdwHvihfi9mGyvXyKPTCxVAsRdSZcajtmuM KbgJKzlhIJP74te5EVl3clRhSEbeyDPegeavLzsL1bjOTC+oWP5RPJz07TXTMISlJqarpiLGOwfyz /FweGeFg==; Received: from i53875ad9.versanet.de ([83.135.90.217] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1syGzx-0007ua-TZ; Tue, 08 Oct 2024 22:40:01 +0200 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org Cc: heiko@sntech.de, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Quentin Schulz , Klaus Goger , Quentin Schulz Subject: [PATCH v2 06/14] arm64: dts: rockchip: Remove #cooling-cells from fan on Theobroma boards Date: Tue, 8 Oct 2024 22:39:32 +0200 Message-ID: <20241008203940.2573684-7-heiko@sntech.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008203940.2573684-1-heiko@sntech.de> References: <20241008203940.2573684-1-heiko@sntech.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241008_134003_511107_6DD0EFD3 X-CRM114-Status: GOOD ( 12.65 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org All Theobroma boards use a ti,amc6821 as fan controller. It normally runs in an automatically controlled way and while it may be possible to use it as part of a dt-based thermal management, this is not yet specified in the binding, nor implemented in any kernel. Newer boards already don't contain that #cooling-cells property, but older ones do. So remove them for now, they can be re-added if thermal integration gets implemented in the future. Fixes: c484cf93f61b ("arm64: dts: rockchip: add PX30-µQ7 (Ringneck) SoM with Haikou baseboard") Fixes: d99a02bcfa81 ("arm64: dts: rockchip: add RK3368-uQ7 (Lion) SoM") Fixes: 2c66fc34e945 ("arm64: dts: rockchip: add RK3399-Q7 (Puma) SoM") Cc: Quentin Schulz Cc: Klaus Goger Signed-off-by: Heiko Stuebner Reviewed-by: Quentin Schulz Reviewed-by: Dragan Simic --- arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi | 1 - arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi | 1 - arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi | 1 - 3 files changed, 3 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi b/arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi index b7163ed74232..a6ea9d8c785c 100644 --- a/arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30-ringneck.dtsi @@ -293,7 +293,6 @@ &i2c1 { fan: fan@18 { compatible = "ti,amc6821"; reg = <0x18>; - #cooling-cells = <2>; }; rtc_twi: rtc@6f { diff --git a/arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi b/arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi index 8ac8acf4082d..ab3fda69a1fb 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3368-lion.dtsi @@ -61,7 +61,6 @@ i2c_lvds_blc: i2c@0 { fan: fan@18 { compatible = "ti,amc6821"; reg = <0x18>; - #cooling-cells = <2>; }; rtc_twi: rtc@6f { diff --git a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi index 650b1ba9c192..6de3128556b7 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi @@ -395,7 +395,6 @@ &i2c7 { fan: fan@18 { compatible = "ti,amc6821"; reg = <0x18>; - #cooling-cells = <2>; }; rtc_twi: rtc@6f { From patchwork Tue Oct 8 20:39:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 13826919 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 A0A45CF0421 for ; Tue, 8 Oct 2024 20:51:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=T/0C5cj3K+9LpPytotaCVP/tEPz9kKAupnbTHW/JPmM=; b=TwM0aHaepsREvG t3+gTCdmASvG3L2QMRRaqby4NaAy6iGF5n55XAPWljC6t2aj+vSLqK/SfL0DtTn6Uc9MhSnzGkStj cKL3f1GsZ3uYg61Q0DRmzyf/cOM1uG15vz2WyktAp3WQu69vAEJ5v6+XgaYPOvqXz2glN3CW4Po3H Tq7fmW1yLsAYW9b+24Xuy3uaAQeiBe+RsDBxj2o6lAEUNCnH1kl0Z9KnEOFQVFbrKneVhypxZNrhj 173qHhJFD42M3Gt9OpDJs9tYi+qeWotlYnorWpWSFawmgYhsjUpu0rHMUp11FjllO+IozVs4V4e+D cqLbbJsJKwJHqZybJ+dw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syHBN-000000076kF-2Xiy; Tue, 08 Oct 2024 20:51:49 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syH0O-000000075Jj-0qi9; Tue, 08 Oct 2024 20:40:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=kbHRuisZyrs8FwUsSu90NxL13w/ixqtP/x+s/iP2Gds=; b=V3AG0I/oRGdy4wiZdq6TlcbXnO c4sLFN/0z61kWE9/W0Gg8XBHnMfxo/uej7jmpYJtXnq07T+qKGvK5go3AyubDO0/e2GXZTM58ZaQT 9NqH7DB3bGDOKDcWe3qHTITQt8g3PuE4UFRfPaucdaym0iZMRMwmpqaYTymnPIvLfnesYKpdZdAly OPvi+masElahz4+MKpkm/srQxxYpVDOH9wKM1j6fGqJ+g595wGUz0FIsFjYzIcaLIZIc52OCL5tmU MzP8kNNa2CdCbvGnUw9kK19dmTKNNgNU13JLgKeedeQjVtEgsd3SgMyaja/JOF5fTnAwmx3+e58Bz V3ROAfFQ==; Received: from gloria.sntech.de ([185.11.138.130]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syH06-00000004gem-3Lpk; Tue, 08 Oct 2024 20:40:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=kbHRuisZyrs8FwUsSu90NxL13w/ixqtP/x+s/iP2Gds=; b=HO2z7P7te2LlOPQDTUNm2sOiS0 ohQxYqIRHUnzUDJUa7BLcVLMMhdthbTmn4w2QybkyGoFLkMese5KxQnPr/Iz7W+TuV2iLfHe1PNYY i+CsEEIngdYImpIwK8sAd4oVNzWilrGA9NHU9BRoUWCzSOQMp4RdbAk/vPorj8M4yUYUrwZH41eYw nFhIoslajt/4G0i/qmbidLy59uNpM7ShZ+0cC5F53Y7iM3OcEZnyCQ+YO1IyEQXnIJ/peEcjgaUrv v7lX0SD6bOosGXtPkmpg8C/fAzMfYwUAj1cMGrbYQI1FAfLbFVTCxPM3ahNc8zWAJhPmadiD8lr8d XOmjVxQw==; Received: from i53875ad9.versanet.de ([83.135.90.217] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1syGzy-0007ua-6k; Tue, 08 Oct 2024 22:40:02 +0200 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org Cc: heiko@sntech.de, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Andy Yan Subject: [PATCH v2 07/14] arm64: dts: rockchip: Fix LED triggers on rk3308-roc-cc Date: Tue, 8 Oct 2024 22:39:33 +0200 Message-ID: <20241008203940.2573684-8-heiko@sntech.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008203940.2573684-1-heiko@sntech.de> References: <20241008203940.2573684-1-heiko@sntech.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241008_214015_165362_21F5CAEB X-CRM114-Status: GOOD ( 12.96 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org There are two LEDs on the board, power and user events. Currently both are assigned undocumented IR(-remote) triggers that are probably only part of the vendor-kernel. To make dtbs check happier, assign the power-led to a generic default-on trigger and the user led to the documented rc-feedback trigger that should mostly match its current usage. Fixes: 4403e1237be3 ("arm64: dts: rockchip: Add devicetree for board roc-rk3308-cc") Cc: Andy Yan Signed-off-by: Heiko Stuebner Reviewed-by: Dragan Simic --- arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts b/arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts index 9232357f4fec..d9e191ad1d77 100644 --- a/arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts +++ b/arch/arm64/boot/dts/rockchip/rk3308-roc-cc.dts @@ -36,14 +36,14 @@ leds { power_led: led-0 { label = "firefly:red:power"; - linux,default-trigger = "ir-power-click"; + linux,default-trigger = "default-on"; default-state = "on"; gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>; }; user_led: led-1 { label = "firefly:blue:user"; - linux,default-trigger = "ir-user-click"; + linux,default-trigger = "rc-feedback"; default-state = "off"; gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_HIGH>; }; From patchwork Tue Oct 8 20:39:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 13826913 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 3718ACF0421 for ; Tue, 8 Oct 2024 20:49:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nftlg6UVnKRxHs8OTNkMvPCcPXyf5Lkqxc8ewORDoQ4=; b=QSWJtTtbh3hYJc h9gT+XK8NKsKaHNTj6jEQFaCmMrQYWqxM3tGp3Y/gzRVhlZpf9hq95kkH3BwlObG1JPbi8gQs+unl FHrKT8pz3FQ4Pqo4pSFpXjNusTDEVpC3vYqp9Dsjk7duLOA3J06krp++LD6knJerdT/QHpvMJhxzm VzF3L97oSUxhidV/hfPp2nHaAsddPqRwm2jZx3JrpvfeWjZE8+gx63l5mQ6n5WU3ZXCMdP1x8SkSc o+jIchvMenbFOjS/VafnRLECYQXDIHGOJgtT+RH3Pv/wj8TYT1AxJQHnSMtLEdm7PaIRpCXXlAGUi p+S++IviCF1us4zg7zUw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syH8q-000000076QZ-0xqq; Tue, 08 Oct 2024 20:49:12 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syH0G-000000075IW-1JnC; Tue, 08 Oct 2024 20:40:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=a8vwVyS29rOLWb4fTtAHqldYQww/UW84ULndF4f+v14=; b=GZsUGU49LeV3TzcJF9i3z9CzHt P97xFVzm6yG9aLOqtsgaK8LDNGjUDmSwVVPK77Fx/YnPHeIsFY5BFHuiidKMVDmqN2UVrei+zboxl n8K+CON0/4Ku/NRW344LFtXsmhv+6LpTGJfDw9n+feAeXrqqwMmH5SD9E8D4ZA7PpUC8nQuOSvKrn BltjPV0iIIfxcO0df/1l0nKUFI/nctske7SIbmL/5OTIofts8WWzQoDFEUdguxdclbiMhCTzcATHs ec3pbzukRAq6I6d8ZTcgu0RyFyOGq2bdGAumWnPTNW0r6mvLlnuOW6JrRh0mnH7+eHsEeRN6x7Znh 7kZEX11g==; Received: from gloria.sntech.de ([185.11.138.130]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syH06-00000004geo-3LyC; Tue, 08 Oct 2024 20:40:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=a8vwVyS29rOLWb4fTtAHqldYQww/UW84ULndF4f+v14=; b=dmAdLIz2XoO9eTTfpODgOR3J9I LUwukipOXckhy0cbfKUF7OkXYm51EZap+kxUx5we10CXlFrWU/7h8KvqQDZoWT9TUGtocA2t/St+p yJb4QTfxMmucSoZhfNI3L4DQFFkjNHakPECIirua6+QS2EmIcn8U4Q95xTu8E1aOwhJwvTThdHEdn W8UzHlXHLio5/3VhdprthvYrXPZVMdIJD8F0y8yvDajh02C2qykevskc0GRLa24ellBjScvu3Z/zI gP7v00pt275dInHrMorPd3xiIFBYcrj5lFt2ZFQeA3iwgdCdhvu6i9ldhX0CQYcYYvAR70qmsou8i ronxEveQ==; Received: from i53875ad9.versanet.de ([83.135.90.217] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1syGzy-0007ua-GD; Tue, 08 Oct 2024 22:40:02 +0200 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org Cc: heiko@sntech.de, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Sergey Bostandzhyan Subject: [PATCH v2 08/14] arm64: dts: rockchip: remove num-slots property from rk3328-nanopi-r2s-plus Date: Tue, 8 Oct 2024 22:39:34 +0200 Message-ID: <20241008203940.2573684-9-heiko@sntech.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008203940.2573684-1-heiko@sntech.de> References: <20241008203940.2573684-1-heiko@sntech.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241008_214015_113828_1361DB80 X-CRM114-Status: GOOD ( 10.71 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org num-slots was not part of the dw-mmc binding and the last slipage of one of them seeping in from the vendor kernel was removed way back in 2017. Somehow the nanopi-r2s-plus managed to smuggle another on in the kernel, so remove that as well. Fixes: b8c028782922 ("arm64: dts: rockchip: Add DTS for FriendlyARM NanoPi R2S Plus") Cc: Sergey Bostandzhyan Signed-off-by: Heiko Stuebner Reviewed-by: Dragan Simic --- arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts b/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts index 3093f607f282..4b9ced67742d 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts @@ -24,7 +24,6 @@ &emmc { disable-wp; mmc-hs200-1_8v; non-removable; - num-slots = <1>; pinctrl-names = "default"; pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>; status = "okay"; From patchwork Tue Oct 8 20:39:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 13826912 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 B9420CF0421 for ; Tue, 8 Oct 2024 20:47:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pwHUSA46/P+UxZtHQdv3im6bgiEHYTR8Frsh79DLkRI=; b=1tF4T9veueaZPk CknZVC8agQgA9XBB07Mrj80fe8D9PSDJY4qoQXBTW2Gq4/SCZ0Bq9QBtBXmhbGRhcGfUNyq3zp28J FEogWkt2dq4TToAzWBE5ToC3e5oecJCSppOp2s9msy7xCf/3hoLSS5ebT9v7JKVpGpQF+OZzqfAur MZqNZWMjZHfMDnNITfS6S8S3s5S0OXAnABLQFGGeLOl9RQcqG05lNP+YHsW5KaYO76tfQmF0ezLlc 3VSalBRAQwphmqi2gXjvK8ne0P4Wyl2tgDI2V0iwso2TC7bWP35IHPk5htwLeBDey32bXzNUoSY1R RTDyPxYodoirHCYXI7Vw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syH7Y-000000076HF-05AX; Tue, 08 Oct 2024 20:47:52 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syH0F-000000075I4-07uK; Tue, 08 Oct 2024 20:40:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=eDd5It6L888PWBPkJXs5nl2b05MH0ha+y3DJsf2KZJ8=; b=UTjbr40Vlh/Fy6lMgbcsfjHeB5 Sl8WtzULm7bfnesmMHTsk+3FxUyE7Ptb7qxx1Nt8RM1SyoQYEDUfCbaxHZIa9N7285NNUGu2v5KRh DPNicvcqu86pjrhxyTuoQQJzFfq79MojXRi7F7DfsdV8E9D/9M9F5JxorWWcgRELJs0u1ByUPuO1M 2QhNGew61W+qJmXa5L4rkIgKr8H9rXgb1ZVjQlrpj4666rTFESTXr6aNM/AFvBa1+oRZz0k0G2buo odWPsVhz5Q0eb0z3ad1iG7evhNgulgARy+uUhlEhbmy+1vidk5vi9jCF3UPaAeIR5OAjN9fxsZ0EE BlqJjCCQ==; Received: from gloria.sntech.de ([185.11.138.130]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syH06-00000004gep-3Le7; Tue, 08 Oct 2024 20:40:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=eDd5It6L888PWBPkJXs5nl2b05MH0ha+y3DJsf2KZJ8=; b=jSuUVASO5JpD0ixglqh5ZhtT99 MeAKJjnELiy/DWwPry9+m8z8UQD5tpS7pEl8AeWysUqbNvedrQZ/5LVI4M+BKs4xV6OVaPjzGUWVD swCc2sP0IblT7YS7PS7WjULFljKN2pcVQhHmVHvh4OZvX9m6FKln8u/nfV3/PdoWUsTiXih/AoAQD eB5QBnNvQN502Yo4JpTrYqmpa+Z8B+92Yzrd/k6/Dit7+gf2bgRtgguB2s7hzgXz1NwX3NoatxI+f pNERTHWjtRQh5qXFQ89dK9y/hypK+4JbN3IZ7GG+ZQnELS745vZb8Sn+21UhKcU/VX3atPTCCWgNT 3Cu93X/w==; Received: from i53875ad9.versanet.de ([83.135.90.217] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1syGzy-0007ua-Qg; Tue, 08 Oct 2024 22:40:02 +0200 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org Cc: heiko@sntech.de, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Michael Riesch , Muhammed Efe Cetin Subject: [PATCH v2 09/14] arm64: dts: rockchip: Remove 'enable-active-low' from two boards Date: Tue, 8 Oct 2024 22:39:35 +0200 Message-ID: <20241008203940.2573684-10-heiko@sntech.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008203940.2573684-1-heiko@sntech.de> References: <20241008203940.2573684-1-heiko@sntech.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241008_214013_811717_63EA7CFF X-CRM114-Status: GOOD ( 11.35 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The 'enable-active-low' property is not a valid, because it is the default behaviour of the fixed regulator. Only 'enable-active-high' is valid, and when this property is absent the fixed regulator will act as active low by default. Both the rk3588-orange-pi-5 and the Wolfvision pf5 io expander overlay smuggled those enable-active-low properties in, so remove them to make dtbscheck happier. Fixes: 28799a7734a0 ("arm64: dts: rockchip: add wolfvision pf5 io expander board") Cc: Michael Riesch Fixes: b6bc755d806e ("arm64: dts: rockchip: Add Orange Pi 5") Cc: Muhammed Efe Cetin Signed-off-by: Heiko Stuebner Reviewed-by: Michael Riesch Reviewed-by: Dragan Simic --- .../boot/dts/rockchip/rk3568-wolfvision-pf5-io-expander.dtso | 1 - arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts | 1 - 2 files changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-io-expander.dtso b/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-io-expander.dtso index ebcaeafc3800..fa61633aea15 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-io-expander.dtso +++ b/arch/arm64/boot/dts/rockchip/rk3568-wolfvision-pf5-io-expander.dtso @@ -49,7 +49,6 @@ vcc1v8_eth: vcc1v8-eth-regulator { vcc3v3_eth: vcc3v3-eth-regulator { compatible = "regulator-fixed"; - enable-active-low; gpio = <&gpio0 RK_PC0 GPIO_ACTIVE_LOW>; pinctrl-names = "default"; pinctrl-0 = <&vcc3v3_eth_enn>; diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts b/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts index feea6b20a6bf..6b77be643249 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts @@ -71,7 +71,6 @@ vcc5v0_sys: vcc5v0-sys-regulator { vcc_3v3_sd_s0: vcc-3v3-sd-s0-regulator { compatible = "regulator-fixed"; - enable-active-low; gpios = <&gpio4 RK_PB5 GPIO_ACTIVE_LOW>; regulator-name = "vcc_3v3_sd_s0"; regulator-boot-on; From patchwork Tue Oct 8 20:39:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 13826921 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 D1863CF0423 for ; Tue, 8 Oct 2024 20:54:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zyJHhWaU54A+GoA4LqKSJaf6OuUNtz7rdfwc0VOhOTQ=; b=nv23lsJ/1VDIXZ i6QKTaOduaUzCXOkP6DxpNGXU2w9IZAWzFnFxMjHwSbvexBLAb2mlOf/u34lwGI96+iYK77ytx9yp w9Hm1x9VLgxzX0NviTuLgRVJ58A0MChWQRoGs/fcXNwHdYMbI+HK6xcNi4kL39BVAfQ3WjxgzTQdr kZZfcJr48Y4ILuoojQtrLu6ClKmqwg/FQS2QLZ6o3X4ZuKjFvNq/VFfpUnt0Ac9Jgd2jhxS+vO0nP pqAeF+Wq6wAGYUF3AIr4Z5mjXO2chi/gm7xlUfs7rsm8ebpWfkkS1DYpxddGbvezzLP2XBOq3rtYW NOD10/e8FLTj37GBwTYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syHDw-0000000776n-2SkM; Tue, 08 Oct 2024 20:54:28 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syH0u-000000075N8-2zhc; Tue, 08 Oct 2024 20:41:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=1Ss5v3ULHCunVrXhSZIkIP3MNlCeEJXebPB4aKeixYg=; b=M8u38ivjJa5SgkMHeQ87g9oobd 35EWhNuyBA6J8ORwC2Z5xqmPXwt49xG7IuvJOPz1+Un8Ov70uGpXpW32fuJYORzgi3cqpC8jFif3Y +q0PtIfAmEOneHWGkPiO4Uqdfz9KQJZO7ZFvCCuKRLoO8XII0+SH+i9jKZyLISuT4zg//K68AebN2 XO95qG5U7Y45BUfJNvAqCwpte6zHXzIEqeKybOOr+5WhtjGtscoFzDTHBG7+nxXCzf9XYlneSgARR CEIuD6gSk6fYIATOi2JWuZmozNQI8c3HHvspmtaWe8fyYWFC+gRci0DiMcU1mDdAfllcr462u1fBo Z7ahKUAQ==; Received: from i53875ad9.versanet.de ([83.135.90.217] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1syGzz-0007ua-5e; Tue, 08 Oct 2024 22:40:03 +0200 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org Cc: heiko@sntech.de, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Martijn Braam , Javier Martinez Canillas , Ondrej Jirman Subject: [PATCH v2 10/14] arm64: dts: rockchip: remove orphaned pinctrl-names from pinephone pro Date: Tue, 8 Oct 2024 22:39:36 +0200 Message-ID: <20241008203940.2573684-11-heiko@sntech.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008203940.2573684-1-heiko@sntech.de> References: <20241008203940.2573684-1-heiko@sntech.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241008_134100_773070_9C296FD5 X-CRM114-Status: GOOD ( 10.95 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The patch adding display support for the pinephone pro introduced two regulators that contain pinctrl-names props but no pinctrl-assignments. Looks like someone forgot the pinctrl settings, so remove the orphans for now, until that changes. Fixes: 3e987e1f22b9 ("arm64: dts: rockchip: Add internal display support to rk3399-pinephone-pro") Cc: Martijn Braam Cc: Javier Martinez Canillas Cc: Ondrej Jirman Signed-off-by: Heiko Stuebner Reviewed-by: Ondrej Jirman Reviewed-by: Javier Martinez Canillas Reviewed-by: Dragan Simic --- arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts index 1a44582a49fb..09a016ea8c76 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-pinephone-pro.dts @@ -166,7 +166,6 @@ vcc1v8_lcd: vcc1v8-lcd { regulator-max-microvolt = <1800000>; vin-supply = <&vcc3v3_sys>; gpio = <&gpio3 RK_PA5 GPIO_ACTIVE_HIGH>; - pinctrl-names = "default"; }; /* MIPI DSI panel 2.8v supply */ @@ -178,7 +177,6 @@ vcc2v8_lcd: vcc2v8-lcd { regulator-max-microvolt = <2800000>; vin-supply = <&vcc3v3_sys>; gpio = <&gpio3 RK_PA1 GPIO_ACTIVE_HIGH>; - pinctrl-names = "default"; }; vibrator { From patchwork Tue Oct 8 20:39:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 13826933 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 4BD08CF0423 for ; Tue, 8 Oct 2024 20:58:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Y0EY9sEg8J6FBtK+lxpvxDOBx7fUroN1WZj/1pZIl08=; b=x0mqOEf1AC6y+P NhhBj1AvonsOr2i5o3GCfmNqB8AKt0BQu33amjh0A/L82hSIiKCOTeHPhMYek7DoTYHHsO1SSO5Sw TteEVL+IxPzwGfibCKe3AvjGus1O1Xpxf2QDzE1gKBLdi4FbpdPAMDlQliLbAZd8Loz/FnAl7yvBz JXP3Sm3Fic/KCt2F36iLXxgEQuqT3Ee4gEkkEIT7+NfxQg5srttWrVIyPAuQ9nnEp2AVTAiNi4/MP ncAccBNj2nBGy0g73xVC3gNwgSvpx0099PDEGJz96PfPc0h3mwRnyiZxIgc63K16KTdl6mc/G2bOT MIPfTdxZtfDNqvRN5tEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syHHk-000000077bg-2eJa; Tue, 08 Oct 2024 20:58:24 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syH1B-000000075QX-0dgw; Tue, 08 Oct 2024 20:41:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Dx6qSKCScjkQMoZc8ORhv4gyksrl/9l68dxlNO0Nn/Q=; b=WiwbPRuRkG4uxFgmzeN33dV/06 M0/4AHjFt9JTYPHJ2l7MinthOje+M2tZHH3PTtojU1x4qVJdv/I9c7s+9qWsRvF3Rpfbtf2HGt2rr 51LnTDkacVJYEVBDE77+Th6MF8tKaN1KK7v5hV0I4nEySBMhnS6OQLVdJJ7zXGcmYuB0CsAO1h/b8 kXpUZ0xmHLzRRH5mDM2VYEgtQkTcL4ROOgr2WO/XaZyvptVjxuqLLlx1+3k4ZqmHsVX5AjfGzKc47 t9uEYolu1Nkqol8V0E8TPgqVW+8oRZVxfCFl8AlUmTREyQZMd3cF8m2yJo+FU2JwtX1yua2Yom7M8 FtnU8ihw==; Received: from i53875ad9.versanet.de ([83.135.90.217] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1syGzz-0007ua-Dh; Tue, 08 Oct 2024 22:40:03 +0200 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org Cc: heiko@sntech.de, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v2 11/14] ARM: dts: rockchip: fix rk3036 acodec node Date: Tue, 8 Oct 2024 22:39:37 +0200 Message-ID: <20241008203940.2573684-12-heiko@sntech.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008203940.2573684-1-heiko@sntech.de> References: <20241008203940.2573684-1-heiko@sntech.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241008_134117_226980_FBFF92CC X-CRM114-Status: GOOD ( 11.27 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The acodec node is not conformant to the binding. Set the correct nodename, use the correct compatible, add the needed #sound-dai-cells and sort the rockchip,grf below clocks properties as expected. Fixes: faea098e1808 ("ARM: dts: rockchip: add core rk3036 dtsi") Signed-off-by: Heiko Stuebner Reviewed-by: Dragan Simic --- arch/arm/boot/dts/rockchip/rk3036.dtsi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/rockchip/rk3036.dtsi b/arch/arm/boot/dts/rockchip/rk3036.dtsi index 96279d1e02fe..37369538483f 100644 --- a/arch/arm/boot/dts/rockchip/rk3036.dtsi +++ b/arch/arm/boot/dts/rockchip/rk3036.dtsi @@ -384,12 +384,13 @@ reboot-mode { }; }; - acodec: acodec-ana@20030000 { - compatible = "rk3036-codec"; + acodec: audio-codec@20030000 { + compatible = "rockchip,rk3036-codec"; reg = <0x20030000 0x4000>; - rockchip,grf = <&grf>; clock-names = "acodec_pclk"; clocks = <&cru PCLK_ACODEC>; + rockchip,grf = <&grf>; + #sound-dai-cells = <0>; status = "disabled"; }; From patchwork Tue Oct 8 20:39:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 13826938 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 8130CCF0423 for ; Tue, 8 Oct 2024 20:59:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Uaq9660TkENhG66ZLN6et2R6E1z6rxKgZLoZAJ0/EAY=; b=bhmZHG0aI18qz+ kJjxyXMap40Nvdlxktyrxmjy2+bvqVyusDJLUPyOdxGQCyFmsjHQ6tHZBR5v0pNl0SF7VlRWTgBpP h9L2KgZw5Sifxpyo+LHEZWv8kosadZ2T+Epb3yrx+Ybe7Llbxi0gtfobFraE1O0AP1YcZFXO8PvQ1 jglulH7/eNQGhD3vRx3VA1Z/XMdGbf+QVk9QOsyYfRXtPWfk99+hbgWOWcANK/lXKxQNISTMHsgPR U6ISWgpB7URu+kni9tLhzOPlG7hNcj4FPsQOtyWvCJZLwI4r3WPu0uMu2rIlh7BayoLlsjkxanGDa 2ALKhKlhBxV8QNj2VqKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syHJ2-000000077pU-2e17; Tue, 08 Oct 2024 20:59:44 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syH1Q-000000075Va-32Bi; Tue, 08 Oct 2024 20:41:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=uxRN7J/sVj1N0EB6Jrbue+PuLHyGkoW89UPYH/fY9Tw=; b=BfheFS4b+uK7DdRCnUMyljRUyT cSkO9CvVsxiqxZ8es5SzLldtEoAX98KzigFlchbyXRgQ3KCJLOUjUU2sMz7yJocbL1vhpmmxI/feq UWttdfnh4vEedSvbftR9tsWMYZCkBg28LJ1TjcsH8K74toVil3V8K0XcP+rCKhXoOVBH5tY6zqVvt KKJdpsJrLOik1VgTSD4BO0lNARcV6NUfwV9LUi4q6KrXhtjO/1Pv9yuAHfk569t75D9MtuyWeekRL PExHofEUoe/XP+xaqxjXHs+yqsTMOycj2L3eN2KDHgt6ULPBsEUrUhyq24lptKkaFD+nG5aXdZKyh WjF2Opew==; Received: from i53875ad9.versanet.de ([83.135.90.217] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1syGzz-0007ua-NC; Tue, 08 Oct 2024 22:40:03 +0200 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org Cc: heiko@sntech.de, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Caesar Wang Subject: [PATCH v2 12/14] ARM: dts: rockchip: drop grf reference from rk3036 hdmi Date: Tue, 8 Oct 2024 22:39:38 +0200 Message-ID: <20241008203940.2573684-13-heiko@sntech.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008203940.2573684-1-heiko@sntech.de> References: <20241008203940.2573684-1-heiko@sntech.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241008_134132_786604_5EBB13F4 X-CRM114-Status: GOOD ( 11.01 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Neither the binding nor the driver implementation specify/use the grf reference provided in the rk3036. And neither does the newer rk3128 user of the hdmi controller. So drop the rockchip,grf property. Fixes: b7217cf19c63 ("ARM: dts: rockchip: add hdmi device node for rk3036") Cc: Caesar Wang Signed-off-by: Heiko Stuebner Reviewed-by: Dragan Simic --- arch/arm/boot/dts/rockchip/rk3036.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/rockchip/rk3036.dtsi b/arch/arm/boot/dts/rockchip/rk3036.dtsi index 37369538483f..09371f07d7b4 100644 --- a/arch/arm/boot/dts/rockchip/rk3036.dtsi +++ b/arch/arm/boot/dts/rockchip/rk3036.dtsi @@ -400,7 +400,6 @@ hdmi: hdmi@20034000 { interrupts = ; clocks = <&cru PCLK_HDMI>; clock-names = "pclk"; - rockchip,grf = <&grf>; pinctrl-names = "default"; pinctrl-0 = <&hdmi_ctl>; #sound-dai-cells = <0>; From patchwork Tue Oct 8 20:39:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 13826920 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 3ABCCCF0425 for ; Tue, 8 Oct 2024 20:53:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pRtO1OzFbUwaFk88+6mVV58oMnk/qNuQpK71j06vOSs=; b=MOhr15ZPdEY39I lKxQUdt4BpL1KqehbD4vuK684Pq7PbUFSSem4dsT9TE1LB8r5TUD2qX5VmfeAK98fmwi5tb4pXXAt 71UdEXDaVPNGqRccyb48VNpfFygqIbCsMWr1JhVPbcb/s9cd9piI2zfKTDBHHcdIz3F1CEPvlRYCU taMqMGGzRT+ZUzNR8HVPVdNoTnFU2fwiiqQjhHTJ4Ii1+R1K4TOmIbtcSQehHwrz05Inzl8U1VPrm /o/PWH49Rj97gttHl2j9Y7l4b9ou8e/ulZF2VI7Oclv4oz1ea0ueT4Cff+mhfW5m8EuniojykIflm Hks7N+lngNxgjZnJb2pA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syHCf-000000076tr-0Pmo; Tue, 08 Oct 2024 20:53:09 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syH0o-000000075MI-1fVf; Tue, 08 Oct 2024 20:40:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=39rBIKasij5KGq63zlzPweJVheIerVbw/yLE/z9fdVM=; b=RbhEone2yOaB55CwxtXmK1QKIe cBThqv15TfOmICmCrNoXwHtDYdXjJGxBYqRRVtGJ0tQcp00tB+sKpb+92kON1q0uKElzkrgIcH+ac fMc1hoi76LJTPiOFks5k8z6Y2UXDK05rvu/2UphUt12vxOLKw0ze7UG8YbtoAh3d7NbbGcfWtsem9 7pjX5D9K4uBFUFbB+Ne20lXaAewkCschbeyk9UiSWapXYp2HxYHpqCptWaZVJ3FVGDVpNmSQQoIOW B3T4csHuPvtE0Z4JQN+lP+GOW8Iib+XBD83deDwX8fca2aG3EMppiwm0Lfy+QM2jxoelJOwx4YkLO t1T4MvBw==; Received: from i53875ad9.versanet.de ([83.135.90.217] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1syH00-0007ua-0Z; Tue, 08 Oct 2024 22:40:04 +0200 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org Cc: heiko@sntech.de, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Caesar Wang Subject: [PATCH v2 13/14] ARM: dts: rockchip: Fix the spi controller on rk3036 Date: Tue, 8 Oct 2024 22:39:39 +0200 Message-ID: <20241008203940.2573684-14-heiko@sntech.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008203940.2573684-1-heiko@sntech.de> References: <20241008203940.2573684-1-heiko@sntech.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241008_134054_458675_7F0F80D6 X-CRM114-Status: GOOD ( 13.21 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Compatible and clock names did not match the existing binding. So set the correct values and re-order+rename the clocks. It looks like no rk3036 board did use the spi controller so far, so this was never detected on a running device yet. Fixes: f629fcfab2cd ("ARM: dts: rockchip: support the spi for rk3036") Cc: Caesar Wang Signed-off-by: Heiko Stuebner Reviewed-by: Dragan Simic --- arch/arm/boot/dts/rockchip/rk3036.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/rockchip/rk3036.dtsi b/arch/arm/boot/dts/rockchip/rk3036.dtsi index 09371f07d7b4..63b9912be06a 100644 --- a/arch/arm/boot/dts/rockchip/rk3036.dtsi +++ b/arch/arm/boot/dts/rockchip/rk3036.dtsi @@ -553,11 +553,11 @@ i2c0: i2c@20072000 { }; spi: spi@20074000 { - compatible = "rockchip,rockchip-spi"; + compatible = "rockchip,rk3036-spi"; reg = <0x20074000 0x1000>; interrupts = ; - clocks = <&cru PCLK_SPI>, <&cru SCLK_SPI>; - clock-names = "apb-pclk","spi_pclk"; + clocks = <&cru SCLK_SPI>, <&cru PCLK_SPI>; + clock-names = "spiclk", "apb_pclk"; dmas = <&pdma 8>, <&pdma 9>; dma-names = "tx", "rx"; pinctrl-names = "default"; From patchwork Tue Oct 8 20:39:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 13826932 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 C8A2DCF0425 for ; Tue, 8 Oct 2024 20:57:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LonQcu91wW1zu4mn42DmicFR7gAcB/0aauMbzcW7GT0=; b=0a/eGMoko3rgeX BFfnmFvUU6CD6RT5vjM+/VgmiHdVonilyJoDNKBkw5ZL3MklUj9o5ggqdH0tx8bSCUl9orIDKTicm r/IfPK6zSpYcay8phgOIb58RJA2j+fVWPC7Jbv2rUKhYmtQYRHOxqAE7pwyyIFIg4CAY1u8/kGbne i53TAylAM6VeROjj7dBqb2Lt8dtMoVWVcC0si4AGxgf4u6zUSvROEyfWR9KVfH8PSsYbNKlAN6hjK 41vIBtY7E7piT8wuzRZUGcH/U9qJvQmdNDrRU35OdekJrMiO19Ch00/rtQ7DyzRQPPgeuFPK67zFi Owg9S9QPpRUA34GE4kWQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syHGU-000000077U1-1P9x; Tue, 08 Oct 2024 20:57:06 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syH15-000000075Oj-0IvT; Tue, 08 Oct 2024 20:41:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=m5w6xdKWUgNdPkw7Y5rv8zDO3m/QxCrIMKoWlCUHjdI=; b=ZiltC2Y/4qz7/TO1MouhOb+BsU 4nzW+5G/9qde5KRnd8AdEDJxirPanR46GCVLITS4FONDTZUHS4Iiksaoh7dnC3K2RmuHUCbUSCQJQ imngiRZnBrpF3fji8GMJ7OufWhqUG9Y1MdcMzLlzXdKPyV0GAyZ9ib5z1+EZCbb5ksbE+v23ND4cM agxI9RsAAthFgOeiz5kOMTRnf+kiRxRHdJ2/ystFihhD7r/Y+v073znqv2Tn/C9iRt5kDSmAMgEn5 tdw+JQoKub41vYN0RDj/6p0P4R434FeYmbaRuf4E8YXp9cOKcE9gB8s7ZP00qB+b6jevaUDtHXpLS dMYEHEqA==; Received: from i53875ad9.versanet.de ([83.135.90.217] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1syH00-0007ua-AF; Tue, 08 Oct 2024 22:40:04 +0200 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org Cc: heiko@sntech.de, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Caesar Wang Subject: [PATCH v2 14/14] ARM: dts: rockchip: Fix the realtek audio codec on rk3036-kylin Date: Tue, 8 Oct 2024 22:39:40 +0200 Message-ID: <20241008203940.2573684-15-heiko@sntech.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241008203940.2573684-1-heiko@sntech.de> References: <20241008203940.2573684-1-heiko@sntech.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241008_134111_128825_5F3776B6 X-CRM114-Status: GOOD ( 12.71 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Both the node name as well as the compatible were not named according to the binding expectations, fix that. Fixes: 47bf3a5c9e2a ("ARM: dts: rockchip: add the sound setup for rk3036-kylin board") Cc: Caesar Wang Signed-off-by: Heiko Stuebner Reviewed-by: Dragan Simic --- arch/arm/boot/dts/rockchip/rk3036-kylin.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/rockchip/rk3036-kylin.dts b/arch/arm/boot/dts/rockchip/rk3036-kylin.dts index e32c73d32f0a..2f84e2805712 100644 --- a/arch/arm/boot/dts/rockchip/rk3036-kylin.dts +++ b/arch/arm/boot/dts/rockchip/rk3036-kylin.dts @@ -325,8 +325,8 @@ regulator-state-mem { &i2c2 { status = "okay"; - rt5616: rt5616@1b { - compatible = "rt5616"; + rt5616: audio-codec@1b { + compatible = "realtek,rt5616"; reg = <0x1b>; clocks = <&cru SCLK_I2S_OUT>; clock-names = "mclk";