Devicetree
 help / color / mirror / Atom feed
From: Fenglin Wu <fenglin.wu@oss.qualcomm.com>
To: sashiko-reviews@lists.linux.dev
Cc: dmitry.torokhov@gmail.com, robh@kernel.org, conor+dt@kernel.org,
	devicetree@vger.kernel.org, linux-input@vger.kernel.org
Subject: Re: [PATCH v6 1/2] dt-bindings: input: Add Qualcomm SPMI PMIC haptics
Date: Tue, 25 Aug 2026 10:39:24 +0800	[thread overview]
Message-ID: <d129ce45-0769-432c-bbc2-76e992325dee@oss.qualcomm.com> (raw)
In-Reply-To: <20260807062927.548EF1F000E9@smtp.kernel.org>



On 8/7/2026 2:29 PM, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [Low] Missing update to the parent PMIC schema `qcom,spmi-pmic.yaml` to allow the new `qcom,spmi-haptics` child node.
> --
> 
> --- Patch [1]: [PATCH v6 1/2] dt-bindings: input: Add Qualcomm SPMI PMIC haptics ---
> commit eb446753c24c30e9b557074281da814e0e94aa51
> Author: Fenglin Wu <fenglin.wu@oss.qualcomm.com>
> 
> dt-bindings: input: Add Qualcomm SPMI PMIC haptics
> 
> Adds a device tree binding document for the haptics module inside the
> Qualcomm PMIC PMIH0108, which drives a Linear Resonant Actuator (LRA) and
> supports multiple play modes.
> 
>> diff --git a/Documentation/devicetree/bindings/input/qcom,spmi-haptics.yaml b/Documentation/devicetree/bindings/input/qcom,spmi-haptics.yaml
>> new file mode 100644
>> index 0000000000000..b1a69e9886ee6
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/input/qcom,spmi-haptics.yaml
> 
> [ ... ]
> 
>> +examples:
>> +  - |
>> +    #include <dt-bindings/interrupt-controller/irq.h>
>> +
>> +    pmic {
>> +        #address-cells = <1>;
>> +        #size-cells = <0>;
>> +
>> +        haptics@f000 {
>> +            compatible = "qcom,pmih0108-haptics", "qcom,spmi-haptics";
>> +            reg = <0xf000>, <0xf100>;
> 
> [Severity: Low]
> Does the parent PMIC schema (mfd/qcom,spmi-pmic.yaml) need to be updated to
> allow the new qcom,spmi-haptics child node shown in this example?
> 
> The parent PMIC schema has additionalProperties: false and explicitly lists
> allowed child node patterns in patternProperties. Since it does not include
> a pattern for ^haptics@[0-9a-f]+$, will device trees instantiating this
> haptics node fail dtbs_check validation?

The change which adds haptics child node in the spmi-pmic schema has
already been applied, so I dropped it in this series.

https://lore.kernel.org/linux-input/178602255123.2917765.7426706813083510078.b4-ty@b4/

> 
>> +            reg-names = "cfg", "ptn";
>> +            interrupts = <0x7 0xf0 0x1 IRQ_TYPE_EDGE_RISING>;
>> +            interrupt-names = "fifo-empty";
>> +
>> +            qcom,vmax-microvolt = <1300000>;
>> +            qcom,lra-period-us = <5880>;
>> +        };
>> +    };
> 


  reply	other threads:[~2026-08-25  2:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-07  6:21 [PATCH v6 0/2] input: misc: Add an initial driver for haptics inside Qcom PMIH010x PMIC Fenglin Wu
2026-08-07  6:21 ` [PATCH v6 1/2] dt-bindings: input: Add Qualcomm SPMI PMIC haptics Fenglin Wu
2026-08-07  6:29   ` sashiko-bot
2026-08-25  2:39     ` Fenglin Wu [this message]
2026-08-07 15:56   ` Rob Herring
2026-08-25  2:51     ` Fenglin Wu
2026-08-07  6:21 ` [PATCH v6 2/2] input: misc: Add Qualcomm SPMI PMIC haptics driver Fenglin Wu
2026-08-07  6:39   ` sashiko-bot
2026-08-17 12:08   ` David Heidelberg
2026-08-23 11:36     ` David Heidelberg
2026-08-25  3:39       ` Fenglin Wu
2026-08-25  3:25     ` Fenglin Wu

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=d129ce45-0769-432c-bbc2-76e992325dee@oss.qualcomm.com \
    --to=fenglin.wu@oss.qualcomm.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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