[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251124-pmic_arb_v8-v4-0-d91dcbf097c7@oss.qualcomm.com>
Date: Mon, 24 Nov 2025 15:15:09 +0530
From: Jishnu Prakash <jishnu.prakash@....qualcomm.com>
To: Stephen Boyd <sboyd@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
David Collins <david.collins@....qualcomm.com>,
konrad.dybcio@....qualcomm.com
Cc: linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org,
Jishnu Prakash <jishnu.prakash@....qualcomm.com>,
kamal.wadhwa@....qualcomm.com, aiqun.yu@....qualcomm.com,
Pankaj Patil <pankaj.patil@....qualcomm.com>,
Jingyi Wang <jingyi.wang@....qualcomm.com>
Subject: [PATCH v4 0/3] spmi-pmic-arb: Add support for PMIC arbiter v8 for
Glymur and Kaanapali
This patch series updates the SPMI dt-bindings and driver to add
support for PMIC arbiter v8, targeting Qualcomm SoCs Glymur and
Kaanapali.
SPMI PMIC Arbiter version 8 builds upon version 7 with support for
up to four SPMI buses. To achieve this, the register map was
slightly rearranged.
Device tree changes are not included in this series and will be
posted separately.
Signed-off-by: Jishnu Prakash <jishnu.prakash@....qualcomm.com>
---
Changes in v4:
- Collected Reviewed-by tags from Rob Herring on patches 1 and 2.
- Made following changes to address Konrad's comments on patch 3:
- Moved bitfield.h inclusion for alphabetical order.
- Added mask macros for use in spec_to_hwirq and hwirq_to_* macro
definitions and updated their definitions.
- Updated if() check in qpnpint_irq_domain_translate() to use FIELD_MAX().
- Added helper functions _pmic_arb_read_apid_map() and
_pmic_arb_init_apid_v7() for common use between versions 7 and 8
in .init_apid callbacks, to reduce code duplication.
- Removed pmic_arb_dump_apid_map() as logic for dumping mapping table is
now kept in a single place, in helper function _pmic_arb_read_apid_map().
- Link to v3: https://lore.kernel.org/all/20251024-pmic_arb_v8-v3-0-cad8d6a2cbc0@oss.qualcomm.com/
Changes in v3:
- Split out some common DT properties into separate binding file and updated
existing files to reference the common file for properties moved out.
- Also updated Glymur binding file to reference above common properties.
- Kept David Collins alone as maintainer for new binding files added.
- Squashed kaanapali compatible change shared as separate patch earlier:
(https://lore.kernel.org/all/20250924-knp-spmi-binding-v1-1-b4ace3f7a838@oss.qualcomm.com/)
into Glymur binding patch.
- Corrected comment formatting in drivers/spmi/spmi-pmic-arb.c to fix a
kernel bot warning.
- Updated definitions of spec_to_hwirq() and hwirq_to_*() macros in same file
to fix other build errors reported by kernel test bot and removed a comment
made irrelevant by this change.
- Link to v2: https://lore.kernel.org/all/20250924-glymur-spmi-v8-v2-0-202fc7a66a97@oss.qualcomm.com/
Changes in v2:
- Split into two series: SPMI (this series) and PINCTRL.
- Included the DT bindings in this series, previously posted separately.
- Fixed kernel robot reported issue by including bitfields.h.
- Link to v1: https://lore.kernel.org/all/20250920-glymur-spmi-v8-gpio-driver-v1-0-23df93b7818a@oss.qualcomm.com/
---
David Collins (1):
spmi: spmi-pmic-arb: add support for PMIC arbiter v8
Jishnu Prakash (2):
dt-bindings: spmi: split out common QCOM SPMI PMIC arbiter properties
dt-bindings: spmi: add support for glymur-spmi-pmic-arb (arbiter v8)
.../bindings/spmi/qcom,glymur-spmi-pmic-arb.yaml | 150 ++++++++++
.../bindings/spmi/qcom,spmi-pmic-arb-common.yaml | 35 +++
.../bindings/spmi/qcom,spmi-pmic-arb.yaml | 17 +-
.../bindings/spmi/qcom,x1e80100-spmi-pmic-arb.yaml | 21 +-
drivers/spmi/spmi-pmic-arb.c | 304 +++++++++++++++++----
5 files changed, 445 insertions(+), 82 deletions(-)
---
base-commit: 6a23ae0a96a600d1d12557add110e0bb6e32730c
change-id: 20251123-pmic_arb_v8-669d7715d3a5
Best regards,
--
Jishnu Prakash <jishnu.prakash@....qualcomm.com>
Powered by blists - more mailing lists