OpenCloudOS-Kernel/drivers/char/ipmi
Andrew Jeffery eb994594bc 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>
2017-02-20 11:00:48 -06:00
..
Kconfig ipmi: bt-bmc: Use a regmap for register access 2017-02-20 11:00:48 -06:00
Makefile ipmi: add an Aspeed BT IPMI BMC driver 2016-09-29 19:05:06 -05:00
bt-bmc.c ipmi: bt-bmc: Use a regmap for register access 2017-02-20 11:00:48 -06:00
ipmi_bt_sm.c ipmi: Make some data const that was only read 2015-09-03 15:02:27 -05:00
ipmi_devintf.c ipmi: make ipmi_usr_hndl const 2017-01-05 15:01:55 -06:00
ipmi_kcs_sm.c ipmi: Make some data const that was only read 2015-09-03 15:02:27 -05:00
ipmi_msghandler.c ipmi: make ipmi_usr_hndl const 2017-01-05 15:01:55 -06:00
ipmi_powernv.c char: ipmi: constify ipmi_smi_handlers structures 2017-02-09 09:10:56 -06:00
ipmi_poweroff.c char: Convert use of typedef ctl_table to struct ctl_table 2013-06-17 16:43:08 -07:00
ipmi_si_intf.c ipmi: Pick up slave address from SMBIOS on an ACPI device 2016-11-24 18:09:48 -06:00
ipmi_si_sm.h ipmi: Make some data const that was only read 2015-09-03 15:02:27 -05:00
ipmi_smic_sm.c ipmi: Make some data const that was only read 2015-09-03 15:02:27 -05:00
ipmi_ssif.c ipmi: Pick up slave address from SMBIOS on an ACPI device 2016-11-24 18:09:48 -06:00
ipmi_watchdog.c ipmi: make ipmi_usr_hndl const 2017-01-05 15:01:55 -06:00