Commit c00b5c28 authored by Stephan Gerhold's avatar Stephan Gerhold Committed by Bjorn Andersson

arm64: dts: qcom: msm8916: Set #address-cells for lpass

As of commit 4ff028f6 ("ASoC: qcom: lpass-cpu: Make I2S SD lines
configurable"), lpass now supports children nodes to configure the
MI2S SD lines to use for one of the I2S ports. For example:

lpass@7708000 {
	dai@3 {
		reg = <MI2S_QUATERNARY>;
		qcom,playback-sd-lines = <1>;
	};
};

The "reg" property refers to the DAI number in this case,
so we need to set #address-cells and #size-cells appropriately
to avoid DTC warnings.

Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20200605185916.318494-1-stephan@gerhold.netSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 5f7f61e3
...@@ -700,6 +700,9 @@ lpass: lpass@7708000 { ...@@ -700,6 +700,9 @@ lpass: lpass@7708000 {
interrupt-names = "lpass-irq-lpaif"; interrupt-names = "lpass-irq-lpaif";
reg = <0x07708000 0x10000>; reg = <0x07708000 0x10000>;
reg-names = "lpass-lpaif"; reg-names = "lpass-lpaif";
#address-cells = <1>;
#size-cells = <0>;
}; };
lpass_codec: codec{ lpass_codec: codec{
......
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