From patchwork Sun Oct 16 10:27:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Job Noorman X-Patchwork-Id: 3000 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp962303wrs; Sun, 16 Oct 2022 03:37:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5XI6D+JnuXZ1Zk1zjwB8zNURcTtb57PBrEGbNDDZ9fdzqI7pCVz0xzfy+0TF3Sx4Dg+Btn X-Received: by 2002:a17:903:1112:b0:179:ce23:dd57 with SMTP id n18-20020a170903111200b00179ce23dd57mr6838882plh.114.1665916636146; Sun, 16 Oct 2022 03:37:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665916636; cv=none; d=google.com; s=arc-20160816; b=pX8vxwI8JvlXi9ZJJGR75O50mLpSegGd9nRgX4nW7TF6YNZEr43kbYsLBMMHZn7VvA g7BrVA2KuPh6+l6pIO3scch1EpG6iChT63s4Ev8Gx1DXHl7Mzf8dZPMTUSk465wdR2zP LsjWXmi3O+sC+p1i2WOz7aECiY4aq9aG3ZpruonwQ6NtFlX3M2nge6q8c/OktnodR2l7 laFq5te2jr5+oMWgQFKUaoPdjieiILvshqJoGLsDprvxW3+8YNn64VKr9mkNyfNskpm2 bujlbvPCdVeCJsN+z7HE7KXHMRYW7G6tKr5vJozXYBWRviAneYmRhOtmdl7AvzKQOQyA DvZA== 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=S9dcsqJ0RaWCdCguljfpy7EPjfO3aVZqXfHBh2syRzs=; b=c51swCOnJa70d4yLakiSGJWunaNaB3VIdola/XJj/8DkInwoiVxQnqjOMB/QnXNlFs 5MQeuFukAvVmuitgfkusDjWFFKU26k3aHR6Za9yvvnFrtd6CdW/K8pnZy3EThecooTYq 6bhXQHGWDQJAH+NtUE/lf8Ipo5dAlGjKZThCL01qNKl7GkrWNGJk9ovJAc334tMZ9IJP IcXt2uzgKoeTltntklmPtrRn7jqJE790QvaKjbI4bH//1ii7z5C8WGKi4YvGyMnhmpyM jp8nBtZObD1+Vjm4rMJ92qhBMDkFjOl+AizXNoEf9ALhoK2XOQIfSSQfBj/mHRIigXQX +fww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@noorman.info header.s=MBO0001 header.b=PW6BcCOV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=noorman.info Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m2-20020a656a02000000b00452bad3abcfsi10167628pgu.324.2022.10.16.03.37.03; Sun, 16 Oct 2022 03:37:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@noorman.info header.s=MBO0001 header.b=PW6BcCOV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=noorman.info Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229716AbiJPKgI (ORCPT + 99 others); Sun, 16 Oct 2022 06:36:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229671AbiJPKf7 (ORCPT ); Sun, 16 Oct 2022 06:35:59 -0400 X-Greylist: delayed 442 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 16 Oct 2022 03:35:54 PDT Received: from mout-y-209.mailbox.org (mout-y-209.mailbox.org [91.198.250.237]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE978367B5; Sun, 16 Oct 2022 03:35:54 -0700 (PDT) Received: from smtp102.mailbox.org (unknown [91.198.250.119]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-y-209.mailbox.org (Postfix) with ESMTPS id 4MqxDJ5cTRz9tdL; Sun, 16 Oct 2022 12:28:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noorman.info; s=MBO0001; t=1665916112; 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: in-reply-to:in-reply-to:references:references; bh=S9dcsqJ0RaWCdCguljfpy7EPjfO3aVZqXfHBh2syRzs=; b=PW6BcCOVvdRubT2MiVhayL4rxpCCYMisSOpA54cmnYgztUvLOH6cQgZZG1ZI2xNhZs5UMy lbR3NZbovfD61NazppymLDhnSHFElM82aO2+tFKoRLSabj+FgI5L9UoZIlgoEyO6EGTuDE NxFz6QE7OJd8Y/vOyjKEWxbnloHSKXgVsivypAGQaml17Rgm/s8UNIvOkA2OV27a2lWO4x jBmNGb6QgrF0eLP+PknfqCfihAY8u7MmwRNWBERy0UiyeteUc22JQYlOm1semTWxd2fOoe 9GEadMAtBpZyYzvvUvVRZUUnb3LLieOqtKRPQZXzjkzil2TpzlkzB7YfqxJadg== From: Job Noorman To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: Luca Weiss , Job Noorman , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 3/3] arm64: dts: qcom: sdm632: fairphone-fp3: add touchscreen Date: Sun, 16 Oct 2022 12:27:55 +0200 Message-Id: <20221016102756.40345-4-job@noorman.info> In-Reply-To: <20221016102756.40345-1-job@noorman.info> References: <20221016102756.40345-1-job@noorman.info> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4MqxDJ5cTRz9tdL X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746840202380650844?= X-GMAIL-MSGID: =?utf-8?q?1746840202380650844?= Add Himax hx83112b touchscreen to the FP3 DT. Signed-off-by: Job Noorman --- arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts b/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts index 891e314bc782..2920504461d3 100644 --- a/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts +++ b/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts @@ -49,6 +49,20 @@ &hsusb_phy { vdda-phy-dpdm-supply = <&pm8953_l13>; }; +&i2c_3 { + status = "okay"; + + touchscreen@48 { + compatible = "himax,hx83112b"; + reg = <0x48>; + interrupt-parent = <&tlmm>; + interrupts = <65 IRQ_TYPE_LEVEL_LOW>; + touchscreen-size-x = <1080>; + touchscreen-size-y = <2160>; + reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>; + }; +}; + &pm8953_resin { status = "okay"; linux,code = ;