From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.210.174 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796229634; b=mequ0IWfu68HW//0s62dgapcfEOEC38MiI3YEfXecZR0nl9unu8QKfsZASWFKwADzRww JdbqrfpCQlJpJlZ7hkBfuPGLjT3nu6tyn0pMYlwNZKo29vPx9C3QooPypPcNYMuwIKM+0 apm2aBSVjNwlJPEdVG/mep6/ShZOF6V7PqZrLRZJ6elsFH8WQ4aERry5Jvh9fhLtlFUpK YVpoqnvfSIabnkc3D1RLBTQtQCLG7SzTfE+V1l1SsF0G0cE35FrFMt6wLOvnkumEgknEH rlWMNGfSWDO9MNi71KF/UQrRsNXceF+KLO7Q6PJOuErI+qDhbnJo0Mc05l0t88xHWQA== 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=DKofLz7VzKF/dyOIOhkrwd+XK+Neg5lqPUHgYPt4xCdYu74pS1/fD+Xk5Vg1uQzVnQIK NiBKuWlILX9aOMKbTYY7JykI3YQac6wijS1QnjI8VenZLIczgNaO1b1ljVE/yFskhhs9f 2rnT2xE0ZKHYC3ujJlhGWS+Ksex1g6ItSDXYEju/7BV0Kq1yyArpCh9R+gypxgRnpuGht DtIX6HggLPLs76gEA4r2wIBWwYwwqjk89K4Hn1CAg6iPXcQpzxUQe8Qb1kh5LX+L0eT9J PZOeNyruNOmdvy1LI3seNZsGxcFLj1xx93CoAQAcYn4YYp6xuy9fJsnKMNsRRbJnpiQ== 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.174 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (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 B9D5F606A322 for ; Wed, 2 Dec 2026 16:40:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B9D5F606A322 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-f174.google.com with SMTP id d2e1a72fcca58-8b5a6f2f27fso5144420b3a.3 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=s32SSoB5ncajUt3paeMbeuKUm/rz8Dwq/2pbkNALozYsWd4MC47skNexSTlkCv9P56 fteRS/wDViG3ol3slU8/1XYXwuUw9cxO0wgrWQXnzR1na8QKKczzYqIl5ZWUlcBNuOW0 my6PZGrEycmbfvbg8HTCa2FHmddIVAGz0EannoxC7772ytuSweo2BafJpJbyuX0ThYi5 DddAN8++xqi30pWX4TyJm9caV3Rqra5FhxRIwtsZARw1HKYOqbVxNy2NYERxv/gE438B 25bF93pydhb/QnLzA0kq8WjpQkpH6UQHxo4Z4iePfefcX+paA9dxDwSErG3WF/XAUsXb hNig== X-Forwarded-Encrypted: i=1; AL+hErHGnZFEmOTBj0w8CRhoPitcDYX7QzyH2WwRDZSkJyKq3lKcDq0ACl8hqB2QT61QaAorMJhfl5RYXHjo@vger.kernel.org X-Gm-Message-State: APuU4Z+5th2EbmgmhHl0e2uUax3k73hNoCQWstJM4Zc55J0RoXgwp2cf uxyT9ntdGoC56577H8dgeVjdDh+eYi1MNKLdI9+nbWCexwhY0BQbs1yhvui8oWQ6 X-Gm-Gg: AZFdTZcUh2SgfjZK9ft55A8aBEBeC1QuDadhrRhL9ATFpDiEMubzRTy70uJLFxHgZ4M ViYXCs82Rmwqrn3m9wBpxUHKrRivS0aInIqld7WOPDBfgU/x5MaE3uelSWqKtXKKVc0BE8wqRUn 3SX1R/gFbjMxSp6xyW+3z1VMXtieUTPuuJURn3uVyuUFHgvoz2TihjYogxfWSASi/SWYCsfcyLF dW3XNhfS7q9i/Mpl730dLrYGDcY96Sd07jswqtBjtB8KO83cqcGXupw6d+M/LaxR5RpvcxnItyM 3dqhvglOnxOT35bd7ISWheFKjBnxiw84yt3zbzqKUHXSKnQreU5Cfhx9cSy7dnybwujkQv+5xnz Uwg0FQCf1RVnVd+PKuXmKSEllkcIk9Oo44fUnxJx9amC2J++59bVhB0kdrukFQvhaVc93NMpmJh mPj2yXU4x4/Gdz8i/oW2b8THd0rAHZDHQ7Wbm92sXt/6QH2ZD19BW37XyrY0QOCpi/lwhIjciZp jBmZVFj7+Tk9rjsgHhqiX3IMVYa8ww+BYM7/bWMGSeQnCLBLOkInSmUy9si2fdS1pOXaf4y30mX FCqwhw== 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: devicetree@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