From patchwork Fri Oct 18 13:13:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Te Yuan X-Patchwork-Id: 13841759 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B9225D30007 for ; Fri, 18 Oct 2024 13:20:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=+dRN7sp9adnaf0gmX/kygO9824Q5cpdY3njPLrCdXXs=; b=G9yVHFlpOzW1U8pdhR4jPvRADW U8zzI4BSsV/7XI1s95n7AJr/eEaCyLmENkj8+BzjjgonyHABgMI25Rkm5AT1MrWmj2PSx7z9m074x QAfzyeWPqIc3u7AFf313dxxeYbxtnhrAt6jRe8rtHLLuptkgqjDeWUoY1kc86yljITr5zYDTldTHM pScfH47MPdKKnVa9yE3yyEB1JxYw7kexyTG2XfagnK39lnbBvg/2mMge/keB7wHvaYPuYH6qbr3Hc JWVJaw+VYS2r920p6ZcTe64K+zZiOpH6Ueuc5unK8inyuvYlJB+9v8zpNTmYcWiyT62Km08o1ehhi Il/CM+PA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t1mu7-00000000rRG-1lBw; Fri, 18 Oct 2024 13:20:31 +0000 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t1mnl-00000000qLv-34oy for linux-arm-kernel@lists.infradead.org; Fri, 18 Oct 2024 13:13:59 +0000 Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-7163489149eso1638121a12.1 for ; Fri, 18 Oct 2024 06:13:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1729257237; x=1729862037; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=+dRN7sp9adnaf0gmX/kygO9824Q5cpdY3njPLrCdXXs=; b=HFWzybYy5CrOTVNhgoNlQd+pk58YdUbXD6q8ZRDYmdqcL71UEUpqEouHQygVLQKUH/ yWydS/Kf30h8qLzC+VfE17y2sAlX3tCIZn4WXk33jJijufDfMLBjfXjsCJ2BMT7Z4ws+ T+85owdS6YwrH4ir6Oak2Gj1bdYmo1ETDbt2E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729257237; x=1729862037; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+dRN7sp9adnaf0gmX/kygO9824Q5cpdY3njPLrCdXXs=; b=kEI0SCk7FMaNBWly+dnpIqLeqY4Lv8aHOInR28qiwLHGZP84do0HQXuVb9Aara7NR3 APNeahUkFg2sWjqkQhfWF0ZjNMcV7Inu9T7qXiAZd325P+XEYtJPqRcvuhuHC9+SSoXk yugR3/rODnFiCJZYKekO9LdXVZ4j9DsWKbr0+uHyLU/PTAC/aj0OS97lgPdHQhAExw6H nSgtqrMgAFWFNCgg1ZQQ8yoEjiN69KTVtkQ8VHc4BJB9p63yDDXqhRmTj9kC+CL1wBr5 Y/r0hY3UXlBed4MfsKPBxkq2CEP45YMDKydJlaCWuzu2/F1rUieOlh/9KWxoQveYhCsF Q9WA== X-Forwarded-Encrypted: i=1; AJvYcCUwqwvc1E4xFB+jpRgM1szH+2pjk5gN3Vl5g6r5BmH02MZOE9l3Az9QkXhUVxtUXlLiVcqId81M8lU7+Q/ZOpnn@lists.infradead.org X-Gm-Message-State: AOJu0Yzyur0Cwm/6YRtWgeyvydLm/FBMicvX97HdhyLuT3RbpLLuCq9i jijXJK2vAU5mmvpqUN4qk6sCwpPmfcKZPfq7CxPea7ss/8lyRx2bY57RZbtXVhMnd+E7RYDE2pI = X-Google-Smtp-Source: AGHT+IG28NlyG5rPtxLjr3QMID39Dq27Ev7Stc0ZZoqqQfbQBGFdiwKlYI1AT/T18xmyW3UlwwjAkA== X-Received: by 2002:a05:6a21:4a4c:b0:1d8:fd01:52b7 with SMTP id adf61e73a8af0-1d92c4bac01mr3296386637.2.1729257236906; Fri, 18 Oct 2024 06:13:56 -0700 (PDT) Received: from yuanhsinte.c.googlers.com (176.220.194.35.bc.googleusercontent.com. [35.194.220.176]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7eacc256cc8sm1120222a12.56.2024.10.18.06.13.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Oct 2024 06:13:56 -0700 (PDT) From: Hsin-Te Yuan Date: Fri, 18 Oct 2024 13:13:43 +0000 Subject: [PATCH v2 3/4] arm64: dts: mediatek: mt8183: kenzo: Support second source touchscreen MIME-Version: 1.0 Message-Id: <20241018-post-reset-v2-3-28d539d79e18@chromium.org> References: <20241018-post-reset-v2-0-28d539d79e18@chromium.org> In-Reply-To: <20241018-post-reset-v2-0-28d539d79e18@chromium.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Enric Balletbo i Serra , Hsin-Yi Wang , Benjamin Tissoires , Hans de Goede Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Hsin-Te Yuan X-Mailer: b4 0.15-dev-7be4f X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241018_061357_812180_8AF94661 X-CRM114-Status: GOOD ( 10.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Some kenzo devices use second source touchscreen. Fixes: 0a9cefe21aec ("arm64: dts: mt8183: Add kukui-jacuzzi-kenzo board") Signed-off-by: Hsin-Te Yuan --- arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts index e8241587949b2bc238ffa85f8fa6b6ca78b1d6f5..813e6bf65b62ee6742e52133f9adf7e83a6078c5 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts @@ -12,3 +12,15 @@ / { chassis-type = "laptop"; compatible = "google,juniper-sku17", "google,juniper", "mediatek,mt8183"; }; + +&i2c0 { + touchscreen@40 { + compatible = "hid-over-i2c"; + reg = <0x40>; + + interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; + + post-power-on-delay-ms = <70>; + hid-descr-addr = <0x0001>; + }; +};