From: wyibo6109@gmail.com
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Yibo Wang <wyibo6109@gmail.com>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
linux-input@vger.kernel.org, Rob Herring <robh@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v7 1/2] dt-bindings: input: add OnePlus pogo-pin keyboard
Date: Wed, 2 Dec 2026 10:40:27 -0600 [thread overview]
Message-ID: <20261202164027.1571792-1-wyibo6109@gmail.com> (raw)
In-Reply-To: <cb2c3f10-6073-4b3b-99d6-fe6118695dcd@kernel.org>
From: Yibo Wang <wyibo6109@gmail.com>
Hi Krzysztof, Dmitry,
On 01/12/2026 04:57, Krzysztof Kozlowski wrote:
>> Should it be a supply instead of GPIO? And then use "regulator-gpio".
>
> Indeed, wording is quite confusing. I assumed this is some internal
> XPWRDN pin, but supply suggests, well, supply.
The vendor driver shows it depends on the board: it keys its power
handling on the presence of a pogopin-power-supply property (feeding
the connector from an LDO) and otherwise drives a pinctrl power
enable, see setup_power_config() in
https://github.com/OnePlusOSS/android_kernel_modules_and_devicetree_oneplus_sm8850/tree/oneplus/sm8850_b_16.0.0_oneplus_15/vendor/oplus/kernel/device_info/pogo_keyboard
So v8 describes both, each optional:
- vdd-supply for boards that feed the connector through an LDO;
- enable-gpios for the enable pin, active high, driven high while the
keyboard is attached. It is an enable and not a powerdown input:
the vendor pinctrl states it replaces are named pogo_power_enable /
pogo_power_disable.
Power-up enables the regulator first and then raises the enable pin;
power-down lowers the enable pin first and then disables the regulator.
A board that provides neither keeps both always-on.
v8 follows as a new thread.
Best regards,
Yibo
next prev parent reply other threads:[~2026-12-02 16:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-28 8:18 [PATCH v7 0/2] Input: add support for OnePlus/OPPO Pad pogo-pin keyboards wyibo6109
2026-11-28 8:18 ` [PATCH v7 1/2] dt-bindings: input: add OnePlus pogo-pin keyboard wyibo6109
2026-11-29 10:57 ` Krzysztof Kozlowski
2026-11-30 20:05 ` Dmitry Torokhov
2026-12-01 3:57 ` Krzysztof Kozlowski
2026-12-02 16:40 ` wyibo6109 [this message]
2026-11-28 8:18 ` [PATCH v7 2/2] Input: add OnePlus/OPPO Pad pogo-pin keyboard serdev driver wyibo6109
2026-11-28 8:37 ` sashiko-bot
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=20261202164027.1571792-1-wyibo6109@gmail.com \
--to=wyibo6109@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=krzk@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
/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