ARM: dts: aspeed: everest: Add IBM Operation Panel I2C device
authorEddie James <eajames@linux.ibm.com>
Wed, 20 Oct 2021 21:53:20 +0000 (16:53 -0500)
committerJoel Stanley <joel@jms.id.au>
Thu, 21 Oct 2021 06:26:02 +0000 (16:56 +1030)
commite175be2a718f81db17295d0f82d84c6198783a43
tree6df299a65c3b3f8cf5a97fb82ef1abf8e578d99b
parente80e70fb05709f79a0ae9ac6e0b310c044001a11
ARM: dts: aspeed: everest: Add IBM Operation Panel I2C device

Set I2C bus 14 to multi-master mode and add the panel device that will
register the I2C controller as a slave device.
In addition, in early Everest systems, the panel device was behind an
I2C switch, which doesn't work for slave mode. Get it working (albeit
unreliably, since a master transaction might switch the switch at any
moment) by defaulting the switch channel to the one with the panel.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20211020215321.33960-5-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
arch/arm/boot/dts/aspeed-bmc-ibm-everest.dts