[PATCH RFC 0/3] ARM64: bcm2837-rpi: Fix random crashes caused by i2c

Stefan Wahren stefan.wahren at i2se.com
Thu Feb 16 13:20:44 PST 2017


This patch series tries to fix the random crashes [1] which occur on the RPi 3.

The first patch fix the possible NULL pointer dereference and the rest tries
to fix the root cause of the unexpected interrupts.

Btw this should also fix the random i2c timeouts:

i2c-bcm2835 3f805000.i2c: i2c transfer timed out

In absence of a RPi 3 this is only compile tested.

[1] - https://github.com/anholt/linux/issues/89

Stefan Wahren (3):
  i2c: bcm2835: Avoid possible NULL ptr dereference
  ARM64: bcm2837: remove link to bcm2835
  ARM64: bcm2837-rpi: Fix pwm and i2c pin control

 arch/arm64/boot/dts/broadcom/bcm2835-rpi.dtsi    |    1 -
 arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts |    2 +-
 arch/arm64/boot/dts/broadcom/bcm2837-rpi.dtsi    |   89 ++++++++++++++++++++++
 drivers/i2c/busses/i2c-bcm2835.c                 |    4 +-
 4 files changed, 93 insertions(+), 3 deletions(-)
 delete mode 120000 arch/arm64/boot/dts/broadcom/bcm2835-rpi.dtsi
 create mode 100644 arch/arm64/boot/dts/broadcom/bcm2837-rpi.dtsi

-- 
1.7.9.5




More information about the linux-rpi-kernel mailing list