From patchwork Mon Oct 17 10:04:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Job Noorman X-Patchwork-Id: 3365 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1363548wrs; Mon, 17 Oct 2022 03:09:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6wV7g0s6Oc27L6yhwOrGTWb5xPMyMfopVNA1a9zyTvPwYF0MQppRWMiA/2jC02JnLjj01h X-Received: by 2002:a17:907:2cd8:b0:78e:7fe:a38f with SMTP id hg24-20020a1709072cd800b0078e07fea38fmr8258566ejc.632.1666001372101; Mon, 17 Oct 2022 03:09:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666001372; cv=none; d=google.com; s=arc-20160816; b=rcSxbMQRNKTYe1MxgUalL9IPPfo8t8ogcUmRRPUe0IDoXy9hx1zdCflohhdVcqhIJY qhK8J9jVk7miu1q2wMOBZ0x2HN0M9TGWMSCdDuTwpn91zWcYFtyMg6xVx3cCBNQdpSNU qqfNGfdqwkoqJlcGJ7NMBfO9RDz8VIqV9br5+2odHyPmIX5W2HR6mvkhGYe8nA3NqLuB WePKTWpbiXYBB9f2ch6LL1ur9hQk2t5OPHeG7XZf+0uTRcIUuoI129IbO6zSTIp1x4Yo XSMs+3ybUos7wR8TjhahOTI024IMl6v2F8MpYWjs5NNrKK6tZnhgbai/b+ydkddgy++h rDLw== 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=wS12nfQS5ARleJFJuz5Esa5ggBgAY9JBraapZ2JgOZQS5gRCC6e04ufsRj4Eq++FF3 5gUWKQVMp0n6mYosjESZAGIt4RGo5+kXTy6JrSfZzuNjCmR5CUV2whrg/EiKtxDl2dQn c0VYCmMd6iQH510QhDmdNAWMg2c1KhghTu/8nVreqRBx5Ie8aEiW9Jy6rgkOZMqDpIxK ZYoSjJFuyZE6zSXomdrRoqLSGnT42uwx4od/UhfxGpopUS+HGt89asRpLuOwzMzHAsY+ cbsFoEG6xmSuLp5hsNFb4d16PD/0OjCVMqeli01dtzIAlq/9xYEECfaUXDRQMDOiFMMJ 3O9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@noorman.info header.s=MBO0001 header.b=yZTCTWvd; 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 n11-20020a05640205cb00b0045d03c18e5bsi10853745edx.560.2022.10.17.03.09.02; Mon, 17 Oct 2022 03:09:32 -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=yZTCTWvd; 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 S231551AbiJQKFQ (ORCPT + 99 others); Mon, 17 Oct 2022 06:05:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230505AbiJQKE6 (ORCPT ); Mon, 17 Oct 2022 06:04:58 -0400 Received: from mout-y-209.mailbox.org (mout-y-209.mailbox.org [91.198.250.237]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68E7E11C31; Mon, 17 Oct 2022 03:04:48 -0700 (PDT) Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (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 4MrXfN1mHtz9tdD; Mon, 17 Oct 2022 12:04:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noorman.info; s=MBO0001; t=1666001084; 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=yZTCTWvdLGN4BsYOh3C0a7UJh5dTHrIWyvQVAlb3hXKjWlfUUzhmwW1GYMUA77AzHjdhND eeAwUcwsQnJQZQHIVRXGan6WZRD0c7CiRkQUXAy/ehI2xDK7/8ySjrUZdGi6p9a7VRKsa9 t3xDI6myDB4usaILamMbnaPr1N+hoNrCzLnNSK0pHjUfwNdA0lD/FbzTomZm890OJj5lhn wywc1HINnuu4MvO4fTcSmWE6DFNCfMxtto8OvspRJYKpmJhXOdoXWg8lQ6JIxIOwF+l2um TeIfzKlZn7sBbCRtOz77N0C7eXFW/TePk+PUXi/ZJJK+d1mkCxjvsAPdmNLYkA== 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 v4 3/3] arm64: dts: qcom: sdm632: fairphone-fp3: add touchscreen Date: Mon, 17 Oct 2022 12:04:08 +0200 Message-Id: <20221017100409.189293-4-job@noorman.info> In-Reply-To: <20221017100409.189293-1-job@noorman.info> References: <20221017100409.189293-1-job@noorman.info> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4MrXfN1mHtz9tdD 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?1746929054538650844?= X-GMAIL-MSGID: =?utf-8?q?1746929054538650844?= Add Himax hx83112b touchscreen to the FP3 DT. Signed-off-by: Job Noorman Reviewed-by: Krzysztof Kozlowski --- 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 = ;