From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.216.41 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796069147; b=5CQUkXKvUDze2bIQfoSFykVaaek9QY44sv2rpwcdDbN0q7mZU18GFmYI6YiOllRoD5do eTSf9W/8RAechbjBrjiwpcDnx5PMiy5U1Gzqfs/ZcccF1+cLtlpozijZY+papSjgK9FRL KsFE9sClo3ZYuPbJzyLQ9OMiv6RhbC6oO1Y9Tp2NGtetnHd+ejfKgsX7XrZVaIifHQ3Cc ZuKx1+Xy/sdwNchzTYi27TiNACESb5OA9Po6yTLPJ3+MKvrPDO19GvI8MsQL5m7Yd4Ly6 Mb0h347EuLL8onNzIDCFvERTIbv5jxl7Jf1R78RKyrpdFp5DakL3EWVjiUxuw1cpgPw== 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=YBD9Wn34APTWRTswVBXp2ibetEgYMMFrp3WLXmbBup1OHlv2FpZd5IoDDbJp/zEKTB4B 6gPd4L4WwJUQ/SlwV2KZt0YebCkpxb7LktXXdqOwj/0Ie+ItWdIMH481LBDy7v369Ri5t AFGIkvwbBGs4hBnWyzJVlfS39TIJ0d3Y/6Z27Po1H3scvWHoj2gemBqQCLs2q3Y9WUnQL 0RtgCB0MNf5zDlyjUqp5BjkYK4VViFE4Q/U5nj0RiR/o8Ix6AfEp7ttxoXnf3uoYZKagZ gE/GqB4MigHBbzJn33pcKtaO8CVtTD/Ee4x2VF/DBm5wb1emzPDxIsmZCOd0lbWA73Q== 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.216.41 Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) (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 0D6FB606A33B for ; Mon, 30 Nov 2026 20:05:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0D6FB606A33B 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-pj1-f41.google.com with SMTP id 98e67ed59e1d1-3b59eb092f9so100379a91.1 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=D/NcUAtBChXD0u+b7PUHkqx0YGSSePNNGriwGZ3iiOqcJv88JUKt980dXTxtaQnW7z +Oi2QGjrldPoTnUG9tWVyqeKDo9pvOhKmZNA4DjENViDrQDyrA8Q9ifcIqA5g0OxiB63 4UTuYO1zXItZ0w3uibmx0HgsvCmecCuaNNHa+ajWxL7LnfFbUz3avO4Jastn5qJPAMtD nYaQkPGb+5tND/WaPpj4zU0QAVQPMzaOuX5z29dmsUn8RZDskv5G/nDw23Xs2YSr6gyR 3/NQDnYqFW7bO6RsK9julxxZctdpHMmgGfvCzl3mR2RmyG/xbcjXRKHq1QEDVB2wIdOC +iwA== X-Forwarded-Encrypted: i=1; AL+hErHyENx71pHAyWLsNzS0mSJav0JqOOkNY4wIlkxlYF47XqpD4nBEbajZFCKQdulH0g1o/4bCTVniZcS36Gs=@vger.kernel.org X-Gm-Message-State: APuU4Z81RRBbRIYLOwHOTPEZqroK2LV6b6POEXZyJgcfdwUOyvI/6WdA bPIGlwBdoCAI5zPIfj3AN40Z6tjVuwlazxCoFD5DeK4ZmVREZmDPBpWb X-Gm-Gg: AZFdTZcMm/LB2rRlURAZxiFZmDcG791kZ79I8bLu2gjXzlltqm4GAZhZiQCpVM5u20t JidlMhyJazoQMrWJ53llEfrtGyImb7ZzXGaDaaeE5gaJxaOfPIGj4HKuJxnG/KuXKhV1Yy0fQHu Cm3uHOkDiX3tmrp1+VPMru9WavN9vpkJcAi+vGb5Lh4uGsq4IFHX8F4Yf4bjTSy8n+IlO7AOfro fz+FXF9QnPUfIm9kT3j/xNeGFe7NenPqqQ+LsiwUURhJIWZ3DEvj6+7eQTwu/ZYcLdrXO+rOdI+ GoBts8PCXN99QukuOI9Uee535ZAbaqBkE8JV5yhS+NqXZ9829Se1/FnZIfEkxlfh+TU32a1aWdz b4Io3LW7NBPZUkommEaAVq7tlNyuqUCjDQ+8P3JpelN3Nw/TeGY5UqqbIwlE7VTySLfa435/V56 4J4HYCEUOWiP0m5iWqoHTbmcLpaI7NB+Rokdsw14uY0kOUELuBH5XTkA9V+Rbx2dBhnS8dMY1YZ Vf1mGd26VeaEAJ7E2547xzy03I0JBBG++PF6uqTKE9+H5YfEJu3Crk2fuRR0tHEn0FAmc1DSh3h PwjGTYzbx6aTDlUvDrh9Z0OH/GXawLa8+dR00/qes/98/vGUnnJODKDzm3iUYtVmOBBGOg== 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: linux-kernel@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