net: dpaa2-mac: Add ACPI support for DPAA2 MAC driver
commit 4d291874df79dc1a0e374df35295468f8436ea83 from git://source.codeaurora.org/external/qoriq/qoriq-components/linux Modify dpaa2_mac_get_node() to get the dpmac fwnode from either DT or ACPI. Modify dpaa2_mac_get_if_mode() to get interface mode from dpmac_node which is a fwnode. Modify dpaa2_pcs_create() to create pcs from dpmac_node fwnode. Modify dpaa2_mac_connect() to support ACPI along with DT. Signed-off-by:Calvin Johnson <calvin.johnson@oss.nxp.com> Signed-off-by:
Ioana Ciornei <ioana.ciornei@nxp.com> Acked-by: Rafael J. Wysocki <rafael@kernel.org> # from the ACPI side Acked-by:
Grant Likely <grant.likely@arm.com> (cherry picked from commit 7ce78a1853f773b83f7cf100906b21c6bc5f8558) Signed-off-by:
Meng Li <Meng.Li@windriver.com>
Loading
Please register or sign in to comment