From patchwork Mon Aug 14 08:11:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 13352514 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6E264C001DB for ; Mon, 14 Aug 2023 08:08:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=CBj0B2T0W1J/TM73LCrINZx+pQj5D2TudhB9wQJKNeo=; b=oBo30FWWxmnytg e7WxS3yIMbyvfj3CU6lVWQlO+7D5yYraSTrQR+Sx8P9Pk0oQF4+C6Bp+FzA4zDxb5Zi0YXSq3gRKI 5fWTkvSMK3bwg1RYL0Vm8xy7jWzDWBZpnvhle4YIE2lYRlLsOmKhBt8VLsfjsH1wHxiPe6xdnwGn5 7nhz/fBrVowOxHal6VesGj7UDDqYE+dSr0QedSJlJbuVjSdblWal2Hsj6fD+1oDTTqVdxmDuD8UE3 dS+U+Cn0rTMliJ1v9zHf2TH/IRxtixOl3T00NVzV6gUTzRqLrK3+vomajBq8s/h0QEssPNyjTYYRB 7CJVWQLCwxwqegXMO3rw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVScG-00GRaG-32; Mon, 14 Aug 2023 08:07:56 +0000 Received: from mail-vi1eur05on2061d.outbound.protection.outlook.com ([2a01:111:f400:7d00::61d] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVScB-00GRVP-0J for linux-arm-kernel@lists.infradead.org; Mon, 14 Aug 2023 08:07:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QW0jpezqaAlrCJcgyLo5eg/INNmEC54k0t2t80/IGZUIPdzegJOKqie77+O2BsH8W+bXBn8eeIbN2XeUmFEBS02DWTBgNbbVP4XTa7Humr/FBydHj4njvj3SXD1iSStRIaPDQtH0fCNz++TypK90bzQItGpLag8nPuz0HT6V9o4roIjdx3bt0+5Ob0XA9G0OKZhDoR2NtUQZtMyu2oCsK7I19aiw8eqSakGjUUiAnpy4JBtKl0z/OiFqWuSVFt2Wc7b9Ze9/j7AvwyKCPysq8CZ85yyNN+O5mZebwGlMrn/65nU1SWcqeNZzmkTWuVfPavzy8eehgXhsI9ADvRMHzg== 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=iSwQ5j5ENu2kFR1B4GaZ/An0O9mu17bmjeEIMV+KZ2o=; b=PwfCc5xWHgEwODDqJ0BLDV2UjCg1cIGJTiqB81tUARF8fFeU+VgFtdWVxDm8VvQS1w+lokwW26MTDoqsDZrX3XXqEePkB7m/oXaa9RYrMV45Hhga5tHUjy9+zAxT56wThzc8BLCVB/HHFeqpSKE/57opvOUwUwg+tbj/M8kPRMT+lXx3fhBCE66pge1D5yWs+9cjR+o2THQEdy6+ZPQ4drf7jZWRSpJDDcDFsyKthus2PVTcM7KVrAyfV9ESw4fQ27rKc2PlufCwOdqnqgXdSuhWCsKKSMaF1zkVovPit2NN2MPIBihWkUzHplZPIvR/cHSOmdt3DvGR0CWf+SX5cA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iSwQ5j5ENu2kFR1B4GaZ/An0O9mu17bmjeEIMV+KZ2o=; b=gmGMxA6CH7d+OBQjFYGlpezl2rcPuetcgibet6wdGHPvUIvfFYMMKJfihDXU+TwbqyZE5vIyThmSWPvW1ZUJLjSYwhKVjalqGgA2x553RnIxKUofCE7uSHZ9PmlrQdiLJL5EcBeT3LXrWalr2a8E6ukeIxgeajNZcg4hrETVosk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) by DBBPR04MB7785.eurprd04.prod.outlook.com (2603:10a6:10:1e7::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6678.24; Mon, 14 Aug 2023 08:07:42 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::9018:e395:332c:e24b]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::9018:e395:332c:e24b%4]) with mapi id 15.20.6678.022; Mon, 14 Aug 2023 08:07:42 +0000 From: Liu Ying To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com Subject: [PATCH 1/2] arm64: dts: imx8mm-evk: Add VDDEXT_3V3 fixed regulator Date: Mon, 14 Aug 2023 16:11:47 +0800 Message-Id: <20230814081148.4027053-2-victor.liu@nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230814081148.4027053-1-victor.liu@nxp.com> References: <20230814081148.4027053-1-victor.liu@nxp.com> X-ClientProxiedBy: SI2PR04CA0004.apcprd04.prod.outlook.com (2603:1096:4:197::22) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|DBBPR04MB7785:EE_ X-MS-Office365-Filtering-Correlation-Id: 838b8942-b6a8-46cf-602c-08db9c9d88cd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PjjBq0zugRUxulBNMNL0dJZKnMnBc896+d929h63B3nh2hzKBCf7d1atHm1IWM0ydg7vqsYTYJuC+3dEkQTxdRmsqyg/wzdm/kWhY5aYxMJNp/1/qQ3w8itskHS+tQKRc+zRBogOUXLIcy23Lt5itrI81aF0fDDs4YAY3/Skhn9928maka2w3FBgoHD3GWaJQGui8NvAUa+BdKRPmKhgauXFIi3VgU3JPMNUoZgZjNZkYjOG8Vr4z42lxlmXJCoDC11VDKX3SF9gttKOWXEBs3MASOgb2NGvpWQrJnb6vcaUQvMS5jrr2jFlefL/FOBbKMcl8paLQl6+pVeo3UwB/n9UAxtZhHmcWKpa7FZEcZzZAVxPVLWGapmyfkhHjK/XucsdBb3mpRmzCCt77qMKAOYYdG2JUG6d53EbdeYkSkjY798pZt5UlwIM8eXTvahjm54qUFV+HvA+rQK065mGBp/hjz8Vd6eCHR1pcjkPuO4E8CG1cC9bYiHfKhS7bSmWQlKlk3ti0SN2qE6qNiiHHUnIJQIUdyVhPt+z7Dl2OyBJwdQ6Sj7L0BiPvBgFXax53EHojrDcRjWaR7m0iJ4mrVEzEULXxkuTDFHG0KKB39zGi4+1N+UrItlM87wsFIsydtEHy4Vl7DJ6oakhLq3/LQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7PR04MB7046.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(396003)(346002)(39860400002)(366004)(136003)(376002)(186006)(451199021)(1800799006)(26005)(1076003)(6506007)(6512007)(36756003)(86362001)(38100700002)(38350700002)(316002)(2616005)(4744005)(478600001)(66556008)(66476007)(66946007)(8936002)(5660300002)(41300700001)(8676002)(52116002)(6486002)(2906002)(4326008)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: IDHVTdKMnOgVMsK4Zy4C9X8aoV37LjTvZxYCoXJkDeRBj7p7EXOp9f7r7ZXK2z5rvB8xSacfD+Zpp8z3fFgXHRbM/ygTnLiyobsfXov79Gj9CY21jaRhxpJjpXy2ES0qJiWDBdg2xbDU92M0MA7hjzzT4i4hskxJCxSJYm/l4hj4BdadtF0jl/AVklWKPIQowL8iVmO9jrYZ3Nq0t1gycXkBLvyWdeJPEDMW0bSD3EB6qdfmfRvfCEJsIGKpAnsVTtqMlxtYtKb1Tefy9v2UvaZALi8cblrA+QBuou55zH+Q6/5KXPAgnvtOcCtlZkJlAzNI5AwhGADoZ+hV/Iywg9XytBuSqOtyxZ0M8t8SF4bo6j/A9n0sroGdb/MTYjUTxcv/ST4aqKpwXmNX90rMlgL3xnMMLXNsy2rTmCt6GadySeJaVsONx7ZUcc1TiwhHbf38pch3OnQxKAwSZanmx9CkjDA1vRlCK/Hbs3kURb5d/gjrls2pBNQVDmYxwkVDgnDaVVhW2p9WGB2fnraQXHDO/RmHpD63I5N9sVbX0HM9ZTkVQdPDDq7jo/DCQv1EsKc4xfeecbGYZeBsrM/jpxf8Cf19EhqSWJnKueQFHPri5HUb0gywqD86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046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2023 08:07:42.5686 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: C83cqjCGNA3FvHUcG6RHR+CxjnvrezbnSiIAz8u/1QtEMlzaFrCSC8SWbY4p5mCaxCFPefA31bQ40oyz28svXA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7785 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230814_010751_133274_4503CCA1 X-CRM114-Status: UNSURE ( 8.90 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The VDDEXT_3V3 fixed regulator supplies 3.3v power for MIPI CSI/DSI through mini-SAS connector and M.2 PCIe according to board schematic, so add the fixed regulator support. Signed-off-by: Liu Ying Tested-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi index df8e808ac473..7cd1cedfa9e9 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi @@ -72,6 +72,13 @@ reg_usdhc2_vmmc: regulator-usdhc2 { enable-active-high; }; + reg_vddext_3v3: regulator-vddext-3v3 { + compatible = "regulator-fixed"; + regulator-name = "VDDEXT_3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + backlight: backlight { compatible = "pwm-backlight"; pwms = <&pwm1 0 5000000 0>; From patchwork Mon Aug 14 08:11:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 13352515 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F1CAFC001DB for ; Mon, 14 Aug 2023 08:08:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=//HHcfD16UHfGwLal/1asAHdbNJ9iQcdGG/rta9XpMY=; b=wi4KGhhcqf38Ps 6kFXnEZqmVyDcvI4FrLmmSvyfDLcQVvfqc+9d8LxZybQciu3uvuniwdOyb73hVy7tm8yGnfQ3HShb WvJFTK4rTmo46sWUbHgsOSc0+ADyEQYLjxyOAPzOD6kkdVGjgmTHzNu+EhwWyOSpBmyTWmNTGjzo3 0kvI/ZVQIO+GGiGXdmduIspOOQUid1C3uPnJEPR+B4UZ44TEPQtWBWw0H79D3xCxaiWyUhlPVXjg8 PqXYYWhh4Af65n48MJaU+N3QDCEIHWxF1B1GMNofys6HXmRU0QI84PCP9/nWxnBSc7u2Wsq//GrVI +SeM06GuTMEhWnNHIx9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qVScH-00GRar-1o; Mon, 14 Aug 2023 08:07:57 +0000 Received: from mail-vi1eur05on2061d.outbound.protection.outlook.com ([2a01:111:f400:7d00::61d] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qVScC-00GRVP-2I for linux-arm-kernel@lists.infradead.org; Mon, 14 Aug 2023 08:07:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ofYvMVCP/Qv4incxQZ+4WcGHO9vkYn/aIeB9GB/KsMMqO11ZqVKkIHAVC9xxA9Z2GFReiZyjfAf9GLfOGbhqUR0Ni5OStVTFK7CNQ1/IZG8EZPJyk7+595R6ARKn0ZFO1DrYHUFA4zHOYlZHoTP6uo4YWIyO5ch2F3663LzDAb8tIJzuLbCVrpCikmX9zzSspk16SIxbIlIn16Wlqi1qvjK7bn5A6+k5XXR0uqfGA17paZgh4K3yZUkmCWmWubKfD+hrh/QI2/mudYDSJdsoRiqmCbkp8hCoyOiu87nMJ/XVt1oUqCiVKh3fD+CirJxkS1eGZOrHJhSHspWOfjkuIQ== 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=bc2WZOnU+1+XiSgdAj4lOFp8NZ7y/6fbaVIqb9iBGSQ=; b=StoB1Yh7qKGIVjzLp2Yh/lsvU/XsaFQj8zLTHYreGmTV8nciTKm3EMsxsCh5FqS39mK+Y3M+HVVUNSVZ0LYMG0KgWtU30zknNGJJtcyzaZjPvW//CMsfEtpPAPAdESp0kQq7WCAtlvLaUl6ilSboxDAfU4x1ZXDIraSH2useo4VGD2RoJtWUJl9D15pattB9Oit4sTFVso8KxFw+aiSBl7/d5BnXUDF08eukdeJumr1nf5ws66mwDXYdloS56vSHVmHoq0B9Lgq5yKhAx0T8SDxLGDEglFY25jlahPfM5XatbNQtBwK+nV6Tzu/t5udn/BHU55pqP+uiRzJJPMlalA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bc2WZOnU+1+XiSgdAj4lOFp8NZ7y/6fbaVIqb9iBGSQ=; b=E1qqHOuIxBh9qCm9CZDWSPSW8QN7ftnO2QE8lvnKRFE23Zy0+/GiqJWF96INf6CJgOzUqmEitdB0UC7QRhrHmWkLYPCcEZFSDEpSZW1rBcSWeXSFNjkeYsB06W+1YwxeSMBBNr1RWfd789cteDEbdF1H5fhWPwrWgEPaIZcltqw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) by DBBPR04MB7785.eurprd04.prod.outlook.com (2603:10a6:10:1e7::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6678.24; Mon, 14 Aug 2023 08:07:45 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::9018:e395:332c:e24b]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::9018:e395:332c:e24b%4]) with mapi id 15.20.6678.022; Mon, 14 Aug 2023 08:07:45 +0000 From: Liu Ying To: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com Subject: [PATCH 2/2] arm64: dts: imx8mm-evk: Fix hdmi@3d node Date: Mon, 14 Aug 2023 16:11:48 +0800 Message-Id: <20230814081148.4027053-3-victor.liu@nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230814081148.4027053-1-victor.liu@nxp.com> References: <20230814081148.4027053-1-victor.liu@nxp.com> X-ClientProxiedBy: SI2PR04CA0004.apcprd04.prod.outlook.com (2603:1096:4:197::22) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|DBBPR04MB7785:EE_ X-MS-Office365-Filtering-Correlation-Id: 38c01b45-469a-4522-321d-08db9c9d8adc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +WPBuThjnxtSgRMQWQmr6JW8RfaqXYkbr7nzNxeRbFg17yJrx9Rp9GUqDEINbbOrYpMBnzJb+ZTSNt2bOqoOQSYrq+RZTo2whjj5PaqMUzER6SA0ujOhBOGh9y8neIiLWcj5NBInX6WHCPa11OMHEBYhItZefC3df/y3fVdzvbOAm96+jFgL0XP6t6xAMPOKWOLTtFFj4qBVBiJDyJWu1Sxfu69mKVcxS1GKCkpmBqUnxAYT+JsIxlKITPi8zv33Wrn3nZwx+YtHIecH/9xrZ5oalw3m/JjwkDZAgkA2M0cW0vE38yCLNMduy0k53ECGZP2+sAlPHDLBz0BI27CrNd8YIgnXfJHBaU69XOyWrd/5mLDfheGJpAuDPxm6YK+3P+7VP2kIrtGzQTlSnDwwpGuy9/kbENQ0k/5UvBParXx1HwWUsAJ/ldgOoxPpLyqy6Jh7fOPUl6n8JpbBZTc2IihB4sWKku5ci93D+8Oom4OuTHenJLtRVH4NlnMGsg3kjyZ6WmizCJ2Zyf4/iAmH/W8dUmLH64h4gBPMnX6hPRlM5XkcFN/BdutJQCIWAALytgZL0M5MmoO6RyhKZorR55qgvXzMyoZrflrBS74mzu/AmBfPwir1LiLF/MbU11C9QLD9nn8B2XA6FsXBVeMUvQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7PR04MB7046.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(396003)(346002)(39860400002)(366004)(136003)(376002)(186006)(451199021)(1800799006)(26005)(1076003)(6506007)(6512007)(36756003)(86362001)(38100700002)(38350700002)(316002)(2616005)(83380400001)(478600001)(66556008)(66476007)(66946007)(8936002)(5660300002)(41300700001)(8676002)(52116002)(6486002)(2906002)(4326008)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: VkK75H8IHTTyIWKi3uLWS2rxmBd8xP9eFBxe1TjKpm6jUWKDZiNAWS4i9xK0v4iA3FqiRXrT1xWZcAoSsRgXmH3HNGIAzM3myJbHFSFXRnCGG04Jr5saiRS7PbN/OsCbNvuthLHIlvDCLaOlzhxoFHq8asNvqsB61vDcJVrmYn7TOvYmFOv6+VZZb0XtChfNU4GSTJlPF2Y2hmGW0wuc8Q9el+haL0t3NHMXsj9MYE/OwYdnKm1T5a3T36ElwbEWwcmXIvOPMMSvXcwqFWvtazgFu6aj3LLTwrE4w/gi1kd1N94xzW4Fggz9BN+sJ8A6w6q6IqsmJ3wrDeF4yFYAtTumhCCo7LH5m75sH7VBRNp6wcbMhCxp+NKoPPiQ1t+ZAKZA8jwTMsPCHdqt8jEv67PlLybMFYwZjyppbJsHFQr61bgNjTE4Mxa2f7A6P585+d5aZVxp005pSzwhs2PZA4YeX1ZA7AsGXwRsfytnwp8v/COVkNpGqduF31kQM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KTTTA X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 38c01b45-469a-4522-321d-08db9c9d8adc X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2023 08:07:45.8385 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 8859mb8pO9GGJo+CQDVwQNk47DjBfTPeBYqiIkluYiE5U2yoqOX4+AYdezHwJmrQv1gvZsSNDFidp0oN6TVbJQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7785 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230814_010752_773790_020E8EE1 X-CRM114-Status: GOOD ( 11.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The hdmi@3d node's compatible string is "adi,adv7535" instead of "adi,adv7533" or "adi,adv751*". Fix the hdmi@3d node by means of: * Use default register addresses for "cec", "edid" and "packet", because there is no need to use a non-default address map. * Add missing interrupt related properties. * Drop "adi,input-*" properties which are only valid for adv751*. * Add "*-supply" properties, since most are required. * Fix label names - s/adv7533/adv7535/. Fixes: a27335b3f1e0 ("arm64: dts: imx8mm-evk: Add HDMI support") Signed-off-by: Liu Ying --- arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 25 ++++++++++--------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi index 7cd1cedfa9e9..6752c3027436 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi @@ -26,7 +26,7 @@ hdmi-connector { port { hdmi_connector_in: endpoint { - remote-endpoint = <&adv7533_out>; + remote-endpoint = <&adv7535_out>; }; }; }; @@ -324,15 +324,16 @@ &i2c2 { hdmi@3d { compatible = "adi,adv7535"; - reg = <0x3d>, <0x3c>, <0x3e>, <0x3f>; - reg-names = "main", "cec", "edid", "packet"; + reg = <0x3d>; + interrupt-parent = <&gpio1>; + interrupts = <9 IRQ_TYPE_EDGE_FALLING>; adi,dsi-lanes = <4>; - - adi,input-depth = <8>; - adi,input-colorspace = "rgb"; - adi,input-clock = "1x"; - adi,input-style = <1>; - adi,input-justification = "evenly"; + avdd-supply = <&buck5_reg>; + dvdd-supply = <&buck5_reg>; + pvdd-supply = <&buck5_reg>; + a2vdd-supply = <&buck5_reg>; + v3p3-supply = <®_vddext_3v3>; + v1p2-supply = <&buck5_reg>; ports { #address-cells = <1>; @@ -341,7 +342,7 @@ ports { port@0 { reg = <0>; - adv7533_in: endpoint { + adv7535_in: endpoint { remote-endpoint = <&dsi_out>; }; }; @@ -349,7 +350,7 @@ adv7533_in: endpoint { port@1 { reg = <1>; - adv7533_out: endpoint { + adv7535_out: endpoint { remote-endpoint = <&hdmi_connector_in>; }; }; @@ -415,7 +416,7 @@ port@1 { reg = <1>; dsi_out: endpoint { - remote-endpoint = <&adv7533_in>; + remote-endpoint = <&adv7535_in>; data-lanes = <1 2 3 4>; }; };