mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
bindings: altmode-glink: Change device-client linkage
Instead of linking the altmode device and client via a name string, use a phandle instead, and specify the port index of the client along with the phandle data as well. Change-Id: Ica5456ab7e808e99a92d0b91e59c73c7184aa826
This commit is contained in:
parent
268424eab9
commit
db2d348e29
1 changed files with 23 additions and 6 deletions
|
|
@ -15,20 +15,37 @@ REQUIRED PROPERTIES:
|
|||
Value type: <stringlist>
|
||||
Definition: must be "qcom,altmode-glink"
|
||||
|
||||
- qcom,altmode-name:
|
||||
- #altmode-cells:
|
||||
Usage: required
|
||||
Value type: <string>
|
||||
Definition: must be "altmode_N" where N is [0-9]
|
||||
Value type: <u32>
|
||||
Definition: must be <1>
|
||||
|
||||
EXAMPLE:
|
||||
EXAMPLE of altmode node definition:
|
||||
|
||||
&soc {
|
||||
qcom,pmic_glink {
|
||||
...
|
||||
qcom,altmode {
|
||||
altmode: qcom,altmode {
|
||||
compatible = "qcom,altmode-glink";
|
||||
qcom,altmode-name = "altmode_0";
|
||||
#altmode-cells = <1>;
|
||||
};
|
||||
...
|
||||
};
|
||||
};
|
||||
|
||||
Altmode client bindings:
|
||||
|
||||
REQUIRED PROPERTIES:
|
||||
|
||||
- qcom,altmode-dev:
|
||||
Usage: required
|
||||
Value type: <phandle>
|
||||
Definition: must be <phandle_to_altmode_node, N> where N is port index
|
||||
|
||||
EXAMPLE of altmode client node definition:
|
||||
|
||||
altmode-client {
|
||||
...
|
||||
qcom,altmode-dev = <&altmode 0>;
|
||||
...
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue