From: Shawn Guo <shawnguo@kernel.org>
To: Wolfram Sang <wsa@the-dreams.de>
Cc: Baoyou Xie <xie.baoyou@sanechips.com.cn>,
Xin Zhou <zhou.xin8@sanechips.com.cn>,
Jun Nie <jun.nie@linaro.org>,
linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
Shawn Guo <shawn.guo@linaro.org>
Subject: [PATCH v2 0/2] Add I2C driver for ZTE ZX2967 family SoCs
Date: Thu, 22 Jun 2017 20:56:53 +0800 [thread overview]
Message-ID: <1498136215-8102-1-git-send-email-shawnguo@kernel.org> (raw)
From: Shawn Guo <shawn.guo@linaro.org>
It's the second posting of the patches adding I2C driver for ZTE ZX2967
family SoCs. Thanks a lot for Wolfram's review comments on v1 patch,
which helps identify issues with NACK handling.
Changes for v2:
- Add COMPILE_TEST for Kconfig option dependency.
- Drop warning message for unsupported SMBus transfer, since the driver
will fall back to emulate them via I2C anyway.
- Kill ZX2967_I2C_FUNCS define by returning I2C_FUNC_XXX directly.
- Drop error message for i2c_add_numbered_adapter() check, since the
core will do the reporting.
- Drop the error checking from zx2967_i2c_reset_hardware() which is
useless now, and add it into irq handler for proper NACK handling.
Baoyou Xie (2):
dt: bindings: add documentation for zx2967 family i2c controller
i2c: zx2967: add i2c controller driver for ZTE's zx2967 family
.../devicetree/bindings/i2c/i2c-zx2967.txt | 22 +
drivers/i2c/busses/Kconfig | 9 +
drivers/i2c/busses/Makefile | 1 +
drivers/i2c/busses/i2c-zx2967.c | 609 +++++++++++++++++++++
4 files changed, 641 insertions(+)
create mode 100644 Documentation/devicetree/bindings/i2c/i2c-zx2967.txt
create mode 100644 drivers/i2c/busses/i2c-zx2967.c
--
1.9.1
next reply other threads:[~2017-06-22 12:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-22 12:56 Shawn Guo [this message]
2017-06-22 12:56 ` [PATCH v2 1/2] dt: bindings: add documentation for zx2967 family i2c controller Shawn Guo
2017-06-23 18:55 ` Wolfram Sang
2017-06-22 12:56 ` [PATCH v2 2/2] i2c: zx2967: add i2c controller driver for ZTE's zx2967 family Shawn Guo
2017-06-23 18:55 ` Wolfram Sang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1498136215-8102-1-git-send-email-shawnguo@kernel.org \
--to=shawnguo@kernel.org \
--cc=jun.nie@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-i2c@vger.kernel.org \
--cc=shawn.guo@linaro.org \
--cc=wsa@the-dreams.de \
--cc=xie.baoyou@sanechips.com.cn \
--cc=zhou.xin8@sanechips.com.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).