aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt3sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorDamien Riegel <[email protected]>2015-11-30 10:59:47 -0500
committerLee Jones <[email protected]>2016-01-11 06:08:02 +0000
commitdb2fb60cd35d2d03699e570906ced73b4c05586e (patch)
tree10c070efe52d35d68b6080a9894c7e73632bf80c /drivers/scsi/mpt3sas/mpi/mpi2_raid.h
parent32e9725d9a87549eb8b2a6455de0bce9dc8385de (diff)
mfd: syscon: Add a DT property to set value width
Currently syscon has a fixed configuration of 32 bits for register and values widths. In some cases, it would be desirable to be able to customize the value width. For example, certain boards (like the ones manufactured by Technologic Systems) have a FPGA that is memory-mapped, but its registers are only 16-bit wide. This patch adds an optional "reg-io-width" DT binding for syscon that allows to change the width for the data bus (i.e. val_bits). If this property is provided, it will also set the register stride to reg-io-width's value. If not provided, the default configuration is used. Signed-off-by: Damien Riegel <[email protected]> Acked-by: Rob Herring <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions