[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210621223141.1638189-1-dmitry.baryshkov@linaro.org>
Date: Tue, 22 Jun 2021 01:31:34 +0300
From: Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
To: Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Marcel Holtmann <marcel@...tmann.org>,
Johan Hedberg <johan.hedberg@...il.com>,
Luiz Augusto von Dentz <luiz.dentz@...il.com>
Cc: linux-arm-msm@...r.kernel.org,
Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-bluetooth@...r.kernel.org
Subject: [PATCH v3 0/7] Add support for Qualcomm QCA639x chips family
Qualcomm QCA639x is a family of WiFi + Bluetooth chips, with BT part
being controlled through the UART and WiFi being present on PCIe
bus. Both blocks use common power management unit wich should be turned
on before either of devices can be probed. Add common 'qcom-qca6390'
driver providing regulator to be used by both BT and PCIe parts.
Changes since v2:
- Rebase on top of linux-next to get wcn6750 changes.
- Switch from misc device providing power domains into regulator code.
- Use vddpe-3v3-supply as expected by pcie-qcom driver.
- Use enable_gpio functionality in hci_qca driver.
Changes since v1:
- Stopped using wildcard in the dts binding, stick to qcom,qca6390.
- Stopped using pcie0_phy for qca639x power domain.
- Describe root PCIe bridge in the dts and bind power domain to the
bridge.
- Add pci quirk to power up power domains connected to this bridge.
----------------------------------------------------------------
Dmitry Baryshkov (7):
dt-bindings: regulator: qcom,qca6390: add binding for QCA6390 device
regulator: qca6390: add support for QCA639x powerup sequence
Bluetooth: hci_qca: provide default device data
Bluetooth: hci_qca: merge qca_power into qca_serdev
Bluetooth: hci_qca: merge wcn & non-wcn code paths
Bluetooth: hci_qca: add power sequencer support to qca6390
arm64: dts: qcom: qrb5165-rb5: add QCA6391 WiFi+BT SoC
.../bindings/regulator/qcom,qca6390.yaml | 70 +++++++
arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 56 +++++
drivers/bluetooth/hci_qca.c | 225 ++++++++++-----------
drivers/regulator/Kconfig | 13 ++
drivers/regulator/Makefile | 1 +
drivers/regulator/qcom-qca639x.c | 157 ++++++++++++++
6 files changed, 401 insertions(+), 121 deletions(-)
create mode 100644 Documentation/devicetree/bindings/regulator/qcom,qca6390.yaml
create mode 100644 drivers/regulator/qcom-qca639x.c
Powered by blists - more mailing lists