From patchwork Fri Aug 16 08:09:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 13765671 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 7AD93C3DA4A for ; Fri, 16 Aug 2024 08:11:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding: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=cBgvnV0vGzFUX82obLi1whjT8/21qAXVAUeYAGHmp6I=; b=v0g+9wHJTvS+G9/UPTO9PdiF1T CMfOSdyiRIZgN07kdJLyxiR3A1r3pAXg1uxzewdq+FgMmeWjepTYZe7Epas9utq0IfNj8t7OZTaZN gs5g665gx8Qqzm6drPDOgd+BUtYmjeJqCYPqg0NCAkFpXMs4xZyq/Y3DOh0DdO2B2VwUJjEHa3Y45 YWEZ0UVaz/iNkHKUj68d8K+iyZm8Db2ensuEjaV5V8Hx+YwawFWHfXUEpvMKhIQnuIYpz/xsIVteY +s0i5hd5jXYklMFwwVpGtRyYdn48RYPKncRNtXoIbJniyLfG914MKud6llcXe9PouFNK59AjdMqyW 7ldPcykw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ses33-0000000CEDm-3yNe; Fri, 16 Aug 2024 08:11:01 +0000 Received: from mail-westeuropeazlp170110003.outbound.protection.outlook.com ([2a01:111:f403:c201::3] helo=AS8PR04CU009.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ses1o-0000000CDwg-1OhK for linux-arm-kernel@lists.infradead.org; Fri, 16 Aug 2024 08:09:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=PbeyU4vciAlDrd74+BfDkLqONwIaDi23IGbpCoKvUniWH/I9XB0UPtrb8rams+F9h3ABLODN+vR7osfKRy/Lcy/eauHmvpk7DeZtlq/TDdKMFBuqq/gJaSwDFtT8lZMh354e9VJ8jLHMXCseSGMLdAsZ65sfFjxPUaBpikjFeXtfA02Lbf64iYnHorvkFzAMxgzCMTNBfUauFOKM+3CW17qoc2Brx8HmhWGUGaJ3XPVKG0u52nMG8fCzQahz0AOa6KVYpisqflVkZLnNM6bC8zYaUHMCarXdaODzDFF5VBpx3PHjXhBc4J/tDXmyHXFfSHrH4lhHaWfK9VN9I7pzQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=cBgvnV0vGzFUX82obLi1whjT8/21qAXVAUeYAGHmp6I=; b=qSf4A+HiLt/58uoz3pgUn9XhhzzzuyfEJKnSBlcSdf06U6MGNBXustjds2JQiDs21AgxYT0Z2erOr9bIoXc0zAgboXMDInPQttlO9RosTsTo2Qv+WfB5BKseYvHIGZeDuvhGgb8svheKbtC2gvtWYF8OPWI9rY4IWYaySpwfB72Ocg3pzi6/SAlD2okXwrUrl+YX7dTq2DeLYOEX8+ZuXa3ZK1OxCP/EU7gefEJzfc8QSjhg1fdE7eZsRK5H+U2F3F0UHWvC7n9zntLnPxQnISPn1lotNEGXzBcVpUyjOjfaMiWlczjsNeY1591zsVeieDrCMvU1lh+eCFcLrQvtQw== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cBgvnV0vGzFUX82obLi1whjT8/21qAXVAUeYAGHmp6I=; b=aLUtqBfoRAfU+RBNZcnY4xgvUTRDhaOSFrSxNsOiLHb72aGUr6v7qGfBtArZpz0PrUgwPlFEuO3NjATiFlxQn7jtVNmbjePAqWMZD/sFox4jBGRl4Ca4MSFrF90DvNZOp/F/9D5+PTCIbTaFSILePO0x5dTMNBEK+AEfk9jIFHJE7mIfsqUWghjBya8lebtFX6r6U6kGTvxF/u8BcolKLQRBboQcCNztPRMhoPoCZpmB2utrIh8BH/nUfmea2hPU1el9kskWH5LvzSif7bBsMkpmHwWdma4wD4wea5OYVCYX3+pUS3yeHCc572eeQvuWdfdsbMAfvxhyVvggSk2sgg== 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 AS5PR04MB9941.eurprd04.prod.outlook.com (2603:10a6:20b:67c::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.19; Fri, 16 Aug 2024 08:09:41 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::d1ce:ea15:6648:6f90%2]) with mapi id 15.20.7875.018; Fri, 16 Aug 2024 08:09:41 +0000 From: Liu Ying To: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, victor.liu@nxp.com, andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch, peng.fan@nxp.com, Conor Dooley Subject: [PATCH v3 RESEND 1/2] dt-bindings: soc: imx93-media-blk-ctrl: Add PDFC subnode to schema and example Date: Fri, 16 Aug 2024 16:09:32 +0800 Message-Id: <20240816080933.440594-2-victor.liu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240816080933.440594-1-victor.liu@nxp.com> References: <20240816080933.440594-1-victor.liu@nxp.com> X-ClientProxiedBy: SI2PR01CA0035.apcprd01.prod.exchangelabs.com (2603:1096:4:192::13) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|AS5PR04MB9941:EE_ X-MS-Office365-Filtering-Correlation-Id: fce449b6-d883-4ba4-b5db-08dcbdcac773 X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|52116014|7416014|376014|38350700014; X-Microsoft-Antispam-Message-Info: JirXDemJNQQ+vgouMAD2xEaNLW9y/hGrf1lyHLob15PSiO0KdsTH6t9m2evh1TV6hdUN6y4nwCD9n/+01OODN5g4xR5dxySCD4mBX3nNCg87jnfBDrtUGKnl7MT96oSyy3K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kq/xr0QXgL44/jCYwPme0/6PLcTvgqwSnOz/xuVZFI3k3QYGjor2wX/LrnV8mdpaKxljJobjxmJ3o+SLyrzA5zkCwpwh3eHwyPkeGuTdYLcaUVAjT2L71znEu95QpmmkbNmJdvuAsi9MYycISkIF+6gwFvzx12CTyyVbqJqMszytz4DI/luzVWTYAYF99MzYvzrg6PgJlHjE4jc4BizUpOZA== 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:(13230040)(1800799024)(366016)(52116014)(7416014)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: XvoxGqyQgY3xTxDqUC9D9ajLqDY8qGjauW1Nbb40lxVxqsVrKWK89iPvojVO0s0nP/CTgPktq9DMbVDrDrndCy5VDF1M5Sgc5kuS1HAqvM0Dfb0dGyH3k28ICeeSTcpwpjqWAwZh/BWW7dj8d2PCwmb75EHDIkfqDWe9u4gs+X02FMg2efQWYiCm2GsCwRIrswzAC3EjyW48hHqjciTUDW3I+ocwYFf6AgN55ezqtasFJYYaMkZj3QbAsuSdF6mB+szhe4GxINWcVvSj4Pm1oXPol719TpKOK/D/2c/YGDizQ9qRNpxdSnRmPVB081rbacrjPCaAgoPep8n2A2fNbEv4ysY4cN0Lvf8xmGZ7UUBk4HtK3FBchpseunRN23FV9j0ArC+T6eWPC91OMBILcYrrfwjCU+RgVzLlEr/dy9YwqhqhIlVShB1SZHBEH13jBH+Jlmxfg29NRB7f6nTKHdNhptTrrO+fSMhBPw571T0LeAN8C8+f8YUoIq8urUgeGCzQo4JTF+ePMoF5GHREE84xlwGhZCxI6vOVUH8lSvwe3jsY5mJaTWvchqhGxhVro0cOiVvUQLTta06JNHwjJZ/ZLSLjjAJ93iBWU/OD1GNTfVF+NsniHGAee7xTID4feQ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eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2024 08:09:40.9597 (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: O0+IPYVQpC5qHMxmLepl+6iua7TAI2BKVFTkjbrwK9WUdTTE3JazVmA0fm12GIkOGC2Yj2+FBB7XPAS3kjOP/w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS5PR04MB9941 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240816_010944_400268_0626C4D7 X-CRM114-Status: GOOD ( 10.66 ) 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 i.MX93 SoC mediamix blk-ctrl contains one DISPLAY_MUX register which configures parallel display format by using the "PARALLEL_DISP_FORMAT" field. Document the Parallel Display Format Configuration(PDFC) subnode and add the subnode to example. Signed-off-by: Liu Ying Reviewed-by: Conor Dooley --- v2->v3: * Newly introduced to replace the standalone dt-binding in v1 and v2. (Rob) * Resend with Conor's R-b tag and with the patch rebased upon v6.11-rc1. .../soc/imx/fsl,imx93-media-blk-ctrl.yaml | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,imx93-media-blk-ctrl.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,imx93-media-blk-ctrl.yaml index b3554e7f9e76..3f550c30d93d 100644 --- a/Documentation/devicetree/bindings/soc/imx/fsl,imx93-media-blk-ctrl.yaml +++ b/Documentation/devicetree/bindings/soc/imx/fsl,imx93-media-blk-ctrl.yaml @@ -24,6 +24,12 @@ properties: reg: maxItems: 1 + '#address-cells': + const: 1 + + '#size-cells': + const: 1 + '#power-domain-cells': const: 1 @@ -46,9 +52,43 @@ properties: - const: csi - const: dsi + bridge@60: + type: object + additionalProperties: false + + properties: + compatible: + const: nxp,imx93-pdfc + + reg: + maxItems: 1 + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: Input port node to receive pixel data. + + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: Output port node to downstream pixel data receivers. + + required: + - port@0 + - port@1 + + required: + - compatible + - reg + - ports + required: - compatible - reg + - '#address-cells' + - '#size-cells' - power-domains - clocks - clock-names @@ -76,5 +116,33 @@ examples: <&clk IMX93_CLK_MIPI_DSI_GATE>; clock-names = "apb", "axi", "nic", "disp", "cam", "pxp", "lcdif", "isi", "csi", "dsi"; + #address-cells = <1>; + #size-cells = <1>; #power-domain-cells = <1>; + + bridge@60 { + compatible = "nxp,imx93-pdfc"; + reg = <0x60 0x4>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + pdfc_from_lcdif: endpoint { + remote-endpoint = <&lcdif_to_pdfc>; + }; + }; + + port@1 { + reg = <1>; + + pdfc_to_panel: endpoint { + remote-endpoint = <&panel_from_pdfc>; + }; + }; + }; + }; };