linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: thomas.abraham@linaro.org (Thomas Abraham)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 0/2] Add device tree support for Samsung's I2C driver
Date: Tue, 13 Sep 2011 09:46:03 +0530	[thread overview]
Message-ID: <1315887365-30532-1-git-send-email-thomas.abraham@linaro.org> (raw)

This patchset adds device tree support for Samsung's I2C driver.

Changes since v2:
- Addressed all comments from Grant Likely
    - Used dev_kzalloc to allocate memory for platform data.
    - Removed redundant check while adding i2c adapter.
- Added support to retrieve gpio pin information from dt and request
  gpio pins (retained Grant's Ack even though this is a new addition
  in this version of the patch).

Changes since v1:
- Addressed all comments from Grant Likely
    - s3c24xx_i2c_is2440 function is simpler now.
    - Consolidated all the scatterd dt support code into a single function
      to make the dt support code non-invasive.
    - but the dependency on i2c pinmux handler function passed from the
      platform data is retained. It would be removed eventually when the
      new pinmux api is finalized and the i2c driver is modified to
      support the pinmux settings using the pinmux api.

Thomas Abraham (2):
  i2c: s3c2410: Keep a copy of platform data and use it
  i2c: s3c2410: Add device tree support

 .../devicetree/bindings/i2c/samsung-i2c.txt        |   39 ++++++
 drivers/i2c/busses/i2c-s3c2410.c                   |  128 ++++++++++++++++++--
 2 files changed, 159 insertions(+), 8 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/i2c/samsung-i2c.txt

             reply	other threads:[~2011-09-13  4:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-13  4:16 Thomas Abraham [this message]
2011-09-13  4:16 ` [PATCH v3 1/2] i2c: s3c2410: Keep a copy of platform data and use it Thomas Abraham
2011-09-13  4:16   ` [PATCH v3 2/2] i2c: s3c2410: Add device tree support Thomas Abraham
2011-09-13  7:01   ` [PATCH v3 1/2] i2c: s3c2410: Keep a copy of platform data and use it Stephen Boyd
2011-09-14 21:13 ` [PATCH v3 0/2] Add device tree support for Samsung's I2C driver Ben Dooks
2011-09-15  1:09   ` Thomas Abraham

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=1315887365-30532-1-git-send-email-thomas.abraham@linaro.org \
    --to=thomas.abraham@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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).