Message ID | 1425428519-12224-4-git-send-email-kwestfie@codeaurora.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Tue, Mar 03, 2015 at 04:21:52PM -0800, Kenneth Westfield wrote: > +Required properties: > + > +- compatible : "google,storm" I'm not convinced about this compatible - it's the name of the entire machine from the looks of it which means it'll collide with any other similar machine driver type things needed on the board. Adding an -audio or something on the end of the name should cover it unless anyone has any other bright ideas. Ideally we'd be able to load drivers off the machine identifier that we already have but nobody seems to want to do that so...
diff --git a/Documentation/devicetree/bindings/sound/storm.txt b/Documentation/devicetree/bindings/sound/storm.txt new file mode 100644 index 0000000000000000000000000000000000000000..2a308e9c4cd3f9550c0b7078200a14a787f02858 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/storm.txt @@ -0,0 +1,23 @@ +* Sound complex for Storm boards + +Models a soundcard for Storm boards with the Qualcomm Technologies IPQ806x SOC +connected to a MAX98357A DAC via I2S. + +Required properties: + +- compatible : "google,storm" +- cpu : Phandle of the CPU DAI +- codec : Phandle of the codec DAI + +Optional properties: + +- qcom,model : The user-visible name of this sound card. + +Example: + +sound { + compatible = "google,storm"; + qcom,model = "ipq806x-storm"; + cpu = <&lpass_cpu>; + codec = <&max98357a>; +};