[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <de3b8223-f51d-6cb1-6346-7bd7dcefb482@linux.intel.com>
Date: Wed, 3 Mar 2021 10:16:46 -0600
From: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>
To: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
vkoul@...nel.org
Cc: sanyog.r.kale@...el.com, yung-chuan.liao@...ux.intel.com,
linux-kernel@...r.kernel.org, alsa-devel@...a-project.org
Subject: Re: [PATCH v2 1/5] soundwire: qcom: add support to missing transport
params
> soundwire-controller@...0000 {
> reg = <0 0x3210000 0 0x2000>;
> compatible = "qcom,soundwire-v1.5.1";
> interrupts = <GIC_SPI 298 IRQ_TYPE_LEVEL_HIGH>;
> clocks = <&rxmacro>;
> clock-names = "iface";
> qcom,clock-stop-mode0;
> qcom,din-ports = <0>;
> qcom,dout-ports = <5>;
>
> qcom,ports-sinterval-low = /bits/ 8 <0x03 0x1F 0x1F 0x07 0x00>;
> qcom,ports-offset1 = /bits/ 8 <0x00 0x00 0x0B 0x01 0x00>;
> qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x0B 0x00 0x00>;
> qcom,ports-hstart = /bits/ 8 <0xFF 0x03 0xFF 0xFF 0xFF>;
> qcom,ports-hstop = /bits/ 8 <0xFF 0x06 0xFF 0xFF 0xFF>;
> qcom,ports-word-length = /bits/ 8 <0x01 0x07 0x04 0xFF 0xFF>;
> qcom,ports-block-pack-mode = /bits/ 8 <0xFF 0x00 0x01 0xFF 0xFF>;
> qcom,ports-lane-control = /bits/ 8 <0x01 0x00 0x00 0x00 0x00>;
> qcom,ports-block-group-count = /bits/ 8 <0xFF 0xFF 0xFF 0xFF 0x00>;
>
> #sound-dai-cells = <1>;
> #address-cells = <2>;
> #size-cells = <0>;
> };
>> properties that may or may not be valid. If this is intentional and
>> desired, this should still be captured somehow, e.g. in the bindings
>> documentation or in the code with a comment, no?
>
> Yes, I agree with you on this, I should document this in bindings!
thanks for the explanations, it'd be useful indeed to document what this
magic 0xFF value means.
Powered by blists - more mailing lists