Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp4498830pxb; Tue, 31 Aug 2021 06:43:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxA9XwZ2HFQgzmvEHIueMeXbe3YAqdoVuZOpmI3uVX07OX1C/luWJZdkW4wU7/il0MqtLvv X-Received: by 2002:a05:6402:50c9:: with SMTP id h9mr30642861edb.357.1630417424450; Tue, 31 Aug 2021 06:43:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630417424; cv=none; d=google.com; s=arc-20160816; b=IBfI8G2z90i7tOxBndMuMyLE4GgmIQDTq8lDZJA3i1dQywFQuDUA3wRJaLb0EiUoVL aop7Ex+o2pVR2YPEa9EdloPdTZZ96/3jhxQ0AtKT0VCBjG35Eds8mxmi8V2Av01wu2Xk j2EfqYD3cOLZyZY7uRGH5Mq9nQGEDb5/sqMvLRBeYWyaTD6sOjLWJafaDVZPYCB3uoCK izaDPAZI0qygBSHT0kmjiDjRqFk4AZBfM3awJdSlpXaQUJBOvtLzbfn0DZAMe0NDFjy2 u9vsOI/GBGxShWPcbBESbGc1Q3MWuQJslOu9ACk4N32/Lk78E9jchMmCUsm8V0rM7iSl 2Y+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vdn135cl0Aa6ie1nYkWTTrV8H1I8kgyGrXPstkLRVzM=; b=Tdg2gr3Gi4WCLC7ltqAHWxgz0nomgBrSMQvSO5IELxAaYFh2AVSVelcZnQ35K6UkV0 R9FNBSOOux5eO9U9n4pVwKA6XRvKpa3RvaJ0z8GTtEAmZzpZCuSD8s9VW4i0nxtDwAf0 +6tlx4++e7uz2MF1lxcsCDQ8bYlKuWzZS9ZX+ISvQLqD7Gnx+OO8xbIDIr2Z2wZl7qJ+ j7WL8a3yZItY5M9KI9wWBLUJX89tpjA2I/aSpyx5soMTdN7i+Bi6zO1l/TGWMNGvJtxo Ye1Z/4MNAuisHFPhNedm/DXPFY84h8+MmnJ/F3HkxTGo+e8EFA1lq0kEV0c6MCd/C93h 7Xzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=u04y2bFa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 12si18786277ejk.308.2021.08.31.06.43.19; Tue, 31 Aug 2021 06:43:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=u04y2bFa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239688AbhHaNlc (ORCPT + 99 others); Tue, 31 Aug 2021 09:41:32 -0400 Received: from ssl.serverraum.org ([176.9.125.105]:56521 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239249AbhHaNlY (ORCPT ); Tue, 31 Aug 2021 09:41:24 -0400 Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id ADD1622253; Tue, 31 Aug 2021 15:40:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1630417227; 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=vdn135cl0Aa6ie1nYkWTTrV8H1I8kgyGrXPstkLRVzM=; b=u04y2bFacYO6lMT7BE3LIHIs5oI3gVPjOhvvU1G4mzcKQ81gu8UcDV+2qVozZYjxxnSjna 6da/JwPZYv7NeauU6Rs4DvQe1/MD4ZNM8rp5hPv+P1SGzxm/15vU0Ny8+1edRuDvCFkkx6 tldKAsxT9Jk1YnX3g/G37Fsv2jxO3X4= From: Michael Walle To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Shawn Guo , Li Yang , Rob Herring , Vladimir Oltean , Michael Walle Subject: [PATCH 7/7] arm64: dts: ls1028a: use phy-mode instead of phy-connection-type Date: Tue, 31 Aug 2021 15:40:13 +0200 Message-Id: <20210831134013.1625527-8-michael@walle.cc> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210831134013.1625527-1-michael@walle.cc> References: <20210831134013.1625527-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In linux both are identical, phy-mode is used more often, though. Also for the ls1028a both phy-connection-type and phy-mode was used, one for the enetc nodes and the other for the switch nodes. Unify them. But the main reason for this is that the device tree files can be shared with the u-boot ones; there the enetc driver only supports the "phy-mode" property. Suggested-by: Vladimir Oltean Signed-off-by: Michael Walle --- arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dts | 2 +- arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts | 2 +- arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts | 2 +- arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 2 +- arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dts index 836a9b7d8263..7cd29ab970d9 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dts @@ -54,6 +54,6 @@ &enetc_port0 { &enetc_port1 { phy-handle = <&phy0>; - phy-connection-type = "rgmii-id"; + phy-mode = "rgmii-id"; status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts index 77ed0ebd2c75..9b5e92fb753e 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts @@ -42,6 +42,6 @@ vddh: vddh-regulator { &enetc_port1 { phy-handle = <&phy1>; - phy-connection-type = "rgmii-id"; + phy-mode = "rgmii-id"; status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts index b3e9c499e8b0..d74e738e4070 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts @@ -90,7 +90,7 @@ phy0: ethernet-phy@5 { &enetc_port0 { phy-handle = <&phy0>; - phy-connection-type = "sgmii"; + phy-mode = "sgmii"; managed = "in-band-status"; status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts index f36f87858aef..6e2a1da662fb 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts @@ -320,7 +320,7 @@ mux: mux-controller { &enetc_port1 { phy-handle = <&qds_phy1>; - phy-connection-type = "rgmii-id"; + phy-mode = "rgmii-id"; status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts index ea11b1eb01f8..7719f44bcaed 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts @@ -221,7 +221,7 @@ qsgmii_phy3: ethernet-phy@13 { &enetc_port0 { phy-handle = <&sgmii_phy0>; - phy-connection-type = "sgmii"; + phy-mode = "sgmii"; managed = "in-band-status"; status = "okay"; }; -- 2.30.2