From patchwork Wed Jun 30 11:51:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Heidelberg X-Patchwork-Id: 468904 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C21BC11F65 for ; Wed, 30 Jun 2021 12:01:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1C60361883 for ; Wed, 30 Jun 2021 12:01:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234309AbhF3MEV (ORCPT ); Wed, 30 Jun 2021 08:04:21 -0400 Received: from [94.230.151.217] ([94.230.151.217]:44888 "EHLO ixit.cz" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S234148AbhF3MEV (ORCPT ); Wed, 30 Jun 2021 08:04:21 -0400 X-Greylist: delayed 588 seconds by postgrey-1.27 at vger.kernel.org; Wed, 30 Jun 2021 08:04:21 EDT Received: from newone.lan (ixit.cz [94.230.151.217]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ixit.cz (Postfix) with ESMTPSA id 6C5CC23B1D; Wed, 30 Jun 2021 13:52:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ixit.cz; s=dkim; t=1625053921; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=y1XL/hYUEe4pWSBZNrr6vcPc+Q9l5vvzj2hUWj7Z/8E=; b=xDa463UlFhTvYmEfNZHhVAEKesM/Fvsx8lNCXI/nHZk0c96HA1PwzRxv67vuoRbaxM4O6C KeA7+kjSFY20sCaCqD3MEDYYzU3MqQmcV6OrQY2xuxrwE5aDhgw5WoYC/5PcY5LegotpM1 9iq8aCLCJkq0rQejGMOt/4MFnGO3UAw= From: David Heidelberg To: john.stultz@linaro.org Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, David Heidelberg Subject: [PATCH] ARM: dts: qcom: nexus7: define touchscreen properties Date: Wed, 30 Jun 2021 13:51:14 +0200 Message-Id: <20210630115114.19808-1-david@ixit.cz> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org This change makes touchscreen work as expected on Nexus 7 2013 (tested). Signed-off-by: David Heidelberg --- arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts index 3cf7650ca086..e7ed775abc5d 100644 --- a/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts +++ b/arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts @@ -306,11 +306,17 @@ i2c@16280000 { pinctrl-0 = <&i2c3_pins>; pinctrl-names = "default"; - trackpad@10 { + touchscreen@10 { compatible = "elan,ekth3500"; reg = <0x10>; + interrupt-parent = <&tlmm_pinmux>; interrupts = <6 IRQ_TYPE_EDGE_FALLING>; + + touchscreen-size-x = <2240>; + touchscreen-size-y = <1350>; + touchscreen-swapped-x-y; + touchscreen-inverted-x; }; }; };