Commit 884a90bd authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Greg Kroah-Hartman

dt-bindings: SLIMBus: add slim devices optional properties

This patch adds an optional SLIMBus Interface device phandle property
that could be used by some of the SLIMBus devices.

Interface device is mostly used with devices that are dealing
with streaming.
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200109103148.5612-2-srinivas.kandagatla@linaro.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7483e7a9
...@@ -32,6 +32,10 @@ Required property for SLIMbus child node if it is present: ...@@ -32,6 +32,10 @@ Required property for SLIMbus child node if it is present:
Product Code, shall be in lower case hexadecimal with leading Product Code, shall be in lower case hexadecimal with leading
zeroes suppressed zeroes suppressed
Optional property for SLIMbus child node if it is present:
- slim-ifc-dev - Should be phandle to SLIMBus Interface device.
Required for devices which deal with streams.
SLIMbus example for Qualcomm's slimbus manager component: SLIMbus example for Qualcomm's slimbus manager component:
slim@28080000 { slim@28080000 {
...@@ -43,8 +47,14 @@ SLIMbus example for Qualcomm's slimbus manager component: ...@@ -43,8 +47,14 @@ SLIMbus example for Qualcomm's slimbus manager component:
#address-cells = <2>; #address-cells = <2>;
#size-cell = <0>; #size-cell = <0>;
codec_ifd: ifd@0,0{
compatible = "slim217,60";
reg = <0 0>;
};
codec: wcd9310@1,0{ codec: wcd9310@1,0{
compatible = "slim217,60"; compatible = "slim217,60";
reg = <1 0>; reg = <1 0>;
slim-ifc-dev = <&codec_ifd>;
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment