From patchwork Tue Oct 11 19:08:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Job Noorman X-Patchwork-Id: 614338 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 7B078C433FE for ; Tue, 11 Oct 2022 19:09:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229954AbiJKTI5 (ORCPT ); Tue, 11 Oct 2022 15:08:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230144AbiJKTIv (ORCPT ); Tue, 11 Oct 2022 15:08:51 -0400 Received: from mail-4323.proton.ch (mail-4323.proton.ch [185.70.43.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70BA0895C8; Tue, 11 Oct 2022 12:08:50 -0700 (PDT) Date: Tue, 11 Oct 2022 19:08:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noorman.info; s=protonmail3; t=1665515328; x=1665774528; bh=diUYicMMh/+7TmI9we8Hv3+n8vLxeIEDGHZbjZlmuFU=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=ArvBWdN8ZwMxc7EjLra9tvN8TpEWHUg5WKTQil2zJC+dJ9PjYeECDU5lG1l7SmimA xSz8cZsDClxxwSc4wyVFSKuFc1g0n70hYFah8aR/kYgYiqLlE1lZsctTC1v8V9Fk3P KPBf+6MhVnhD+60Iz/Y0pO1n5dupwcN4KDPybhL8qyhzPcNb1K4eW/rs2NRIBfcOHx Z0Y21q2e6EHzYJHz31BaDmgYcQQtTEQ8JY7de3GceZBeiDvd8HzcMBXC/TcGkRmDBj 0x6oDBhQKHprMXPP4IByaM8/+KCxRAjtS0b9++M9bWZbXkt6aviNgGOfB8xUK8fExD vA01np3crUqNQ== To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski From: Job Noorman Cc: Luca Weiss , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] arm64: dts: qcom: sdm632: fairphone-fp3: add touchscreen Message-ID: <20221011190729.14747-4-job@noorman.info> In-Reply-To: <20221011190729.14747-1-job@noorman.info> References: <20221011190729.14747-1-job@noorman.info> Feedback-ID: 14439221:user:proton MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(+) -- 2.38.0 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 = ;