]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit26f89794eb5d42366d8674b5d479691ce07fe94e
tree6df299a65c3b3f8cf5a97fb82ef1abf8e578d99b
parentaed25e85123fda600810b7f20ef53e082dbd376c
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