Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp595873lqp; Wed, 22 May 2024 13:34:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU+8sY61N92wh837dJ4XZQoA2dItK49k87IUpv19nH5pN+1FBGrpJMAKy8XTRLLJJQCAEGy9Do8iDWnZo+3AbWJPGRBariyWCVFTelURQ== X-Google-Smtp-Source: AGHT+IH9JAg1e9FxQAkZqjiK3TO8WOyo7pqsNo+QhGBFQlKiZL1dO4TDWL39gcg/2PpRJlU46uPV X-Received: by 2002:a17:906:3749:b0:a59:9a68:7283 with SMTP id a640c23a62f3a-a622806ba1fmr187815166b.12.1716410065168; Wed, 22 May 2024 13:34:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716410065; cv=pass; d=google.com; s=arc-20160816; b=ulUqRl8sanW5yrxEs5L6HAtQwmwdDtSaIFoc94zvae4ydy/oj0WWE9k/p4OdT7EfHm f/GOgg/vy8b08nDCIGa85rXNww+5Osr5T0d1p1d7pQ9FwAZHIZbTihTuOlGkfzCpNO9S +m/eBsEE5d1MjanCw4GiKsbl9POg96ReFXhZirbpP8HczQGtKlq49snfpcbHULeCXg5A z3hePgR/nxwDwTRsO6ZcuKtyJgF6UXhG6fErDVlBFOuxxdADtP4xPM+ERVgVcYO0RHV4 2VjKmWdVYkZHpk2ygrMWP7/TMEj4S+desdYWLzJ6qEEdSVphTi78qpvI6GHQ8beO1H20 dsjg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=juCkMaHMrzaKXgLhLu9+/j0ickUzidNday1E+cJ916c=; fh=cfWqcxmLnV/4XAInu89AFODP3BQtjynvkaSxYHb/ym4=; b=v4ksge2mmVU/KHrMj/guGak7lq7pqtXMrmTr/eGmaw2eZ9gz339alKeoZfOm5R8eQ/ cGnX3xHVTlSyM422Y5KHYbNVM3BkBw41AMZeTQQgQ1/dS21m3M0owJLWRUVvEoqoWJV3 kknM6e4Og4J9E6NRqbCRBq5AM4wbUKB05AJBV2ON+3km/IW6OfCmtOjULya82FDU9IpC sYBeZGGXl/X1wR13SsNbLjSPFfmBSAQWDl7pUC6w7tp0Ull0kK6Mmn/qbORkiyKGexky B2qqm5aVO58611yPGoZrfl89Fx0bqS5oVlMvUMcGnOWbpGBHqfQyxQugt1jFSb89+MAv FYnA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=c4+kguVP; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-186694-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186694-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5ceafdfdddsi784568166b.528.2024.05.22.13.34.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 13:34:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186694-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=c4+kguVP; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-186694-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186694-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id B52EA1F21DF3 for ; Wed, 22 May 2024 20:34:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 77563146A71; Wed, 22 May 2024 20:34:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="c4+kguVP" Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C96C7E575; Wed, 22 May 2024 20:34:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716410050; cv=none; b=YnzAYVrYv25hA67JTN6c7H1oc8c5r26VxUm7U2sa8+KxoJn7It6n0YDWfcGvxB9ZF214xVSQdUS0h00u1bYH5CLMLrCRQ5E8a8soVI/W46Vskjwy6h1yxn0z4FKWZpS6O4Rf2btrprgA26QUwaRnGM9eMe1xs5u37yjb1uIWy6w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716410050; c=relaxed/simple; bh=/6RBSwUUWg/HR/XrYDouHPaKrC8vOaWXZq2wcQh9Vhk=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=JbsGfZOHtHwVPIbZpj2pYRqsRHbn7j8buN1sWHjIL8ZFbHXQq7SoKJVyCRzn59McVKFk1G0zaplwMduZgRAehvOdJIjUWC+OQLIbJswW7CyPwQPPuNj2/6cs0+quAJeKTQm4wtM7V+1ne92QqfmPBkzeDGjDmnrwPqkcbIYr4g8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=c4+kguVP; arc=none smtp.client-ip=209.85.208.174 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 Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2e6f2534e41so55807711fa.0; Wed, 22 May 2024 13:34:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716410047; x=1717014847; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=juCkMaHMrzaKXgLhLu9+/j0ickUzidNday1E+cJ916c=; b=c4+kguVPIJoktOJTS+AazTlGetLNZZKRCXaU7Z3XG2OCxpygpZTw0PR9iw3QQr9/Qv QdB3Cgc0A5dCALGg7cDzhgnVkB/UhpwxHv9/9PV6IQbaRxvkH778W0ZIFhg84rEFrnE2 9BtMC3VZ8Wz695ZZkrhu7g1MZP1gYIs/DDsWaT+dyz9bpNqhM3xTrIGXH8Gp46mwmS1T Vn5SuxN1TAmninx03THzqwbkAFq0UfsDdHL1KpWln4hTfaUjmTos2eWZFqoyd8aEbUO4 /GEBVMc6C6bGLQew2mLVDCbQaZD9o5S+q6sTAC+3fdB266WBK5IAm/WM1fx3beKkTCnY vwPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716410047; x=1717014847; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=juCkMaHMrzaKXgLhLu9+/j0ickUzidNday1E+cJ916c=; b=W1XfojPSkF5v4ISapxZ9ai79pVfhEJi4mC+7dOfOrBpkJGVhi9Mc9v7e5dxM9mzVKS ZQ7tHGMXS6GlRGvw+PYiZRt+3EaDELyrdL/AALVBKsu0iU3E4fg8E3u2vOBYYpf9iy1/ DeB7jm1JlTldLSBNjg2TBYfE8RTTUQFtow9CQdXHHH5ryyawdR5PkkIvxTwgvMxV+0Ng bfZb+WN969N9qYxjVsO98jq7TZj+RDopOxlY2Q2kFA/+9nygAbRyoww3mUX8TIDGnFGJ 1TjALFRbup4wzglKWOcc+f2/s7SYo95vXFnrAuxH+1+nSjrmn8ufm2Oksl222o3y8lSG cy9Q== X-Forwarded-Encrypted: i=1; AJvYcCW0/rpZQoYIeUpFCwQ6UI9XoPbM0EH7W17fjJ1SsUnx708A80Bjz6p5SaJqR+Botij1fgDvi24YX8FWfdFlQ2lBSu1/+Lqv5BPkCm2zcb8M+gutgm04b1c/gafx9stoQCA9U70+WSIB5g== X-Gm-Message-State: AOJu0Yzsg2iSntbDOHS4RN35nRehetsaxEhbwTIzVtLx0IqUP6C+t6Vs wHbZuk6QU7Th0yTDLssv1+GtU3f/0OrofM9xD8A2OGqO/eoXdv/vnh2Uevzvk6Q= X-Received: by 2002:a2e:330a:0:b0:2e5:67a9:4dcf with SMTP id 38308e7fff4ca-2e9494be817mr18094341fa.18.1716410046915; Wed, 22 May 2024 13:34:06 -0700 (PDT) Received: from localhost.localdomain (89-64-18-73.dynamic.chello.pl. [89.64.18.73]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2e4d0ce35dcsm41575161fa.34.2024.05.22.13.34.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 13:34:06 -0700 (PDT) From: Oleh Kuzhylnyi To: linux-input@vger.kernel.org Cc: dmitry.torokhov@gmail.com, jeff@labundy.com, neil.armstrong@linaro.org, schnelle@linux.ibm.com, arnd@kernel.org, kuzhylol@gmail.com, hdegoede@redhat.com, linux-kernel@vger.kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, artur.serhiienko@gmail.com, igor.opaniuk@gmail.com Subject: [PATCH v2 1/2] dt-bindings: input: touchscreen: add Hynitron CST816X Date: Wed, 22 May 2024 17:33:46 -0300 Message-Id: <20240522203347.2263425-1-kuzhylol@gmail.com> X-Mailer: git-send-email 2.30.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add documentation for the Hynitron CST816X touchscreen bindings. Signed-off-by: Oleh Kuzhylnyi --- Changes in v2: - Apply pin definitions and DT headers - Use generic name for DT node - Drop status field .../input/touchscreen/hynitron,cst816x.yaml | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/hynitron,cst816x.yaml diff --git a/Documentation/devicetree/bindings/input/touchscreen/hynitron,cst816x.yaml b/Documentation/devicetree/bindings/input/touchscreen/hynitron,cst816x.yaml new file mode 100644 index 000000000000..22bd145db5ee --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/hynitron,cst816x.yaml @@ -0,0 +1,56 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/hynitron,cst816x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hynitron CST816X series touchscreen controller + +description: | + Bindings for Hynitron CST816X series touchscreen controllers. + +maintainers: + - Oleh Kuzhylnyi + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + enum: + - hynitron,cst816s + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + reset-gpios: + maxItems: 1 + +additionalProperties: false + +required: + - compatible + - reg + - interrupts + - reset-gpios + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + touchscreen@15 { + compatible = "hynitron,cst816s"; + reg = <0x15>; + interrupt-parent = <&gpio>; + interrupts = <4 IRQ_TYPE_EDGE_RISING>; + reset-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; + }; + }; + +... -- 2.30.2