ipmi: kcs: aspeed: Implement v2 bindings
authorAndrew Jeffery <andrew@aj.id.au>
Mon, 16 Dec 2019 02:27:42 +0000 (12:57 +1030)
committerCorey Minyard <cminyard@mvista.com>
Fri, 3 Apr 2020 13:05:05 +0000 (08:05 -0500)
commit09f5f680707e4758ad948c362859f9598ca1275c
tree21f506f99259188b124bcbf0c06ce79e43beec76
parentaf6432c76a13ef510bb3f1ef5917ed80c808192b
ipmi: kcs: aspeed: Implement v2 bindings

The v2 bindings allow us to extract the resources from the devicetree.
The table in the driver is retained to derive the channel index, which
removes the need for kcs_chan property from the v1 bindings. The v2
bindings allow us to reduce the number of warnings generated by the
existing devicetree nodes.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Haiyue Wang <haiyue.wang@linux.intel.com>
Message-Id: <01ef3787e9ddaa9d87cfd55a2ac793053b5a69de.1576462051.git-series.andrew@aj.id.au>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/kcs_bmc_aspeed.c