From patchwork Thu Sep 18 15:36:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 4312 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 87D573F0D3 for ; Thu, 18 Sep 2025 17:36:37 +0200 (CEST) Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-b07d13a7752sf125191566b.3 for ; Thu, 18 Sep 2025 08:36:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1758209797; cv=pass; d=google.com; s=arc-20240605; b=areSRhMgKfhlYyKQQKNUNufF7hIfsWzlXTePgXEdHT4uRViFWjogrbfsIkbMpTd2In cTAeHpnF5bU9T4h35uI5qalGvFtLrhDnfnch5+zqaWzxnHWumThMN3cNAoRl/iVkJ5wP wYn6RpCwHP6SjAHf2sR6+UfbW95fXLoAM2czL7tcZOXyYNvDUC1vd8CYn0PsMBIvl2Rs l/V+tZPFY86IaGohJPgnvCUoieubpbYh0THVhUv0XgVJV4fmwPv6254V/hxMUNrzoUrn t09trUYa+tvX7hR4cf8iRgwQUEmkjNxnLyAU5DtWNZr+7WU6gY3gnz2PYy7JsWTpUORI lWMw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=7vnMiRtLgL5mLNEPz2oywUns2DTvPjv50b8VBZTNxRQ=; fh=kInuKsh9R4/DuxZzdkD3PJjB9qE+1Timjwj/RkJ7rYc=; b=VY9B5W56YuV7PXhFgfX9XW+EvpanQXM9oNC070l4nvMs1pHc/+gBaAhOfHU9J+0HMi 8MYpaLPLdR9W4I1hLhauLAbX30C7NoQJ6vwzXlErqGaGYFYjeQes6GNBqkMMqkGGQHEL t7U6gd0IdifpRR5Pz6aismiqYRLzmjDGJ5UQqHgbbjJeCbmrvUF46kSfotMy64FzfvIF QBerHdg6cSL1S+i7bIRkd6D2eor7esOOu0mZkygahgMBEZxZ52n0RlQYFIWqn7sIDymW usOpAQDazbsjKswV4TDZn05JhMBAozK1BGfNmeqTDwxG+91eGjOf6vp5MK5ckCFRKVBz pnXA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jyFEb43H; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1758209797; x=1758814597; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=7vnMiRtLgL5mLNEPz2oywUns2DTvPjv50b8VBZTNxRQ=; b=G6/uR0ZnYe+jcic8r2iJhn0STzythS/9uDxpGgfNlpy/HoiUaCJkDjxnDG2gNgejKa QnCTfVGyBUoS7hXlS21n1UPIgboNhJbC6MuZUUAsL/vSKFEF1hU6x3Kzb31Cg4hpMo9z W3ZA41guWUmN3L9OjLaSpzi2U3KsY7b0fqLVc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758209797; x=1758814597; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=7vnMiRtLgL5mLNEPz2oywUns2DTvPjv50b8VBZTNxRQ=; b=PO9I369ri/1AFR/5tBPCIdDo3p88jtHcEppzf6eoYIznfaLqRE0t3h/bIzoRAOYd/n wFYAXel7Ur1tx4uq+OE/RyxTOzdILl/B9lVuIfISUo3a92WuJ3D8dA2iE5Og33unNfpQ WwpqE0Zd/9jJZBXtCi0j0uZR0+C7xKkpbuYOFw1Yp4CxsprQVs8IIAyXj2TDZQ8jTxzU lNjiUBMQHY2wY5BLcCi3EVhGj90iLZoGorKovcGN0NUCl0CPj96G4Qj3NNM0IXENhkkv KFuwERRhEfoP8w5zmwwZKe0ypYOJTuIz6sRwRfUmQarC9ydYvYZnjcBp63s8EwudCC4Q gGwQ== X-Forwarded-Encrypted: i=2; AJvYcCW69RyJbuvAyxSVEwNZ3Yw1NklWMLmbm1Ifj7Eie55TqF21drxKmwN4jzQkwKI279MRE5nxKej8OrtXwTLw@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Yxnukq+SMkrXmpbrwiJCZ0yS8ncivmo3K/Ew4M6ADsYZTz3gVIR OXauE+Z+vYoc180OZQF6Ve/khV7cK234L3RI40N8G15Po+k5Xv2MLJAB6fIYRILAin0eZA== X-Google-Smtp-Source: AGHT+IG54J+IkQnHgw0QizMLHkn+vh8+M2rnZOV3IszGbfhiBXkO0rShp6Lo83UpqpBLI64KZ6bmqQ== X-Received: by 2002:a17:907:2d87:b0:b04:5829:97bf with SMTP id a640c23a62f3a-b1bb992882cmr657670466b.55.1758209796750; Thu, 18 Sep 2025 08:36:36 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com; h=ARHlJd4UEGpcc4Ojg0qxNxTt3qfEK80G+JgNgpzGfkXnl65PGQ== Received: by 2002:a05:6402:4385:b0:62f:4288:8126 with SMTP id 4fb4d7f45d1cf-62fa7730ebbls946002a12.1.-pod-prod-04-eu; Thu, 18 Sep 2025 08:36:34 -0700 (PDT) X-Received: by 2002:a17:907:6d02:b0:b04:97df:d741 with SMTP id a640c23a62f3a-b1bb82ffbefmr702374866b.44.1758209794252; Thu, 18 Sep 2025 08:36:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1758209794; cv=none; d=google.com; s=arc-20240605; b=GpSDIvadwJexsUfspvJh/7hxPdL6YNmF4B7XgTRyLVBozQXnm1y7U/Y8lI95AmpwNW +nOKbkIw/663Pt7cmJGDEGU0xGRJHnWmv1fh9aCLW24+MnuzgGn1nlS3ILv7MFYzQCxC zgvhTRBVqUQGal6AR/Bxa5mq13/+CFirIEAA9ibax3Ur/uk36RI2mFHEgvPjmP1xrBDW I3k8pqKurHbIUM/HUYRvXCghPsG+9eTltGlg0wkm3LgE5jiMczV4FWQ3+Dw17PstR8wE Y0urQbp1VhI4Hqy7T7Ht86saQeDKmNhEEcOVpeSyNXiV5BQaBacdE0wVWQENyOAJOnuG IPvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=N81dGvO+xJTmXCqWIcLQYDKWPfQd/IXwIEAbvvgpOAM=; fh=B/34DORXtvLOKRzbba52p7ZA65I5St69acDFCI0SjAY=; b=e+MIOUReJdSiJHAVj+xcS8DopT2aL2bM181OcNenTXmFUdS9/oyjLK61wh1nNeyGEV MYSYbcN/U1TOOfe6MsRmLDX6IZIix2YJkR0fPVcR2FPAPIFy8N1dUBz15jOuxYg9Kv3G +a3RrcaBgD5bArtXGTWzAT3jXdStk3Hctb5LYzQzugDh4nj0h/0U2HbBLsdh7MhfGRjq aTBS8uA/ogkOZS2utAhzgrnG0s7L1jxnnNOKRdVYAXCc1yJcDHR8t5q6qaAghxuxDpUv Yx5q2Z7VROgHOmihniw/CVtNfB9v21eWQqKQf3wKlVflxc9R6EVkInHUFYk5sJg3dl4g 8+Dg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jyFEb43H; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a640c23a62f3a-b1fbb92adf0sor130466866b.0.2025.09.18.08.36.34 for (Google Transport Security); Thu, 18 Sep 2025 08:36:34 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Gm-Gg: ASbGnctO0K0GnwKqdAp7FWIHqV2ZNMZsRQPh1MvLYW9Zlmv45c+F4FwHaKo8Z9k+yHo wDnKfgvcnYaQmAYVRd0E46IzfUZmz1DA5KLAAPbl+lDR3KDeWuWuXPM/AODe2trdQIwkLq2pp2W K2po8bzmrO2t3UoFBnOpG1IBas0SOnwgoi3SVXuMSX5QFZw4HE3EFLVPdoqg9N2s1tGW1GQt0Ke 1qeV9Ar8gb3fyIDd2GqkYeuuNy4F4s7MkYn4flVsqomoMoq/ez+TEyLl27AuAXgKY6sAv1MAYjJ U/VzlSNgWtzAUM0NHnBVbItGInPKySr4eEh2u04dGoZKHb4VvwKHl/XDxQKIXnNlmJ0nItduP0S brnEiuj0cagB4FtwreZd723dTgQdTEo/9KsMNn6P7T2jo+WsfmGk7LMKivHzwx6wqQrS7NNhEoW 5i0Kl0MpFXJJIfMfYF/ev7GrZpNxpfVMsc7f+JRPVytEV99LSywANRI/kriata/6ordvVa24JzY ExPToikGyw= X-Received: by 2002:a17:906:6a09:b0:b04:8701:7304 with SMTP id a640c23a62f3a-b1baf60e268mr788877466b.10.1758209793686; Thu, 18 Sep 2025 08:36:33 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-82-56-38-125.retail.telecomitalia.it. [82.56.38.125]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b1fd272026csm212430766b.102.2025.09.18.08.36.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Sep 2025 08:36:33 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Krzysztof Kozlowski , Conor Dooley , Dmitry Torokhov , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-input@vger.kernel.org Subject: [PATCH v4 1/5] dt-bindings: touchscreen: convert bu21013 bindings to json schema Date: Thu, 18 Sep 2025 17:36:06 +0200 Message-ID: <20250918153630.2535208-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jyFEb43H; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Convert Rohm BU21013 I2C touchscreen controller device tree binding to json-schema. Additional changes: - Replace -supply with avdd-supply to match example and existing DTS. - Add reset-gpios in the example because it is required. Signed-off-by: Dario Binacchi Reviewed-by: Krzysztof Kozlowski Reviewed-by: Rob Herring (Arm) --- Changes in v4: - Drop description from reset-gpios - Re-work description of avdd-supply - Rename the file to rohm,bu21013.yaml - Add Reviewed-by tag of Krzysztof Kozlowski Changes in v2: - Added in v2 .../bindings/input/touchscreen/bu21013.txt | 43 --------- .../input/touchscreen/rohm,bu21013.yaml | 95 +++++++++++++++++++ 2 files changed, 95 insertions(+), 43 deletions(-) delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/bu21013.txt create mode 100644 Documentation/devicetree/bindings/input/touchscreen/rohm,bu21013.yaml diff --git a/Documentation/devicetree/bindings/input/touchscreen/bu21013.txt b/Documentation/devicetree/bindings/input/touchscreen/bu21013.txt deleted file mode 100644 index da4c9d8b99b1..000000000000 --- a/Documentation/devicetree/bindings/input/touchscreen/bu21013.txt +++ /dev/null @@ -1,43 +0,0 @@ -* Rohm BU21013 Touch Screen - -Required properties: - - compatible : "rohm,bu21013_tp" - - reg : I2C device address - - reset-gpios : GPIO pin enabling (selecting) chip (CS) - - interrupt-parent : the phandle for the gpio controller - - interrupts : (gpio) interrupt to which the chip is connected - -Optional properties: - - touch-gpios : GPIO pin registering a touch event - - -supply : Phandle to a regulator supply - - touchscreen-size-x : General touchscreen binding, see [1]. - - touchscreen-size-y : General touchscreen binding, see [1]. - - touchscreen-inverted-x : General touchscreen binding, see [1]. - - touchscreen-inverted-y : General touchscreen binding, see [1]. - - touchscreen-swapped-x-y : General touchscreen binding, see [1]. - -[1] All general touchscreen properties are described in - Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt. - -Deprecated properties: - - rohm,touch-max-x : Maximum outward permitted limit in the X axis - - rohm,touch-max-y : Maximum outward permitted limit in the Y axis - - rohm,flip-x : Flip touch coordinates on the X axis - - rohm,flip-y : Flip touch coordinates on the Y axis - -Example: - - i2c@80110000 { - bu21013_tp@5c { - compatible = "rohm,bu21013_tp"; - reg = <0x5c>; - interrupt-parent = <&gpio2>; - interrupts <&20 IRQ_TYPE_LEVEL_LOW>; - touch-gpio = <&gpio2 20 GPIO_ACTIVE_LOW>; - avdd-supply = <&ab8500_ldo_aux1_reg>; - - touchscreen-size-x = <384>; - touchscreen-size-y = <704>; - touchscreen-inverted-y; - }; - }; diff --git a/Documentation/devicetree/bindings/input/touchscreen/rohm,bu21013.yaml b/Documentation/devicetree/bindings/input/touchscreen/rohm,bu21013.yaml new file mode 100644 index 000000000000..adea2c4edf1f --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/rohm,bu21013.yaml @@ -0,0 +1,95 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/rohm,bu21013.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Rohm BU21013 touchscreen + +description: + Rohm BU21013 I2C driven touchscreen controller. + +maintainers: + - Dario Binacchi + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + enum: + - rohm,bu21013_tp + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + reset-gpios: + maxItems: 1 + + touch-gpios: + maxItems: 1 + description: GPIO registering a touch event. + + avdd-supply: + description: Analogic power supply + + rohm,touch-max-x: + deprecated: true + description: Maximum value on the X axis. + $ref: /schemas/types.yaml#/definitions/uint32 + + rohm,touch-max-y: + deprecated: true + description: Maximum value on the Y axis. + $ref: /schemas/types.yaml#/definitions/uint32 + + rohm,flip-x: + deprecated: true + description: Flip touch coordinates on the X axis + type: boolean + + rohm,flip-y: + deprecated: true + description: Flip touch coordinates on the Y axis + type: boolean + + touchscreen-inverted-x: true + touchscreen-inverted-y: true + touchscreen-size-x: true + touchscreen-size-y: true + touchscreen-swapped-x-y: true + +additionalProperties: false + +required: + - compatible + - reg + - reset-gpios + - interrupts + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen@5c { + compatible = "rohm,bu21013_tp"; + reg = <0x5c>; + + interrupt-parent = <&gpio2>; + interrupts = <0x20 IRQ_TYPE_LEVEL_LOW>; + reset-gpios = <&gpio2 19 GPIO_ACTIVE_LOW>; + touch-gpios = <&gpio2 20 GPIO_ACTIVE_LOW>; + avdd-supply = <&ab8500_ldo_aux1_reg>; + + touchscreen-size-x = <384>; + touchscreen-size-y = <704>; + touchscreen-inverted-y; + }; + }; From patchwork Thu Sep 18 15:36:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 4313 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 4CA743F150 for ; Thu, 18 Sep 2025 17:36:38 +0200 (CEST) Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-b07d13a7752sf125194166b.3 for ; Thu, 18 Sep 2025 08:36:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1758209798; cv=pass; d=google.com; s=arc-20240605; b=L2L3iknX0+3+t+etWXMh2o+jtmfgSVG8LseQibxlDe7ofuM+JsVwFufHRqW8taXdwA PeGJ6tag8aeFhFjbLbeTMgtehbFzy9jwzdQT19KYYb5mMJwQ6DrOwWNP9c18rN2+zgeJ 1qmz2ckLd20Hv9oQfW2CDQbTA1DfNdKaSsSh81EAYW2lI6fH58U26HKwfUFZBxVQ2GrA dDxar+tSBaOTkBhm1KnPyX/ESnhKgRzBrQMdMboHqkQ+j3vRUVRShQsr1s51jFgt5pbs QhDMLpzuc3VtDgIl/6HFitbz4N6aqhaDcyMKEH83AbAaPJTSiVF8+H3BJW/rlTxEJRKC WDow== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=ohXZ7ckj3CKqMF/m0o2bmQRvmRy12QU7IVAyjgS2sug=; fh=zFdPlacGigyG3lRqFr3lbav3G1QRoac1o680rG/K4bo=; b=hMMdkVcRYGmtjMhJtrYlH5oVSQoSCoNSMStjJieQ4l57k5QWRCLgg0JK1zdQZSJkvD azNN4QVOlqkJhUlKC+j3pgz9WXjIQnSe32BAjV2yM6JUsreR46OxtarjGVwm4wheyrH7 gk3E0APjkgs92MvHjvc5DT6Os0jV5vpPqyB5RE9x1od0x+3opUOEGNXzPB6RW//nCKro WLUgkg+amy04blCMJH7QZlecAR7E39o8oHxvBJIBqxqpxWqOWeFW/9XyjmKu1A6AVfdB vMBksi7bBExGLxj4QQDciaQkWHQjwnkhH3kgSIBb8LfU8Be83wyh34gAH4vkN5hetaBB dvBQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=S1HjlXA9; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1758209798; x=1758814598; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=ohXZ7ckj3CKqMF/m0o2bmQRvmRy12QU7IVAyjgS2sug=; b=qUUoQynP4zl8li6A4LN3JogvBgnGd+YqNBYcDemNBxyAcuwHzPQdSvxqEaaTKrKosQ 74H2ZBRfiFOP0ykKsYOEXMA8Xz47tXw+bkGslSfLYkTyPyEHs3ENyl6yCrqd+589N8eS tVr6yULelvKMOC4ZbkaWBbOd8cWEsFLNpk2qM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758209798; x=1758814598; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ohXZ7ckj3CKqMF/m0o2bmQRvmRy12QU7IVAyjgS2sug=; b=RxzT0gNSIRMqA8PBc0F5phWBlmquAtSRngHJxl8UUFtF7CDhUn+hO+m3UR45JgnhLu aaYVxKupgGWxisbhwEc0imG5AW0jnzfD/hz+lsU2xbCMA0Roq/eMNGH79rS+KUAG5wdk 6VACNpL1tS6XO5proWHZAT/Pt4ZiJS5QjIxpqlcItxtGT9THbJaFWCOfTuDw8jIrv5YR rp67effCHjlsazMKxwSmuvYb4kd+T0J/9jFPqJpvCD/AORQjWtet1Gfhsf3flU7ZPqe0 2298fZQrWXAtkPPMJTF5otjrCFSkyCJUn42LOdKXtsj17S8cpcBe+3oHpud8eXhlLgny vYIg== X-Forwarded-Encrypted: i=2; AJvYcCXJm0e+lGEJVwIFIcAkiONFRMGEwrO9w7PnsqlypP8w2C+u/DUPmiX6n3hKuCZd1kQXJf1iSiO9y6OPCipE@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Ywu9KcARrpAxhZdSLZ/h+jRhTYvHzc5iofwFp/cw2R5zbuqDYhr eyvPDqQmX6HsM8jd/vWltk32dSlceYNj4Jb0iy5rsqHyNiyiLuU5zFABp2GM/rTUoVY6Iw== X-Google-Smtp-Source: AGHT+IE3+mElEIEztRgDDkbDITswUrIUOoitRjQmNeijEu7g4h3B+HyePVKolEMs+49TDY8zToYX7A== X-Received: by 2002:a05:6402:2790:b0:62f:aaf6:3eb2 with SMTP id 4fb4d7f45d1cf-62faaf6418emr1858964a12.12.1758209797832; Thu, 18 Sep 2025 08:36:37 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com; h=ARHlJd5VfqmhFN2Dt0LToq+69rwI4gD7UAmEZ4UwWWcWBg4R9Q== Received: by 2002:a05:6402:1d8e:b0:618:8cd:5cc1 with SMTP id 4fb4d7f45d1cf-62fa774c559ls816759a12.2.-pod-prod-04-eu; Thu, 18 Sep 2025 08:36:35 -0700 (PDT) X-Received: by 2002:a17:907:7f0c:b0:b04:ba4:8615 with SMTP id a640c23a62f3a-b1baf60e27emr595853366b.8.1758209795327; Thu, 18 Sep 2025 08:36:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1758209795; cv=none; d=google.com; s=arc-20240605; b=Tk8h91+7SdeMzEaG1jb7A1QIzrHAJS36n+TQF7lVd5kVULqBe2ptYli0m3hiehEetM MO2HIQY8DqTXjfVLC9Jor/qo/JPmkn61g1tUPtXTw8YmE3akPqhcexHLzU+yrIvTKDcu bXPP0yjvVBhIOtEqv08kWuqDKS8Rp5yz96DBZqc5ZQfN8RSaE1HhyFSdKdu538qjnw4O ifQ8HBzPyWn3Ow5YTPAeat+TFfp0w53WqLGTxSx0XVGdSCEz86OYJR7oJJfL2pvdV9u8 iMupbSpUh8vsf6lD5cYckZyN9GT9E7w5+yzcA2hCbXnQlSxkRL9AS/nKWg+XScBqc6XG C+AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=ClzalLpVry0Z3N5zOF7y4pLh21VJainWEs72sUomkbg=; fh=5IPoofO8fd847Zr+LJ+89nR9QZf+bxlD0HrxkhpH2D0=; b=E1MsgtQSlgPkBXH0Y2Jd8Odq4HddAL6+6yiVbev813fH3tTjWIPIA7T1pEw9GDfj4i swQZtUEIFuyCP+q8IKwkUVw67QEXIYxNhYYgsjmWd6wU1IIonhwD6s4HgGRuNRz96vzZ cCORpdqeQIqM38FIT6UECrasoL9vFY0+rGOsZsDoVtvo9e3XdqfRToCIH60NDIwP43T5 4MCeF5146JulKLnSL4RRgCIfAbweCgUP39wBA2r3tlbhtLJ5KQDG0AFZqQwrN03HVTT9 mWO2YYkC1lPp1ZBVukF3Pff3mRTX/coWUeGR5LD4qdMVJSVKjGIz6SmYq/wU3jX034ts VpgA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=S1HjlXA9; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a640c23a62f3a-b1fc8814a4bsor124095866b.7.2025.09.18.08.36.35 for (Google Transport Security); Thu, 18 Sep 2025 08:36:35 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Gm-Gg: ASbGnctpU4Raw3E+u0FyuD8XehUcM/FEHvdeyNBWUsbLtblskTB8oRL0BMovjpK6HTx 4q72Ootq/5l5wrRZKenqmxd+ltj949tHoG2Oa9h4eTpzJvsay/nXbIXFGAlgzEvfoxABsNuWCNL /WSa9aPa42qBLqiakGcfYeWtooKAaGKDSe4Bl1xzlgeHTx7sH7mg5JyRWoRn6BXkWHA7RDQh2n1 TC3mIbc2LXEc8vLAy77T/5lZ4yTfWDQv7oyrsFL81yyUOTrWvXWZxyISLwadtHU3Oji3zpLaOT6 QCgn+lPTV/IfahsoVsdNxUPGLh00bhMDZHqqQOX+b4eTBBsxrdmoRb4aJShmBNpiIGCWKxSI0HK rVHLKGKrUnFEPwII3m2jU6bTI0sGr15wPodVrMe2LTUZIDZRsSaMG1XwGp9+hORwEzslfv07hlA lCrOj2FpPB+XMhYOXdv9klxLyzHW6bl5ZVZYzyOnuWA43i6jtgM06YQpM/0XUBv4/y6x9sm4Qm7 XTwKGanFKA= X-Received: by 2002:a17:906:f592:b0:b07:8893:83da with SMTP id a640c23a62f3a-b1bb9b218ddmr625079866b.64.1758209794779; Thu, 18 Sep 2025 08:36:34 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-82-56-38-125.retail.telecomitalia.it. [82.56.38.125]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b1fd272026csm212430766b.102.2025.09.18.08.36.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Sep 2025 08:36:34 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Conor Dooley , Dmitry Torokhov , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-input@vger.kernel.org Subject: [PATCH v4 2/5] dt-bindings: touchscreen: convert eeti bindings to json schema Date: Thu, 18 Sep 2025 17:36:07 +0200 Message-ID: <20250918153630.2535208-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250918153630.2535208-1-dario.binacchi@amarulasolutions.com> References: <20250918153630.2535208-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=S1HjlXA9; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Convert EETI touchscreen controller device tree binding to json-schema. Signed-off-by: Dario Binacchi --- (no changes since v2) Changes in v2: - Added in v2 .../bindings/input/touchscreen/eeti.txt | 30 --------- .../bindings/input/touchscreen/eeti.yaml | 62 +++++++++++++++++++ 2 files changed, 62 insertions(+), 30 deletions(-) delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/eeti.txt create mode 100644 Documentation/devicetree/bindings/input/touchscreen/eeti.yaml diff --git a/Documentation/devicetree/bindings/input/touchscreen/eeti.txt b/Documentation/devicetree/bindings/input/touchscreen/eeti.txt deleted file mode 100644 index 32b3712c916e..000000000000 --- a/Documentation/devicetree/bindings/input/touchscreen/eeti.txt +++ /dev/null @@ -1,30 +0,0 @@ -Bindings for EETI touchscreen controller - -Required properties: -- compatible: should be "eeti,exc3000-i2c" -- reg: I2C address of the chip. Should be set to <0xa> -- interrupts: interrupt to which the chip is connected - -Optional properties: -- attn-gpios: A handle to a GPIO to check whether interrupt is still - latched. This is necessary for platforms that lack - support for level-triggered IRQs. - -The following optional properties described in touchscreen.txt are -also supported: - -- touchscreen-inverted-x -- touchscreen-inverted-y -- touchscreen-swapped-x-y - -Example: - -i2c-master { - touchscreen@a { - compatible = "eeti,exc3000-i2c"; - reg = <0xa>; - interrupt-parent = <&gpio>; - interrupts = <123 IRQ_TYPE_EDGE_RISING>; - attn-gpios = <&gpio 123 GPIO_ACTIVE_HIGH>; - }; -}; diff --git a/Documentation/devicetree/bindings/input/touchscreen/eeti.yaml b/Documentation/devicetree/bindings/input/touchscreen/eeti.yaml new file mode 100644 index 000000000000..97027914d6a6 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/eeti.yaml @@ -0,0 +1,62 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/eeti.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: EETI touchscreen controller + +description: + EETI I2C driven touchscreen controller. + +maintainers: + - Dario Binacchi + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + enum: + - eeti,exc3000-i2c + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + attn-gpios: + maxItems: 1 + description: Phandle to a GPIO to check whether interrupt is still + latched. This is necessary for platforms that lack + support for level-triggered IRQs. + + touchscreen-inverted-x: true + touchscreen-inverted-y: true + touchscreen-swapped-x-y: true + +additionalProperties: false + +required: + - compatible + - reg + - interrupts + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen@a { + compatible = "eeti,exc3000-i2c"; + reg = <0xa>; + + interrupt-parent = <&gpio>; + interrupts = <123 IRQ_TYPE_EDGE_RISING>; + attn-gpios = <&gpio 123 GPIO_ACTIVE_HIGH>; + }; + }; From patchwork Thu Sep 18 15:36:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 4314 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id A0D153F0D3 for ; Thu, 18 Sep 2025 17:36:40 +0200 (CEST) Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-62857c0a375sf1017923a12.3 for ; Thu, 18 Sep 2025 08:36:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1758209800; cv=pass; d=google.com; s=arc-20240605; b=elZqe18JcBQIDgKZbnQndtXZJN6Fcc18byUDxlazAAC46WrqMrik0ZUcNor8zn2w// jXFIwGaJriuv0c79NMUppHBnE+4NXA7Xuui/OUJD2cHy3Xo27ZpBY8Fs/3KjlB5hjqdl s+QR3lEhQprBI9AvF9/UQmHoQBnEuNUbfC7emIb5jdAt/TCSzo/OO74/qYJOViihArvE APMxhL0fHyRNxuH/5wkPt2LZCgtD38rUfTzEVpFNcoMuZ0C2rz6I/63OjMrC/CkTc8eE GT9wlIKHDcHT0tLpsmrF1X7BrBAH8safRbfudWwmDQP7YY+Q1vgjuqtjFQx4B5wh/czC CAqQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=0KRfEYW5Ae3J2NKO1+hQ+ICG1sGSREFe/owxJ5YSEBg=; fh=SXbNBKmbQXCBZu/M/42xSf7BGUTkZD6DF4eUnSOIeLA=; b=LXqmSMczIAX7b4EPiX9hQNVj3ox0cUaCkY5Guoh98qwsztGgb0nnWkt3u8DXJiaDXI 1pXpJG83F731+q8L/lMk1GTSYlSdeJsXKmFsOvHtkM05Gx8s/WUZYzrmpukXIgeBVgtB hbjV+m1DoLTJZBllb05t+4893Bz8OsIdX9Bu7XvBUOPzVCLIjhQQvVe2R9T/He1StiQi lseC/Qc6nP7m3ejN7w4SVWEaS20NsTYXEsSYOFwVlFgDSiIOllg/yaZ3jdOuc49srJkD 2bMPPkZJVH15ZEUlIGLJ2loJEM+OieGx6sodRjNyPsXWhmbxggqMSx2hPEzlem7B+ya0 KnaQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bENQ2vXd; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1758209800; x=1758814600; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=0KRfEYW5Ae3J2NKO1+hQ+ICG1sGSREFe/owxJ5YSEBg=; b=OFr+oXpnWr/1WV6/KZ4O/x5TzOuiwch03brmgruqfVPd72CgUSa/Li3ZGpyoAPrMn2 mksMuZbP3qYUkiuP5PPOSEWi12tWDOi+CHpQ5mdl8ZSWkCjvIwy+w15Y80HEAQ2wLpJL wPbXnnqlrFqy6Q6i/UE8wIiSHo3OwPGK5kpks= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758209800; x=1758814600; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0KRfEYW5Ae3J2NKO1+hQ+ICG1sGSREFe/owxJ5YSEBg=; b=Ukk5WleFxlJYU+7tEgsakdJVpEwE1PNodpkO4JY+oGiqWhorsn+H6IUTSOgeHgItt2 StCg2MBuGSyU499iQXbSEK0D5XgOn/kpW/yg0YPwEmb3kmqNmbGATAb8YNfd1v7aX6OG VvQ/jRDXrTGb1HmvhDIQ4cmyRrM8ekro9uAzkIB+UOrKhehRjgd97TK1zt6jn3DE2g1q 6ZfFkJjQlHTil+gWmp1zSaA3+sg5745oTfVP7v7NV5shhjw7uzek83xZ8XM0oZ16fFsM ued/XnRVsL/WBwHbbVhV6eBQmWbXp111Ol+Ho0fKE8KYzGC6hONTCZ8H1ERTZVEeSLgV Mi+A== X-Forwarded-Encrypted: i=2; AJvYcCU6788cfoAMofz0D+5g1cZvF95+h/xiLi/lgf3vs2uo/ahjbYAQTCOqOtRCFuH6CbLI0vudq/OA8aAyng0f@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YziC6OCeFXVY823/bvlDmh3u6UCtjiG5+RcYvffNIG9mVr0V8xr 1vNNCz0TsZyyYPmw0r4bYWIknMqfSUFi24C30FA7oJib91h3pUxvN4kw3TSMnYLaSeeLAg== X-Google-Smtp-Source: AGHT+IH6/WilC/ORpwmwJc4yMJGkW/s8A0SFXSkrH+Y8sO18PoUfD48ybssl6sChxtVP7rsG0Iy1Jg== X-Received: by 2002:a05:6402:1d51:b0:62f:32c7:6c45 with SMTP id 4fb4d7f45d1cf-62f83a2a4f3mr5427394a12.9.1758209799966; Thu, 18 Sep 2025 08:36:39 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com; h=ARHlJd5nt/qr8JdPBM0HfxeGE7BfXhtnMgcNnq3V6QH+KhkiYw== Received: by 2002:a05:6402:5188:b0:61c:38df:202f with SMTP id 4fb4d7f45d1cf-62fa735b688ls1018171a12.0.-pod-prod-06-eu; Thu, 18 Sep 2025 08:36:37 -0700 (PDT) X-Received: by 2002:a17:907:3f92:b0:b07:c1d1:4b66 with SMTP id a640c23a62f3a-b1bb0a58881mr669221066b.14.1758209797520; Thu, 18 Sep 2025 08:36:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1758209797; cv=none; d=google.com; s=arc-20240605; b=hJktt5Hkv0s8/sRJPeuQb2aFuFCrQAX1CSbb6K5Qj5K5CWX12mnzeMsgQLw1CpfvIn IuKJUOzSzt8PhL1ucNbLdfrpu1YEAWxLJyRwc3jmprBr28arohGX7f+LyrsrTxtL4rkI 76mIBPLpefvbJM4KrEfdUmdoMf46lWuKuier5oYiclxk2tB5J8oFmPzMef/Xgv44WXGK jhL3HJ39o1CW69AJ4Pc6lsVBumLqY0A1UxgggT+6SP7m8ukAc1Aix/zowqXUaGR+1cr3 hm6Kl7bAWVa02RS02ye/kirMop3AngSpOwXS3L7BQpuf+x1a/0E59oBUdC7wRg9gSKWV wuRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=TEyYKH4qkqBCP6LUsqOTNG7YVoVZeon8od5MlA8LTKM=; fh=PJlCQmWZ7xVl8Up6Tr1dRjBjr7IehZDWlgXt1V1xbIE=; b=YbdA6ubVaxnL/hLo6WtSA/7MUrg6VD7AgYMFWv1FdkO5m0edSNK/R07ToaH221Qolg /dl/7XscKabAzN0YfGZz2E6nsEf9r3NTWf4QQIC2BB7EupQNmuIN3g8DW0oSx56QGeba CmPDQ875/d+oU4g/XLMeir68ycBM2HiqEGiWmEN0AZGaSMewLAC7goxYQ1+NQ1dopIgK u8AGvJUnYUJJyi7xAum5KL5lbhxIm6m0lZ7e474V5Y0ogA5mihGe+PqDq74tKWMTM/Fw seUKi9d87HisGAF4Lx1UH08L5WPL03znXrkJEwe8G7vWSa8noo6whgjo85Fs+4PiF9wF fqyA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bENQ2vXd; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a640c23a62f3a-b22bab6b500sor46508666b.6.2025.09.18.08.36.37 for (Google Transport Security); Thu, 18 Sep 2025 08:36:37 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Gm-Gg: ASbGnct03mjOxm4nm6Ym/uGruLW39AE3z351gB55rXLMAAeFOQ2e/PZKQhnfnOdQzlV 11P+nQQBjwZIAqeRDsJ0cVR0QmoljkB1H6/Lm49yrjfjRpXD7k3InJj+vGfP5v5x5TOgdE0d5zR MG545KlJ2mwr407FdwcQYq2bBarKIeXoI6LTR3/OnOZYzgdRfjM/IXNHi2wtbWb/UVf43RirOCw +rG6WlcCTwNRozj3sL4jO+gphAgpmr5zdnnbEHjvE1bnfSdwHXoP4d/kzFHsa52ib8uDJ6uMpnA vScfykHBrF5fcnwrciguYKN+gymAa1xFo/UcXPv4XACEWbIMJsh/pQ6wYNXR6/sQkBK1hH2kcYT 8ZbirbdyWB09WOaRfimish69a+8yX7Rq/i9DAvEFQEsigsYUrfTyZljul5eDlEI79OVOjpPbKXF rviho/L2Ck2VpUav7pD4/grjnJDMa95BrjDbDX3W6GjjJlTHbGU3aBQffR3jsQmFLPf20Tae6O6 KDcgFKLmp0= X-Received: by 2002:a17:907:2da5:b0:b0c:fdb7:4ddc with SMTP id a640c23a62f3a-b1bb0c43f6dmr683814966b.19.1758209796976; Thu, 18 Sep 2025 08:36:36 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-82-56-38-125.retail.telecomitalia.it. [82.56.38.125]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b1fd272026csm212430766b.102.2025.09.18.08.36.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Sep 2025 08:36:36 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Broadcom internal kernel review list , Conor Dooley , Dmitry Torokhov , Florian Fainelli , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org, linux-rpi-kernel@lists.infradead.org Subject: [PATCH v4 3/5] dt-bindings: touchscreen: convert raspberrypi,firmware-ts bindings to json schema Date: Thu, 18 Sep 2025 17:36:08 +0200 Message-ID: <20250918153630.2535208-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250918153630.2535208-1-dario.binacchi@amarulasolutions.com> References: <20250918153630.2535208-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bENQ2vXd; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Convert Raspberry Pi firmware 7" touchscreen controller device tree binding to json-schema. Signed-off-by: Dario Binacchi --- (no changes since v3) Changes in v3: - Drop firmware-rpi node and use only touchscreen node to fix warnings you can see in https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20250913092707.1005616-3-dario.binacchi@amarulasolutions.com/ Changes in v2: - Added in v2 .../touchscreen/raspberrypi,firmware-ts.txt | 26 ------------ .../touchscreen/raspberrypi,firmware-ts.yaml | 40 +++++++++++++++++++ 2 files changed, 40 insertions(+), 26 deletions(-) delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/raspberrypi,firmware-ts.txt create mode 100644 Documentation/devicetree/bindings/input/touchscreen/raspberrypi,firmware-ts.yaml diff --git a/Documentation/devicetree/bindings/input/touchscreen/raspberrypi,firmware-ts.txt b/Documentation/devicetree/bindings/input/touchscreen/raspberrypi,firmware-ts.txt deleted file mode 100644 index 2a1af240ccc3..000000000000 --- a/Documentation/devicetree/bindings/input/touchscreen/raspberrypi,firmware-ts.txt +++ /dev/null @@ -1,26 +0,0 @@ -Raspberry Pi firmware based 7" touchscreen -===================================== - -Required properties: - - compatible: "raspberrypi,firmware-ts" - -Optional properties: - - firmware: Reference to RPi's firmware device node - - touchscreen-size-x: See touchscreen.txt - - touchscreen-size-y: See touchscreen.txt - - touchscreen-inverted-x: See touchscreen.txt - - touchscreen-inverted-y: See touchscreen.txt - - touchscreen-swapped-x-y: See touchscreen.txt - -Example: - -firmware: firmware-rpi { - compatible = "raspberrypi,bcm2835-firmware"; - mboxes = <&mailbox>; - - ts: touchscreen { - compatible = "raspberrypi,firmware-ts"; - touchscreen-size-x = <800>; - touchscreen-size-y = <480>; - }; -}; diff --git a/Documentation/devicetree/bindings/input/touchscreen/raspberrypi,firmware-ts.yaml b/Documentation/devicetree/bindings/input/touchscreen/raspberrypi,firmware-ts.yaml new file mode 100644 index 000000000000..697c508326b3 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/raspberrypi,firmware-ts.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/raspberrypi,firmware-ts.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Raspberry Pi firmware based 7" touchscreen + +maintainers: + - Dario Binacchi + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + enum: + - raspberrypi,firmware-ts + + firmware: + description: Phandle to RPi's firmware device node. + + touchscreen-size-x: true + touchscreen-size-y: true + touchscreen-inverted-x: true + touchscreen-inverted-y: true + touchscreen-swapped-x-y: true + +additionalProperties: false + +required: + - compatible + +examples: + - | + touchscreen { + compatible = "raspberrypi,firmware-ts"; + touchscreen-size-x = <800>; + touchscreen-size-y = <480>; + }; From patchwork Thu Sep 18 15:36:09 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 4315 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CAD0F3F0D3 for ; Thu, 18 Sep 2025 17:36:41 +0200 (CEST) Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-b2358a0bd07sf3650666b.3 for ; Thu, 18 Sep 2025 08:36:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1758209801; cv=pass; d=google.com; s=arc-20240605; b=IM0zJ3zqBQ6Z6B+Lu4lzvD+jgtlgUrdSgGQYJeZdovxx6gLO0KVZH2wgR7iJWerAGa inCPyamRWReHd75tpInw3gj2YkniV7GqM0F7mzFyr8OOfIxyrs+FaOpdk7UUag4yx7Nb xCLAdBd6cE46LMlb9dw1nS1nlJSe1Z54LNHoO6iZjdrhZCmND0vH04l5gp+RcoO9RI3I h7mpp3GZncfaBEDQNga/Z5VFBd+Y0knVpImCJ2ZX1vTIkDTEmUPnUv7Y/nXQ9xqsBc2G dkbjuqZvjETyJgQI0ffc7YJLIIPFBOIFJiPqWM5P74XZc4zu8AqtZHyFF6ad8VYbu8ib sztw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=T1dGoFA3xYHPk0cnyjC/hpfxd7q1tsPE/DYt/wFSVPE=; fh=qzxJ5bW+I9ttLK8qpLIdRiBu1AouLpMWBobD2CUOXDE=; b=D9CT1sUuJh/5wQER6CizSla/18sVxNMeABIDLo757uQecunUYBL+eMZsxhHhoDfQKt 44lkuqXAkhh/hTqVe/KcOPS79yKcKWHJN8yaGbsUBJpPOB9g+cpUbSAuXDxJOx34dA0U hJH2WVjhN0TAy04dHuDsSZtgxugLbaYzFSk+ik0P/Q8lgjkH64RcarAbahirXB087xQS fsY96CgI0NPyFkkKdCZ3Lsm7bd4+91Tt73oAq52t9s6tvn0smwHFRuQSGuGpLH23098+ WS5g7OI8+v+wKZ//LwbDa3Ii5ziFKKqCzz3aBHWAhTO5Y0J7X9KRW/LSnI/e1Rsi86oz RXCQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=I529OoXt; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1758209801; x=1758814601; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=T1dGoFA3xYHPk0cnyjC/hpfxd7q1tsPE/DYt/wFSVPE=; b=IpD9YZHC1bLeAEORbk96f7penWr8lSizB7PZGJxXrkU4dnj07YO9b5D4LloQZLVSS/ x2pS/jmYczUin12x4TxKVoISkhQnrsguHRmX8g2Zh4glbdIfmwNkuhzoe5o/nF8u3bo9 UzoF+7zmNqaTSFWRqmMSBod6vtANCGNZCMDiI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758209801; x=1758814601; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=T1dGoFA3xYHPk0cnyjC/hpfxd7q1tsPE/DYt/wFSVPE=; b=Fd1YlDEcbEq5EUoDx/gknriHg4bd3o5DlSVPsXdDE17+hXq2GSh7U5Cg5k7XAuU9TB /13ZT7FxIFjMEo/en+HTXpXQHFWEpogBP10fxr3Lxl7Vo8zu1zV9RZYo/NNX0kueozih 1cgDuhmLpL6k3bg6GGeFIUcCdtLu/T/bV/hApr4EnnqTujgu2tAlbc3DMu3f7VKYFXxZ lIu5pSoZytvdqbDtW5+02MmoUdTTqVhVGmanF/3CM3AVBSUdAHJT4EZSiVRBFqtbTYy/ eH2rdeOLwU4tKLrV9mivDblsw4sDyja38/Ah9g0IjUxeqXSbFGmLm4/HuQHDI6ZGBMPi R3/A== X-Forwarded-Encrypted: i=2; AJvYcCU8WDM9GJr4ctBTQcFDjycCWcz2rrQWGCVIFsUai9jpiGxLHqpoE9KdMnCGwDjcXxLmlnKkvsd8htTH7J1/@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YxHr2axiu8vdADQyTA7q5gV1jFas2prKOdOzTrN8itKC0w/BT9s jyyFVODNydbLHl0FKQi+/tjz2NMo3PViOwg2RVyEStCwa18QLoRaa7jNITbZvxoqUmmAlA== X-Google-Smtp-Source: AGHT+IEO6YutMshdGRpENNMDwK5fQYGHN9S3p1fWz8JD6NuLW2JVXI/PZR4Lj3giMdmtqJf9TLauCQ== X-Received: by 2002:a05:6402:845:b0:62f:3531:d8ff with SMTP id 4fb4d7f45d1cf-62f847a861emr3081472a12.8.1758209801339; Thu, 18 Sep 2025 08:36:41 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com; h=ARHlJd54fgE29AAloJSxVS8wbpbsVcOJkm69Uf6Raycd/bvsww== Received: by 2002:a05:6402:52d1:b0:62e:e7a1:46d2 with SMTP id 4fb4d7f45d1cf-62fa7707349ls1165914a12.1.-pod-prod-02-eu; Thu, 18 Sep 2025 08:36:39 -0700 (PDT) X-Received: by 2002:a17:907:60cf:b0:b04:8358:7d96 with SMTP id a640c23a62f3a-b1bb935d92dmr767954766b.51.1758209798683; Thu, 18 Sep 2025 08:36:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1758209798; cv=none; d=google.com; s=arc-20240605; b=j6uV3Jaymgr0eFUbfgSX4JS9wzA66UJNvddEMK2OfLinR8qZVRb3BcpJok62P0sQ2N dgJaz4X52ZjZgFQ43uff4WRir47w8VzmuXLcNapRYOWdLGHOxQ3VRvdGo6NdQqghcNgB NBCk8PtgsE22qvibXRnXBFXotGPgYkSKETKs8sAFdUO8cwbaMBpSwxLg10zSzrSyFWPA gqqCp9Ebv7SkXIOD5EpdwAGFos4khFCluaBtZTAe17+P6LkW1MBFQRaptcFcCLcfCePl eVvs6A6tWdAqTV0iXS+LmLjOuHwAe6J0FcbsoHOk6D2ZGfeVxwHqnmkLsJe6Va7fMMmZ CK1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=w56MkMThum1WU0dP+PLWvivQxFiwAsg2/7Wi+5KWDW8=; fh=5IPoofO8fd847Zr+LJ+89nR9QZf+bxlD0HrxkhpH2D0=; b=gs5f+hf1VwJVFpXZ7OlWObypsiplV/ZMGJCtfrAbUzsVz6h/M95VYHAfVW9f7yWMyj YnlQQv/vA80MqOVc90nDQ0Ar/6mlxUoFx5mdvq2rUL94UbDU5QGJ1rOiHU9svHkRxYIs owdNS80aRWj966+oMn1WLzreP736kraHJKtdlhaK2TIPDSPMsUtZj7UEyAbEgw5pVYEG hQ9q4QoLlUm1w4lD31btkC9a9l0a1HU8UpVBiVlOI/pr6gr/VhPHSMGJwb8LIyS+mewW thZ0yZRlLfaOC7xiRmugtgVrMMDlNl5E+BCbwuQ99EnB9YQTvEiVdKK4kdDH7lAf4sel xocQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=I529OoXt; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a640c23a62f3a-b1fcee3dae6sor118412766b.12.2025.09.18.08.36.38 for (Google Transport Security); Thu, 18 Sep 2025 08:36:38 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Gm-Gg: ASbGnct7uFhEuPLLOunR1c4R4ARpykvH5NvYh0L57Spz6dVLv73WH/r2F7oa8SV6Fy9 ulyTzA31n/AvT2ln4h+r6sNt4+1HqnvK3ZChEnAFgwaN9LBrmIzu7iARSDOy7FWUFbeGGUr+ijw LZ5Xhg3/jaktQYB3tgtMvLLbJVA8IQKS3NAMVwVuvyVfyR/LaIkZ2LMqb2JNqntQCzGwMHzSrhS UykAXuVlaPMYY1hosM/yHiW8maTeAgoPI9WAmZYmsLadiZAFr0LwMIevvv84tyov1tEpUz3gr0w +8kVBgJWG7XknhjVOS2NT7SiBySTy/QAMXrNzIwBA6t1jWeNFSd55h+IA/VIpquio+0CG1yoIoc WoengHJKEJ3hxozACpo7W9I3ZVtXox6bYbs1zlzPkvFkZcvS2NUwkHL8NwGQLhbCXOXwXFWrsr8 lpXvnhMtQDJ754TDpwfjamA8Cr4Uxtd4auQGw8y4FjI2NErQN66uJOuwUwba6Q8vJIXo5t04QWV l48R+Lp/H0AXobvnhrkYA== X-Received: by 2002:a17:907:2d24:b0:b01:6e50:208c with SMTP id a640c23a62f3a-b1bb226e5d8mr676897066b.22.1758209798188; Thu, 18 Sep 2025 08:36:38 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-82-56-38-125.retail.telecomitalia.it. [82.56.38.125]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b1fd272026csm212430766b.102.2025.09.18.08.36.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Sep 2025 08:36:37 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Conor Dooley , Dmitry Torokhov , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-input@vger.kernel.org Subject: [PATCH v4 4/5] dt-bindings: touchscreen: convert zet6223 bindings to json schema Date: Thu, 18 Sep 2025 17:36:09 +0200 Message-ID: <20250918153630.2535208-4-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250918153630.2535208-1-dario.binacchi@amarulasolutions.com> References: <20250918153630.2535208-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=I529OoXt; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Convert Zeitec ZET6223 touchscreen controller device tree binding to json-schema. Signed-off-by: Dario Binacchi Reviewed-by: Rob Herring (Arm) --- Changes in v4: - Drop "Phandle to the" from vio-supply and vcc-supply - Rename to zeitec,zet6223.yaml Changes in v2: - Added in v2 .../input/touchscreen/zeitec,zet6223.yaml | 62 +++++++++++++++++++ .../bindings/input/touchscreen/zet6223.txt | 30 --------- 2 files changed, 62 insertions(+), 30 deletions(-) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/zeitec,zet6223.yaml delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/zet6223.txt diff --git a/Documentation/devicetree/bindings/input/touchscreen/zeitec,zet6223.yaml b/Documentation/devicetree/bindings/input/touchscreen/zeitec,zet6223.yaml new file mode 100644 index 000000000000..d5e132ec0273 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/zeitec,zet6223.yaml @@ -0,0 +1,62 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/zeitec,zet6223.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Zeitec ZET6223 touchscreen controller + +description: + Zeitec ZET6223 I2C driven touchscreen controller. + +maintainers: + - Dario Binacchi + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + enum: + - zeitec,zet6223 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + vio-supply: + description: 1.8V or 3.3V VIO supply. + + vcc-supply: + description: 3.3V VCC supply. + + touchscreen-inverted-x: true + touchscreen-inverted-y: true + touchscreen-size-x: true + touchscreen-size-y: true + touchscreen-swapped-x-y: true + +additionalProperties: false + +required: + - compatible + - reg + - interrupts + +examples: + - | + #include + #include + i2c { + #address-cells = <1>; + #size-cells = <0>; + + touchscreen@76 { + compatible = "zeitec,zet6223"; + reg = <0x76>; + interrupt-parent = <&pio>; + interrupts = <6 11 IRQ_TYPE_EDGE_FALLING>; + }; + }; diff --git a/Documentation/devicetree/bindings/input/touchscreen/zet6223.txt b/Documentation/devicetree/bindings/input/touchscreen/zet6223.txt deleted file mode 100644 index 27d55a506f18..000000000000 --- a/Documentation/devicetree/bindings/input/touchscreen/zet6223.txt +++ /dev/null @@ -1,30 +0,0 @@ -Zeitec ZET6223 I2C touchscreen controller - -Required properties: -- compatible : "zeitec,zet6223" -- reg : I2C slave address of the chip (0x76) -- interrupts : interrupt specification for the zet6223 interrupt - -Optional properties: - -- vio-supply : Specification for VIO supply (1.8V or 3.3V, - depending on system interface needs). -- vcc-supply : Specification for 3.3V VCC supply. -- touchscreen-size-x : See touchscreen.txt -- touchscreen-size-y : See touchscreen.txt -- touchscreen-inverted-x : See touchscreen.txt -- touchscreen-inverted-y : See touchscreen.txt -- touchscreen-swapped-x-y : See touchscreen.txt - -Example: - -i2c@00000000 { - - zet6223: touchscreen@76 { - compatible = "zeitec,zet6223"; - reg = <0x76>; - interrupt-parent = <&pio>; - interrupts = <6 11 IRQ_TYPE_EDGE_FALLING> - }; - -}; From patchwork Thu Sep 18 15:36:10 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 4316 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 6F9323F0D3 for ; Thu, 18 Sep 2025 17:36:43 +0200 (CEST) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-62d9be22f6bsf1986371a12.0 for ; Thu, 18 Sep 2025 08:36:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1758209803; cv=pass; d=google.com; s=arc-20240605; b=CVX8trU+ogck/l/424yceUB2Px9NNJEwA9k2Yrn26VzZVEWYQ9TAS+6svrmbKREtv/ tASJm8/+w6FlQQjrebcGhsHHMmrh8mI3DSBuCxNlQvHvj2DoNK6AE6BYQD8Enm/unCHT 861li4jmi1zIcWGtbxGoa8f6idq+19ueXWNur4hh/eaJIIY96dKPNQnHi4mT7tkTU/PD akabBbTVFaKwtd+YxdhRKRj0HOuqPuOVZDiyLoRF80FcXjn/nfvQQmxA3WC7+nstiDOZ EIYf4Nd95dKTuikBkWz3wb/Qz4ZXvRV8q9FYPtWu8wTKpURxbXdYpCPmLvVToru9m3c8 MkJw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=3SYwxDqlGYJO6KXATE9keYHlQNr71HdAHAEsPcDzELQ=; fh=CayAblYKn+ZOY195MkvS9//RY4wPWBYIUq5QPgDDfis=; b=KdJdDLINYYmUkr2jGpn0B7F4kXFvCuYp1Qvc/6mVLDq+MP3fHjdlkoDNJbH4IcP7fm iKqtK1dD0tlfv4JlCBFlqJrcBM+q7NhzDsMxb65/VK+AmC0IHtj2RveUdbL3piZvgZMw DV+4nRh2IO7zMcx8xmi4JolHbVBK0qyUWkQGoOillW+r91p3kbRVaCdWnNrnQR0DGTnr EjOua2fF8tlqg40BB+/OQt0oKf22ol7XXdZIXXNmF6jkVUu79o8eEIZs51EO5kLbDRou UTu9CqUjt5ZqAOxAjRyWvCFtc0N6WB9nnWWTt+BOVsuC/k3HncKlUWlhdPOWyHy0Wfg+ jxJA==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YP2X74Oq; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1758209803; x=1758814603; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=3SYwxDqlGYJO6KXATE9keYHlQNr71HdAHAEsPcDzELQ=; b=AdiEDWs38m8JO50WPCA1IXWEvwAzjRgOeEPhikQAByWAXFt+A+n/uWlyBFLKJkikFz bmyB3A223lUzFmjxOrluk3pqWCF4MdULAIet23VIdWW/salU+nXMhMNb6ghOmLyePm7l 2yEwxET9zhLnAwC3ehQv3ZHZsSCWfSKShmrcw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758209803; x=1758814603; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3SYwxDqlGYJO6KXATE9keYHlQNr71HdAHAEsPcDzELQ=; b=mLNlBWhjQ4TsNIZgRup8C7/qKEpyjvTjrLY7LYxO+ZfsAnDL7tDZyr+8AQJ8FuMzLL euy6qzCNlem3zeEvCUiyJ4ZVgsKoW4HxaRL6xcqJ9Jd0fXZYFAYt4akRS8OH6kC2io2L 4Fgul21vJW6M+VjrYraOrK45hQPv/WXpkmaknGE3x4gusXumRcXl/194EQmpx9GOuMmI e0Vd/N7plU7gHyA4WfIMDxQuFvvMZWQ63KXq4o0jBa0S/g8XQ3otYnENfo7S3iSo5fJZ NqVCmjGW7GJhZod2/luAXt4PNkD6nHy9K9dywYoDzD/QLrEiHgKgZfYL9bTEdHIWLoU4 gxqA== X-Forwarded-Encrypted: i=2; AJvYcCVNFmWd7dorjaJcd9F7rc8uzzeqBasmB4eFiyGb1C8EtpZSIIujBKQ8My4sfkXAXqV1vssvWSArRAOGYq3O@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YxJ/lZ/XnBqVlq2E2s9awp5Hdp7pQkThAu6EZI84L2t+rw17ADu KZfqNh/6rI/bzy3D2Gb8aaSAKHzyrj8+Ub9Z7r2uOmGTGwjxC0BH7pppdTaKnrMz2wZGbQ== X-Google-Smtp-Source: AGHT+IGlKpD7yMbSiBhEtI/c9HGTyKjL9XDZYD7/+QfDDzu8qyGqTI/wAfEzLhKEhHm2TupPQlGYMw== X-Received: by 2002:a05:6402:290b:b0:61c:b23f:417e with SMTP id 4fb4d7f45d1cf-62fa2134effmr2429761a12.2.1758209803088; Thu, 18 Sep 2025 08:36:43 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com; h=ARHlJd6N4eKVYa+5MfdCOYLPvk1FlTkRKrB2oJKUUcMgFWtN+Q== Received: by 2002:a50:baef:0:b0:62f:b0fb:73cc with SMTP id 4fb4d7f45d1cf-62fb0fb7551ls289379a12.2.-pod-prod-00-eu-canary; Thu, 18 Sep 2025 08:36:40 -0700 (PDT) X-Received: by 2002:a17:906:fe49:b0:b04:5888:7a7d with SMTP id a640c23a62f3a-b1fac7bfd56mr351750766b.22.1758209800412; Thu, 18 Sep 2025 08:36:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1758209800; cv=none; d=google.com; s=arc-20240605; b=krvAWjqPc1xnlUSoPDmX9xUHG9GKSjR0rn9//dOZ8iQin7RfTkiJ+HBil8Dc3d4LgQ SciwU8hw4INsWDxor38a3DAqTNxJ8RDnFGuGzWnZ8e/fL79qnhc0oZxNlhTflrybnRGg Vc6pHyr0qXEuDELnbPNcOoNmOr3JLzIAZylpejH2MdoNk9MzCyVZ2LB2ALmtP/Mh4gKO VQbpAtSGHTsiwadi1eJpys91vttUTsu7yRwgvNKPfRbgDoRiA3hia+g+B0XoOI4myI9N 0C6VoF0VW2aVWU2rKp/jfYp3/V3Z7vDSNuBXXSLTG/DhWicABC0cyytIP6SK4xbpq5HL K61g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=uNO/I2yItTXLiDSbQlltWztaUTi6rNx8Ylu9Dt/JXIk=; fh=uUfzCs9IO8m15UcutA/0nW5w6HA2wWOWolXZY30c+TM=; b=KiAyi3gxMl+ob/ZhGdPNQMbEw417ZkIJxrZ2LQsFZF9zpFPYF6WaR30/bAJIdh+gOP 2Y/UE3k82n40urTVOcEZZu6kA9GcKJnhFsI7NcQn53hjLWdERiROUllg5LABnrjzgwnA 8rkvgwOsf3+T30+b/1BEQBllpYNToKnVaAvcjdvdYE7A77gvZPYy3+1oVdeJqKmYToZ0 g2H8YdYTa6GsB+Df8vF9FYj3Vjw/x2hPIWzgn5E8UEUiJ18ryPYg8qYDOcOoPz2K4UgG QYmQRiNBm92r5VCP50i2nBaGLxx6QBiKHeT/+fNVA6lJk7zmtOsJFZWAo+HJFEYvtNfL 84+w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YP2X74Oq; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a640c23a62f3a-b1fc68ff012sor162747566b.1.2025.09.18.08.36.40 for (Google Transport Security); Thu, 18 Sep 2025 08:36:40 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Gm-Gg: ASbGncvjfOIAl1eojD4aRYPjsAihvL1X+x4TSoJYdkM3UUksGkWyX+iLsLFmXKJvW0O RfhDg2YzIf7rnt8WzERAM5hNFfqf+UQcrjh+lZ2f66i9NlJlhhZe7hKlS79pT5P13SODOivNv1o ao/hho9TzpNaow271cFhmrEO0jp8q4uutM77jBJG/lXe65gZ7ll5HvLDfugD/f5fXijeUmmBbsO glyOCD9hfSQ5DjwyHb/X9SfkigHHGrm51SGsacWwq3qNYqywLpBlgrj8C6B7MmIFM7OR3LeOv9Q hWEj/jnN+xZASm20pGwczbR3t3gKJPW5cE37K19+VVOBziFbRFGDhokZG53BysyqhZPprltq6Dz 86rlRdkMbdlJlN0bldLdvdk4nEwZpcxnMF7TsXz4Brw/d6xq2S4Cy4+atxT9pUdP9pCiEqbImSB 2C/i8rHzYZif0hIBr9w21nGFk1da1XjaSyB4k+lBp2HVxg5M1oAGwWNt3ocbsbq+qBApMGUN2R4 ZkrTsK3TyoocgtnNxzqxQ== X-Received: by 2002:a17:907:60ca:b0:b0d:95cf:2eae with SMTP id a640c23a62f3a-b1fa8359440mr456702266b.5.1758209799966; Thu, 18 Sep 2025 08:36:39 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-82-56-38-125.retail.telecomitalia.it. [82.56.38.125]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b1fd272026csm212430766b.102.2025.09.18.08.36.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Sep 2025 08:36:39 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Rob Herring , Conor Dooley , Dmitry Torokhov , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-input@vger.kernel.org Subject: [PATCH v4 5/5] dt-bindings: touchscreen: remove touchscreen.txt Date: Thu, 18 Sep 2025 17:36:10 +0200 Message-ID: <20250918153630.2535208-5-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250918153630.2535208-1-dario.binacchi@amarulasolutions.com> References: <20250918153630.2535208-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YP2X74Oq; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , With commit 1d6204e2f51f ("dt-bindings: touchscreen: Add touchscreen schema") touchscreen.txt is no longer needed, and since no other file refers to it, it can be safely removed. Signed-off-by: Dario Binacchi Acked-by: Rob Herring (Arm) --- Changes in v4: - For rohm,bu21013 bindings: - Drop description from reset-gpios - Simplify description of avdd-supply - Rename bu21013.yaml to rohm,bu21013.yaml - Add Reviewed-by tag of Krzysztof Kozlowski - For zeitec,zet6223 - Drop "Phandle to the" from vio-supply and vcc-supply dscription - Rename zet6223.yaml to zeitec,zet6223.yaml Changes in v2: - Update the commit message - Add Acked-by tag of Rob Herring - Add patches: - 1/5 dt-bindings: touchscreen: convert bu21013 bindings to json schema - 2/5 dt-bindings: touchscreen: convert eeti bindings to json schema - 3/5 dt-bindings: touchscreen: convert raspberrypi,firmware-ts bindings to json schema - 4/5 dt-bindings: touchscreen: convert zet6223 bindings to json schema .../devicetree/bindings/input/touchscreen/touchscreen.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt diff --git a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt deleted file mode 100644 index e1adb902d503..000000000000 --- a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.txt +++ /dev/null @@ -1 +0,0 @@ -See touchscreen.yaml