blob: 9958b3de100ce49c5ab27a89578c495aeb5b0352 [file] [log] [blame]
Manu Gautam9c365d42019-12-12 14:59:57 +05301Qualcomm Technologies, Inc's USB Gadget
2
3Required properties:
4- compatible: Should be "qcom,usb-gadget".
Aniket Randivede9008b2020-02-13 15:08:45 +05305- qcom,vid: VendorId to be used by composite device.
6
7Required subnode properties:
8- qcom,pid: ProductId to be used by composite device.
Manu Gautam9c365d42019-12-12 14:59:57 +05309- qcom,composition: List of configurations where each is separated by '|'.
10 And each configuration has comma separated list of functions
11 specified as: <f1_name>.<f1_instance_name>,<f2_name>....
Manu Gautam9c365d42019-12-12 14:59:57 +053012
13Optional properties:
Aniket Randivede9008b2020-02-13 15:08:45 +053014- qcom,default-pid: ProductId to be used by composite device.
Manu Gautam9c365d42019-12-12 14:59:57 +053015- qcom,class: Class of composite device.
16- qcom,subclass: SubClass of composite device.
17- qcom,protocol: Protocol of composite device.
18
Aniket Randivede9008b2020-02-13 15:08:45 +053019Example:
Manu Gautam9c365d42019-12-12 14:59:57 +053020 usb_gadget {
21 compatible = "qcom,usb-gadget";
Manu Gautam9c365d42019-12-12 14:59:57 +053022 qcom,vid = <0x05c6>;
Aniket Randivede9008b2020-02-13 15:08:45 +053023
24 composition1 {
25 qcom,pid = <0x9103>;
26 qcom,composition = "diag.diag,ipc.ipc,gsi.rmnet,gsi.rmnet.v2x,ecm.ecm,gsi.dpl";
27 };
28
29 composition2 {
30 qcom,pid = <0x9105>;
31 qcom,composition = "diag.diag,gsi.dpl";
32 };
Manu Gautam9c365d42019-12-12 14:59:57 +053033 };