Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1441824rdg; Sat, 12 Aug 2023 01:05:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHcwO6ebd5reYA3cgxzNKy6IAce4XPA1HY0JLB9ohv9NM7z1fDkEuPHoGMt1I78/36exv52 X-Received: by 2002:a17:90a:fb50:b0:26b:365b:e59e with SMTP id iq16-20020a17090afb5000b0026b365be59emr1063044pjb.26.1691827556320; Sat, 12 Aug 2023 01:05:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691827556; cv=none; d=google.com; s=arc-20160816; b=EyRkBrmIGLuMgCsHebAhDH+JfHNdAtAxh6xGwy5XSgXb/W2NqG4C8xHDZwBP7+7/s+ SR1JvEww/LtJw/cQFXXWrkx20vj6K7Fs5nUP2wlz4lYMLleSnM5Tyn68IyFlaKw5A77h rWcLEyKd97fyDeHKESSh4hzP3gQyLliQ7BBEjEhhIKIe2XW2Tsjte+ibzAfhUhrfoAco BolmMKYD3hoYoS9/I9vtyiqAQnhWPhPlltu4V7N9rtioydeProlyJlVma8UzN/4nQFby HVJ/2lbnOar/8F6Y426JpjSKV/djTU/OtrSpfOnoCIYV4fvuBL6h02ygrzg8qStAew4o TeIg== 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 :feedback-id:message-id:subject:cc:from:to:dkim-signature:date; bh=wloyDf2AvvZTQdPHrX71Q0Ws9rmThiu4roUkb67nTc4=; fh=MvBPGIPHPulC8Q1odG8LiYECIuv2LKYjDUHt1nt1gLY=; b=nDCqR4NRnpwe0P+6xORgK5hw0wR1ruafqlytLnFpr++WLX+TPWJLLmThF1tcLoLr/L 6Z7FI43Gv47N0YxWX/j3osIOsRDEcEG5iQXU3Om+VXldiPRoq2/+6uCh5cfsCwaDprGF A2LUOyS2z9WT7THKpPcZBUCOQEgqbWLjL6FpWkmT7Bl8NP8c4Vs+dUc6w7NTcQvBY16/ odIvqrrkaJen/G7Ag2NtSg93y6nX5wqA94e80skPd8ZlUqPv3skykmyEpx3s7KNYLaeL FSNx5kp7/zg/76W1VjBDtpiOZ61+K2j+0nA1+oycJWJ5vi46U1xCaLLLQsqmuxm7fDVV 9byQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=VIaky06o; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id il12-20020a17090b164c00b00268293118efsi4740498pjb.47.2023.08.12.01.05.43; Sat, 12 Aug 2023 01:05:56 -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=@protonmail.com header.s=protonmail3 header.b=VIaky06o; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233392AbjHLHRH (ORCPT + 99 others); Sat, 12 Aug 2023 03:17:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230108AbjHLHRF (ORCPT ); Sat, 12 Aug 2023 03:17:05 -0400 Received: from mail-4318.protonmail.ch (mail-4318.protonmail.ch [185.70.43.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C0A630D2; Sat, 12 Aug 2023 00:17:05 -0700 (PDT) Date: Sat, 12 Aug 2023 07:16:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1691824622; x=1692083822; bh=wloyDf2AvvZTQdPHrX71Q0Ws9rmThiu4roUkb67nTc4=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=VIaky06o9ZRLuUwaGnEi8dJFW5k1FDUqLG5uaD2Luu+Ea6hXdL1BLD1Ido7E0ZRuJ 7rRoBbtzB0mqm7qcCvYSm4DFiQniFGa40iyogd1HPMUx7SRL0oL0JFliNQ3gJk3VD+ DfBqhPMSHRNqutppytprFgFtCOaQck9hSLmhXC8O+SPifMpUUcb4swWHFzNGd01g5K VXaGzRVLfFITTUslx4MJ9tJyjUWmvwkXlnOyYSegyHXFTmSMpIQHNUyiRagt8tytUW uXYFM/B0zprHztIQxYBvc0yn5fD5K2xyuVuKokTUZzdDZiGDHzwz6ickY1VJ9vOJ4X Z1ZKtoECsRCrA== To: linux-kernel@vger.kernel.org From: "Lin, Meng-Bo" Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Stephan Gerhold , Nikita Travkin , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht Subject: [PATCH v2] arm64: dts: qcom: msm8916-samsung-e5: Add touchscreen Message-ID: <20230812071448.4710-1-linmengbo0689@protonmail.com> Feedback-ID: 40467236:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED 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 Similar to A5, E5 uses a Melfas MMS345L touchscreen that is connected to blsp_i2c5. Add it to the device tree. Signed-off-by: Lin, Meng-Bo --- v2: use interrupts-extended .../boot/dts/qcom/msm8916-samsung-e5.dts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-e5.dts b/arch/arm64/b= oot/dts/qcom/msm8916-samsung-e5.dts index 777eb934eb4b..fad2535255f7 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-samsung-e5.dts +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-e5.dts @@ -22,3 +22,23 @@ / { =09compatible =3D "samsung,e5", "qcom,msm8916"; =09chassis-type =3D "handset"; }; + +&blsp_i2c5 { +=09status =3D "okay"; + +=09touchscreen@48 { +=09=09compatible =3D "melfas,mms345l"; +=09=09reg =3D <0x48>; + +=09=09interrupts-extended =3D <&tlmm 13 IRQ_TYPE_EDGE_FALLING>; + +=09=09touchscreen-size-x =3D <720>; +=09=09touchscreen-size-y =3D <1280>; + +=09=09avdd-supply =3D <®_vdd_tsp_a>; +=09=09vdd-supply =3D <&pm8916_l6>; + +=09=09pinctrl-0 =3D <&ts_int_default>; +=09=09pinctrl-names =3D "default"; +=09}; +}; --=20 2.39.2