Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp999921rwb; Wed, 28 Sep 2022 11:48:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5c3p3BCDoAwe0M8aP3eefdDON4yPL8sLv8RIAzdC7qYzzzrgaQbAPz0KszSZDx3sT84JGQ X-Received: by 2002:aa7:d407:0:b0:457:5a15:62fd with SMTP id z7-20020aa7d407000000b004575a1562fdmr15296264edq.295.1664390880881; Wed, 28 Sep 2022 11:48:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664390880; cv=none; d=google.com; s=arc-20160816; b=OHkvLc6rxWsP0QTrEeSxHuCY1tgFzNUu7IRQE/J8a7uLgf3xup/PYkdxcJ2shRgJVW 9bUcEFKDoCEsv5KWufkRorO7ey22TwprgKD2DP8+DCjmZ1p7WtPSf5c0Y3tBZqWpSQkS 2dB0RN2DevcwreJE4DfSF/XMSpc17FumHJlJMzdPk0oGiQK/ipOEwBo9Y7iJc/FrwcqJ wS6fujyRLCNjY6aAFc9hE1c04Mfglrm6jlLkjHjBM108z/BkOymgzpSSGTzeCQSoxcQ2 wUNU1DDi+NT4uFVXi3xWHFv6uHm+lZPU1WaYUwTneWFUhDN1tXfNr+w80L04cFhKeXw2 OmcA== 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=xy9vUnv8xcZCCh92x84ka6PMZ/mtF3LpMwRsyVeWm3g=; b=sPtvwzTDZ+XTDI94F4Uk45HEz/cbXDKozkopaaGoIlv2Kv2q+Oe36IkVjg39NTDiJQ XP1FP8BRDupdojWJ2EAB3r6gQOqbnvupRsjDMrEWSPH/6tFcwRLU2YUlo+VCiVcTN46V YOT5Cmr6PLLNEf+EcE7JF5L2+/DEeQEeF7mJxMeVTEKoG1/A+UgQ1dqHHthIwik2ImeW z40QGyabN2t0n/s65SreQcYjdHr6SOoDVqYPfPCpXzIxaCafzLyKLa9Ru4EUErxUoF2F w8gWI6RyddnaKZbM4Hndse+gBeBXj/HJGUvz+2Cn6n36vJ9l/pRwK9M8cHK1TI4YlwIZ 10Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=qToMmRm4; 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 sd37-20020a1709076e2500b0073d61f9a7b6si6199835ejc.263.2022.09.28.11.47.34; Wed, 28 Sep 2022 11:48: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=qToMmRm4; 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 S234066AbiI1S3c (ORCPT + 99 others); Wed, 28 Sep 2022 14:29:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234052AbiI1S33 (ORCPT ); Wed, 28 Sep 2022 14:29:29 -0400 Received: from mail-40140.protonmail.ch (mail-40140.protonmail.ch [185.70.40.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF89E102523 for ; Wed, 28 Sep 2022 11:29:28 -0700 (PDT) Date: Wed, 28 Sep 2022 18:29:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1664389767; x=1664648967; bh=xy9vUnv8xcZCCh92x84ka6PMZ/mtF3LpMwRsyVeWm3g=; 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=qToMmRm403aRqOgVZWm4nD0qKrHoK0CHx87W1b9/AHIMmiiduFEj7dG/aQyiHOLTp VzlRErLjdpmriMoZyCJzrwQ9/oWn9XlAnhbTLkN1qlYICY2r35GCY8fmUvQcuj3Dkh EQAjjRyBUxbIE9MMUvECWSd1Gy2jxm1I+VPGsn1TfkxkQZxpEenhZeacTE6XDq4mFF PFKzXRAeCJ/8sZH9sBoPrEq+lzMV5o1ypEafC9qiA3IBRJNTkxYXQAbEoHSWuQ/lk2 TMUeQh/yYHuecNUKldnklUGgf72mgeEewcR1Gw4r+tOQdR0YxdEyFWWUoLBq6wFaz7 9NS2Wn4D1RERQ== 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 v4 3/4] arm64: dts: qcom: msm8916-samsung-j5-common: Add new device trees Message-ID: <20220928182733.186368-1-linmengbo0689@protonmail.com> In-Reply-To: <20220928182435.186116-1-linmengbo0689@protonmail.com> References: <20220928182435.186116-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=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..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-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