From nobody Mon Feb 9 23:57:44 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33C2BC77B7A for ; Fri, 2 Jun 2023 14:10:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232213AbjFBOKz (ORCPT ); Fri, 2 Jun 2023 10:10:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235581AbjFBOKw (ORCPT ); Fri, 2 Jun 2023 10:10:52 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B9FA1B9 for ; Fri, 2 Jun 2023 07:10:50 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-65131e85be4so1756269b3a.1 for ; Fri, 02 Jun 2023 07:10:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=huaqin-corp-partner-google-com.20221208.gappssmtp.com; s=20221208; t=1685715049; x=1688307049; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=t0soG1YhojKKut/cvwo6U1h/OP9R4kqmXMLSIIqytqQ=; b=TNXO6ls5E7h7hjiAsQ7kmw+fxCeQAosJNW0XHdKzfsQmvmJOYjgDFlnzJFPaepN8kf uyixpf+sCYWWPO+7q2fo04nrvwCXIfYKc8vNLBmjkkxwr/l1SDD7yniYybGo92sW+ZD+ YPyvteU36FRDSutziZtgYJ8l/zhtlTE0cVZykJlsV7RJnwQ0NbZiVcj6YEw++Pnyhi6D tD3OfFsRzBklFekkSWIHnquoQ+VoEI9Z6Ha0/OEXaeepnNjIbrVq/+hl9IFsNM4VoqB8 iBfXYJVpI/A5GFRMoOi238knjLbxDXPSESIIl+byx25IKwIbhJHyUWaKOzL1a6bxrnl7 YlVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685715049; x=1688307049; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=t0soG1YhojKKut/cvwo6U1h/OP9R4kqmXMLSIIqytqQ=; b=QQ0EGX+RxMWqnLUubBErhfzImQFpg4wGUTbd6EmLXTBnuUh9hL9DRLPzqYi/zWUZga SsjMsB1FXGgk7d3shS7Ag0ytesQt5xkHfp0t100MdHeRATiVbpqzIhd1jn1DB+s+skix KomWI7hYybdXJPLFl8ImQ6bDsN4/EWjInLGufJ3kFSBbT9SSCvcZaTFlQQmvxAMv8lrE rr1WS/STEmfHkWKdHcbCU6YWQC9ibxR+iezLYgEco426FPu6k79sR/n43TQHts6nnNRV lBxMQZQjpGVX9ejuYKLG0qlKXMA5oqE03Og/Pa2PBvYUGl5S3LsIDFHFx8MNtLJw0+s+ lvvg== X-Gm-Message-State: AC+VfDwOajQ80tdzcjDEvlwFE9HDptGobp9/oiXw3JgQ/rbWOaTOgwXH Gp2R4IsSUI94FZkgI0+OsRewmg== X-Google-Smtp-Source: ACHHUZ7BaTuk4zgrW6ynZZ1k+iErc4S59mBqXFZ3f+UaLGZkRLdAFVMSLH3Y6ylsaaoJbY4YR0Z8LQ== X-Received: by 2002:a17:903:2343:b0:1ae:5f7e:c117 with SMTP id c3-20020a170903234300b001ae5f7ec117mr24943plh.60.1685715049702; Fri, 02 Jun 2023 07:10:49 -0700 (PDT) Received: from yc.huaqin.com ([101.78.151.214]) by smtp.gmail.com with ESMTPSA id c11-20020a170902d48b00b0019e60c645b1sm1370878plg.305.2023.06.02.07.10.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 07:10:49 -0700 (PDT) From: Cong Yang To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, dmitry.torokhov@gmail.com, jikos@kernel.org, benjamin.tissoires@redhat.com, dianders@chromium.org, hsinyi@google.com Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Cong Yang Subject: [PATCH 1/2] dt-bindings: input: touchscreen: Add ilitek 9882T touchscreen chip Date: Fri, 2 Jun 2023 22:09:47 +0800 Message-Id: <20230602140948.2138668-2-yangcong5@huaqin.corp-partner.google.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230602140948.2138668-1-yangcong5@huaqin.corp-partner.google.com> References: <20230602140948.2138668-1-yangcong5@huaqin.corp-partner.google.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add an ilitek touch screen chip ili9882t. Signed-off-by: Cong Yang --- .../bindings/input/elan,ekth6915.yaml | 36 ++++++++++++++----- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/input/elan,ekth6915.yaml b/D= ocumentation/devicetree/bindings/input/elan,ekth6915.yaml index 05e6f2df604c..73e94cb6c4e0 100644 --- a/Documentation/devicetree/bindings/input/elan,ekth6915.yaml +++ b/Documentation/devicetree/bindings/input/elan,ekth6915.yaml @@ -15,11 +15,15 @@ description: =20 properties: compatible: - items: - - const: elan,ekth6915 + oneOf: + - enum: + - elan,ekth6915 + - ilitek,ili9882t =20 reg: - const: 0x10 + enum: + - 0x10 + - 0x41 =20 interrupts: maxItems: 1 @@ -29,17 +33,31 @@ properties: =20 vcc33-supply: description: The 3.3V supply to the touchscreen. + If using ili9882t then this supply will not be needed. =20 vccio-supply: description: The IO supply to the touchscreen. Need not be specified if this is t= he same as the 3.3V supply. - -required: - - compatible - - reg - - interrupts - - vcc33-supply + If using ili9882t, the IO supply is required. + + required: + - compatible + - reg + - interrupts + - vcc33-supply + +if: + properties: + compatible: + contains: + const: ilitek,ili9882t +then: + required: + - compatible + - reg + - interrupts + - vccio-supply =20 additionalProperties: false =20 --=20 2.25.1