From patchwork Wed Mar 22 17:15:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianhua Lu X-Patchwork-Id: 13184384 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5BECDC6FD1C for ; Wed, 22 Mar 2023 17:16:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231553AbjCVRQp (ORCPT ); Wed, 22 Mar 2023 13:16:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231469AbjCVRQb (ORCPT ); Wed, 22 Mar 2023 13:16:31 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E003867022; Wed, 22 Mar 2023 10:16:03 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id kc4so5294800plb.10; Wed, 22 Mar 2023 10:16:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679505363; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=v5Lu9OAJ6YsotRRIx5xX4C7y7EyPhqOmAF4dQrNJsFU=; b=C85fvvarLU3Ogwuk7AJV59+o/hrYbhNNlrLot/DDOX9oVLnpJYHOCa0JKsxGhw8XwQ qb8YKAEoxyfpOaPgz1tJ82Ln+iNgYjpxXI4PRsPFwaL3Jh+390R+jvPIza3Uvifem45I aSHip6GR8ds7gmMzGCyUqWKHnHxbxWpkBC0fMC9dOdkawzLTaFWEEW3NIn5goysg0hih dedDZugNFm7T8EYltA6XuW+57UWsjDXAN3xr2dqxHzHGgm7ha8Zs+XCtqk+IfMT+/NjL 2mI4bjYWbUfdiLPma8CFv0p5673CecMQHsQeF1SwhF3z9YKzM08vd4k6I+rH6SCaYptX OFVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679505363; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=v5Lu9OAJ6YsotRRIx5xX4C7y7EyPhqOmAF4dQrNJsFU=; b=Vdq0baU1CLVLNu1HgARwfeizcAQQdfPgjik+fe3CrFoK3yFUQnGX1bJoVz9KCuU06v ku+JY4ehAWRenHBn8fy9MTPfGtIrCfAIqS01r/pChF05L+bVFVXjVjGSW9it728fzbvt /fGEZpy0SqkgbENLVRI+Cpu5742FJJxxBD7tr6ucUBZOFa+ABmagwzMbMOBBsmsB9NTe BmIUCU8b3g0QWJhX1+w/dcEuYhc9zA1JJX9zociRm0aQJcweF4ueugTLaNe9GOVB6sdA mzDBucP5J7zJ/+lR6H1ePIqbzTqU/Pm6rWA/vl+vOYPuXL0xBKDvQqu9Sjx5XW6WxDAc bD7w== X-Gm-Message-State: AAQBX9df7BYcrRQijBFu+sv/WyDe85gnvL5wqpj7BVcLkiOZydSZBA99 FL/fYWLeY2tPgJAkxFpRDcA= X-Google-Smtp-Source: AKy350YNO4UIxw70VOrky+hJnmB189eJUNoIWY5OMBbWpoA9Wc6C3KpjBzRS2hX2LVpEKxKWeVW84Q== X-Received: by 2002:a17:90b:1c84:b0:23b:4438:e9ee with SMTP id oo4-20020a17090b1c8400b0023b4438e9eemr2750750pjb.12.1679505362625; Wed, 22 Mar 2023 10:16:02 -0700 (PDT) Received: from localhost.localdomain (n220246252084.netvigator.com. [220.246.252.84]) by smtp.gmail.com with ESMTPSA id b1-20020a6567c1000000b005023496e339sm10097353pgs.63.2023.03.22.10.15.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Mar 2023 10:16:02 -0700 (PDT) From: Jianhua Lu To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Jianhua Lu Subject: [PATCH v2 1/4] arm64: dts: qcom: Move elish dts to common dtsi Date: Thu, 23 Mar 2023 01:15:52 +0800 Message-Id: <20230322171555.2154-1-lujianhua000@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org There are two panel variants of xiaomi-elish, BOE and CSOT panels. In order to support both panels, so move elish dts to common dtsi. Signed-off-by: Jianhua Lu --- Changes in v2: - Remove sm8250-xiaomi-elish.dtb to avoid build failure. arch/arm64/boot/dts/qcom/Makefile | 1 - ...m8250-xiaomi-elish.dts => sm8250-xiaomi-elish-common.dtsi} | 4 ---- 2 files changed, 5 deletions(-) rename arch/arm64/boot/dts/qcom/{sm8250-xiaomi-elish.dts => sm8250-xiaomi-elish-common.dtsi} (99%) diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 1a29403400b7..8d2b3c57a4a8 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -183,7 +183,6 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8250-hdk.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8250-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8250-sony-xperia-edo-pdx203.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8250-sony-xperia-edo-pdx206.dtb -dtb-$(CONFIG_ARCH_QCOM) += sm8250-xiaomi-elish.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8350-hdk.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8350-microsoft-surface-duo2.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8350-mtp.dtb diff --git a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish.dts b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi similarity index 99% rename from arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish.dts rename to arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi index dd79671f5614..a43d4b73ffca 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish.dts +++ b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi @@ -3,8 +3,6 @@ * Copyright (c) 2022, 2023 Jianhua Lu */ -/dts-v1/; - #include #include #include "sm8250.dtsi" @@ -24,8 +22,6 @@ /delete-node/ &xbl_aop_mem; / { - model = "Xiaomi Mi Pad 5 Pro"; - compatible = "xiaomi,elish", "qcom,sm8250"; classis-type = "tablet"; /* required for bootloader to select correct board */ From patchwork Wed Mar 22 17:15:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianhua Lu X-Patchwork-Id: 13184385 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0B69EC6FD1F for ; Wed, 22 Mar 2023 17:16:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229833AbjCVRQt (ORCPT ); Wed, 22 Mar 2023 13:16:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229993AbjCVRQe (ORCPT ); Wed, 22 Mar 2023 13:16:34 -0400 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B0AC637C3; Wed, 22 Mar 2023 10:16:10 -0700 (PDT) Received: by mail-pf1-x42f.google.com with SMTP id l14so11547460pfc.11; Wed, 22 Mar 2023 10:16:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679505368; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Du2gZbCSXVQqxOtZS8hq0dQKJr+nACUyNNRAcUml5+k=; b=RgPE0jTp0JRZH8DcWVA5RmODpy2pHSxJtZ7edzKBtuMTf0w1YAOckK/2YFJLY0lL1x 3UXgsvBF5DBh7FBHMA7TD1rkLCXvOEf87e+re0H7maYc/M7pvSFp0ZED9e/qBzVoMID1 4MXsYE8WStE6Ebig1fjM0g7S1H6inQwcboICRVcA6NueKORXeS2s2Uqkj0dLDybRDkte HHHNvzmG0e0pCXwLIZ5GLNhmhPY5HSe2HAmg1OPguNGKuWYaziFU8ui2a2LQGt71A7h0 GpSy4d/Avh8COx9iKtbK8kvhiEcBKpdVFI21HdDzdNB1U6zo5bAL7Zgozgag8PskclWf cfvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679505368; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Du2gZbCSXVQqxOtZS8hq0dQKJr+nACUyNNRAcUml5+k=; b=cC/1bgeuQoUd69W73pkjYcJFu/1vQinjZAsaKEc4I/nYVqhFqhDClEkyopICiCZROn YS0GMk5IPF90hKVbavbE+Ml4bz68cGYBI9/jyDlWDt6Zb5bwGr8/zUBqMx6pvVe/OaRI TiNXTLcrijeCCNqQT5zBaKXkWR0NLE0tOQ/hmicXyrjsEfIxaHBS1v6AgPHZeFEhZw4v /GczYPXTqEIi/uSQ8ZfdCT3BHd86SM7XKElFPvey472npWN6WRgSEUVOdcWKAy9XdOem 8/WJYayT5j/mRFTkxMfM94UMIxN+ZcogwcL6gieU/vqk8YypdGRWxIJNMeHzSp+UyhWh lolg== X-Gm-Message-State: AO0yUKVBPGBRqONBmNbcFyD1WFuXasFUG66QsTapQXa+FUydIIu2F8X6 1rx2ypfeE4Gq2rPurJRqu2Q= X-Google-Smtp-Source: AK7set+yVjp7rXBfNZ5QJ3BudfvvnBtue/CnsqKBVotLaCL7qd9dcr+RiYEm3UluY9tViaWgwoJEjA== X-Received: by 2002:aa7:958f:0:b0:626:7e73:2f44 with SMTP id z15-20020aa7958f000000b006267e732f44mr3296262pfj.9.1679505368430; Wed, 22 Mar 2023 10:16:08 -0700 (PDT) Received: from localhost.localdomain (n220246252084.netvigator.com. [220.246.252.84]) by smtp.gmail.com with ESMTPSA id b1-20020a6567c1000000b005023496e339sm10097353pgs.63.2023.03.22.10.16.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Mar 2023 10:16:08 -0700 (PDT) From: Jianhua Lu To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Jianhua Lu Subject: [PATCH v2 2/4] arm64: dts: qcom: sm8250-xiaomi-elish: Add mdss and dsi node Date: Thu, 23 Mar 2023 01:15:53 +0800 Message-Id: <20230322171555.2154-2-lujianhua000@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230322171555.2154-1-lujianhua000@gmail.com> References: <20230322171555.2154-1-lujianhua000@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org xiaomi-elish uses dual dsi mode panel and dsi phy type is cphy. Signed-off-by: Jianhua Lu --- Changes in v2: - Include missing for phy-type property. .../dts/qcom/sm8250-xiaomi-elish-common.dtsi | 73 +++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi index a43d4b73ffca..4ff8454d4abe 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-common.dtsi @@ -5,6 +5,7 @@ #include #include +#include #include "sm8250.dtsi" #include "pm8150.dtsi" #include "pm8150b.dtsi" @@ -469,6 +470,74 @@ &cdsp { status = "okay"; }; +&dsi0 { + vdda-supply = <&vreg_l9a_1p2>; + qcom,dual-dsi-mode; + qcom,master-dsi; + qcom,sync-dual-dsi; + status = "okay"; + + display_panel: panel@0 { + reg = <0>; + vddio-supply = <&vreg_l14a_1p88>; + reset-gpios = <&tlmm 75 GPIO_ACTIVE_LOW>; + backlight = <&backlight>; + + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + panel_in_0: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + + port@1{ + reg = <1>; + panel_in_1: endpoint { + remote-endpoint = <&dsi1_out>; + }; + }; + + }; + }; +}; + +&dsi0_out { + data-lanes = <0 1 2>; + remote-endpoint = <&panel_in_0>; +}; + +&dsi0_phy { + vdds-supply = <&vreg_l5a_0p88>; + phy-type = ; + status = "okay"; +}; + +&dsi1 { + vdda-supply = <&vreg_l9a_1p2>; + qcom,dual-dsi-mode; + qcom,sync-dual-dsi; + /* DSI1 is slave, so use DSI0 clocks */ + assigned-clock-parents = <&dsi0_phy 0>, <&dsi0_phy 1>; + status = "okay"; +}; + +&dsi1_out { + data-lanes = <0 1 2>; + remote-endpoint = <&panel_in_1>; +}; + +&dsi1_phy { + vdds-supply = <&vreg_l5a_0p88>; + phy-type = ; + status = "okay"; +}; + &gmu { status = "okay"; }; @@ -533,6 +602,10 @@ fuel-gauge@55 { }; }; +&mdss { + status = "okay"; +}; + &pcie0 { status = "okay"; }; From patchwork Wed Mar 22 17:15:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianhua Lu X-Patchwork-Id: 13184386 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 335CFC76196 for ; Wed, 22 Mar 2023 17:17:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231521AbjCVRRD (ORCPT ); Wed, 22 Mar 2023 13:17:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231531AbjCVRQo (ORCPT ); Wed, 22 Mar 2023 13:16:44 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AE2A66D3B; Wed, 22 Mar 2023 10:16:27 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id j13so19137424pjd.1; Wed, 22 Mar 2023 10:16:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679505377; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=P8/bCbySa6Y+JFGYtvp1Vp3ADJdTcdhTwLsnAC9TgiU=; b=It5mOVay9GTCXNVQ2m5nIdFleNObXvjEHT0+bg9UolMHNwQeh/pxPTboG/gCXhArIR xrOZOQes9jXubxtryfOpSHXMeBky+G5IbmGTpzgnIaF/THG/WSd7kyZnuo03aCSnDAw5 QBv4DQ+xXx/pnPynGxXi48crA4MVHfVfm2niLbu2RHXbNfrC61dQT6zE42iPyfaMolLm P6tVSXL4d4wjxbQgTISTKowGytVGi8Z7d12riY+YsM5e6gjfi5gxobKqW5vXvHym/rU5 YK6QpwjgfH7X1icZsOIWsmvLhe4H91r6dJlRwzq9FMA0OfqEwnyDI9jtblzbPyjDSmuj cx+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679505377; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=P8/bCbySa6Y+JFGYtvp1Vp3ADJdTcdhTwLsnAC9TgiU=; b=8Q7H6X+VQ7qov1ZitYLvnYjaVffTBLRqNKV2v+zVBP3pGV2ZzyGCJn/6Ws7sNysVFm HzCzdT/d+jhSTITzrETT10UeHzE6B59R4sdBNYcxHGinFg7kbQPwBajPlolKF4rNP5ja sQO0ZTuuA9R4COWSRBWgFqHvCyKdo3Ttl3JZDk1UG+qSUOSMo+D65DdH4cPiWcOUmIys PAklaMSdHiiq6mcaVvym43hMVpRpQXofydGhnRCa/Jn+aW+uMsBaPHOF4rdF483D4SpD 69JAOAVK2c3hsY36S1xBRjPwKZf7SeeDkfefAcP+UYfPWe8wDZ1s/sTSwfmpJmtDmxGk o5Gw== X-Gm-Message-State: AO0yUKXkCCbX53OSnJ2tn3cGXTjVRpD1wz2Q8EMlmWZG4yx6jji76lRA 1xrYdBkAxaSmOinVkWIHNYVuS3zKlQMBCw== X-Google-Smtp-Source: AK7set+3bEktTgqvQm+E4DjNEvKILeBPrbl8cAgaC2Pb/SKuM/UmQuURMwyGE4y3uz7gZMUwD30Zvw== X-Received: by 2002:a05:6a20:8b07:b0:d9:e45d:95d6 with SMTP id l7-20020a056a208b0700b000d9e45d95d6mr244831pzh.35.1679505377247; Wed, 22 Mar 2023 10:16:17 -0700 (PDT) Received: from localhost.localdomain (n220246252084.netvigator.com. [220.246.252.84]) by smtp.gmail.com with ESMTPSA id b1-20020a6567c1000000b005023496e339sm10097353pgs.63.2023.03.22.10.16.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Mar 2023 10:16:16 -0700 (PDT) From: Jianhua Lu To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Jianhua Lu Subject: [PATCH v2 3/4] arm64: dts: qcom: sm8250-xiaomi-elish-boe: Add Xiaomi Mi Pad 5 Pro BOE variant Date: Thu, 23 Mar 2023 01:15:54 +0800 Message-Id: <20230322171555.2154-3-lujianhua000@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230322171555.2154-1-lujianhua000@gmail.com> References: <20230322171555.2154-1-lujianhua000@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add support for the Xiaomi Mi Pad 5 Pro BOE variant. The BOE variant uses BOE Technology panel. Signed-off-by: Jianhua Lu --- Changes in v2: - Get rid of sm8250-xiaomi-elish.dtb arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/sm8250-xiaomi-elish-boe.dts | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-boe.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 8d2b3c57a4a8..808f46947661 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -183,6 +183,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8250-hdk.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8250-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8250-sony-xperia-edo-pdx203.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8250-sony-xperia-edo-pdx206.dtb +dtb-$(CONFIG_ARCH_QCOM) += sm8250-xiaomi-elish-boe.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8350-hdk.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8350-microsoft-surface-duo2.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8350-mtp.dtb diff --git a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-boe.dts b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-boe.dts new file mode 100644 index 000000000000..8b2ae39950ff --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-boe.dts @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Jianhua Lu + */ + +/dts-v1/; + +#include "sm8250-xiaomi-elish-common.dtsi" + +/ { + model = "Xiaomi Mi Pad 5 Pro (BOE)"; + compatible = "xiaomi,elish", "qcom,sm8250"; +}; + +&display_panel { + compatible = "xiaomi,elish-boe-nt36523"; + status = "okay"; +}; From patchwork Wed Mar 22 17:15:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianhua Lu X-Patchwork-Id: 13184387 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD7F3C76196 for ; Wed, 22 Mar 2023 17:17:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230266AbjCVRR1 (ORCPT ); Wed, 22 Mar 2023 13:17:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230460AbjCVRRO (ORCPT ); Wed, 22 Mar 2023 13:17:14 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2774366D39; Wed, 22 Mar 2023 10:16:47 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id o11so19924385ple.1; Wed, 22 Mar 2023 10:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679505390; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=p1yrkQdQ3+rHj7HsA6aFbOnS34klVtYP6UuejOzccco=; b=FdEEsUfa3PpP/5KX+nodVmJ/QDYTpkGk6vjFgTQcEWYlttjVuXrZOrtxUzVmwNt2GF Ir2FdFN+BcYh1XaSxJP0z2qvD0SuNiQHTcTmQdm5PnaYUAmsO0YCYfDqpGNRQwksQuR1 77Tu/+Oj5kUzS5Ox0smxHgVpK1Jds3TgxcY2oPI0smqdKopAF+ndU2XQ96pahTeSd8TU 1EftFOKJLk5Y830v0F5IUTeZHVFj3tr5omNCs2bnWkgXYnnjM7OTAqz9N2t8iyjksvvw TTw9Gv+7XPvLAFJThflRTqaKZuJgc53tH9GG6u96L3bfIzbu1pVf+o3jlJc243juRYIR qetw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679505390; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=p1yrkQdQ3+rHj7HsA6aFbOnS34klVtYP6UuejOzccco=; b=ZdlxJHzuYSuwSSAwelyhCLUmbam9KcqGpDJe6MeG2T/aQpOQq8WWbe1xulfqE5T5Rs o3DOslrwPnolUxqo7Fr3lmaFTNgcYEg+fdV1XpjXm2dTSxUfYG8kFDx1PEBo4j3vsn2P GPD1gTkDcFQQZguOmmTp+NMcAksQmxkaCCmM+nyfteS6lr8KtMp8+E2EAyI1BtgXOpgK j1xJLB+zmaBwxgiBN329k+/f5VSbHxBhDA7zG0TnHZsCCfttzniixjc9Xv9hcx4oGdp5 nKWg1f1mkDf9m0WddzgUbU72gNZG3EN+gH5r0Wp7eVomW4fG+TO6p9wEwduCy+csF8vR fviQ== X-Gm-Message-State: AO0yUKX/4axMI0TVcAlrNBlLp1Dd88RDlkVCP68osTHckjwGigsvtNzQ KNItsF4n6jbxrwg0k0jV9Rk= X-Google-Smtp-Source: AK7set+lu45jd1DtvFuWe2CYnFxa9HE3DUcqRoqsFsNOGGngMHbaXLMxO5r/GOaBx9wUKbAkbO2gMw== X-Received: by 2002:a05:6a20:bb1a:b0:d4:b24b:4459 with SMTP id fc26-20020a056a20bb1a00b000d4b24b4459mr344759pzb.13.1679505390190; Wed, 22 Mar 2023 10:16:30 -0700 (PDT) Received: from localhost.localdomain (n220246252084.netvigator.com. [220.246.252.84]) by smtp.gmail.com with ESMTPSA id b1-20020a6567c1000000b005023496e339sm10097353pgs.63.2023.03.22.10.16.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Mar 2023 10:16:29 -0700 (PDT) From: Jianhua Lu To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Jianhua Lu Subject: [PATCH v2 4/4] arm64: dts: qcom: sm8250-xiaomi-elish-csot: Add Xiaomi Mi Pad 5 Pro CSOT variant Date: Thu, 23 Mar 2023 01:15:55 +0800 Message-Id: <20230322171555.2154-4-lujianhua000@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230322171555.2154-1-lujianhua000@gmail.com> References: <20230322171555.2154-1-lujianhua000@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add support for the Xiaomi Mi Pad 5 Pro CSOT variant. The CSOT variant uses China Star Optoelectronics Technology (CSOT) panel. Signed-off-by: Jianhua Lu Reviewed-by: Konrad Dybcio --- No changes in v2 arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/sm8250-xiaomi-elish-csot.dts | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-csot.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 808f46947661..b755b198cfb7 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -184,6 +184,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8250-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8250-sony-xperia-edo-pdx203.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8250-sony-xperia-edo-pdx206.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8250-xiaomi-elish-boe.dtb +dtb-$(CONFIG_ARCH_QCOM) += sm8250-xiaomi-elish-csot.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8350-hdk.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8350-microsoft-surface-duo2.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8350-mtp.dtb diff --git a/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-csot.dts b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-csot.dts new file mode 100644 index 000000000000..a4d5341495cf --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-csot.dts @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Jianhua Lu + */ + +/dts-v1/; + +#include "sm8250-xiaomi-elish-common.dtsi" + +/ { + model = "Xiaomi Mi Pad 5 Pro (CSOT)"; + compatible = "xiaomi,elish", "qcom,sm8250"; +}; + +&display_panel { + compatible = "xiaomi,elish-csot-nt36523"; + status = "okay"; +};