1 From 3c0cbb59e068f13b2a12a98a5dac42afa8ccc639 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Fri, 1 May 2020 17:56:13 +0100
4 Subject: [PATCH] overlays: Make the i2c-gpio overlay safe again
6 Like many overlays, the i2c-gpio overlay goes to efforts to avoid
7 generating warnings about #address-cells and #size-cells not
8 being defined, which it does by defining them. Unfortunately this
9 is fatal if they don't match what the system requires, and the
10 recent switch to #size-cells = 2 on 2711 made i2c-gpio very
13 In the absence of the knowledge of a clean way to fix this, just delete
14 the declarations and suffer the warnings.
16 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
18 arch/arm/boot/dts/overlays/i2c-gpio-overlay.dts | 3 ---
19 1 file changed, 3 deletions(-)
21 --- a/arch/arm/boot/dts/overlays/i2c-gpio-overlay.dts
22 +++ b/arch/arm/boot/dts/overlays/i2c-gpio-overlay.dts
27 - #address-cells = <1>;
32 compatible = "i2c-gpio";