[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201202162943.15210-1-srinivas.kandagatla@linaro.org>
Date: Wed, 2 Dec 2020 16:29:41 +0000
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: bjorn.andersson@...aro.org
Cc: linux-arm-msm@...r.kernel.org, agross@...nel.org,
robh+dt@...nel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
Subject: [PATCH v6 0/2] pinctrl: qcom: Add sm8250 lpass lpi pinctrl support
This patch adds support for LPASS (Low Power Audio SubSystem)
LPI (Low Power Island) pinctrl on SM8250.
This patch has been tested on support to Qualcomm Robotics RB5 Development
Kit based on QRB5165 Robotics SoC. This board has 2 WSA881X smart speakers
with onboard DMIC connected to internal LPASS codec via WSA and VA macros
respectively.
Most of the work is derived from downstream Qualcomm kernels.
Credits to various Qualcomm authors from Patrick Lai's team who have
contributed to this code.
Am guessing existing qcom folder should cover maintining this driver too!
If not I can send additional patch to consolidate this along with other
Audio related drivers in Maintainer file!
Changes since v5:
- moved to use FIELD_* or u32_replace/encode apis where possible
- remove all the SHIFT constants
- updated function groups as suggested by Bjorn
- updated setting slew rate as suggested by Bjorn
Srinivas Kandagatla (2):
dt-bindings: pinctrl: qcom: Add sm8250 lpass lpi pinctrl bindings
pinctrl: qcom: Add sm8250 lpass lpi pinctrl driver
.../pinctrl/qcom,lpass-lpi-pinctrl.yaml | 130 ++++
drivers/pinctrl/qcom/Kconfig | 8 +
drivers/pinctrl/qcom/Makefile | 1 +
drivers/pinctrl/qcom/pinctrl-lpass-lpi.c | 695 ++++++++++++++++++
4 files changed, 834 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pinctrl/qcom,lpass-lpi-pinctrl.yaml
create mode 100644 drivers/pinctrl/qcom/pinctrl-lpass-lpi.c
--
2.21.0
Powered by blists - more mailing lists