From patchwork Sun Oct 23 16:30:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Job Noorman X-Patchwork-Id: 617674 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F0B1FA373E for ; Sun, 23 Oct 2022 16:31:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230408AbiJWQbd (ORCPT ); Sun, 23 Oct 2022 12:31:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230220AbiJWQbc (ORCPT ); Sun, 23 Oct 2022 12:31:32 -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 F13756A486; Sun, 23 Oct 2022 09:31:27 -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 4MwNxm4MWmz9tNc; Sun, 23 Oct 2022 18:31:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noorman.info; s=MBO0001; t=1666542684; 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=jwBbiiF+pKf0bcTgRsblZnn0hi/Wak5zHyTIoUTbsXg=; b=mDbf80KeQf/okGr77cx5VnaNDA7av/qTN72jsCjKBQihwf2cdxPIkjUklB5QeHLoZS/iI+ dRcN5DEQjSrdtrqCl0pFtRnlyZ911jFiDKoNLQHsJLRTPl3te3Z7Gq4GIzgMv6FL2Rmaya zgefsF0O0eRvjNUarstpbEFYIuW9Mfga1OgIFMHr4I8t5RoanAXlmapeqrXKCiH1qIqW9y CAik+hl3SerMleDUnKoTrtQX0euk3Fldc1aA0A2NPfZdQN+vtEjvcEJvPGVjmdwD+p/e1E 9aeG360tGwnlRK+gaaBxSaTfpZZT9ZYVlghClSLVmyghmwj6qaDLzhUQiBuIJw== From: Job Noorman To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: Luca Weiss , Job Noorman , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 3/3] arm64: dts: qcom: sdm632: fairphone-fp3: add touchscreen Date: Sun, 23 Oct 2022 18:30:31 +0200 Message-Id: <20221023163032.144150-4-job@noorman.info> In-Reply-To: <20221023163032.144150-1-job@noorman.info> References: <20221023163032.144150-1-job@noorman.info> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4MwNxm4MWmz9tNc Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 = ;