All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 00/11] Add support for the Qualcomm Molokai (SM8845) and the Motorola Signature
@ 2026-11-20 15:53 ` Venkat Yadlapati via B4 Relay
  0 siblings, 0 replies; 25+ messages in thread
From: Venkat Yadlapati @ 2026-11-20 15:53 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Thomas Gleixner, Radu Rendec,
	Kees Cook, Tony Luck, Guilherme G. Piccoli
  Cc: linux-arm-msm, devicetree, linux-kernel, phone-devel,
	Venkat Yadlapati

Molokai (SM8845) is a Qualcomm SoC derived from Kaanapali (SM8850). It
has its own TLMM and GPIO to PDC wakeup map, a PDC with one more
interrupt range, no I2C master hub, no fourth QUP wrapper, a different
GPU clock controller and an Adreno 829 instead of the Adreno 840.

This series adds:
- the SoC ID (685, as reported in SMEM) and the socinfo entry
- the PDC compatible, the UBWC config and the protection domains
- the SoC compatible patterns and the board compatible
- the second DSI controller and PHY of Kaanapali, which the Motorola
  Signature uses for its panel
- the Molokai dtsi on top of the Kaanapali one, with its GPU
- a first devicetree for the Motorola Signature: UFS, USB with role
  switching and pmic-glink, the keys and the splash framebuffer

The rest of the phone (display, audio, DSPs, thermal) will follow once
the drivers it needs are reviewed.

It depends on the Molokai TLMM, GPU clock controller and Adreno 829
series, sent at the same time.

Tested on the Motorola Signature, together with the board patches that
will follow: it boots postmarketOS from UFS, with USB networking, the
keys and the battery and USB power supplies working.
dtbs_check is clean for the Motorola Signature and the Kaanapali MTP and
QRD.

With the display clocks on the simple-framebuffer, booting without
clk_ignore_unused and with the MSM driver enabled logs "already
disabled" warnings for the DSI1 PHY PLL when simpledrm hands over.
They come from the DSI PHY probe, which also warns without this
series: the clock core prepares the unpowered DSI1 PLL while
reparenting the byte and pixel clock sources the bootloader left on
it. I will report that to the DSI PHY maintainers separately.

I used an LLM (Claude) to help write these patches and their commit
messages. I reviewed all of them and tested the result on the device.

---
Changes in v3:
- Drop the Assisted-by trailers and the LLM notes from the commit
  messages, the LLM use is stated in this cover letter (Krzysztof, Abel).
- Note on the DSI PHY warnings below.
- vantage: give the simple-framebuffer the display clocks and the MDSS
  core GDSC, so they stay on when unused clocks and power domains are
  turned off (Sashiko).
- vantage: move the PMK8550 GPIO node after nvram@7100 (Sashiko).
- Link to v2: https://patch.msgid.link/20261116-molokai-soc-v2-0-9dc4dddc4e96@yahoo.com

Changes in v2:
- vantage: describe the PMICs as reported by SMEM and the vendor
  devicetree: PMK8550 on SID 0 (6 GPIOs, instead of including
  pmk8850.dtsi, whose 8 GPIOs made the GPIO driver read registers that
  do not exist), PM8550 and PM8550VE RPMh regulator compatibles
  (were PMH0101/PMH0110).
- vantage: the LDOs are PMIC5 LDOs without an auto mode, start them in
  high power mode like the vendor devicetree (v1 asked for auto mode,
  which the PMIC530 table encodes as the PMIC5 low power mode).
- vantage: drop the serial0 alias of the disabled uart7.
- vantage: drop alignment from the static reserved-memory nodes.
- vantage: move the memory map comment to the reserved-memory node.
- vantage: sort /delete-node/ lines, the clocks and the label overrides.
- Link to v1: https://patch.msgid.link/20261116-molokai-soc-v1-0-3b2ee920fa3b@yahoo.com

---
Venkat Yadlapati (11):
      dt-bindings: arm: qcom,ids: Add SoC ID for SM8845
      soc: qcom: socinfo: Add SM8845 SoC ID
      dt-bindings: interrupt-controller: qcom,pdc: Document Molokai PDC
      soc: qcom: ubwc: Add config for Molokai
      soc: qcom: pd-mapper: Add support for Molokai
      dt-bindings: arm: qcom-soc: Extend pattern for Molokai
      dt-bindings: arm: qcom: Document Molokai and the Motorola Signature
      arm64: dts: qcom: kaanapali: Add the second DSI controller and PHY
      arm64: dts: qcom: Add Molokai (SM8845) SoC dtsi
      arm64: dts: qcom: molokai: Describe the Adreno 829 GPU
      arm64: dts: qcom: Add Motorola Signature (vantage)

 .../devicetree/bindings/arm/qcom-soc.yaml          |   4 +-
 Documentation/devicetree/bindings/arm/qcom.yaml    |   5 +
 .../bindings/interrupt-controller/qcom,pdc.yaml    |   1 +
 arch/arm64/boot/dts/qcom/Makefile                  |   1 +
 arch/arm64/boot/dts/qcom/kaanapali.dtsi            |  90 ++-
 .../boot/dts/qcom/molokai-motorola-vantage.dts     | 791 +++++++++++++++++++++
 arch/arm64/boot/dts/qcom/molokai.dtsi              | 327 +++++++++
 drivers/soc/qcom/qcom_pd_mapper.c                  |   1 +
 drivers/soc/qcom/socinfo.c                         |   1 +
 drivers/soc/qcom/ubwc_config.c                     |   1 +
 include/dt-bindings/arm/qcom,ids.h                 |   1 +
 11 files changed, 1219 insertions(+), 4 deletions(-)
---
base-commit: 6a876df4686788cd39128b62d7fcbff62f39278f
change-id: 20261116-molokai-soc-6ff9b295c2f3
prerequisite-change-id: 20261116-molokai-tlmm-ba0ee416e513:v3
prerequisite-patch-id: 370171903d0f17fe15c388c1656b22e24100153f
prerequisite-patch-id: d6b03a5669eb394f4d58e3945717b563a372db8f
prerequisite-change-id: 20261116-molokai-gpucc-daebd2758b5d:v2
prerequisite-patch-id: 0e6a86461e4d0ff585e2c950c87b4492ec9d96e8
prerequisite-patch-id: 6e286744dc03d7bd7216695a9c9632b22ad41f05
prerequisite-change-id: 20261116-molokai-a829-9cb850930124:v2
prerequisite-patch-id: c3a4e2985176713b54c997f91fa4975db8cdff3a
prerequisite-patch-id: c8fee006e015f2c35033a51779a4f1eb4655dcd0

Best regards,
--  
Venkat Yadlapati <venkat.yadlapati@yahoo.com>


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2026-11-21 17:23 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-20 15:53 [PATCH v3 00/11] Add support for the Qualcomm Molokai (SM8845) and the Motorola Signature Venkat Yadlapati
2026-11-20 15:53 ` Venkat Yadlapati via B4 Relay
2026-11-20 15:53 ` [PATCH v3 01/11] dt-bindings: arm: qcom,ids: Add SoC ID for SM8845 Venkat Yadlapati
2026-11-20 15:53   ` Venkat Yadlapati via B4 Relay
2026-11-20 15:53 ` [PATCH v3 02/11] soc: qcom: socinfo: Add SM8845 SoC ID Venkat Yadlapati
2026-11-20 15:53   ` Venkat Yadlapati via B4 Relay
2026-11-20 15:53 ` [PATCH v3 03/11] dt-bindings: interrupt-controller: qcom,pdc: Document Molokai PDC Venkat Yadlapati
2026-11-20 15:53   ` Venkat Yadlapati via B4 Relay
2026-11-20 15:53 ` [PATCH v3 04/11] soc: qcom: ubwc: Add config for Molokai Venkat Yadlapati
2026-11-20 15:53   ` Venkat Yadlapati via B4 Relay
2026-11-20 15:53 ` [PATCH v3 05/11] soc: qcom: pd-mapper: Add support " Venkat Yadlapati
2026-11-20 15:53   ` Venkat Yadlapati via B4 Relay
2026-11-20 15:53 ` [PATCH v3 06/11] dt-bindings: arm: qcom-soc: Extend pattern " Venkat Yadlapati
2026-11-20 15:53   ` Venkat Yadlapati via B4 Relay
2026-11-20 15:53 ` [PATCH v3 07/11] dt-bindings: arm: qcom: Document Molokai and the Motorola Signature Venkat Yadlapati
2026-11-20 15:53   ` Venkat Yadlapati via B4 Relay
2026-11-20 15:53 ` [PATCH v3 08/11] arm64: dts: qcom: kaanapali: Add the second DSI controller and PHY Venkat Yadlapati
2026-11-20 15:53   ` Venkat Yadlapati via B4 Relay
2026-11-21 17:23   ` Joonhoe Kim
2026-11-20 15:53 ` [PATCH v3 09/11] arm64: dts: qcom: Add Molokai (SM8845) SoC dtsi Venkat Yadlapati
2026-11-20 15:53   ` Venkat Yadlapati via B4 Relay
2026-11-20 15:53 ` [PATCH v3 10/11] arm64: dts: qcom: molokai: Describe the Adreno 829 GPU Venkat Yadlapati
2026-11-20 15:53   ` Venkat Yadlapati via B4 Relay
2026-11-20 15:53 ` [PATCH v3 11/11] arm64: dts: qcom: Add Motorola Signature (vantage) Venkat Yadlapati
2026-11-20 15:53   ` Venkat Yadlapati via B4 Relay

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.