OSDN Git Service

dt-bindings: soundwire: qcom: add 16-bit sample interval
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 18 Apr 2023 09:54:42 +0000 (11:54 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 8 May 2023 07:31:34 +0000 (13:01 +0530)
commita536bf5afa28420514d975f0852a778ea8291e1a
tree0b5ecb9227833e82651bffdc1327639d877e9486
parent505bdb9dff2eb1d097a231eb1946df01c3c5d405
dt-bindings: soundwire: qcom: add 16-bit sample interval

The port sample interval was always 16-bit, split into low and high
bytes.  This split was unnecessary, although harmless for older devices
because all of them used only lower byte (so values < 0xff).  With
support for Soundwire controller on Qualcomm SM8550 and its devices,
both bytes will be used, thus add a new 'qcom,ports-sinterval' property
to allow 16-bit sample intervals.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20230418095447.577001-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/soundwire/qcom,soundwire.yaml