]> git.baikalelectronics.ru Git - kernel.git/commit
soc: aspeed: Adapt to new LPC device tree layout
authorChia-Wei, Wang <chiawei_wang@aspeedtech.com>
Fri, 19 Mar 2021 06:27:36 +0000 (16:57 +1030)
committerJoel Stanley <joel@jms.id.au>
Fri, 9 Apr 2021 04:09:22 +0000 (13:39 +0930)
commit807321db10c2ee1c680db49e5bc7f1f71a0e8a48
treed9edcc3fbc4a2c47cae47ccfa78c92e347996345
parentd7d496417a1b3cb9017626c9fd4bf68760851fa0
soc: aspeed: Adapt to new LPC device tree 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>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20210319062752.145730-5-andrew@aj.id.au
Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/soc/aspeed/aspeed-lpc-ctrl.c
drivers/soc/aspeed/aspeed-lpc-snoop.c