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: 13826925 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 A6689CF0423 for ; Tue, 8 Oct 2024 20:54:38 +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=39rBIKasij5KGq63zlzPweJVheIerVbw/yLE/z9fdVM=; b=pJPtCnp7QMoO4VGnR5MlH0XLLm WF3qgrrFVZYFDM1xxncfyXzo1poKggzMwUbIKRjj62dSSrkREKMI32A3z2LQwQurInqElGbZxTo5w rTKSLk6dCOCQOGnM14gITQdvmYmg9+xlTLUIn7CMhmu0t7ROnkLxTcwQofTBYFFKWpTaKh/oWDUVd GdQW5032YXU9wAhOXEM5ZNNJdbWDaG3k2zzJMiDwjdCZhGqlZP+UtJZ5wfqvb6VBvAx2ElDGQjTop HpmzTPA1W2eSJYizrrLsXQ04H4uFi23J0Ve0TVY9IssR+Ntd8BAsgPBv6COdXzymid3HCFSYtzN3F b5AaxmWQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syHDw-0000000776f-09nW; 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 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-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 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";