summaryrefslogtreecommitdiffstats
path: root/drivers/fsi/fsi-core.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2018-02-12 15:45:42 +1030
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-14 19:11:00 +0100
commitb8bd146d38da5f4e683929412d59f93ad4d961c5 (patch)
tree5b9523b064fd09389d790569f582b83044949084 /drivers/fsi/fsi-core.c
parent29d9b9271184dac6d981fc85b25afb8ae0ff0204 (diff)
fsi: master-gpio: Add external mode
This change introduces an 'external mode' for GPIO-based FSI masters, allowing the clock and data lines to be driven by an external source. For example, external mode is selected by a user when an external debug device is attached to the FSI pins. To do this, we need to set specific states for the trans, mux and enable GPIOs, and prevent access to clk & data from the FSI core code (by returning EBUSY). External mode is controlled by a sysfs attribute, so add the relevant information to Documentation/ABI/ Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fsi/fsi-core.c')
0 files changed, 0 insertions, 0 deletions