Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1722717lqb; Sun, 26 May 2024 14:25:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXr0v3mbPrTdJuGlvPdGl8herYcp4xIp4UpYGJXpPFL286E6jlOj0XQzMvbL5P40hiQEQLsrJPxzo3GUAKBbg0QRqPkFRlC5FZXSvsdmw== X-Google-Smtp-Source: AGHT+IFQCP18887UgkKKR239igzR+E1oUZn0rWzm4hIVNBPiwKIqqVDR+18bsIuHf0xQG6Fnm0pc X-Received: by 2002:a05:6a00:8013:b0:6e7:3939:505e with SMTP id d2e1a72fcca58-6f8f2c6dd6cmr7348378b3a.2.1716758712469; Sun, 26 May 2024 14:25:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716758712; cv=pass; d=google.com; s=arc-20160816; b=m4Wt+8jlJgUYOUPQ2tUVq06aYQPTVivNZn6Zxwqp3s553HoWAUGoUueTRDTW5uKGly RHHrItzScX9q1mdbEcvAwwzdrVwhzHNy/Gd51Q2KMqc42d89XxClbsi7TDkx/c9K0iCs epP0bFsecH5AxHPWFxvaNJ1Pb+FsePom/mrtU00RhFOjbbUVyRINXFgM+qH7iEv0AIps tmBIbqgXdwP53L8eHC1ZyMf4XzoXcnIc7a7pDqBcMOAa3YYUC4IrJOM5lY36s2mdWKlU Nuglx+temiXB6FnaLP8gTprJSItE0qmoqNxb9RVvroM/OVuZkBrIFbXRsVnbVDxrSdJP qU6g== 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=y+dEpyyCSvCFW4rqJdqF5eNr6betO3sf3jn2avdoLW0=; fh=Mw4gFGFMo0HV19h6ci1MAFqRgaYAFs+am4puZ6nkCHY=; b=uVsyuvZo/V+ocuBAWmn9QkkXcPNT7xjgcrGK7135gUNEroF0ArHdjOfaj3MvAkLjg8 aYME/5+4vUrkLquUwgYxA/poG4vwANDzBs+fYw0wLiDbgIg/JBt4QbxIdqeysG+44+v6 o9Afml2C9L3bITVM6wdMypW8TofvScTJx2xahmJIqx6qy7BY6TPc0vK6kEkYuOv1dMr6 /w+qUpjDQB0VuIcd+XaNvUveEg5wEYYpj2cIM52IUoxyjUxEEHQkkDAcpwp2LfI8BD2W AfQ1C7LBZZj/4u0z1HJoeppCeNqaKyurshw3Ez8OUGGbfxP1/VkPYgEZsH9btMCrMAKB 5JYA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CRfEYSyN; 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-189878-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189878-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f8fc05122dsi4998590b3a.28.2024.05.26.14.25.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 14:25:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189878-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CRfEYSyN; 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-189878-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189878-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1D91E281D67 for ; Sun, 26 May 2024 21:25:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 109A513A3F7; Sun, 26 May 2024 21:24:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="CRfEYSyN" Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (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 9714A13A259; Sun, 26 May 2024 21:24:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716758691; cv=none; b=PttQ0eS6j5BxJ4qTpEjWPw0yGNjQGS1Nuw3K4ZGL5TI1WO0Ev5xGPNoAHM548Pd354HGb84Tf2XrYYP69p0HLtcXtVRD9Zw/xOqnr8h20Z3Cxv2O1cvJFYYufIAKTxkxcrF7Pu7uxgW8wadYMBzArN2H4joZcVZfA99Usrl3cNU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716758691; c=relaxed/simple; bh=oeEP4ygQRGenE4hVSLTsl2TaoTbK+XgklW7Ivx2ujiU=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=A9/3RXKZZn1lw6VffkYibZVrNNXxeGEslwUp/MmYYxaBYDxchaJHoARw7k2EyGSuSCMrN6ohft7NYs38VUIdD2Ah0xSXhif2PFVyyvO7L7ABola0JNhEI1VuxCzFCmRXSIBxEeogs1Qc08507aMSAtyYharZq8vVgicx0BEiAOw= 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=CRfEYSyN; arc=none smtp.client-ip=209.85.218.45 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-ej1-f45.google.com with SMTP id a640c23a62f3a-a59a609dd3fso838913466b.0; Sun, 26 May 2024 14:24:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716758688; x=1717363488; 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=y+dEpyyCSvCFW4rqJdqF5eNr6betO3sf3jn2avdoLW0=; b=CRfEYSyNzk9+CGsj2TmyINP06MvLDZ2/zTjnJ4todz76f8VGZDnx0QqFGoEmzComRS 6it/b9qzFQGDLK5BzTtdgEyfc4vdyUxM7bLCHSWXeUmjgUbE2oYFrQckh+GnzDZbAg91 QEGoafmKe/jBgSeHFexlzIV+rQ5aB/6WO3u7/vzM9E+ZQJ2v2urRhvn4feZJP+17otfl xFbDaV+uOVGMJNb2PbJwgvx8qvksBlamUikh1Pc2yyvyL0B3+1yQI0qNTTz2AAV8Lt2A ridm9pta6c0f5m/4k6hJ0l2j5EP7JNugYkDZfCd6iQNj6unX9Xky1/zYU29XvEfH3i/T 9PpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716758688; x=1717363488; 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=y+dEpyyCSvCFW4rqJdqF5eNr6betO3sf3jn2avdoLW0=; b=uWQBWwKNTPt6FXjB85ym9x0JDWUOzz02v8RH0GeGJl+QQaioyi2MFOI54Jge8t1hsc Rk9ZvaWQ3L9yllfEjDsILG8/LgrZLV11nn16HAYC9Z7NNgEVhhtldQ5slr3hogBdslE+ o0Rl3q7CH6pq9d3PKeAbtj6o/sQehxaNWkqdl/du2p/58jQwCGMgmyKcKq8EKGrjitG0 Cf76wycWlm2mfQBdeD8+N1IawH75XdQlZmG7QiJhHyawrSt3rXQjEBv8EhgMu6dbWUhV Riwuc1DRShExN/zrHHbJ7BGgELZse1zDuIwWEtCgexSPY6SvrXNBPh/IdhDxfxGO4weV 30iw== X-Forwarded-Encrypted: i=1; AJvYcCWWKou/L3l7+39gspvt2wLh/v/6R8Ahj2P+dsfyz2NdtAgY0unZOMn5pGcmjSdjXuBRICjoYjle6gYO1XSWQfM74cXdbeSxu9vqUBoyreyUSfx3qW9yQM+PVvz8ERtF/iCmboabw0pEGA== X-Gm-Message-State: AOJu0Yzd6DElkSvSkaNQn+rpBzk3M/SKq60E6MF7aBjSw7AXs73s4+7m KquY05HbgXLh9uYrnLs8+oIrmtQD0/wQSOyXagAyi7aPmg2FuAbBmGCDvg== X-Received: by 2002:a17:906:358e:b0:a62:49ae:cd7b with SMTP id a640c23a62f3a-a626250ddcemr689759966b.24.1716758687647; Sun, 26 May 2024 14:24:47 -0700 (PDT) Received: from kuzhyl-vm.. (89-64-18-73.dynamic.chello.pl. [89.64.18.73]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626c817088sm418093066b.24.2024.05.26.14.24.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 14:24:47 -0700 (PDT) From: Oleh Kuzhylnyi To: linux-input@vger.kernel.org Cc: dmitry.torokhov@gmail.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, kuzhylol@gmail.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, jeff@labundy.com, neil.armstrong@linaro.org, hdegoede@redhat.com, artur.serhiienko@gmail.com, igor.opaniuk@gmail.com Subject: [PATCH v3 1/2] dt-bindings: input: touchscreen: add Hynitron CST816X Date: Sun, 26 May 2024 23:24:41 +0200 Message-Id: <20240526212443.8496-1-kuzhylol@gmail.com> X-Mailer: git-send-email 2.34.1 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 v3: - Rename filename to hynitron,cst816s.yaml - Update description with display details .../input/touchscreen/hynitron,cst816s.yaml | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/hynitron,cst816s.yaml diff --git a/Documentation/devicetree/bindings/input/touchscreen/hynitron,cst816s.yaml b/Documentation/devicetree/bindings/input/touchscreen/hynitron,cst816s.yaml new file mode 100644 index 000000000000..ac9f1d8e8fc0 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/hynitron,cst816s.yaml @@ -0,0 +1,57 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/hynitron,cst816s.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hynitron CST816S Touchscreen controller + +description: + Hynitron CST816S Touchscreen controller for 1.28-inch 240x240 Resolution + Touch LCD Display Module + +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 = <&gpio0>; + interrupts = <4 IRQ_TYPE_EDGE_RISING>; + reset-gpios = <&gpio 17 GPIO_ACTIVE_LOW>; + }; + }; + +... -- 2.34.1