Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1544871

[PATCH 2/2] ARM: dts: hix5hd2: don't change the existing compatible string

From Dongpo Li <lidongpo@hisilicon.com>
Newsgroups linux.kernel
Subject [PATCH 2/2] ARM: dts: hix5hd2: don't change the existing compatible string
Date 2016-12-20 03:20 +0100
Message-ID <sQic1-7Ht-9@gated-at.bofh.it> (permalink)
References <sQic1-7Ht-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The SoC hix5hd2 compatible string has the suffix "-gmac" and
we should not change it.
We should only add the generic compatible string "hisi-gmac-v1".

Fixes: 0855950ba580 ("ARM: dts: hix5hd2: add gmac generic compatible and clock names")
Signed-off-by: Dongpo Li <lidongpo@hisilicon.com>
---
 arch/arm/boot/dts/hisi-x5hd2.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/hisi-x5hd2.dtsi b/arch/arm/boot/dts/hisi-x5hd2.dtsi
index 0da76c5..2d06f4c 100644
--- a/arch/arm/boot/dts/hisi-x5hd2.dtsi
+++ b/arch/arm/boot/dts/hisi-x5hd2.dtsi
@@ -436,7 +436,7 @@
 		};
 
 		gmac0: ethernet@1840000 {
-			compatible = "hisilicon,hix5hd2-gemac", "hisilicon,hisi-gemac-v1";
+			compatible = "hisilicon,hix5hd2-gmac", "hisilicon,hisi-gmac-v1";
 			reg = <0x1840000 0x1000>,<0x184300c 0x4>;
 			interrupts = <0 71 4>;
 			clocks = <&clock HIX5HD2_MAC0_CLK>;
@@ -445,7 +445,7 @@
 		};
 
 		gmac1: ethernet@1841000 {
-			compatible = "hisilicon,hix5hd2-gemac", "hisilicon,hisi-gemac-v1";
+			compatible = "hisilicon,hix5hd2-gmac", "hisilicon,hisi-gmac-v1";
 			reg = <0x1841000 0x1000>,<0x1843010 0x4>;
 			interrupts = <0 72 4>;
 			clocks = <&clock HIX5HD2_MAC1_CLK>;
-- 
2.8.2

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] net: hix5hd2_gmac: keep the compatible string not changed Dongpo Li <lidongpo@hisilicon.com> - 2016-12-20 03:20 +0100
  [PATCH 1/2] net: hix5hd2_gmac: fix compatible strings name Dongpo Li <lidongpo@hisilicon.com> - 2016-12-20 03:20 +0100
  [PATCH 2/2] ARM: dts: hix5hd2: don't change the existing compatible string Dongpo Li <lidongpo@hisilicon.com> - 2016-12-20 03:20 +0100
  Re: [PATCH 0/2] net: hix5hd2_gmac: keep the compatible string not  changed David Miller <davem@davemloft.net> - 2016-12-20 20:20 +0100

csiph-web