From: Krzysztof Kozlowski <krzk@kernel.org>
To: wyibo6109@gmail.com
Cc: 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: Thu, 3 Dec 2026 12:05:16 +0100 [thread overview]
Message-ID: <97b489c1-bc45-4f3e-86b3-b491e4c5bc7d@kernel.org> (raw)
In-Reply-To: <20261202164027.1571792-1-wyibo6109@gmail.com>
On 02/12/2026 17:40, wyibo6109@gmail.com wrote:
> 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.
No, this is one thing. Based on schematics or datasheet. It cannot be
both - GPIO and power supply.
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-12-03 11:05 UTC|newest]
Thread overview: 9+ 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
2026-12-03 11:05 ` Krzysztof Kozlowski [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=97b489c1-bc45-4f3e-86b3-b491e4c5bc7d@kernel.org \
--to=krzk@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=wyibo6109@gmail.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