Re: [PATCH 1/3] dt-bindings: input: syna,rmi4: Document wakeup-source
From: Rob Herring
Date: Fri Dec 04 2026 - 15:32:02 EST
On Sun, Nov 22, 2026 at 05:13:50AM +0000, EMCP333 wrote:
> The I2C core already turns a "wakeup-source" property into a
> wakeup-capable device: of_i2c_get_board_info() sets I2C_CLIENT_WAKE and
> i2c_device_probe() then calls device_init_wakeup() and
> dev_pm_set_wake_irq(). rmi_driver additionally arms the attention IRQ
> with enable_irq_wake() in rmi_disable_irq() when device_may_wakeup() is
> true.
What Linux does isn't really relevant to the binding.
>
> The binding does not list the property, so a board that sets it fails
> dtbs_check:
>
> sdm845-oneplus-fajita.dtb: synaptics-rmi4-i2c@20 (syna,rmi4-s3706b):
> Unevaluated properties are not allowed ('wakeup-source' was unexpected)
>
> Allow it.
Why is allowing the correct thing? That's what the commit message should
say. That boils down to the synaptics device is capable of waking up a
sleeping system by ??? (touch event or ...).
>
> The code and this changelog were prepared with the help of an AI coding
> assistant. The submitter has reviewed both and takes responsibility for
> them.
>
> Signed-off-by: EMCP333 <emcp@xxxxxxxx>
Need a name here.
Rob