From patchwork Tue Nov 28 08:42:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 170627 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3769658vqx; Tue, 28 Nov 2023 00:46:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IEt1sZlYZByJ0HceWI6rZGXvKTun9E5DQYGXI/oHVdfpQ0LKDHr5dJnrv5ZT2Gw2bDA2P4f X-Received: by 2002:a05:6870:568e:b0:1f9:515e:24a7 with SMTP id p14-20020a056870568e00b001f9515e24a7mr18618813oao.18.1701161178296; Tue, 28 Nov 2023 00:46:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701161178; cv=none; d=google.com; s=arc-20160816; b=bARSZIx9quo2sPNnojg1m2km/vDhOmfCQpGw1xQWwzkN37rUgd5ZV6KohiL/vr7MsS FvpIEVIzM+QvoX7X7EuIe9y4Xt+EEr77NYR4nYadv1dGtQ8nvHhqJ6aScSNQW2Ifb21S zm8jzNMtrhUJxqXlTfecb7CnzoiBEEqNPg/VHFAntBbVDjFcryyHagqaFjqoaXBOa5dz wCVrwN2uf9wp7StExJeiGNS/kWV9r+BTsC6nyD3cXWTl1AcCPtOm7zoyJVkWd3jLyvQ1 LfCLG0Z44Lz6S2aEiprGMFHJTxdyJbL43pihtVU6MyEkk09s5v9WEmcRR5eVrGxyKgk4 jmFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dxKs9xH99OQyNQM5ja7w5sBqIVdDZ2l2tkwooD9gc1c=; fh=8QP7fVOWLSDOp8hxtrSQbFKqGDfCbAKvH6yY7D4IGkc=; b=JzpR+c3Jr+F8yAg7ufY5hUZ39l+SZX0WL1gHvUBz35Kq3dnQqkJUlCn3OhWZJeAcZo baL+NRgdc90QQqBrQ2qL4mA+pC08ssM3VjtRmCZMv8elMK7sQ3NFX/U5MNdfgGTX2Bca cYpbqQOB4ubMHM93WANVqy4mME+H0IGdJ0/Tay6WcjJFKnRftVpNBtHYgOcu9yke/5By 7X8AcYF5CGnczbFbgVRtvqbCsqB3hSqTcHU72f1ukGlLtDWin9decvyMMMa5OiZbadNG q9u++OKqAgbXk6yz/R9JtNOj1wF42J3zz4uZae5QBC4pAeYtcQOVCaXXKG/lCRdwGBeA +WKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=M7OCSlHr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id u1-20020a056a00158100b006bd360e70edsi12180142pfk.103.2023.11.28.00.46.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 00:46:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=M7OCSlHr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 47E248081CCD; Tue, 28 Nov 2023 00:46:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344212AbjK1Ipm (ORCPT + 99 others); Tue, 28 Nov 2023 03:45:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344247AbjK1IpX (ORCPT ); Tue, 28 Nov 2023 03:45:23 -0500 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A937BD56 for ; Tue, 28 Nov 2023 00:45:27 -0800 (PST) Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1cf89e31773so35328455ad.0 for ; Tue, 28 Nov 2023 00:45:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1701161126; x=1701765926; darn=vger.kernel.org; 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=dxKs9xH99OQyNQM5ja7w5sBqIVdDZ2l2tkwooD9gc1c=; b=M7OCSlHrgPke0dbRqhyKdV1U2j9DpXjb4BCazCV3m+84qXU2FL1ddycrfXCIqHph/f ho6kJGxPgWAnRHqRtJAJRY2tqfLbYFoAVS5FClxouPLTXDerBCtgJN1NI8jPG81stcAm tovPvDMh9jBVtmUBDucEX24Dj789D8LC366RQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701161126; x=1701765926; 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=dxKs9xH99OQyNQM5ja7w5sBqIVdDZ2l2tkwooD9gc1c=; b=JVavb0rsOiWLLjAN1678dGVcbwRk+POmuhL6VI9jmcwOMhJI8tFjD7e60+6bsws7YH +3nYKGs7reeU1pJ4GEG2C3LOMEY1YI4sqNcLTyeoD1h1CE1paowjmmoPWz6DoEH2/viO iHw3cYKyhD4IxevHAu9kaYi7izoaLlsG7dAq3/FJEzqcxSmoJVvTEwVvSa6XzSzCgPWZ Clp1VqDjyPQ6EPOUPmSw1eJIo9PvyXRZ3FNOplXGPEwDBe65APUornHgUch9b95YJEmD w49sP97/qQRbMXLICPVzh78KpfTV/HSAU06HzwBe8J3W9oGMrgFdUOGg8Qjj3YaADtX4 B8bA== X-Gm-Message-State: AOJu0YwTFsMAMpOapuyM6ZXSHBlTmAmI+fAx/9ZXuCOcro29rL8gogbG 6KYFLrRiV93SFCswpxXupTqCbQ== X-Received: by 2002:a17:902:988b:b0:1cf:b130:e9af with SMTP id s11-20020a170902988b00b001cfb130e9afmr10074896plp.20.1701161126645; Tue, 28 Nov 2023 00:45:26 -0800 (PST) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:a990:1e95:a915:9c70]) by smtp.gmail.com with ESMTPSA id j1-20020a170902c08100b001ab39cd875csm8358074pld.133.2023.11.28.00.45.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 00:45:26 -0800 (PST) From: Chen-Yu Tsai To: Rob Herring , Frank Rowand , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Wolfram Sang , Benson Leung , Tzung-Bi Shih Cc: Chen-Yu Tsai , chrome-platform@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Douglas Anderson , Johan Hovold , Hsin-Yi Wang , Dmitry Torokhov , andriy.shevchenko@linux.intel.com, Jiri Kosina , linus.walleij@linaro.org, broonie@kernel.org, gregkh@linuxfoundation.org, hdegoede@redhat.com, james.clark@arm.com, james@equiv.tech, keescook@chromium.org, rafael@kernel.org, tglx@linutronix.de, Jeff LaBundy , linux-input@vger.kernel.org, linux-i2c@vger.kernel.org Subject: [RFC PATCH v3 5/5] arm64: dts: mediatek: mt8173-elm-hana: Add G2touch G7500 touchscreen Date: Tue, 28 Nov 2023 16:42:34 +0800 Message-ID: <20231128084236.157152-6-wenst@chromium.org> X-Mailer: git-send-email 2.43.0.rc1.413.gea7ed67945-goog In-Reply-To: <20231128084236.157152-1-wenst@chromium.org> References: <20231128084236.157152-1-wenst@chromium.org> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 28 Nov 2023 00:46:01 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783796783769772555 X-GMAIL-MSGID: 1783796783769772555 This introduces yet another second-source touchscreen found on Hana. This is a G2touch G7500 touchscreen, which is compatible with HID over I2C. Add a device node for it. In keeping with the new scheme for second source components, mark it as "failed-needs-probe". Signed-off-by: Chen-Yu Tsai --- Changes since v2: - Drop class from status --- arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi index 1d68bc6834e4..216d8b43be05 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm-hana.dtsi @@ -31,6 +31,15 @@ touchscreen3: touchscreen@20 { interrupts = <88 IRQ_TYPE_LEVEL_LOW>; status = "fail-needs-probe"; }; + + touchscreen4: touchscreen@40 { + compatible = "hid-over-i2c"; + reg = <0x40>; + hid-descr-addr = <0x0001>; + interrupt-parent = <&pio>; + interrupts = <88 IRQ_TYPE_LEVEL_LOW>; + status = "fail-needs-probe"; + }; }; &i2c4 {