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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux