Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp3051263rwb; Sat, 29 Jul 2023 22:00:01 -0700 (PDT) X-Google-Smtp-Source: APBJJlG6XYvYIocGuBQd9RblOSYahScwGL9QQsrNtnU6Jbjdv9hicVOk5xO6UGwh44mGKNTWSPZK X-Received: by 2002:a17:906:30c5:b0:99b:f534:9bae with SMTP id b5-20020a17090630c500b0099bf5349baemr3178406ejb.30.1690693200760; Sat, 29 Jul 2023 22:00:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690693200; cv=none; d=google.com; s=arc-20160816; b=q0E+xotJrHI3ctLbqHRmkRL3UWBuZzkQYTgl3f4u5fQk8H54NvxrumgQQNtfKegYgx uGLlfq82yD/y748SfBIvrpl/S6BPgmY/QkJrrDivEHg/oNlw3j4gWzYGOIKi+v2qTi1h PfC+JgukSCwSGVjcV855OyL7erXR9MNW/nS30R6EiscqhHE2KtehvZ/TESANVxyn/DoA PkN2Zevhc9n6onILd9gbkqkSFk5Jy4yLeolGTy1eR/q+Kt2/kDMOfau18Q/5dQwgn+gD ztkxOWtsqVDH/q82W/nKXSfeqzTEGahwun/crD2/HbiybvhrZRqbG9MzfRKpaCwqyy2/ rkMQ== 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=V2KlmQUPdy0YQ4/qYeuVWWIA8jEfrAlasmUuWtmoJc4=; fh=MvBPGIPHPulC8Q1odG8LiYECIuv2LKYjDUHt1nt1gLY=; b=Qt4ah4Ij8+PPBWpKxiSLjWKJciCS/UfW4LS4738nueQmrl1uCFq284JBgYAen8XX0W R56M2KaFfzbW/yBAFdguzKMPj25hElRnSjOB5h52T/OI+Y9J+zCJdKglu3l6jByKmf1X zBoKvZvtnZreA0YCAaCGNSFwz8KcMiN7hIDLVX01Hit+pY3izjy8NroWsl+xlKgxAByC 9a4j63q/2bWSJE5V9hw3ZU9jpNsC7J5aqzPQRxXx9u3jAqIQ7JZ3M8JdK6qQ5Y8YgSp7 8e5bb22dgdCD2beU7BTyCul0GqDPkDNePM9EtAV70tV4Kz691Bp+ABVCy31EPRFwJenm Jcvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=jyiVzp8Y; 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 e6-20020a1709067e0600b0099bcf2fbb11si5139498ejr.138.2023.07.29.21.59.31; Sat, 29 Jul 2023 22:00:00 -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=jyiVzp8Y; 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 S229554AbjG3Czw (ORCPT + 99 others); Sat, 29 Jul 2023 22:55:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjG3Czv (ORCPT ); Sat, 29 Jul 2023 22:55:51 -0400 Received: from mail-40140.protonmail.ch (mail-40140.protonmail.ch [185.70.40.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3D391998; Sat, 29 Jul 2023 19:55:50 -0700 (PDT) Date: Sun, 30 Jul 2023 02:55:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1690685748; x=1690944948; bh=V2KlmQUPdy0YQ4/qYeuVWWIA8jEfrAlasmUuWtmoJc4=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=jyiVzp8YOLQzPvjRttIH8odmFTdcihBSPRE+M6HxmdgIjA73qGCEGNnsGdCE/yBt7 aAeGiqMMZOl6YI/CG31cyW0a1Hiw1/1CetCh1SdW61XNFkRm3eJygTPVDIXOsYT65L F6jfni4JnUXcMeyV0oAuRrCYoQC0XB6IME8z+JG99FfAW6YCxj8lB7WzXZyOViI1tJ QmX5V5M8zV9IApItXH+FRsiDkhAtLw4voei/PyxwhPYxqZRmhOGHbLg6cTJf47uqjk v7Rti7gq4Dl4Rs2r+QzOS7EVNJFTsXEo/sJW8+a6zymqweNJvaMDSB2NydpuJIGePf KeAOEz03MeLsw== 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] arm64: dts: qcom: msm8916-samsung-e5: Add touchscreen Message-ID: <20230730025315.8579-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.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 --- .../boot/dts/qcom/msm8916-samsung-e5.dts | 21 +++++++++++++++++++ 1 file changed, 21 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..bf0d128666d0 100644 --- a/arch/arm64/boot/dts/qcom/msm8916-samsung-e5.dts +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-e5.dts @@ -22,3 +22,24 @@ / { =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=09interrupt-parent =3D <&tlmm>; +=09=09interrupts =3D <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