diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2018-06-27 17:19:50 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-02 17:42:36 +0200 |
commit | 8a37d87d72f0c69f837229c04d2fcd7117ea57e7 (patch) | |
tree | 43cf3111a964678d08fe6638e4459e1c2db50b55 /scripts/mod/devicetable-offsets.c | |
parent | usb: typec: Register a device for every mode (diff) | |
download | linux-8a37d87d72f0c69f837229c04d2fcd7117ea57e7.tar.xz linux-8a37d87d72f0c69f837229c04d2fcd7117ea57e7.zip |
usb: typec: Bus type for alternate modes
Introducing a simple bus for the alternate modes. Bus allows
binding drivers to the discovered alternate modes the
partners support.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/mod/devicetable-offsets.c')
-rw-r--r-- | scripts/mod/devicetable-offsets.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/mod/devicetable-offsets.c b/scripts/mod/devicetable-offsets.c index 6667f7b491d6..293004499b4d 100644 --- a/scripts/mod/devicetable-offsets.c +++ b/scripts/mod/devicetable-offsets.c @@ -221,5 +221,9 @@ int main(void) DEVID_FIELD(tb_service_id, protocol_version); DEVID_FIELD(tb_service_id, protocol_revision); + DEVID(typec_device_id); + DEVID_FIELD(typec_device_id, svid); + DEVID_FIELD(typec_device_id, mode); + return 0; } |