From: "Rob Herring (Arm)" <robh@kernel.org>
To: David Heidelberg <david@ixit.cz>
Cc: Conor Dooley <conor+dt@kernel.org>,
linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org,
Bjorn Andersson <andersson@kernel.org>,
Stephen Boyd <sboyd@kernel.org>,
devicetree@vger.kernel.org, Abel Vesa <abelvesa@kernel.org>,
Casey Connolly <casey@connolly.tech>,
Fenglin Wu <fenglin.wu@oss.qualcomm.com>,
linux-arm-msm@vger.kernel.org, Lee Jones <lee@kernel.org>,
David Collins <david.collins@oss.qualcomm.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
mfd@lists.linux.dev, linux-input@vger.kernel.org,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com>,
Subbaraman Narayanamurthy
<subbaraman.narayanamurthy@oss.qualcomm.com>,
Konrad Dybcio <konradybcio@kernel.org>
Subject: Re: [PATCH v8 1/9] dt-bindings: input: Add Qualcomm PMI8998 / PM660 haptics
Date: Mon, 30 Nov 2026 07:59:12 -0600 [thread overview]
Message-ID: <179604700310.3823132.1468565406284915392.robh@kernel.org> (raw)
In-Reply-To: <20261130-qcom-pmi8998-haptics-v8-1-a64ecd72d3bb@ixit.cz>
On Mon, 30 Nov 2026 01:13:48 +0100, David Heidelberg wrote:
> Document the haptics module found in the Qualcomm PMI8998 PMIC. It drives
> an LRA or ERM actuator from an 8-sample waveform buffer, a fixed voltage,
> an audio stream or a PWM input, and reports short circuits and buffer
> completion through two interrupts.
>
> The module predates the HAP530 design covered by qcom,spmi-haptics.yaml
> and has a different register layout, so it gets its own schema and no
> qcom,spmi-haptics fallback compatible. The resonance period and maximum
> drive voltage properties reuse the qcom,lra-period-us and
> qcom,vmax-microvolt names from that binding.
>
> Add the shared constants header include/dt-bindings/input/qcom,haptics.h
> for the actuator type, auto-resonance detection mode, play mode, waveform
> shape and high-impedance options, along with properties for ERM sample
> duration, repeat counts, brake pattern and accepted auto-resonance drive
> period variation. LRA-only properties are required for LRA actuators (the
> default) and disallowed for ERM actuators.
>
> Based on work of Casey Connolly.
>
> Signed-off-by: David Heidelberg <david@ixit.cz>
> ---
> .../bindings/input/qcom,pmi8998-haptics.yaml | 256 +++++++++++++++++++++
> MAINTAINERS | 8 +
> include/dt-bindings/input/qcom,haptics.h | 46 ++++
> 3 files changed, 310 insertions(+)
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.example.dtb: pmic@3 (qcom,pmi8998): haptics@c000: "reg-names" is a required property
from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml
Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.example.dtb: pmic@3 (qcom,pmi8998): haptics@c000:compatible: ["qcom,pmi8998-haptics"] has less than 2 items
from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml
Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.example.dtb: pmic@3 (qcom,pmi8998): haptics@c000:compatible:0: "qcom,pmih0108-haptics" was expected
from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml
Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.example.dtb: pmic@3 (qcom,pmi8998): haptics@c000:interrupt-names: ["short","play"] has more than 1 item
from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml
Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.example.dtb: pmic@3 (qcom,pmi8998): haptics@c000:interrupt-names:0: "fifo-empty" was expected
from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml
Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.example.dtb: pmic@3 (qcom,pmi8998): haptics@c000:interrupts: [[3,192,0,3],[3,192,1,3]] has more than 1 item
from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml
Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.example.dtb: pmic@3 (qcom,pmi8998): haptics@c000:qcom,vmax-microvolt:0:0: 2088000 is not a multiple of 50000
from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml
Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.example.dtb: pmic@3 (qcom,pmi8998): haptics@c000:reg: [[49152]] has less than 2 items
from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml
Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.example.dtb: pmic@3 (qcom,pmi8998): haptics@c000: Additional properties are not allowed ('qcom,lra-auto-res-mode', 'qcom,lra-high-z', 'qcom,lra-res-cal-period', 'qcom,play-mode', 'qcom,wave-shape' were unexpected)
from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml
Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.example.dtb: pmic@1 (qcom,pm660): haptics@c000: "reg-names" is a required property
from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml
Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.example.dtb: pmic@1 (qcom,pm660): haptics@c000: "qcom,lra-period-us" is a required property
from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml
Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.example.dtb: pmic@1 (qcom,pm660): haptics@c000:compatible: ["qcom,pm660-haptics"] has less than 2 items
from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml
Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.example.dtb: pmic@1 (qcom,pm660): haptics@c000:compatible:0: "qcom,pmih0108-haptics" was expected
from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml
Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.example.dtb: pmic@1 (qcom,pm660): haptics@c000:interrupt-names: ["short","play"] has more than 1 item
from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml
Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.example.dtb: pmic@1 (qcom,pm660): haptics@c000:interrupt-names:0: "fifo-empty" was expected
from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml
Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.example.dtb: pmic@1 (qcom,pm660): haptics@c000:interrupts: [[1,192,0,3],[1,192,1,3]] has more than 1 item
from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml
Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.example.dtb: pmic@1 (qcom,pm660): haptics@c000:qcom,vmax-microvolt:0:0: 3132000 is not a multiple of 50000
from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml
Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.example.dtb: pmic@1 (qcom,pm660): haptics@c000:reg: [[49152]] has less than 2 items
from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml
Documentation/devicetree/bindings/input/qcom,pmi8998-haptics.example.dtb: pmic@1 (qcom,pm660): haptics@c000: Additional properties are not allowed ('qcom,actuator-type', 'qcom,play-mode', 'qcom,play-rate-us' were unexpected)
from schema $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml
doc reference errors (make refcheckdocs):
See https://patchwork.kernel.org/project/devicetree/patch/20261130-qcom-pmi8998-haptics-v8-1-a64ecd72d3bb@ixit.cz
The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.
next prev parent reply other threads:[~2026-11-30 13:59 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 0:13 [PATCH v8 0/9] input: Add support for the Qualcomm PMI8998 and PM660 haptics David Heidelberg via B4 Relay
2026-11-30 0:13 ` [PATCH v8 1/9] dt-bindings: input: Add Qualcomm PMI8998 / " David Heidelberg via B4 Relay
2026-11-30 0:22 ` sashiko-bot
2026-11-30 13:59 ` Rob Herring (Arm) [this message]
2026-11-30 0:13 ` [PATCH v8 2/9] dt-bindings: mfd: qcom,spmi-pmic: Allow the PMI8998 haptics child node David Heidelberg via B4 Relay
2026-11-30 13:59 ` Rob Herring (Arm)
2026-11-30 0:13 ` [PATCH v8 3/9] Input: qcom-pmi8998-haptics - Add Qualcomm PMI8998 haptics driver David Heidelberg via B4 Relay
2026-11-30 0:26 ` sashiko-bot
2026-11-30 9:33 ` Uwe Kleine-König
2026-11-30 10:36 ` Alexey Minnekhanov
2026-11-30 11:36 ` Uwe Kleine-König
2026-11-30 0:13 ` [PATCH v8 4/9] arm64: dts: qcom: pmi8998: Add haptics node David Heidelberg via B4 Relay
2026-11-30 0:13 ` [PATCH v8 5/9] arm64: dts: qcom: sdm845-oneplus: Enable haptics David Heidelberg via B4 Relay
2026-11-30 0:13 ` [PATCH v8 6/9] arm64: dts: qcom: sdm845-xiaomi-beryllium: " David Heidelberg via B4 Relay
2026-11-30 0:13 ` [PATCH v8 7/9] arm64: dts: qcom: sdm845-shift-axolotl: " David Heidelberg via B4 Relay
2026-11-30 0:13 ` [PATCH v8 8/9] arm64: dts: qcom: pm660: Add haptics node David Heidelberg via B4 Relay
2026-11-30 0:13 ` [PATCH v8 9/9] arm64: dts: qcom: sdm660-xiaomi-lavender: Enable haptics David Heidelberg via B4 Relay
2026-11-30 10:38 ` Alexey Minnekhanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179604700310.3823132.1468565406284915392.robh@kernel.org \
--to=robh@kernel.org \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=casey@connolly.tech \
--cc=conor+dt@kernel.org \
--cc=david.collins@oss.qualcomm.com \
--cc=david@ixit.cz \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=fenglin.wu@oss.qualcomm.com \
--cc=kamal.wadhwa@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mfd@lists.linux.dev \
--cc=phone-devel@vger.kernel.org \
--cc=sboyd@kernel.org \
--cc=subbaraman.narayanamurthy@oss.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox