[PATCH v8 2/9] dt-bindings: mfd: qcom,spmi-pmic: Allow the PMI8998 haptics child node
From: David Heidelberg via B4 Relay
Date: Sun Nov 29 2026 - 19:14:16 EST
From: David Heidelberg <david@xxxxxxx>
The haptics child node currently validates only against the
qcom,spmi-haptics schema. Let it also match qcom,pmi8998-haptics.yaml,
which describes the older haptics module in PMI8998 with a different
register layout.
Signed-off-by: David Heidelberg <david@xxxxxxx>
---
Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
index 7a889d8883835..3ed0e69e43ad2 100644
--- a/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
+++ b/Documentation/devicetree/bindings/mfd/qcom,spmi-pmic.yaml
@@ -166,17 +166,19 @@ patternProperties:
- $ref: /schemas/power/supply/qcom,pmi8998-charger.yaml#
"gpio@[0-9a-f]+$":
type: object
$ref: /schemas/pinctrl/qcom,pmic-gpio.yaml#
"^haptics@[0-9a-f]+$":
type: object
- $ref: /schemas/input/qcom,spmi-haptics.yaml#
+ oneOf:
+ - $ref: /schemas/input/qcom,pmi8998-haptics.yaml#
+ - $ref: /schemas/input/qcom,spmi-haptics.yaml#
"^led-controller@[0-9a-f]+$":
type: object
$ref: /schemas/leds/qcom,spmi-flash-led.yaml#
"^nvram@[0-9a-f]+$":
type: object
$ref: /schemas/nvmem/qcom,spmi-sdam.yaml#
--
2.55.0