Skip to content

Enable SFP on ACPI based systems

Ruslan Babayev linux-acpi linux-i2c lkml netdev 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 15 repliesIn review
  2. v32 patches 3 repliesSuperseded
  3. v2 posting 2/22 patches 6 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 RFC posting 1/22 patches4 repliesSuperseded
v12 patches9 repliesSuperseded

Changes in v4 from the cover letter

- don't initialize i2c_adapter to NULL. Instead see below...
- handle the case of neither DT nor ACPI present as invalid.
- alphabetical includes.
- use has_acpi_companion().
- use the same argument name in i2c_acpi_find_adapter_by_handle() in both stubbed and non-stubbed cases.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2i2c: acpi: export i2c_acpi_find_adapter_by_handledrivers/i2c/i2c-core-acpi.c include/linux/i2c.h+8 -12 replies
2/2net: phy: sfp: enable i2c-bus detection on ACPI based systemsdrivers/net/phy/sfp.c+27 -82 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMika WesterbergRussell KingAndrew Lunn
SeriesR-b
1/2R-b
2/2A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [net-next,v4 0/2] Enable SFP on ACPI based systems

Changes:
v2:
- more descriptive commit body
v3:
- made 'i2c_acpi_find_adapter_by_handle' static inline
v4:
- don't initialize i2c_adapter to NULL. Instead see below...
- handle the case of neither DT nor ACPI present as invalid.
- alphabetical includes.
- use has_acpi_companion().
- use the same argument name in i2c_acpi_find_adapter_by_handle() in both stubbed and non-stubbed cases.

Ruslan Babayev (2):
i2c: acpi: export i2c_acpi_find_adapter_by_handle
net: phy: sfp: enable i2c-bus detection on ACPI based systems

 drivers/i2c/i2c-core-acpi.c |  3 ++-
 drivers/net/phy/sfp.c       | 35 +++++++++++++++++++++++++++--------
 include/linux/i2c.h         |  6 ++++++
 3 files changed, 35 insertions(+), 9 deletions(-)
Signature · 1 line
2.19.2