From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.210.170 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796229634; b=dgyjgyDrpIn0WNtwYvMPRMQTIq6324vVTPiZqVOmsBQjdX1+6CHBZx44rOWVpmuXsUFK 04IWAbyuGZf1YYY0uV9kvG9Ps3RhJ0IwZ+bQ0nL30Zn2jpYu2hAGetcWRytvGXmftcfPs dsfoQPWSaI02zubwi3OJrN+eEqUtONCgdm/ucAlmD7MRkxQRC0xyShYihQbhAZ3BG9djg DThgo6TUUSakGutuQxO+ui/iQeRjC+VPQ/DC6Bdv4LcfnJ9oUApylt2QoaSlJL7gCLugw dvP7Jr7v0AqG9GQHYd7qT6wb8zb+oAlioVlLwjSJjEPUcuLQEee4v4Pch0MWBN7w/1w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796229634; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=GmzECkECEEA47fMoyzaPGyRK4Qh20cYyutjusEDp8sY=; b=I6ZzhB2gxf4HsgIYkbBrB04LqzPzMsuIlozXcKwcx6nvcqMtJloC26dV5juAUBqLrFIQ 1fk28KqeY05I3PaL5AtU+PhqOOmryJylfFowwvEn7+PgUpvUyaEw9ERODMKX/bKSMXkot UyMAJrtEATY5TEqOGJh7y2AtdUbQ+WWAba2X90ET335xJZWyNFViRPoz4SacM8lNLVo9Q d+gilslbqJdK9+Ywcg/OZSrzOZgTUhlw3e/zvZWvfEV58XvTYpTQChliI0OAmJXJ84HeV UPQ71Xxr4dveccl7cOXYRfE51WseDJL1S4BbgQpuBJ/W6QUlrU8iuNiB8/4W6GuLKuw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=a8JLUiqg; arc=none smtp.remote-ip=209.85.210.170 Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C81D5606A323 for ; Wed, 2 Dec 2026 16:40:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C81D5606A323 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=a8JLUiqg Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-8b6b22be970so5079547b3a.1 for ; Wed, 02 Dec 2026 08:40:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796229633; x=1796834433; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=GmzECkECEEA47fMoyzaPGyRK4Qh20cYyutjusEDp8sY=; b=a8JLUiqgFu7hhMf+yiWIAaPFwOuY+G47wXCGfC1bmDEp6iX1zPKzTDWl9g/bWCqPlF HQSDfuLU5SDt3K+E/VHtTTKE0wZmrew4nPxa+FCDC3pCz3D5c+7gJ8s3DbfSAxychhD3 aUnyyrfQdrbYy5t5cTyGVS9DACqFqUz66mnz+TbUqZJyMRPb1iJqlI88wKPRIsmSMz45 Cgebw5DgUFXu5Z4iqmqGOzW38qEIAxJjdYWZu939hB5Uqxf7Pz4luOaJgJlvl0hPP3R6 UESYBYoyiYVAA76ta8t08sq7ZzVJ/OW2H2TzIwF0pv2VI9z+VtKA2/JKU/V4tnOClKX4 zgHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796229633; x=1796834433; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=GmzECkECEEA47fMoyzaPGyRK4Qh20cYyutjusEDp8sY=; b=D9VHLAmT1g/iRZQjiycKw4ExE1NOYsXhjpOKYoGDsj/sM3oyZ/mSOxM6B5s+14xUoe g9AOKtoYnfF02CKPB/L28rGWjY8BCqH5kic/RNzj+orhE3A3akjX4yLfVeA5MOq/R0/h xvfNpbfIIcxS6/Zj6pYdUEYX89Omn5EDBLknZiGu1qgE9F2KXFMs/I3dWhYH5GB/Indo O8PlBoKFh2OrOzbWSW4JJwtsmTHwHV2uSwoYMtOO3JX1yx3e68CfahkHu+m9nx5UCROY D7de8KtvKeMk0TwbM/adTgdP6MwUxJbpm9NKqEmbml0I8polsPh7UtrLexhpdelYKEFz rznw== X-Forwarded-Encrypted: i=1; AL+hErGDoxQO1FptVtmAnvtRL0VymwMEZ4dMAbFNbNTV6Iu8WJfwiCS2tfreZi+GTG7SpsddYk9077p2OaHEcg==@vger.kernel.org X-Gm-Message-State: APuU4Z+lgDtc3nCVifTYm3kP6NWqmhssD8KdDpwwstV9KH0TT7EPrj1L rLxKnk7j8tSYoKG7U5J4lD9aNxucaKgusHqukBE1zvtkTr1Qh3eiGNWS X-Gm-Gg: AZFdTZcKwd1CW+CxQsBUQOIpnVk8Mn2RJAgDk57h2P1PIEUsWyhcMDpngTlZsj8YgAd v5uCTJbp/i2KXhcvDEn6Qe4h5rRVrY57iYzjPmhp0vWW6Ygpd/jWsQ7Aqlv9GEEAjCMK5HlCZZQ gfN4ST0aK5MrnYcnZsGEWFCuC9WDxbjTTXLq1HvJBfb36Tj+j1k4fIQIOwNxa7F8+26Gy9FOtR6 7SqdgvUSGye1PycZzmMHwPNv1W+fFr/auTxcRwovj2Qn/wzpFUIreuqDbVl6Ys8J9QXY0DiN4ZC wX3BSqMqZgFr0meZASaYyTpaCm8j+Lqic8AA2TQuqhlpnvlqADBF14tpqzET9jq3I6Y6kQuip/n Gdpoa/Ix9lTjoGu6bdCT0D2iBINBptblEZLFJE/MhRNkkWCu2N9gqbsxO5H1qQQVk1qfyBrZjzO lK/jTFZgeOkT56B00SriaKLFOCA0WSWpuqSgwcCrsCianmySvwZPYEqiU7qvQIJHKJshY5HuvO7 ojnWRcfCKtF9pj9/dsU4p+kQ3IBb3sdEgBcFeKuUXqV+JEb49g4zdDncbcXZH2k/ymJZ33HT48p 81Gtcw== X-Received: by 2002:a05:6a21:39b:b0:3e8:b7fd:626c with SMTP id adf61e73a8af0-4014ca4523emr42721609637.20.1796229632881; Wed, 02 Dec 2026 08:40:32 -0800 (PST) Received: from wyb-ms7e59 ([2001:df1:7880:4::50a]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8c872e4af1fsm22534987b3a.28.2026.12.02.08.40.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 08:40:32 -0800 (PST) From: wyibo6109@gmail.com To: Krzysztof Kozlowski Cc: Yibo Wang , Dmitry Torokhov , linux-input@vger.kernel.org, Rob Herring , Conor Dooley , 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 Message-ID: <20261202164027.1571792-1-wyibo6109@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: References: X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Yibo Wang 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