From patchwork Fri Jul 8 11:12:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Selvaraj X-Patchwork-Id: 12911015 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 DC5DACCA481 for ; Fri, 8 Jul 2022 11:12:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237978AbiGHLMi (ORCPT ); Fri, 8 Jul 2022 07:12:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238062AbiGHLMh (ORCPT ); Fri, 8 Jul 2022 07:12:37 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11olkn2065.outbound.protection.outlook.com [40.92.20.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4843C88F23; Fri, 8 Jul 2022 04:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A1greFF1tdNNeLGhYTzIuKQGiIDVaJNhgX2xPWLaV8YafX9n6UNjQvu+cUujfFkgrzWqWh5TetzJ5ma9J6k324gPrpWpiyD666Nt2H63hIF2uPoRby7N+H/+frWbB1/yyRNJ9U84aiDU35y11bPrtbxpadWdokw7gF8OuVKt0W1EkcoAugsLlg5s1g50pwKOtelUvXTl5W0KVR06Z45gNuU2A2Mp5GQC+dNoOguRGPpmg/pPP814zirZL907uCTEw+tEcih2l5Yrfz7OoWeqyj6cQKP3TIRBZkcF34564QtJxK2Li1DPSCnmyjAnd9djfN9L3PQ3o5iMTrFacHwWGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9txVPO2WljDZnFRw7slfEpHsO7jPhzdX9GJ8a6Rp714=; b=apbQPN28ATn7onV20qcLhA5o+q9is3l6QBWo5tkQdSVuB3xBpoNJxK5ip/4wZcqJyquxbEtE7Ieu8PRYUvrKkGVpeMAVEY052JaE8YaPvXdVKMTVH2WMt+Agzmt/row85HdC/WuKnV2NSS1us3WaGP/mZGw+zsXTWM5aYIZvTNS2HbipIiVM56Ffum3GpOP5RMKTuMiWc/Me455Nj4q4sfH+QqX51JxY0swfgPNDiLax38QIzm3hxZBWbDOEXUEcibgrPTjjJsBpQ3xzSyBfed/ddDxQ/gTYRl2xZJIelJMHr5R7aP8niY+1V//BzrWYB6GHzLxCgKdBg1cA+8RVUQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from MN2PR02MB7024.namprd02.prod.outlook.com (2603:10b6:208:205::23) by DM5PR02MB3879.namprd02.prod.outlook.com (2603:10b6:4:ba::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.20; Fri, 8 Jul 2022 11:12:35 +0000 Received: from MN2PR02MB7024.namprd02.prod.outlook.com ([fe80::6c6e:45bb:b4cd:6d63]) by MN2PR02MB7024.namprd02.prod.outlook.com ([fe80::6c6e:45bb:b4cd:6d63%6]) with mapi id 15.20.5417.016; Fri, 8 Jul 2022 11:12:35 +0000 From: Joel Selvaraj To: Andy Gross , Bjorn Andersson , 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, Joel Selvaraj Subject: [PATCH 2/5] arm64: dts: qcom: sdm845-xiaomi-beryllium-common: generalize the display panel node Date: Fri, 8 Jul 2022 16:42:04 +0530 Message-ID: X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220708111207.85249-1-jo@jsfamily.in> References: <20220708111207.85249-1-jo@jsfamily.in> X-TMN: [MH7E1JzCm1qRXCFHM0syUaAZon+A4uiEstWFyyFCdw61EklUyAeLyWNaNLrCS9Z3] X-ClientProxiedBy: PN2PR01CA0236.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:eb::20) To MN2PR02MB7024.namprd02.prod.outlook.com (2603:10b6:208:205::23) X-Microsoft-Original-Message-ID: <20220708111207.85249-3-jo@jsfamily.in> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 109dc63a-e4d0-4405-f76b-08da60d2c26b X-MS-TrafficTypeDiagnostic: DM5PR02MB3879:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kXREJcOVO+PW2HmIWBhy5RMwQq81m9x4RNKN0oDFPmDidkS2dSLGaUWIxRF4kDnYf1nHO7Xaxa28n0EDjo/PdxGZrkg66w2jssLVGuRFA2va4vuqbLHLF7XStZOCzIu5kacAofyyFevA3JhIXjUCmmdV7WfHHintlLQ9ewfyOju4sXylxKhfRwJQKWp2kXs9nfsZRirwCSU7OrVWs/VSf5Pcilha7uV9sG/POk7+5VAU3XtnbF2BL6wsPx6p+eIgTxzUtgtqJSVkPTptLHIxqZ2xColtFvw/8qLlFB+LUaPowngacLT8V90PKvdHXFVNCdkgbNQRI596svCDLVCiXRUTl9NfW5VYIWiKHmECBN7AuQck9HKJ8tXYnUJl4xGEg03jFbT7wgb0fDzWqrF6qblqxrwM1ndm2vMH953XUJsvdWHjXKDR98taXsij49aLqYvBa7TrhJa8bOTHidw0ZH+sVwPkMuLgQNeVq7aR5Yzvl/WhABWuE4oJ32fc2auw+eOu6RqJXfaXr5JEASBoSwOIECZq8IRc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QpAbZTUpgylOfoQ1PjEWJMwXbBK2iHpI/epBHnq+MYgev1F/HpjnrbmpqQaoxuISx80jFgtEzPIAnG91smdXee0UwRsj0FJci048/+T+yjPQi8WY0GXewTef95LeprOzjceSYUpLIpbvUqXducLVxUrZZyQV8macG5JmTXg1a5tI2X3e8VTb7jdbc/hasNZidTKxQQi7p2zPwHBlJxscUNsOZc51/7ByeoPr5nh8RNIeVZGbfB/62DFbZuevJJ4EjjjQvVg+La1/fw9hjilCGElPXMhxTTOOzwG5TqHI8Knyj7+ojh2v0GTAMJ1Fo6XJehfQDIXOLAPTC0OP4gafKBrMIQ9A4/vJbGmzKQ0Nx0p186Tn5ijCNlgmNSEUuTF3aHAJoP6kH8bmA5gId9b0D9Hu3wV6G7E4M2Zeo1CuEysqHdFxmXrhMeLcVooo8txwT6m6FftW/m9aU9BBD11wZiEH7Xk9ymie2BXDhknzN8dMAjgFFWo X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-99c3d.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 109dc63a-e4d0-4405-f76b-08da60d2c26b X-MS-Exchange-CrossTenant-AuthSource: MN2PR02MB7024.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jul 2022 11:12:35.2131 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR02MB3879 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Make the display panel nodes generic. The tianma and ebbg variant will set the compatabile property as per the display model they use. Signed-off-by: Joel Selvaraj --- .../boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi index d88dc07205f7..634999cf8987 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi @@ -221,8 +221,8 @@ &dsi0 { status = "okay"; vdda-supply = <&vreg_l26a_1p2>; - panel@0 { - compatible = "tianma,fhd-video"; + display_panel: panel@0 { + status = "disabled"; reg = <0>; vddio-supply = <&vreg_l14a_1p8>; vddpos-supply = <&lab>; @@ -235,7 +235,7 @@ panel@0 { reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; port { - tianma_nt36672a_in_0: endpoint { + panel_in_0: endpoint { remote-endpoint = <&dsi0_out>; }; }; @@ -243,7 +243,7 @@ tianma_nt36672a_in_0: endpoint { }; &dsi0_out { - remote-endpoint = <&tianma_nt36672a_in_0>; + remote-endpoint = <&panel_in_0>; data-lanes = <0 1 2 3>; };