Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1039946iob; Fri, 13 May 2022 20:41:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6y5k6TRW4/CFquZjDAuJVQOoOCctdOuSiQQDV+f05OFy3/3ngSot6oDyeh0OmNo+dowfQ X-Received: by 2002:a5d:5107:0:b0:20c:d53e:e7a5 with SMTP id s7-20020a5d5107000000b0020cd53ee7a5mr6212561wrt.310.1652499684027; Fri, 13 May 2022 20:41:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652499684; cv=none; d=google.com; s=arc-20160816; b=s+am7mw6S0Ia7l2j4cZuTN5l7mlgUsA98xjNbjD6Q8c7tVV5c45Pcb4JHhJVOiWS6q xhayJ0wVlfSMwTfvueh+UvBbj0H/ekUgmxz+02rx8tKt4FYH9YqU+HcX1zu8tgLR9h3J LaKZV4NWMW2FpzHsWKajnS3R19O4zX0SbBNpHF2ql4ZniH5htbbwqwYqs3zygDCa9Del WsRi280RV0vrt1v0nJamyKZ0PIGWoCtwAJCRmtEucLAwoqPSx1SrVJFqzLa1qTfLHD0z 6GptvlP/HP3160SBH6rxhSjYURn2V/nzhM/s7zSWKYGJpo5TdzGKy2wdg/gUf3WmVRat e34g== 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=upuDcz46g67NbRpmuDfeF5ccAwOTTI3sOrI5EHWMeLs=; b=ngSlQbOV29wx+ErhuVBi0qVxeYd/35AW1IyqrVD9S+nCQIgCHgOJyAIK9LLz7xebTO SbBCUZx43fOe1Bu5JjHVxWaonnRtQYRbnISBpPJccab4MOytduwwtjXnTXtS+Kt4pdEm iwNFJYar2pT3VSMxMrIjKXk8mDBo0YOiTvJVjtSzX4kG/zO+nb95AsMgmRqLm83H7T+M cBoPoiNoh+0YaTkNHyR2O6a2XJ3X128IE+kXJEqdkaoO/cXzW2ZVFEnHAwgzuj3cqEcL OFufj7pgoksw4QDm9wK8XHoH5Bg6WyIunSkjzBeZ4atCsf0MO1D58hNVjN29fNrQCLft xy6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=HJ8wu6AY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l22-20020a05600c4f1600b003944ff0d810si268697wmq.216.2022.05.13.20.41.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 20:41:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=HJ8wu6AY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 177C132AACF; Fri, 13 May 2022 17:16:27 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358611AbiELU5L (ORCPT + 99 others); Thu, 12 May 2022 16:57:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358571AbiELU5A (ORCPT ); Thu, 12 May 2022 16:57:00 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9055A68FA3; Thu, 12 May 2022 13:56:37 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: nfraprado) with ESMTPSA id C44701F45948 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1652388996; bh=j9EKFrnbOZbyTcEQCEWfG2IS74kguTTzKhClb3b7Sbg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HJ8wu6AYCA+FpIEs9q8u7ovvjzcuuduExswm/0ZNchZ7YXJhw1nHCIZxRFBTtOveS w/DZz7DRShWZ3LLaz17T1ZF8srgWgCZIrAa4J6y6OSgItZ8CRewkgRcwiml6Qb/ojd UFw3SZ9bt3tsf2Tg89pbOZ5zhsjExbmuRzukLJKBSijxb1p/JDQ3zUfZ69+jOaRaIJ gTOulhx+Rpkr/vtFoz3gSEggfsbBJBw1dJM+m6TTSoY7oVZ+gkAkiW53Cps09kMH4n WNOZtYFsETBGGHwOBzDHpG3yUwHXdHRjfLSaMb2nVY4pDnj6GGG6Rg6mB28mlx89hW cycLiWuUtha9w== From: =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= To: Matthias Brugger Cc: Chen-Yu Tsai , AngeloGioacchino Del Regno , kernel@collabora.com, =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v3 10/16] arm64: dts: mediatek: asurada: Add Elan eKTH3000 I2C trackpad Date: Thu, 12 May 2022 16:55:56 -0400 Message-Id: <20220512205602.158273-11-nfraprado@collabora.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220512205602.158273-1-nfraprado@collabora.com> References: <20220512205602.158273-1-nfraprado@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for the Elan eKTH3000 i2c trackpad present on Asurada. It is connected to the I2C2 bus and has address 0x15. Signed-off-by: NĂ­colas F. R. A. Prado Reviewed-by: AngeloGioacchino Del Regno Tested-by: Chen-Yu Tsai --- (no changes since v1) .../boot/dts/mediatek/mt8192-asurada.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi b/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi index ddf18861edad..a63b3c86d650 100644 --- a/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi @@ -109,6 +109,16 @@ &i2c2 { clock-stretch-ns = <12600>; pinctrl-names = "default"; pinctrl-0 = <&i2c2_pins>; + + trackpad@15 { + compatible = "elan,ekth3000"; + reg = <0x15>; + interrupts-extended = <&pio 15 IRQ_TYPE_LEVEL_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&trackpad_pins>; + vcc-supply = <&pp3300_u>; + wakeup-source; + }; }; &i2c3 { @@ -440,6 +450,14 @@ pins-bus { bias-disable; }; }; + + trackpad_pins: trackpad-default-pins { + pins-int-n { + pinmux = ; + input-enable; + mediatek,pull-up-adv = <3>; + }; + }; }; &spi1 { -- 2.36.1