Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp872505rwb; Wed, 28 Sep 2022 10:06:14 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7remmXCne4JpKrVbhqeBy0hwfpV/BwlF0HpkenEU5GO2foasiJ/ApXn60gSTBERDMLY3I0 X-Received: by 2002:a17:906:974c:b0:784:d96c:b4fa with SMTP id o12-20020a170906974c00b00784d96cb4famr8108926ejy.391.1664384774082; Wed, 28 Sep 2022 10:06:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664384774; cv=none; d=google.com; s=arc-20160816; b=z5atYO2T6hko7zwjPr2zcSs4IznXrnFcwBEDRLutjkWzR6J1jjulFkqY352+dbv6Dq 8/T/frw7c+wMDzWgpjZb/73lNcwMoAktj16LbXbkNWESdGeFN/mM5QQDTq4/rTuwtiCd WwozHtppi228PSAp19j6ODy5RivrGqDuH5NTp9TLC8FJGihnB559jyBhO3uMF3oHyi3P hELZxNuZ95BcMxAhOUBO+TXEUU2BEN7JPHSIvVOzkl5AcDv/9STGxmvU9v5ii+YLAlzc VvZ/P743F7RPmAKpmczjdeqpR5J1JhEC1XkzJSEBnp2ZzEllJdnamSDIdtaeUKtX9Y5A qmOA== 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:references:in-reply-to:message-id:subject:cc:from:to :dkim-signature:date; bh=fNdKw7rnRuBz2C10AejMFBYbvX0k55cR42beHrm7Qxk=; b=DCsO5mks1vo/zDrP14HYeSl8RGIvz2dF8eU1GCMLDWo7RKw63VDmAwYqYhU9ONlSfV HPM9XeBBvXfq7HSqzKMtoixdrdV7Mo6VLw4yJWJXyzZRbwlnAMRN/N4zCm3E+Xqe2icH f1q/qf5XEwD36B96a3pAq84WQDwyymemteKkOnZe1tVSxzQuDWAP2mjGClr0yKvEglGi gaztEEhpWtPbT/mXMT5pLGiQF3WHD44534NmwMTP58dqVWjsK/fDoE6OMWPyZ1sbXd+y 2kFb58uA6GccuHfs2jThfTIozTbi9I6n4NtvxNWwguri8lZMa0S0uJX8xVYXSytr1oNs b+9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=bhDyxDCR; 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 e17-20020a50fb91000000b004580ae4abfcsi420470edq.460.2022.09.28.10.05.47; Wed, 28 Sep 2022 10:06:14 -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=bhDyxDCR; 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 S234192AbiI1RAj (ORCPT + 99 others); Wed, 28 Sep 2022 13:00:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234175AbiI1RAg (ORCPT ); Wed, 28 Sep 2022 13:00:36 -0400 Received: from mail-4318.protonmail.ch (mail-4318.protonmail.ch [185.70.43.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D06C80EB9 for ; Wed, 28 Sep 2022 10:00:34 -0700 (PDT) Date: Wed, 28 Sep 2022 17:00:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1664384432; x=1664643632; bh=fNdKw7rnRuBz2C10AejMFBYbvX0k55cR42beHrm7Qxk=; 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=bhDyxDCRfF9x3MdMNVkah+Iq1a1r+UVJc39W8TsIlGherikodGa1DglK69bFiTu6M F2WdrhjV/jmOHxGcwtfMk+03Faak/OMe2bd7ifjRsZdDBzatRs2ffcdOypG/Sq4UM2 1Al5jI0LpJGrajlkDdFAtKSZA4rPYz9OmAJupIWOahDaP5Tl7QxyH0Wvk3ZS20VXYI HAVCC9XheebUYciKp0krrF88FQ2mJ1Ttf3d6O/oyRoLgJ5hBwvq3fk/pZoAJubxec4 +WAPkd0xty0Byfq4D1Ci2ZoQmLGdnwPpGfL7OJvVK09/Z8XPJnDw0AxTkukv3+V45E fi0itSC6AFR+Q== To: devicetree@vger.kernel.org From: "Lin, Meng-Bo" Cc: Stephan Gerhold , Nikita Travkin , Julian Ribbeck , Josef W Menad , Markuss Broks , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Subject: [PATCH v3 4/5] arm64: dts: qcom: msm8916-samsung-j5: Use common device tree Message-ID: <20220928165932.181146-1-linmengbo0689@protonmail.com> In-Reply-To: <20220928164806.179314-1-linmengbo0689@protonmail.com> References: <20220928164806.179314-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,SPF_HELO_PASS,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 After moving msm8916-samsung-j5.dts to msm8916-samsung-j5-common.dtsi, Add new J3, J5 2015/2016 device trees. [Add j5x device tree] Co-developed-by: Josef W Menad Signed-off-by: Josef W Menad [Use &pm8916_usbin as USB extcon and add chassis-type for j5x] Co-developed-by: Stephan Gerhold Signed-off-by: Stephan Gerhold [Use common init device tree and add j3 device tree] Signed-off-by: Lin, Meng-Bo --- arch/arm64/boot/dts/qcom/Makefile | 3 +++ .../boot/dts/qcom/msm8916-samsung-j3.dts | 21 +++++++++++++++++++ .../boot/dts/qcom/msm8916-samsung-j5.dts | 15 +++++++++++++ .../boot/dts/qcom/msm8916-samsung-j5x.dts | 11 ++++++++++ 4 files changed, 50 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/msm8916-samsung-j3.dts create mode 100644 arch/arm64/boot/dts/qcom/msm8916-samsung-j5.dts create mode 100644 arch/arm64/boot/dts/qcom/msm8916-samsung-j5x.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/M= akefile index 6db7d9d791d5..357a2529fe74 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -15,6 +15,9 @@ dtb-$(CONFIG_ARCH_QCOM)=09+=3D msm8916-longcheer-l8910.dt= b dtb-$(CONFIG_ARCH_QCOM)=09+=3D msm8916-mtp.dtb dtb-$(CONFIG_ARCH_QCOM)=09+=3D msm8916-samsung-a3u-eur.dtb dtb-$(CONFIG_ARCH_QCOM)=09+=3D msm8916-samsung-a5u-eur.dtb +dtb-$(CONFIG_ARCH_QCOM)=09+=3D msm8916-samsung-j3.dtb +dtb-$(CONFIG_ARCH_QCOM)=09+=3D msm8916-samsung-j5.dtb +dtb-$(CONFIG_ARCH_QCOM)=09+=3D msm8916-samsung-j5x.dtb dtb-$(CONFIG_ARCH_QCOM)=09+=3D msm8916-samsung-serranove.dtb dtb-$(CONFIG_ARCH_QCOM)=09+=3D msm8916-wingtech-wt88047.dtb dtb-$(CONFIG_ARCH_QCOM)=09+=3D msm8992-lg-bullhead-rev-10.dtb diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-j3.dts b/arch/arm64/b= oot/dts/qcom/msm8916-samsung-j3.dts new file mode 100644 index 000000000000..bf8672ebedcd --- /dev/null +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-j3.dts @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: GPL-2.0-only + +/dts-v1/; + +#include "msm8916-samsung-j5-common.dtsi" + +/ { +=09model =3D "Samsung Galaxy J3 (2016)"; +=09compatible =3D "samsung,j3", "qcom,msm8916"; +=09chassis-type =3D "handset"; + +=09reserved-memory { +=09=09/delete-node/ tz-apps@85500000; + +=09=09/* Additional memory used by Samsung firmware modifications */ +=09=09tz-apps@85a00000 { +=09=09=09reg =3D <0x0 0x85800000 0x0 0x800000>; +=09=09=09no-map; +=09=09}; +=09}; +}; diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-j5.dts b/arch/arm64/b= oot/dts/qcom/msm8916-samsung-j5.dts new file mode 100644 index 000000000000..0a32d33e9778 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-j5.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0-only + +/dts-v1/; + +#include "msm8916-samsung-j5-common.dtsi" + +/ { +=09model =3D "Samsung Galaxy J5 (2015)"; +=09compatible =3D "samsung,j5", "qcom,msm8916"; +=09chassis-type =3D "handset"; +}; + +&usb_hs_phy { +=09qcom,init-seq =3D /bits/ 8 <0x1 0x19 0x2 0x0b>; +}; diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-j5x.dts b/arch/arm64/= boot/dts/qcom/msm8916-samsung-j5x.dts new file mode 100644 index 000000000000..7656ac4508cf --- /dev/null +++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-j5x.dts @@ -0,0 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only + +/dts-v1/; + +#include "msm8916-samsung-j5-common.dtsi" + +/ { +=09model =3D "Samsung Galaxy J5 (2016)"; +=09compatible =3D "samsung,j5x", "qcom,msm8916"; +=09chassis-type =3D "handset"; +}; --=20 2.30.2