Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: EMCP333 <emcp@enser.io>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	"Jason A. Donenfeld" <Jason@zx2c4.com>,
	Matthias Schiffer <matthias.schiffer@ew.tq-group.com>,
	Vincent Huang <vincent.huang@tw.synaptics.com>,
	Abel Vesa <abelvesa@kernel.org>,
	Casey Connolly <casey.connolly@linaro.org>,
	linux-input@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] dt-bindings: input: syna,rmi4: Document wakeup-source
Date: Fri, 4 Dec 2026 14:31:51 -0600	[thread overview]
Message-ID: <20261204203151.GA1173595-robh@kernel.org> (raw)
In-Reply-To: <20261122-b4-rmi4-wakeup-v1-1-1b662be4a9d6@enser.io>

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@enser.io>

Need a name here.

Rob

  reply	other threads:[~2026-12-04 20:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22  5:13 [PATCH 0/3] Touchscreen wakeup for the OnePlus 6 and 6T EMCP333 via B4 Relay
2026-11-22  5:13 ` [PATCH 1/3] dt-bindings: input: syna,rmi4: Document wakeup-source EMCP333 via B4 Relay
2026-12-04 20:31   ` Rob Herring [this message]
2026-11-22  5:13 ` [PATCH 2/3] Input: synaptics-rmi4 - keep an I2C device that may wake the system powered EMCP333 via B4 Relay
2026-11-22  5:13 ` [PATCH 3/3] arm64: dts: qcom: sdm845-oneplus: Mark the touchscreen as a wakeup source EMCP333 via B4 Relay

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=20261204203151.GA1173595-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=Jason@zx2c4.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=casey.connolly@linaro.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=emcp@enser.io \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matthias.schiffer@ew.tq-group.com \
    --cc=vincent.huang@tw.synaptics.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