[PATCH] ARM: dts: bcm2835-rpi: Avoid conflicts on i2c0

Dave Stevenson dave.stevenson at raspberrypi.org
Fri Nov 17 10:30:23 PST 2017


On 16 November 2017 at 20:34, Eric Anholt <eric at anholt.net> wrote:
> Stefan Wahren <stefan.wahren at i2se.com> writes:
>
>> The GPU firmware of the Raspberry Pi 3 uses i2c0 to communicate to
>> the FXL6408 gpio expander. It's a bad idea to use the same interface
>> from the ARM side. Since this interface isn't used by the other
>> RPi boards, it's save to remove the complete node and avoid this
>> conflict.
>
> It's not used by other kernel drivers currently, but should we leave it
> in for the pi0/1/2 folks that might have userspace I2C stuff using it?
> That's a thing people do, right?  I actually don't know.

The firmware hasn't used BSC0 for the GPIO expander since the end of
January. It now bit bashes it. Sorry if that information hadn't
filtered through.

I've got a patch I was about to send to rpi-linux for comment which
sets up the i2c-mux-pinctrl driver on BSC0 so that it can be used
either on GPIOs 0&1, or the GPIOs connected to the DSI and CSI
connectors (I want it to talk to the camera module, and I guess Eric
won't complain for talking to the DSI display). I'll aim to sort it on
Monday.

  Dave



More information about the linux-rpi-kernel mailing list