netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] [v2] Add basic ACPI support to the Qualcomm Technologies EMAC driver
@ 2016-09-28 16:58 Timur Tabi
  2016-09-28 16:58 ` [PATCH 1/3] [v2] net: qcom/emac: do not use devm on internal phy pdev Timur Tabi
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Timur Tabi @ 2016-09-28 16:58 UTC (permalink / raw)
  To: netdev, linaro-acpi, linux-arm-kernel, shankerd, vikrams, davem

This patch series adds support to the EMAC driver for extracting addresses,
interrupts, and some _DSDs (properties) from ACPI.  The first two patches
clean up the code, and the third patch adds ACPI-specific functionality.

The first patch fixes a bug with handling the platform_device for the
internal PHY.  This phy is treated as a separate device in both DT and
ACPI, but since the platform is not released automatically when the 
driver unloads, managed functions like devm_ioremap_resource cannot be
used. 

The second patch replaces of_get_mac_address with its platform-independent
equivalent device_get_mac_address.  

The third patch parses the ACPI tables to obtain the platform_device for
the primary EMAC node ("QCOM8070") and the internal phy node ("QCOM8071").

Timur Tabi (3):
  [v2] net: qcom/emac: do not use devm on internal phy pdev
  [v2] net: qcom/emac: use device_get_mac_address
  [v2] net: qcom/emac: initial ACPI support

 drivers/net/ethernet/qualcomm/emac/emac-phy.c   |  37 ++++++--
 drivers/net/ethernet/qualcomm/emac/emac-sgmii.c | 110 ++++++++++++++++++------
 drivers/net/ethernet/qualcomm/emac/emac.c       |  26 ++++--
 3 files changed, 134 insertions(+), 39 deletions(-)

-- 
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm
Technologies, Inc.  Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-09-29  5:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-28 16:58 [PATCH 0/3] [v2] Add basic ACPI support to the Qualcomm Technologies EMAC driver Timur Tabi
2016-09-28 16:58 ` [PATCH 1/3] [v2] net: qcom/emac: do not use devm on internal phy pdev Timur Tabi
2016-09-28 16:58 ` [PATCH 2/3] [v2] net: qcom/emac: use device_get_mac_address Timur Tabi
2016-09-28 16:58 ` [PATCH 3/3] [v2] net: qcom/emac: initial ACPI support Timur Tabi
2016-09-29  5:50 ` [PATCH 0/3] [v2] Add basic ACPI support to the Qualcomm Technologies EMAC driver David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).