Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1003006rwb; Wed, 28 Sep 2022 11:50:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM427jusVqBjOkMjoWXQRI15+NscGM0ngUoFWxzZjd91gZZqmcr5XVDumP5wQY2siqBsJefs X-Received: by 2002:a17:906:30c8:b0:73c:81a9:f8e1 with SMTP id b8-20020a17090630c800b0073c81a9f8e1mr28979712ejb.649.1664391043639; Wed, 28 Sep 2022 11:50:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664391043; cv=none; d=google.com; s=arc-20160816; b=AM+DuZgUYwsnWBzAYXIxV/nto+HGBUjVr+x1za6bl3svZDs1/PLEryvZ1m4GzYmFi8 Pw0Bxq3VfGjb4ParLw+24Q184h58ChLPkW9Xh4CiR7YEefhOMXXTev2q3yJJ2Cl77C0X JO1Bruv+KHx9ft3Yw80MABP6TNMoqxJREOZv5B5TKoO1Q0kIlD0QBnLckSnF3ToxjFv9 LyYv1mQP+npXNrhUF47CgRKQn7auSkrUizzCpBrSVc1IKnp1JPjSpPu1rP1jmbEUBYTC UKtWY5PeZgxGbUyBK4kdS/0MmJi2nwKaHYKd2bkQG3dktPxxedZqgJIsc3sY6vepHpdg z8ag== 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=+y/IKTutaewRNTvQIWmB1RXTuElSdtHOydFT1+sPz6c=; b=w5FJ+Dyjk70gVj+DGatHAQT8GjaO6kpdKU/xNlw8iZ6YbV53CVPbpqfM4U55fJZL+R A1NnfP5FXeVhjhcQuEzMUBGoSX8+ZfNmPp7f0naaLzK+c9gXRdwVWOtRaq1Z6Xgs3qBs W/SYv7AbXm5OvNJwtAXyrgf32jhgsIclQvjOaVwjAqBHEJR2TwLMbBK6AepIjbLVKJYl pjK2zV4IrsuZqfnTEe5L2tGIAtP5IUKMDG2ViHOJH/sc03Gg33N3NO/3/aYtzKOy8uUS Wua2zS9ISTKee25Q0g9xbV3l3x9kIrth82tRKUPRHefCMtVnTi8dWkkrH1RjQOYIVFBY P6FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=NQOuLeEF; 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 o1-20020a1709062e8100b0078261fd56efsi4643982eji.571.2022.09.28.11.50.18; Wed, 28 Sep 2022 11:50:43 -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=NQOuLeEF; 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 S234198AbiI1Sov (ORCPT + 99 others); Wed, 28 Sep 2022 14:44:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234113AbiI1Soq (ORCPT ); Wed, 28 Sep 2022 14:44:46 -0400 Received: from mail-4319.protonmail.ch (mail-4319.protonmail.ch [185.70.43.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB960DF38; Wed, 28 Sep 2022 11:44:40 -0700 (PDT) Date: Wed, 28 Sep 2022 18:44:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1664390679; x=1664649879; bh=+y/IKTutaewRNTvQIWmB1RXTuElSdtHOydFT1+sPz6c=; 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=NQOuLeEFZtjWd6r4/ZZm/YSU9mrpsi0KChBKoUmLGxC3cyRjqBNp9l6fPKFAuDrkx sjc8IAorLFJGGYg0mUj2+uO4vflSafvMHYzoi32f1omw0bwohsKWNRPmZbJLczw/dP KcQ/4C3cV0pA/9L7kZxScbTSNV1WHldT/Q1TLcaBGm2iL1GZIVBJ5LDH969brZXLiV h56RCu4uSdiGQYXRZWkDOTvJj3Gk7q0UyTwJws7E1h+tDB8i3bXWCdFyRkjVJdPq89 t1fNSGytCmedCSrUhr/VrM2lrdrN9pAPkjRSAATxBDT/G7W1LB3yGGtUyUQU5jwIZN fuCGJA/7iHvPQ== 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 v5 3/4] arm64: dts: qcom: msm8916-samsung-j5-common: Add new device trees Message-ID: <20220928184314.186805-1-linmengbo0689@protonmail.com> In-Reply-To: <20220928184155.186632-1-linmengbo0689@protonmail.com> References: <20220928184155.186632-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_H2,SPF_HELO_PASS,SPF_PASS autolearn=unavailable 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 and J5 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 | 2 ++ .../boot/dts/qcom/msm8916-samsung-j3.dts | 21 +++++++++++++++++++ .../boot/dts/qcom/msm8916-samsung-j5x.dts | 11 ++++++++++ 3 files changed, 34 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/msm8916-samsung-j3.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 1d86a33de528..357a2529fe74 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -15,7 +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..35d3e9c6d012 --- /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@85800000 { +=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-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