From: Boris BREZILLON Date: Thu, 22 Aug 2013 15:57:28 +0000 (+0200) Subject: net/cadence/macb: add support for dt phy definition X-Git-Tag: v3.12-rc1~132^2~187^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=148cbb53ace32f584d208764c7f7e6aa8edb970c;p=pandora-kernel.git net/cadence/macb: add support for dt phy definition The macb driver only handle PHY description through platform_data (macb_platform_data). Thus, when using dt you cannot define phy properties like phy address or phy irq pin. This patch makes use of the of_mdiobus_register to add support for phy device definition using dt. A fallback to the autoscan procedure is added in case there is no phy devices defined in dt. Signed-off-by: Boris BREZILLON Signed-off-by: David S. Miller --- Reading git-diff-tree failed