From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.215.175 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796069147; b=ElY5lHo2rnr24lkgkffEVeTCa4Qp8xYDzHEiXDFs2Wx5jI6EOHCJQSVI+2gr0Fw1GUIj vzt/SC8QQjyf3ESrKoVxZahATdCaGC0nVH6IAgZF0U4KPUbIhnrSatXK5UZPIO0ftIFlm LIg+jGv4Bo5ltMTBS6AvooE76CIzEWqivFtg1zdq0e92pF9lF5xnyIFMYyuCSibtctr1i V8CvFG9Z4dEdVEGtlsmnYq/C1amzbTmdRvxri6eJm6tXM0OEnJWZN0r8NsbYmITeJKop5 P0ObvzNxTgE0zU1RaxyZ1Axk2I/Bp+e71Sy9GvdLSo0ozGeGzx3+YJKWBtf3Y9KV6pQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796069147; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; bh=c3Bkkc5v2+XRPQRqNJmKCgoeNP2qKFd/67oN+wsQOEM=; b=Xu9wl6VsFUir1oX6xHEd9NKAr7SGF3TdZgRaxqHRTsZan+A/UINxl675Ty252z3+Qade 9xnA1c2U+/ZVW6WEAPhskyy2KsHdE4TvUMsrxUJeni998RkVEM/J7HK8hDkj4b1ie/kDm OzLCSVPu+68gSqMn/EpBXqVw6tldwWmvYexEPmEyqLCsyZIGvLYbT8G99UBk9rZ15lQcV c3bnEXU/7CaRAakqFA8wRWgeVzFE2MuhNohYfsrooFoQJg3hZvFpniKDzHkKP1jrc0olT rXLlC+FB26H7jsXHaPuMfpnUHeJZ1BQ6vgfths39PNk51PBUW9wuC0BfeW2d/AIefaQ== 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=OraGCdNK; arc=none smtp.remote-ip=209.85.215.175 Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) (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 6B323606A320 for ; Mon, 30 Nov 2026 20:05:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6B323606A320 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=OraGCdNK Received: by mail-pg1-f175.google.com with SMTP id 41be03b00d2f7-cdb9f760337so5803414a12.0 for ; Mon, 30 Nov 2026 12:05:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796069146; x=1796673946; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=c3Bkkc5v2+XRPQRqNJmKCgoeNP2qKFd/67oN+wsQOEM=; b=OraGCdNKGoY+/FKseQ4nMrr2Z/wp9o2Z15HbocobNHzckx2OlUGmvtYhEFURanpQUh pkdi77t40ZzTQvfSqXJlOs4qItIrGcDnlWL1E+2/T0fYRPS4k8hgf1lVsE5OUz6Q3pYQ awoSIOARt2GFFMWQVUjodRNkB1QlZ2haMwEKVRYJ6S+LdmzN4ln86lnBylhSQwWANKgo E6GKMLjK2UR5eimWT0Yc8Au0TCc5eZZEsPIIYRm4xsPp3lFBJf47dZFG3jfEYzpqn4VA 9mygUHH6WS1HcSo3dgJ8WigLS3Qy52OI8n8mzZ0G4EMs2hUsSf67924b7jDeVjtHZgkC brJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796069146; x=1796673946; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=c3Bkkc5v2+XRPQRqNJmKCgoeNP2qKFd/67oN+wsQOEM=; b=ck44NVjRlPN1bRs6cCzFLCAVS++wR12jPmS6/uNr9YWKM3ANHGlsNJfqXxHwLJgMIm a+HihtvV8C5aj9oBrCeIRGac+BDDuwh4SiYZaCIqmjY9M5uvd/BYOc2rd1fX32vmgU5O +43U09QC0DZ2EuPNkBOtSF9SptLWkHJD1osjdZ33s8OUr5YjU3545xd+4kZZp2rDQ4UL oZbNMw4TuNgGA4O9zLWUUWJRKsOn1XnOVuz6WtMJjRjnPKapDeY/rmBpqeaEIepLz0H8 x3KoEfPDn1WtBG88zmO8gPc7kMBojaeYq+R57/w+XT5Y6czGR55GQTYuJbDHlIQzy1ea cz0w== X-Forwarded-Encrypted: i=1; AL+hErGv4G1PkAoakylK9SIEXQ0LeznSsyJpKJ+VyqZci1fZdMYaSGctOz/FNXlWC0IE09GAkn3goiZPuHWN@vger.kernel.org X-Gm-Message-State: APuU4Z8Ywik/z0ZPps7KdEI0HnRDmGEcWXB3niDRm+FCO9maWFLSJnju oieTE9nXcONJu5mOrM5LpMvrsMmBuS7Xsvhh8hs4Rz4BedfYMydAMSAe X-Gm-Gg: AZFdTZcNshrrDcPwEFMur+eaEylESZne0KSmexx+8dJeQl5WJ95OGGKg6M2uhBe98mP AOc8kX3KOxCG9YNQTZfUzHDT5ePH1kv5UK574K5A+oTQk1roRRxrbJ5g2KJBtGCO7d5MsNjRrWG saQ0eBFXGob6gNbKgUUV3waLB4h8K5ty+IpCY0GSXERo0XpNjki42vZH4WOII1tO9sHr5x2XSxl fRr857xNghEEmzLvvikmOSBl4ZDDEXV/voo9wyt3rspNifIWRaTT/sq70PW7uv83DvwVtesyjVt S39bpuoz+9oiwIfJINE53dhrakMtsl8c+Qdj8eSNnBdAfVgToulGJY+NPtXhR+EvYuN3vnIszzG k6PglgOy0Nf3PcJ1ogbxGRhQc0tiaJTDMER++rmnAb8M+1aoUGKU0/Oz+F/8NN/Q2tlrf1omES/ C4OIPz0Ep2tjuRoJ8sxf9+bIymWt/3/xYcBiHd+uPG9v9PTUVzd/iI9LjnVVkClMbzJjnuMPYLR uaRyUiScrT4gBzjuZyo6pA/0g9XrPBLh2915UfdVIkAzU50gTmcpqM9kH3DeX8pczNG3UHk7cOl BCUYeTk7KHQ7ZGIUHBJYrxHxNGOTG34qfjd2VAmqv4/gVibLuqaOJyuXgbxNDisnd/UKwQ== X-Received: by 2002:a17:90b:3d92:b0:3ad:7f4d:2839 with SMTP id 98e67ed59e1d1-3b41c8e0602mr21267116a91.14.1796069146222; Mon, 30 Nov 2026 12:05:46 -0800 (PST) Received: from google.com ([2a00:79e0:2ebe:8:9f42:1ffe:38c8:d6a]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b40578dca0sm57150845a91.2.2026.11.30.12.05.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 12:05:43 -0800 (PST) Date: Mon, 30 Nov 2026 12:05:41 -0800 From: Dmitry Torokhov To: Krzysztof Kozlowski Cc: wyibo6109@gmail.com, 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 Message-ID: References: <20261128081835.366128-1-wyibo6109@gmail.com> <20261128081835.366128-2-wyibo6109@gmail.com> <20261129-labradoodle-of-absolute-glee-d93f8c@quoll> 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261129-labradoodle-of-absolute-glee-d93f8c@quoll> On Sun, Nov 29, 2026 at 11:57:37AM +0100, Krzysztof Kozlowski wrote: > On Sat, Nov 28, 2026 at 02:18:34AM -0600, wyibo6109@gmail.com wrote: > > From: Yibo Wang > > > > Binding for the OnePlus Pad 3 Pro / Pad 4 and OPPO Pad 5 Pro pogo-pin > > smart keyboards, built around a Tinno keyboard MCU and attached to a > > tablet UART. Describes the supply, TX-gate and wake GPIOs, with a > > MAINTAINERS entry. > > > > The compatible names the tablet project the pogo port belongs to > > (caihong, erhai or iceland), which pins the keyboard generation and > > with it the protocol extensions the host may use: the 0x3A general > > sub-commands grew over time, from the caihong (sm8650 era) keyboards > > with neither wake notification nor backlight, through erhai (sm8750 > > era, wake notification) to iceland (sm8850 era, keyboard backlight). > > > > The keyboard is a fixed physical device, so the touchpad geometry and > > the product names are per-project constants and live in the driver. > > > > The binding documentation was prepared with the assistance of an LLM; > > the technical content was reviewed, adjusted and validated by the > > author. > > This goes to the changelog > > > > > > Assisted-by: Z.ai:GLM-5.3 > > Drop > > > Signed-off-by: Yibo Wang > > --- > > .../bindings/input/oneplus,pogo-keyboard.yaml | 70 +++++++++++++++++++ > > MAINTAINERS | 6 ++ > > 2 files changed, 76 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/input/oneplus,pogo-keyboard.yaml > > > > diff --git a/Documentation/devicetree/bindings/input/oneplus,pogo-keyboard.yaml b/Documentation/devicetree/bindings/input/oneplus,pogo-keyboard.yaml > > new file mode 100644 > > index 0000000000..e76e82ea6a > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/input/oneplus,pogo-keyboard.yaml > > @@ -0,0 +1,70 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +# Copyright (c) 2026 Yibo Wang > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/input/oneplus,pogo-keyboard.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: OnePlus / OPPO Pad pogo-pin smart keyboard > > + > > +maintainers: > > + - Yibo Wang > > + > > +description: > > + The OnePlus Pad 3 Pro / Pad 4 and OPPO Pad 5 Pro pogo-pin smart > > + keyboards, built around a Tinno keyboard MCU. The keyboard is > > + attached to a tablet UART and speaks a framed half-duplex protocol > > + over a shared single wire; host transmission is gated onto the wire > > + by a PMIC GPIO for the duration of a frame. It provides a keyboard > > + matrix, a touchpad and a keyboard backlight. > > + > > +allOf: > > + - $ref: /schemas/serial/serial-peripheral-props.yaml# > > + > > +properties: > > + compatible: > > + description: | > > Do not need '|' unless you need to preserve formatting. > > > + Names the tablet project the pogo port belongs to, which pins the > > + keyboard generation and the protocol extensions the host may > > + use: caihong (sm8650 era) supports neither the wake notification > > + nor a backlight, erhai (sm8750 era) adds the wake notification, > > + iceland (sm8850 era) adds the keyboard backlight. > > + enum: > > + - oneplus,caihong-pogo-keyboard > > + - oneplus,erhai-pogo-keyboard > > + - oneplus,iceland-pogo-keyboard > > + > > + power-gpios: > > + description: > > + GPIO enabling the keyboard supply, held high while attached. > > powerdown-gpios, I guess Should it be a supply instead of GPIO? And then use "regulator-gpio". Thanks. -- Dmitry