Home
last modified time | relevance | path

Searched hist:eb994594bc22220976f367c03ffa141580aa45e4 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/char/ipmi/
H A DKconfigdiff eb994594bc22220976f367c03ffa141580aa45e4 Mon Feb 20 16:23:00 CET 2017 Andrew Jeffery <andrew@aj.id.au> ipmi: bt-bmc: Use a regmap for register access

The registers for the bt-bmc device live under the Aspeed LPC
controller. Devicetree bindings have recently been introduced for the
LPC controller where the "host" portion of the LPC register space is
described as a syscon device. Future devicetrees describing the bt-bmc
device should nest its node under the appropriate "simple-mfd", "syscon"
compatible node.

This change allows the bt-bmc driver to function with both syscon and
non-syscon- based devicetree descriptions by always using a regmap for
register access, either retrieved from the parent syscon device or
instantiated if none exists.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>