From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796047154; b=Xhx/YSOM6NEx5bxxMFVeDlD1YWRdLuod8hS54CirZnz/fL98oeEyhgL3ajy9ilLe4bxU KVxAmGPlb3+c+IAcb1+tx89uUnWuovQP+BBOaCDCvarI7dSXZfjTPgzBGA1hqbYJ6KEZs TODSkdIZOyW4bzfj0qPaKJIZ1ZsWvweDK0aBSBU+bVnnKK6os6JEyMWiy7OHytdBSCR/K cIHVlyoddY6vcC6yiR+Pj6FY0aqeGqkexTrd0xdu7x8xbTUUbvmjLGasMnEjMhV5S6V9Y R7FFaAWYLKSmLVm8byEOOt4b5ERiWUYuQniJONtnBvsAZLBUQFwFItIZU6+E1IMP31g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796047154; h=Received:DKIM-Signature:Date:Content-Type:Content-Transfer-Encoding: MIME-Version:From:Cc:To:In-Reply-To:References:Message-Id:Subject; bh=qm162tp/BY4IQFHztYgbMQ86cToDjBHz8gukvZ5vz0Q=; b=2BqkETZj47AM2q1PMzYan3UwxS+G0O6NnnHbmH4BzBQKzynEWx5j3PwFUzMa0ZKuQuVl eBRECqBtC+rvc0EDzV8gvnAR0zncseHQtH20U/BR6UWhnr08xyPyynymTJQ6VRGWcFeYG Ek3hnMyjQWcHBAAbgrC5b71g8aB9LaPATwrE2MmlFg0G5NfXvcAdfOtIfXg7tLWPZQxl2 NyJKENWRFn1JA61f2B+LnVOSjZTbusc2axfW+45Zhs8/rOsAsO1ga/WPXInkjjcl/I19r OnIT3ctCVEonnFHM62O0wcyUePzLqaNqcafkgW7nMDsXO5wA4sFK0co00ObSoCet04w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=C57APfYj; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 34D57606A6A1; Mon, 30 Nov 2026 13:59:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=C57APfYj Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7DDC01F00A25; Mon, 30 Nov 2026 13:59:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796047153; bh=qm162tp/BY4IQFHztYgbMQ86cToDjBHz8gukvZ5vz0Q=; h=Date:From:Cc:To:In-Reply-To:References:Subject; b=C57APfYjG1OPMiXgfXhHuIKm9bb1ywBSaV2DjqmKhtPuIsooXfWiLlE4PIOBn3Q0d MLFUtKHqn5jDPCYCjmd+mTn1WkciEuOkIQlFsM3r1lihCETOG3UHvj2M/E2xNTfW/J wZmRVSM6Z3UeduEmPKPszEOzN7Ymupg6GJo92Mgi6gkrknNupCBcAEaTUUoWIYxJ3a A9w8xEvRLnZuOQPHoUr9EztOuNfj//xKLvyxrFlNjVRYPbfS4xgWNJNNgf7Nb612+j D1mNLbE4L5xnkWJhEcp/G4qATAuhWiGDR0HaZS3e4eBR7wmxYFZuByUeyS4Fzhffki aB1CPTerd1WUQ== Date: Mon, 30 Nov 2026 07:59:12 -0600 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 From: "Rob Herring (Arm)" Cc: Conor Dooley , linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org, Bjorn Andersson , Stephen Boyd , devicetree@vger.kernel.org, Abel Vesa , Casey Connolly , Fenglin Wu , linux-arm-msm@vger.kernel.org, Lee Jones , David Collins , Krzysztof Kozlowski , mfd@lists.linux.dev, linux-input@vger.kernel.org, Dmitry Torokhov , Kamal Wadhwa , Subbaraman Narayanamurthy , Konrad Dybcio To: David Heidelberg In-Reply-To: <20261130-qcom-pmi8998-haptics-v8-1-a64ecd72d3bb@ixit.cz> References: <20261130-qcom-pmi8998-haptics-v8-0-a64ecd72d3bb@ixit.cz> <20261130-qcom-pmi8998-haptics-v8-1-a64ecd72d3bb@ixit.cz> Message-Id: <179604700310.3823132.1468565406284915392.robh@kernel.org> Subject: Re: [PATCH v8 1/9] dt-bindings: input: Add Qualcomm PMI8998 / PM660 haptics 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 > --- > .../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.