[PATCH 1/3] dt-bindings: input: syna,rmi4: Document wakeup-source
From: EMCP333 via B4 Relay
Date: Sun Nov 22 2026 - 00:14:45 EST
From: EMCP333 <emcp@xxxxxxxx>
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.
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.
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>
---
Documentation/devicetree/bindings/input/syna,rmi4.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/input/syna,rmi4.yaml b/Documentation/devicetree/bindings/input/syna,rmi4.yaml
index fb4804ac35..34bcc25135 100644
--- a/Documentation/devicetree/bindings/input/syna,rmi4.yaml
+++ b/Documentation/devicetree/bindings/input/syna,rmi4.yaml
@@ -57,6 +57,8 @@ properties:
vdd-supply: true
vio-supply: true
+ wakeup-source: true
+
rmi4-f01@1:
type: object
additionalProperties: false
--
2.47.3