net: smc911x: Add parsing devicetree options
This patch adds parsing basic devicetree options for the smc911x driver:
reg-io-width, reg-shift and smsc,force-(in/ex)ternal-phy, which makes
driver usable for most DTS-based boards.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 257abda commit e5c6340f42a9430ca55e49a0d935c59eddb5fbe4
@Alexander Shiyan Alexander Shiyan authored on 2 Jul 2016
Sascha Hauer committed on 5 Jul 2016
Showing 2 changed files
View
drivers/net/smc911x.c
View
include/platform_data/eth-smc911x.h