Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp28834186rwd; Wed, 5 Jul 2023 03:30:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlGvZ5Pat1fDfWjnawdCij7V1BTzZMp4GGmu0Bi9suebyIbAMME45yflizPejYxFmhBLMs6F X-Received: by 2002:a17:90b:80b:b0:262:ffc4:be7 with SMTP id bk11-20020a17090b080b00b00262ffc40be7mr16675334pjb.37.1688553023827; Wed, 05 Jul 2023 03:30:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688553023; cv=none; d=google.com; s=arc-20160816; b=QKNePqG1+F6YTPdfiL2ihqpqj82PhlRZkCzZG2nFTScVSWmd7MWr78/mDK3xATEqJQ Z0nNuMWDDYt+LxCCqP2bMWYIayJBqkved8Jum1tTK02Jj/invugpGUit/K2/fv/M9ACI xHy5qtceeaFOAdXTY01BIO4J1gQFvBBc3Y8VIjqQm0km7ZAQzQrFsupJxeGWkhPLUVi5 ceGGZJuApPjM43wYJ+Js5s8eTBoT79sujo/BBSlj6Hblpc0McS9iKCZ3QOp+z+uvhvpg JSlsOJao0sVKy+IxIqcdUjx5nQ+xKtWBuumovGiXGecsRsmZ15QR7as6E+GP9yx9g70S QDKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=TVAJWg0I/HeACNC/zy3nFezd4dRzO+0cU65ERxt6e5A=; fh=R5jEfken4aX5O5oTOA/+7PaNgfsV7ReCx3mX5UQ2G80=; b=KxvWZC6KHK+rED36akDKwXN/7igc7PxSsCCnJbGqoTgjL1Iv+XsmMEIzIfK0OwVLWr nntyQw/9oMiUzcYtOndqzwTUHNoSzWiVQsdrcf9q7n/BQeq/S/+n0ZC4igL8d4YctEtT J8JQKU2nDQM/JFkEKGIQo0RVfgoZJPdyIW0f/hwgQoiyIzBftM+VRdw/t+I/fw6C97KD BTXn9Vod50RldCJH9P6U1zap854z3/I1x0LDt3molZkb4vpx7QK7I/9gkeZqvJB+6gXk yG4yQBGWI+BXEUJ6CdIbciC7rCE/iL68ppigBjmgb5GNF0mNGuzhUmA+LOGXaI291UaL ECvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IAqlJpp9; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bx19-20020a17090af49300b00263cee680ecsi1359803pjb.89.2023.07.05.03.30.09; Wed, 05 Jul 2023 03:30:23 -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=@linaro.org header.s=google header.b=IAqlJpp9; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231997AbjGEJyk (ORCPT + 99 others); Wed, 5 Jul 2023 05:54:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231972AbjGEJyg (ORCPT ); Wed, 5 Jul 2023 05:54:36 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 832311723 for ; Wed, 5 Jul 2023 02:54:34 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-992f6d7c7fbso576135166b.3 for ; Wed, 05 Jul 2023 02:54:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688550873; x=1691142873; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=TVAJWg0I/HeACNC/zy3nFezd4dRzO+0cU65ERxt6e5A=; b=IAqlJpp9lEg+99I2kgGQin+C7Sa8Ra+ZU4L5NYtlrWxz2TUT3Kow0t3BcazVaGa7O7 6K7OnUF6jg6fALaTASBVpvEq1cshDZqIAW7p3Km4J6adCIl1ltJdrANBcAy0cfMzXzCf 4NOPw1ZiPDfwrB9kMgXXzZiy0yrofWNtl/5j/LyKUM8Jbb6/xbUeJfDfJXxtWYwV0tzE C5Xb3LioIcBtVF7nDBESyR+h7NElPUwHUrNWI90czJS3vzDkIawRAY+xetKFUk/E5yol qgZu6zs+QI1JE8PhYVcD/kZTFxd6sUexE5U2OFTb/Mhp2bzrlH8Vu7dx6tPch4Qx50T2 7C7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688550873; x=1691142873; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TVAJWg0I/HeACNC/zy3nFezd4dRzO+0cU65ERxt6e5A=; b=B9/k7UDYZGCyYWmlzFvBq1GXXOH0laf8MD3Hz/JrYEE66F5MwU+FJAttEvGis11w+c rtFknD3avG9Oah++1Cdfo+pyC5ydHRSYGkToFDCPrKabJ4uQTRHta9lWPtI028A+a/7C mpOULdYyFbzmq1uMapgZYiPHwZxy9pIvtyCXUSwu2j/rcoNR4EiWNKduH6t1Zan7c7Wi 3vuZnAMusk6Srh8oAcPd1dLrXpJsRidPmiDAE+jii43CYchjmxQXZg6rjXkW0AReJ2SN k2OB1U+181QqLugy/Ym0Wp31EjgfZ2JXvSzG9oWDEUjKiigHfoS6y9slruErsV8jYJB3 26LA== X-Gm-Message-State: ABy/qLZiuQM0Msq77HV9f7bwrpGat7wPQjjnPn6tqpoKGJThhyhBl1r4 tC4cvGnzJoEBrIL8n+FGuDlUfw== X-Received: by 2002:a17:906:d961:b0:988:c3f9:3ad6 with SMTP id rp1-20020a170906d96100b00988c3f93ad6mr11780382ejb.42.1688550872960; Wed, 05 Jul 2023 02:54:32 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id o18-20020a170906289200b00982b204678fsm14315546ejd.207.2023.07.05.02.54.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Jul 2023 02:54:32 -0700 (PDT) Message-ID: <038e7ea3-ef16-2344-6cba-88d7e5caf80c@linaro.org> Date: Wed, 5 Jul 2023 11:54:29 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 7/7] arm64: dts: qcom: Add support for the Xiaomi SM7125 platform Content-Language: en-US To: David Wronek , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , Taniya Das Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org References: <20230704163848.169853-2-davidwronek@gmail.com> <20230704163848.169853-9-davidwronek@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20230704163848.169853-9-davidwronek@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On 04/07/2023 18:32, David Wronek wrote: > There are 6 Xiaomi smartphones with the SM7125 SoC: > > - POCO M2 Pro (gram) > - Redmi Note 9S (curtana) > - Redmi Note 9 Pro (Global, joyeuse) > - Redmi Note 9 Pro (India, curtana) > - Redmi Note 9 Pro Max (excalibur) > - Redmi Note 10 Lite (curtana) > > These devices share a common board design (a.k.a miatoll) with only a > few differences. Add support for the common board, as well as support > for the global Redmi Note 9 Pro. > > Signed-off-by: David Wronek > --- > arch/arm64/boot/dts/qcom/Makefile | 1 + > .../boot/dts/qcom/sm7125-xiaomi-joyeuse.dts | 16 + > .../boot/dts/qcom/sm7125-xiaomi-miatoll.dtsi | 420 ++++++++++++++++++ > 3 files changed, 437 insertions(+) > create mode 100644 arch/arm64/boot/dts/qcom/sm7125-xiaomi-joyeuse.dts > create mode 100644 arch/arm64/boot/dts/qcom/sm7125-xiaomi-miatoll.dtsi > > diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile > index 337abc4ceb17..7ef9e7d43904 100644 > --- a/arch/arm64/boot/dts/qcom/Makefile > +++ b/arch/arm64/boot/dts/qcom/Makefile > @@ -192,6 +192,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sm6125-sony-xperia-seine-pdx201.dtb > dtb-$(CONFIG_ARCH_QCOM) += sm6125-xiaomi-laurel-sprout.dtb > dtb-$(CONFIG_ARCH_QCOM) += sm6350-sony-xperia-lena-pdx213.dtb > dtb-$(CONFIG_ARCH_QCOM) += sm6375-sony-xperia-murray-pdx225.dtb > +dtb-$(CONFIG_ARCH_QCOM) += sm7125-xiaomi-joyeuse.dtb > dtb-$(CONFIG_ARCH_QCOM) += sm7225-fairphone-fp4.dtb > dtb-$(CONFIG_ARCH_QCOM) += sm8150-hdk.dtb > dtb-$(CONFIG_ARCH_QCOM) += sm8150-microsoft-surface-duo.dtb > diff --git a/arch/arm64/boot/dts/qcom/sm7125-xiaomi-joyeuse.dts b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-joyeuse.dts > new file mode 100644 > index 000000000000..670fd63f3416 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/sm7125-xiaomi-joyeuse.dts > @@ -0,0 +1,16 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * Copyright (c) 2023, David Wronek I have some doubts that result looking exactly like other file is done not as derivative work. Please retain original copyrights. Best regards, Krzysztof