Skip to content

dt-bindings: describe the PMU modules of QCom BT/WLAN packages

Bartosz Golaszewski linux-arm-msm linux-devicetree lkml 6 versions – In review

Get series with b4
b4 am [email protected] change-id 20240527-pwrseq-76fc025248a2

Versions newest first · linked by author and title

  1. v9 Latest2 patches 1 replyIn review
  2. v817 patches 29 repliesSuperseded 2 of 17 applied
  3. v716 patches 9 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v616 patches30 repliesSuperseded
v518 patches60 repliesSuperseded
v1 RFC9 patches33 repliesSuperseded

Changes in v9 from the cover letter

- fix typos in bindings
- Link to v8: https://lore.kernel.org/r/[email protected]

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2regulator: dt-bindings: describe the PMU module of the QCA6390 packageDocumentation/devicetree/bindings/regulator/qcom,qca6390-pmu.yaml+151 -00 replies
2/2regulator: dt-bindings: describe the PMU module of the WCN7850 packageDocumentation/devicetree/bindings/regulator/qcom,qca6390-pmu.yaml+35 -10 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMark BrownKrzysztof Kozlowski
1/2A-b R-b
2/2A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v9 thread

Cover letter [PATCH v9 0/2] dt-bindings: describe the PMU modules of QCom BT/WLAN packages

From: Bartosz Golaszewski <[email protected]>

Hi Mark!

Here are the two dt-binding patches from the power-sequencing series targeting the regulator subsystem. To keep the cover-letter short, I won't repeat all the details, they can be found in the cover-letter for v8. Please consider picking them up into your tree, they were reviewed by Krzysztof and already acked by you earlier.

Changelog:

Since v8:
- fix typos in bindings
- Link to v8: https://lore.kernel.org/r/[email protected]

Since v7:
- added DTS changes for sm8650-hdk
- added circular dependency detection for pwrseq units
- fixed a KASAN reported use-after-free error in remove path
- improve Kconfig descriptions
- fix typos in bindings and Kconfig
- fixed issues reported by smatch
- fix the unbind path in PCI pwrctl
- lots of minor improvements to the pwrseq core

Since v6:
- kernel doc fixes
- drop myself from the DT bindings maintainers list for ath12k
- wait until the PCI bridge device is fully added before creating the PCI pwrctl platform devices for its sub-nodes, otherwise we may see sysfs and procfs attribute failures (due to duplication, we're basically trying to probe the same device twice at the same time)
- I kept the regulators for QCA6390's ath11k as required as they only apply to this specific Qualcomm package

Since v5:
- unify the approach to modelling the WCN WLAN/BT chips by always exposing the PMU node on the device tree and making the WLAN and BT nodes become consumers of its power outputs; this includes a major rework of the DT sources, bindings and driver code; there's no more a separate PCI pwrctl driver for WCN7850, instead its power-up sequence was moved into the pwrseq driver common for all WCN chips
- don't set load_uA from new regulator consumers
- fix reported kerneldoc issues
- drop voltage ranges for PMU outputs from DT
- many minor tweaks and reworks

v1: Original RFC:

https://lore.kernel.org/lkml/[email protected]/T/

v2: First real patch series (should have been PATCH v2) adding what I
referred to back then as PCI power sequencing:

https://lore.kernel.org/linux-arm-kernel/2024021413-grumbling-unlivable-c145@gregkh/T/

v3: RFC for the DT representation of the PMU supplying the WLAN and BT
modules inside the QCA6391 package (was largely separate from the series but probably should have been called PATCH or RFC v3):

https://lore.kernel.org/all/CAMRc=Mc+GNoi57eTQg71DXkQKjdaoAmCpB=h2ndEpGnmdhVV-Q@mail.gmail.com/T/

v4: Second attempt at the full series with changed scope (introduction of
the pwrseq subsystem, should have been RFC v4)

https://lore.kernel.org/lkml/[email protected]/T/

v5: Two different ways of handling QCA6390 and WCN7850:

https://lore.kernel.org/lkml/[email protected]/

Bartosz Golaszewski (2):
regulator: dt-bindings: describe the PMU module of the QCA6390 package
regulator: dt-bindings: describe the PMU module of the WCN7850 package

 .../bindings/regulator/qcom,qca6390-pmu.yaml  | 185 ++++++++++++++++++
 1 file changed, 185 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/regulator/qcom,qca6390-pmu.yaml
Signature · 1 line
2.40.1