mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] spmi: Add SmartDV SPMI controller driver and bindings
@ 2026-11-15 18:01 vamshi gajjela
  2026-11-15 18:01 ` [PATCH v2 1/2] dt-bindings: spmi: Add Google LGA SPMI controller vamshi gajjela
  2026-11-15 18:01 ` [PATCH v2 2/2] spmi: Add SmartDV SPMI controller driver vamshi gajjela
  0 siblings, 2 replies; 4+ messages in thread
From: vamshi gajjela @ 2026-11-15 18:01 UTC (permalink / raw)
  To: Stephen Boyd, Abel Vesa, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: Uwe Kleine-König, Philipp Zabel, Peter Griffin,
	André Draszik, Tudor Ambarus, Jim Wylder, devicetree,
	linux-arm-kernel, linux-kernel, Vamshi Gajjela

From: Vamshi Gajjela <vamshigajjela@google.com>

This series adds Device Tree bindings and a controller driver for the
SmartDV Technologies MIPI System Power Management Interface (SPMI) master
controller.

This IP is integrated in Google Tensor SoCs starting with the G5
generation (codename: laguna, canonically written as "lga",
"google,lga-spmi") to communicate with on-board Power Management ICs
(PMICs).

The controller supports MIPI SPMI v1.0 and v2.0 non-data bus commands
(RESET, SLEEP, SHUTDOWN, WAKEUP), register read/write, extended register
read/write, and extended register read/write long transfers up to 16 bytes.

Patch 1/2 documents the Device Tree bindings for the Google LGA SmartDV
SPMI controller ("google,lga-spmi").
Patch 2/2 adds the spmi-smartdv controller driver.

Changes in v2:
- Dropped v1 patch 1/3 (vendor-prefixes.yaml) since no "smartdv,*"
  compatibles or properties remain in Device Tree.
- Dropped standalone and fallback "smartdv,spmi" compatible; use only the
  SoC-specific "google,lga-spmi" compatible and renamed the binding to
  google,lga-spmi.yaml (Conor Dooley).
- Dropped all seven "smartdv,*" DT properties and moved the per-SoC
  CONTROL register parameters into of_device_id match data
  (struct smartdv_spmi_config) in spmi-smartdv.c (Conor Dooley,
  Krzysztof Kozlowski).
- Dropped "clock-frequency" and free-form clock text; made "clocks" and
  "resets" required alongside "compatible" and "reg", and switched the
  driver to devm_clk_get_enabled() and
  devm_reset_control_get_exclusive_deasserted() (Conor Dooley,
  Krzysztof Kozlowski).
- Updated company name in descriptions/Kconfig to "SmartDV Technologies"
  (Krzysztof Kozlowski).
- Removed <linux/mod_devicetable.h> include and changed sentinel to "{ }"
  in smartdv_spmi_of_match[] (Uwe Kleine-Koenig).

Link: https://lore.kernel.org/lkml/20261103042608.387626-1-vamshigajjela@google.com/

Vamshi Gajjela (2):
  dt-bindings: spmi: Add Google LGA SPMI controller
  spmi: Add SmartDV SPMI controller driver

 .../bindings/spmi/google,lga-spmi.yaml        |  56 ++
 MAINTAINERS                                   |   7 +
 drivers/spmi/Kconfig                          |  10 +
 drivers/spmi/Makefile                         |   1 +
 drivers/spmi/spmi-smartdv.c                   | 488 ++++++++++++++++++
 5 files changed, 562 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/spmi/google,lga-spmi.yaml
 create mode 100644 drivers/spmi/spmi-smartdv.c

-- 
2.56.0.611.g1030f0b940-goog


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

end of thread, other threads:[~2026-11-16 12:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-15 18:01 [PATCH v2 0/2] spmi: Add SmartDV SPMI controller driver and bindings vamshi gajjela
2026-11-15 18:01 ` [PATCH v2 1/2] dt-bindings: spmi: Add Google LGA SPMI controller vamshi gajjela
2026-11-16 12:42   ` Krzysztof Kozlowski
2026-11-15 18:01 ` [PATCH v2 2/2] spmi: Add SmartDV SPMI controller driver vamshi gajjela

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®