ipmi: kcs: aspeed: Adapt to new LPC DTS layout
authorChia-Wei, Wang <chiawei_wang@aspeedtech.com>
Fri, 19 Mar 2021 06:27:34 +0000 (16:57 +1030)
committerJoel Stanley <joel@jms.id.au>
Fri, 9 Apr 2021 04:09:21 +0000 (13:39 +0930)
commit8f88156f82ea4c152b3a90cc9f2a111327089d47
tree8d55a3d80a096e6cdbc06f41ce471d61b0760ac5
parent311bf0f18cd68f55a8ffd30089ccb74a2318b86d
ipmi: kcs: aspeed: Adapt to new LPC DTS layout

Add check against LPC device v2 compatible string to
ensure that the fixed device tree layout is adopted.
The LPC register offsets are also fixed accordingly.

Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Acked-by: Haiyue Wang <haiyue.wang@linux.intel.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210319062752.145730-3-andrew@aj.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/char/ipmi/kcs_bmc_aspeed.c