Skip to content

Add ACPI support and SMBus block read

Austin Christ linux-arm-kernel linux-arm-msm linux-i2c lkml 5 versions – Applied

Status from this message: Applied to for-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 2 repliesApplied
  2. v52 patches 0 repliesSuperseded
  3. v42 patches 10 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v3 posting 2/21 of 2 patches2 repliesSuperseded
v3 posting 1/22 patches4 repliesSuperseded

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/2i2c: qup: add ACPI supportdrivers/i2c/busses/i2c-qup.c+42 -161 reply
2/2i2c: qup: support SMBus block readdrivers/i2c/busses/i2c-qup.c+61 -31 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSricharan R
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/2] Add ACPI support and SMBus block read

From: Austin Christ <[email protected]>

Add ACPI support to I2C QUP driver and get properties from ACPI table.

Add support to the I2C QUP driver to correctly handle SMBus block reads by checking I2C_M_RECV_LEN flag and reading the first byte received as the message length.

Documentation for the two properites used from ACPI has been submitted through dsd at acpica.org to https://github.com/ahs3/dsd. The documentation can be viewed at https://lists.acpica.org/pipermail/dsd/2016-September/000095.html.

[V6]
- correct block size for SMBus data read
[V5]
- remove warning and use correct ACPI function
[V4]
- correct error code
- remove warning for fall back to default clock frequency
[V3]
- clean up unused variables
- use constant instead of variable for smbus length field
[V2]
- rework the smbus block read and break into separate function
- clean up redundant checks and variables

Naveen Kaje (2):
i2c: qup: add ACPI support
i2c: qup: support SMBus block read

 drivers/i2c/busses/i2c-qup.c | 122 ++++++++++++++++++++++++++++++++++++-------
 1 file changed, 103 insertions(+), 19 deletions(-)

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