arm64: dts: amlogic: remove ethernet-phy-idAAAA.BBBB compatible strings
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 11 May 2019 17:45:34 +0000 (19:45 +0200)
committerKevin Hilman <khilman@baylibre.com>
Tue, 21 May 2019 17:58:40 +0000 (10:58 -0700)
commit890265c97941e10ea99203f082e0d108ed573999
treeac0a2be08a2c7a064de7333d4397032ed45dd209
parentebf4a5f6a52e43c4fe6fb5dbcbcd51716dd0dc64
arm64: dts: amlogic: remove ethernet-phy-idAAAA.BBBB compatible strings

The Ethernet PHY documentation
(Documentation/devicetree/bindings/net/phy.txt) states that:
  If the PHY reports an incorrect ID (or none at all) then the
  "compatible" list may contain an entry with the correct PHY ID in the
  form: "ethernet-phy-idAAAA.BBBB"

An older version of the documentation suggested that the compatible
string can be used when the PHY ID is known.

Remove the ethernet-phy-id compatible string and add a comment with the
PHY ID instead.
This is a no-op on boards which are shipped with the PHY that was
listed (= all known cases). However, if a board manufacturer decides to
ship a different PHY we will now load and use the correct driver because
we ask the PHY to identify itself.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dts
arch/arm64/boot/dts/amlogic/meson-gxm-nexbox-a1.dts
arch/arm64/boot/dts/amlogic/meson-gxm-q200.dts
arch/arm64/boot/dts/amlogic/meson-gxm-rbox-pro.dts