aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorAndrew Jeffery <[email protected]>2017-02-20 15:23:00 +0000
committerCorey Minyard <[email protected]>2017-02-20 17:00:48 +0000
commiteb994594bc22220976f367c03ffa141580aa45e4 (patch)
tree293b499831e468cf9d4a0f25fd7aca540fbe91f8 /drivers/fpga/fpga-mgr.c
parentchar: ipmi: constify ipmi_smi_handlers structures (diff)
downloadkernel-eb994594bc22220976f367c03ffa141580aa45e4.tar.gz
kernel-eb994594bc22220976f367c03ffa141580aa45e4.zip
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 <[email protected]> Reviewed-by: Cédric Le Goater <[email protected]> Signed-off-by: Corey Minyard <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions