summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2018-09-26 13:01:39 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2018-11-08 11:31:53 +0100
commit92ed1faf672e46e3e54b1f41f0b38f533b53b1aa (patch)
treea6863a747d94446926e543edeae56da449614770 /include
parente7812f55781bd9453a231d104a2c6c520491e2e4 (diff)
usb/misc/usb3503: add setting of 'non removable devices' register
This allows to configure the NRD register from device tree or platform data. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/usb3503.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/usb3503.h b/include/linux/platform_data/usb3503.h
index 043849228f69..24a53bc9f395 100644
--- a/include/linux/platform_data/usb3503.h
+++ b/include/linux/platform_data/usb3503.h
@@ -15,6 +15,7 @@ enum usb3503_mode {
struct usb3503_platform_data {
enum usb3503_mode initial_mode;
+ u8 port_nrd;
u8 port_off_mask;
int gpio_bypass;
int gpio_intn;