Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1499012

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

Path csiph.com!1.us.feeder.erje.net!feeder.erje.net!2.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Austin Christ <austinwc@codeaurora.org>
Newsgroups linux.kernel
Subject [PATCH v6 0/2] Add ACPI support and SMBus block read
Date Tue, 11 Oct 2016 18:50:02 +0200
Message-ID <sr8fT-Az-11@gated-at.bofh.it> (permalink)
X-Original-To nkaje@codeaurora.org, wsa@the-dreams.de, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1476203282; bh=Yv/Gpx1tartj/6OsVCuNPjVqVG8+vtW19KBcHF9WXIY=; h=From:To:Cc:Subject:Date:From; b=hxxy3aGvSxvDJ0o5n7AyuUtn69Mjv1Hy0ErcOGHugHpnpf/0jX1S8WoQsruxipDjH Ebgw+vf0j0fRDshekOF7KvPH9K3n3Ev1YlEoj3xWuBkwsaydCW5Njio8yw9zjzN8cB bz2oyWJC1KCz4jo332hjxAx/hfi+/es/CgzY5l5s=
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1476203281; bh=Yv/Gpx1tartj/6OsVCuNPjVqVG8+vtW19KBcHF9WXIY=; h=From:To:Cc:Subject:Date:From; b=f83Iz69XnHvcjbzAKp5/Am/6V9GmXRK3La4ViJn8QuUIW7G893tYIRgvaLx7kmgpS 8UYewyN4/Bn1qpNiFYPp0BdHJL/QtzW9FSUrwvsoeYV4XQry9aTxP7EgSHYSbj1COk iseWq6BUMdRyDcyTcgNE57kFKGWnDg9qXGctYI90=
Dmarc-Filter OpenDMARC Filter v1.3.1 smtp.codeaurora.org B42C2617FD
Authentication-Results pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org
Authentication-Results pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=austinwc@codeaurora.org
X-Mailer git-send-email 1.9.1
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 37
Organization linux.* mail to news gateway
X-Original-Cc linux-arm-msm@vger.kernel.org, rruigrok@codeaurora.org, timur@codeaurora.org, cov@codeaurora.org, sricharan@codeaurora.org, linux-arm-kernel@lists.infradead.org, Austin Christ <austinwc@qti.qualcomm.com>
X-Original-Date Tue, 11 Oct 2016 10:27:55 -0600
X-Original-Message-ID <1476203277-6893-1-git-send-email-austinwc@codeaurora.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1499012

Show key headers only | View raw


From: Austin Christ <austinwc@qti.qualcomm.com>

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@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.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v6 0/2] Add ACPI support and SMBus block read Austin Christ <austinwc@codeaurora.org> - 2016-10-11 18:50 +0200

csiph-web