dt-bindings: i2c: brcmstb: Add BCM2711 BSC/AUTO-I2C binding
authorMaxime Ripard <maxime@cerno.tech>
Tue, 17 Dec 2019 08:58:34 +0000 (09:58 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:32 +0000 (16:33 +0100)
commit0dffb975f18e5b1d8a8becde050d5f8fe999314f
tree8f510ae99cbfbe4e5d17cacb40c8c311dca08d67
parented715c9afd0c0cd25629bdf65b4326f64ed0f807
dt-bindings: i2c: brcmstb: Add BCM2711 BSC/AUTO-I2C binding

The HDMI blocks in the BCM2771 have an i2c controller to retrieve the
EDID. This block is split into two parts, the BSC and the AUTO_I2C,
lying in two separate register areas.

The AUTO_I2C block has a mailbox-like interface and will take away the
BSC control from the CPU if enabled. However, the BSC is the actually
the same controller than the one supported by the brcmstb driver, and
the AUTO_I2C doesn't really bring any immediate benefit.

We can model it in the DT as a single device with two register range,
which will allow us to use or or the other in the driver without
changing anything in the DT.

Cc: Kamal Dasu <kdasu.kdev@gmail.com>
Cc: Wolfram Sang <wsa@the-dreams.de>
Cc: bcm-kernel-feedback-list@broadcom.com
Cc: linux-i2c@vger.kernel.org
Cc: devicetree@vger.kernel.org
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Documentation/devicetree/bindings/i2c/brcm,brcmstb-i2c.yaml