summaryrefslogtreecommitdiffstats
path: root/scripts/mod/devicetable-offsets.c
diff options
context:
space:
mode:
authorVinod Koul2017-12-14 06:49:33 +0100
committerGreg Kroah-Hartman2017-12-19 11:14:56 +0100
commit9251345dca24b62b14e4e53e6ee3387ae7d9c790 (patch)
tree6b56a307bbdc54110bcdd1f624cfe54c98ffa19b /scripts/mod/devicetable-offsets.c
parentDocumentation: Add SoundWire summary (diff)
downloadkernel-qcow2-linux-9251345dca24b62b14e4e53e6ee3387ae7d9c790.tar.gz
kernel-qcow2-linux-9251345dca24b62b14e4e53e6ee3387ae7d9c790.tar.xz
kernel-qcow2-linux-9251345dca24b62b14e4e53e6ee3387ae7d9c790.zip
soundwire: Add SoundWire bus type
This adds the base SoundWire bus type, bus and driver registration. along with changes to module device table for new SoundWire device type. Signed-off-by: Sanyog Kale <sanyog.r.kale@intel.com> Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com> Acked-By: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Vinod Koul <vinod.koul@intel.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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/mod/devicetable-offsets.c b/scripts/mod/devicetable-offsets.c
index 9826b9a6543c..9fad6afe4c41 100644
--- a/scripts/mod/devicetable-offsets.c
+++ b/scripts/mod/devicetable-offsets.c
@@ -203,6 +203,10 @@ int main(void)
DEVID_FIELD(hda_device_id, rev_id);
DEVID_FIELD(hda_device_id, api_version);
+ DEVID(sdw_device_id);
+ DEVID_FIELD(sdw_device_id, mfg_id);
+ DEVID_FIELD(sdw_device_id, part_id);
+
DEVID(fsl_mc_device_id);
DEVID_FIELD(fsl_mc_device_id, vendor);
DEVID_FIELD(fsl_mc_device_id, obj_type);