linux_dsm_epyc7002/include/linux/soundwire
Srinivas Kandagatla a9107de4b0 soundwire: stream: Add read_only_wordlength flag to port properties
According to SoundWire Specification Version 1.2.
"A Data Port number X (in the range 0-14) which supports only one
value of WordLength may implement the WordLength field in the
DPX_BlockCtrl1 Register as Read-Only, returning the fixed value of
WordLength in response to reads."

As WSA881x interfaces in PDM mode making the only field "WordLength"
in DPX_BlockCtrl1" fixed and read-only. Behaviour of writing to this
register on WSA881x soundwire slave with Qualcomm Soundwire Controller
is throwing up an error. Not sure how other controllers deal with
writing to readonly registers, but this patch provides a way to avoid
writes to DPN_BlockCtrl1 register by providing a read_only_wordlength
flag in struct sdw_dpn_prop

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200311113545.23773-2-srinivas.kandagatla@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2020-03-20 19:24:59 +05:30
..
sdw_intel.h soundwire: intel: report slave_ids for each link to SOF driver 2020-01-16 17:31:22 +05:30
sdw_registers.h soundwire: remove multiple blank lines 2019-05-02 17:17:52 +02:00
sdw_type.h soundwire: add module_sdw_driver helper macro 2019-07-01 11:52:43 +05:30
sdw.h soundwire: stream: Add read_only_wordlength flag to port properties 2020-03-20 19:24:59 +05:30