This series adds support for execution environment (EE) aware register
layouts in the Qualcomm SoundWire master controller driver.
On SoundWire v2.0+ hardware, some controllers bank the interrupt, FIFO, and
status registers in EE-specific windows separated by a stride of 0x1000.
Typically, the driver assumes EE1, but platforms like Shikra have the
controller routed on EE0.
To support platforms with varying EEs, we:
1. Introduce the `qcom,swr-master-ee-val` DT property to configure the
target execution environment.
2. Add remapping logic to adjust the register layout offsets by the
EE window stride on v2.0+ hardware.
The first patch adds DT binding documentation for the new property, and
the second implements the EE-aware layout selection in the soundwire
driver.
Mohammad Rafi Shaik (2):
dt-bindings: soundwire: qcom: add qcom,swr-master-ee-val property
soundwire: qcom: add EE-aware register layout and cpu selection
.../bindings/soundwire/qcom,soundwire.yaml | 6 ++
drivers/soundwire/qcom.c | 78 +++++++++++++++----
2 files changed, 71 insertions(+), 13 deletions(-)
--
2.34.1