Re: [PATCH v7 1/2] dt-bindings: input: add OnePlus pogo-pin keyboard

From: Krzysztof Kozlowski

Date: Thu Dec 03 2026 - 06:05:34 EST


On 02/12/2026 17:40, wyibo6109@xxxxxxxxx wrote:
> From: Yibo Wang <wyibo6109@xxxxxxxxx>
>
> 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