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


Groups > linux.kernel > #1491849

[PATCH v2 0/8] i2c: bcm2835: Bring in changes from downstream

From Noralf Trønnes <noralf@tronnes.org>
Newsgroups linux.kernel
Subject [PATCH v2 0/8] i2c: bcm2835: Bring in changes from downstream
Date 2016-09-27 14:00 +0200
Message-ID <slZdf-D0-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This patchset tries to bring in the lessons learned in the downstream
driver i2c-bcm2708. The downstream clock stretcing timeout patch has
been left out since clock stretching is broken/unreliable on this
controller, so no point in setting it.

This second version of the patchset has been expanded to try and
encompass all the differences between mainline and downstream.
Hopefully downstream can now start using this driver.

Thanks to Martin for jogging my memory with his comments which led to
the discovery that interrupt could be used instead of polling for the
Transfer Active state.

Noralf.


Noralf Trønnes (8):
  i2c: bcm2835: Fix hang for writing messages larger than 16 bytes
  i2c: bcm2835: Protect against unexpected TXW/RXR interrupts
  i2c: bcm2835: Use ratelimited logging on transfer errors
  i2c: bcm2835: Can't support I2C_M_IGNORE_NAK
  i2c: bcm2835: Add support for Repeated Start Condition
  i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT
  i2c: bcm2835: Add support for dynamic clock
  ARM: bcm2835: Disable i2c2 in the Device Tree

 arch/arm/boot/dts/bcm2835-rpi.dtsi |   4 -
 drivers/i2c/busses/i2c-bcm2835.c   | 210 +++++++++++++++++++++++--------------
 2 files changed, 131 insertions(+), 83 deletions(-)

--
2.8.2

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/8] i2c: bcm2835: Bring in changes from downstream Noralf Trønnes <noralf@tronnes.org> - 2016-09-27 14:00 +0200
  [PATCH v2 8/8] ARM: bcm2835: Disable i2c2 in the Device Tree Noralf Trønnes <noralf@tronnes.org> - 2016-09-27 14:00 +0200
    Re: [PATCH v2 8/8] ARM: bcm2835: Disable i2c2 in the Device Tree Stefan Wahren <stefan.wahren@i2se.com> - 2016-09-27 19:30 +0200
      Re: [PATCH v2 8/8] ARM: bcm2835: Disable i2c2 in the Device Tree Jan Kandziora <jjj@gmx.de> - 2016-09-27 21:00 +0200
      Re: [PATCH v2 8/8] ARM: bcm2835: Disable i2c2 in the Device Tree Noralf Trønnes <noralf@tronnes.org> - 2016-09-27 21:30 +0200
  [PATCH v2 2/8] i2c: bcm2835: Protect against unexpected TXW/RXR interrupts Noralf Trønnes <noralf@tronnes.org> - 2016-09-27 14:00 +0200
  [PATCH v2 7/8] i2c: bcm2835: Add support for dynamic clock Noralf Trønnes <noralf@tronnes.org> - 2016-09-27 14:00 +0200
  [PATCH v2 6/8] i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT Noralf Trønnes <noralf@tronnes.org> - 2016-09-27 14:00 +0200
  [PATCH v2 5/8] i2c: bcm2835: Add support for Repeated Start Condition Noralf Trønnes <noralf@tronnes.org> - 2016-09-27 14:00 +0200
  [PATCH v2 4/8] i2c: bcm2835: Can't support I2C_M_IGNORE_NAK Noralf Trønnes <noralf@tronnes.org> - 2016-09-27 14:10 +0200
  [PATCH v2 1/8] i2c: bcm2835: Fix hang for writing messages larger than 16 bytes Noralf Trønnes <noralf@tronnes.org> - 2016-09-27 14:10 +0200

csiph-web