From patchwork Mon Oct 10 19:01:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Furkan Kardame X-Patchwork-Id: 13002873 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 89403C433FE for ; Mon, 10 Oct 2022 19:02:39 +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=3SWpsTVg3KrOJ4/3Aa1dFffsYy4jVpbQZ4XnviuBwbo=; b=r1SdAwZvAwq1hk 9Lq9AdtD6Ls41pwZ2hQr1mYBV804rs0IFw1WmcdcOXqGF5U0SCj4Yoo+8lpP/N4gJEyerzO+Y7yUz 0mCv1fbgUEPOlIQ/IwdImjK2HdmLFbxmBq5fElsrneML/DqxUhE76SXsYWFQbCkBThfKRAVn11I8V OOGgJfq1L0Ljiu/h2HYnedoiGB8Qiit48GVTnF/nYDREOVTOgh4wkqUPgPoM9kA3jNZbfcUwm0WeM P9gDkPHzE3PVC7lyldnksH7Xlod0FoolCoN4Wswu8BiPdchQulSJ/pkZsDzzYdJF/My3cCEHOhuHc evoSVv1bkT97akJIUcTw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ohy2h-001tCq-0o; Mon, 10 Oct 2022 19:02:23 +0000 Received: from mail.manjaro.org ([2a01:4f8:c0c:51f3::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ohy2e-001tCE-Ec for linux-rockchip@lists.infradead.org; Mon, 10 Oct 2022 19:02:21 +0000 From: Furkan Kardame DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manjaro.org; s=2021; t=1665428538; 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=S6EYX/25onRq61ZO1nERvuEdAfDysESbF6EbgQnMp8o=; b=DA53R7sb7K6/cVbsuDNDGSOzGtOdEEsRz+NQpqZ25XxkQTpsJFYTLz5oMEdz+dSKrckgOc 6X4kGWOpap0Gx42o8UjQ/DiEPTDn16FjkHUzwt+YcYSay7gE8v0rqF12mgDFut2YedeYdB L/E7et/3lJ2Dp4MrVzI/iDaHRDR15cGNCThBF6JSC2jPnIbnKA01piZ4nEGdqtICYx+tOS 3+wjzmW6eu5EzSXBZ5EjppGBvnArXEAyWlTXalrkBly6sP15yc1VUvce7cYX6M/dphpSX3 bSkuzBqoXYj8pkCp75fav8+OZ8Rn1+rMdb0vinaRiMtgyC6X1PwHMencwjEycg== To: pgwipeout@gmail.com Cc: heiko@sntech.de, linux-rockchip@lists.infradead.org, Furkan Kardame Subject: [PATCH 1/3] arm64: dts: rockchip: Fix gmac failure of rgmii-id Date: Mon, 10 Oct 2022 22:01:40 +0300 Message-Id: <20221010190142.18340-2-f.kardame@manjaro.org> In-Reply-To: <20221010190142.18340-1-f.kardame@manjaro.org> References: <20221010190142.18340-1-f.kardame@manjaro.org> MIME-Version: 1.0 Authentication-Results: ORIGINATING; auth=pass smtp.auth=f.kardame@manjaro.org smtp.mailfrom=f.kardame@manjaro.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221010_120220_660683_58D4B60B X-CRM114-Status: UNSURE ( 8.59 ) X-CRM114-Notice: Please train this message. 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 Lan does not work on rgmii-id, most rk356x devices lan is being switched to rgmii. Signed-off-by: Furkan Kardame --- arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts b/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts index dba648c2f..72c91d2fc 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts @@ -142,7 +142,7 @@ &gmac1 { assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>; assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>, <&gmac1_clkin>; clock_in_out = "input"; - phy-mode = "rgmii-id"; + phy-mode = "rgmii"; phy-supply = <&vcc_3v3>; pinctrl-names = "default"; pinctrl-0 = <&gmac1m0_miim From patchwork Mon Oct 10 19:01:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Furkan Kardame X-Patchwork-Id: 13002875 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 6608DC433F5 for ; Mon, 10 Oct 2022 19:02:45 +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=y7lRtp78PAmtPc8p5OBFR0s72wkF+Cqz6ZqAOq8ZUXs=; b=H8J8f3qIHMGQZf K5gJvTdk09jW8sC/Hiplkmiw9l7sJM5lrcJVoKMYtxt+weTwnte9q2A2Q3FNPFbRW6ixjE64bi12n MpDHe42868GS9xSsS1K3dYUJFzaN85yZZgpDeU657i+fmFPxjAjrv4ddFVseLAeYAhuBCu6lzWO12 pHLhlXZ0uYfBmUQ8VUOD3X5D/g2f5dRt1IastOJ6lTf49VUESwZqq/dK/LLozjPSIrUaVRIOqLNvC v65gGs3HxC5Op4KpBPRUvijPfYCQ1uUxRi7jiJYkVKHhKJIOwKDF6OFQSYQzc2+oXM/EDB8k/BXZY zR0GnubcoWVHeWgRdoGg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ohy2s-001tG9-Ip; Mon, 10 Oct 2022 19:02:34 +0000 Received: from mail.manjaro.org ([2a01:4f8:c0c:51f3::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ohy2p-001tEj-P7 for linux-rockchip@lists.infradead.org; Mon, 10 Oct 2022 19:02:33 +0000 From: Furkan Kardame DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manjaro.org; s=2021; t=1665428550; 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=DGhFrsN8XOU/BWPt1zPfy7skEqnEZL2bML184k9OPSE=; b=wFZ6egzGNk1owRHlMyXL5KDob4iQzjFp4ipOK89iF1m0ogc08qDztpPCUZ4mpRHsyTWvrz 9wpG0JINxa9vGKNpCTyK1pEK3DjUJq7rhSmVBWuKzDZfsKpO06AqHhCci0tSZiXiG+IbQd 1zcMLRYDHAhCG7yu/n9ptA3EV83kDrRJ+FVbZ3y7KzdOl2HMZDNGzvD4EJICoqCF1nROTg hWkLY0nZWro4Sa+8jnDEedP+eOWDXead35+5XFKpb3NOku63rM81vnsnbNNnUUnjXBNmq0 dUjRUE9aCbyVtADmQWhp8MbqJQVUHlHiHTS+mkhPjGFCXldbL1oLpGH8XyiI+g== To: pgwipeout@gmail.com Cc: heiko@sntech.de, linux-rockchip@lists.infradead.org, Furkan Kardame Subject: [PATCH 2/3] arm64: dts: rockchip: Fix i2c3 pinctrl Date: Mon, 10 Oct 2022 22:01:41 +0300 Message-Id: <20221010190142.18340-3-f.kardame@manjaro.org> In-Reply-To: <20221010190142.18340-1-f.kardame@manjaro.org> References: <20221010190142.18340-1-f.kardame@manjaro.org> MIME-Version: 1.0 Authentication-Results: ORIGINATING; auth=pass smtp.auth=f.kardame@manjaro.org smtp.mailfrom=f.kardame@manjaro.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221010_120231_986455_F98C3D28 X-CRM114-Status: UNSURE ( 8.67 ) X-CRM114-Notice: Please train this message. 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 As per device schematic i2c3 pinctrl is connected to m0 instead of m1 Signed-off-by: Furkan Kardame --- arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts b/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts index 72c91d2fc..72809246c 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts @@ -432,7 +432,7 @@ &i2c2 { &i2c3 { pinctrl-names = "default"; - pinctrl-0 = <&i2c3m1_xfer>; + pinctrl-0 = <&i2c3m0_xfer>; status = "okay"; }; From patchwork Mon Oct 10 19:01:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Furkan Kardame X-Patchwork-Id: 13002876 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 E2D4EC433FE for ; Mon, 10 Oct 2022 19:03:04 +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=UqLJeGHe6jgbxKhCYiAR4uosc/YZKDUt1rAGqUGBBAo=; b=ZLNqBjgQmA7QVB 4iFDe/du7MMZxqgLpE8BAzIh3GH3xFHr2H6LzNxiY0jZnrUciJqrPZL57jolT2JaMK1wDLCPwIJb/ 4dwGkK95qd40MmSmcxAj3D/bq2hK/9T1z/ToWH31XmoXc3S3uH7xRfTHPviaJUww43yG1ueatmqkl C4zlrkHtP0EGXTGC2vlfH19yvi85Nu+38db4RG8PlW7Ac7Zumnnj8B89lGRMBkooOJLcVNM5Qi2p/ d9npVbID5COvTcYtymKurmvbbodUvaVwTB2amWolBuuX5xpJgxfH6LjqaHJqGxZZ8YlU4UffapSgn Cc8/INS+93TnZVUnTP4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ohy35-001tLm-6f; Mon, 10 Oct 2022 19:02:47 +0000 Received: from mail.manjaro.org ([116.203.91.91]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ohy2x-001tHN-NX for linux-rockchip@lists.infradead.org; Mon, 10 Oct 2022 19:02:46 +0000 From: Furkan Kardame DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manjaro.org; s=2021; t=1665428556; 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=Kz102WSy9QNRViVjrSA+WHBfEbQVFeWsqGE1f0e3+fc=; b=iCmOPkiL7xO4ibOCsekxh8CdhzJJuPVBN+e+O0gCsjKKk5xr+t+dOEoqAOZ8PJu7CyTsZM YnTuOJoOnkYYbol4WVSocCxah7UHKpbyCOqn8BwCMi5d+Xj8h3n+eT+J+CaBx0dt+VxYaX 76mACyFNPnND1TAhwpi3B65MO3qcBsvl6LlNnIRGpZTyvbuUV6+MnC33r8RQos2hRvUvhw Dz+Rr695VyH2UN6yAR0bbJpO8HUm3UBdNCIdBabyZuVo1QrV1/8P2q1OG9Finmg/wzcf5V wKQPWTeRaQSgZjFx8439rbSyvWJCnFK1s3xXrIkVkG99gPXbH21/r0lYebGVZQ== To: pgwipeout@gmail.com Cc: heiko@sntech.de, linux-rockchip@lists.infradead.org, Furkan Kardame Subject: [PATCH 3/3] arm64: dts: rockchip: remove i2c5 Date: Mon, 10 Oct 2022 22:01:42 +0300 Message-Id: <20221010190142.18340-4-f.kardame@manjaro.org> In-Reply-To: <20221010190142.18340-1-f.kardame@manjaro.org> References: <20221010190142.18340-1-f.kardame@manjaro.org> MIME-Version: 1.0 Authentication-Results: ORIGINATING; auth=pass smtp.auth=f.kardame@manjaro.org smtp.mailfrom=f.kardame@manjaro.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221010_120239_932121_672EBAC3 X-CRM114-Status: UNSURE ( 6.14 ) X-CRM114-Notice: Please train this message. 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 i2c5 is owned by hdmi port Signed-off-by: Furkan Kardame --- arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts b/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts index 72809246c..9fd262334 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-roc-pc.dts @@ -436,10 +436,6 @@ &i2c3 { status = "okay"; }; -&i2c5 { - status = "okay"; -}; - &mdio1 { rgmii_phy1: ethernet-phy@0 { compatible = "ethernet-phy-ieee802.3-c22";