From patchwork Mon Aug 19 02:40:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 13767738 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 3F13FC531DF for ; Mon, 19 Aug 2024 02:40:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B59FF10E194; Mon, 19 Aug 2024 02:40:17 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="bF9H/TS3"; dkim-atps=neutral Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011037.outbound.protection.outlook.com [52.101.65.37]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4C56710E191 for ; Mon, 19 Aug 2024 02:40:16 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DfttBRbjc+jLk3hZGKlg07E3fDuAAtRGvNHgOUMHtuIycITlQor9cWeqHuqlJM4P3jNi/1W//iofQWTeC6R3XUk/egj7aAQMXYCzMIG9TaaTkua8C0IVOvZ4z7rap9eaJgG6D4Iy2EleYHmFAGrs5bXkLfwm9GKBrWOtFi5HqteIfR2j/GusxuDqK9TbK960fgFjvbRR4vCaGDDBEn3AxNJwWBRZnTBg4wDkdq5PSlgwykusmoo2283mMmKLl4tJZKvVhR61m6G/TMUDeURUm9BaeR6qdKqwsgavkHNPMIcfNhsfA0+PwXjeu36uXII1XGcaD1uOK5V2apgR1AgBEg== 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=BOgHqJJS2it1n2g3LplV9lY7EitEwoWzqQ8I6euYF5I=; b=uaKVr982ziC/WjMeQ8poycZo1J07NK8jDPB7IiPF9DDO9sJpd9TLhWnLaogA87u0CH0DE8+4PeMMnxHgRwgOoDu2zPRedNErO4TRiZFJ3Q7ZmmViO1izC6PXUe1is6l0K42hWFfV/Jep1xkrkaJv9ho14UhpjthHoyvHQuyKT9NbUlCqY8PDN8W9RM5GKxHGyMtkl2hfVg0+T6F7UJx7M5j1UiI7ardbamgoxGKgD/GQ0Af3CJMuAluaveQLkcvFWJl3ETgy3xwuKjg9y3YkRIzoZ20gr2f58qhOX7jUm2RSXjN000cctul2JQenKwwA9gTn5R/IeR/sUCk8/Dj58A== 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=BOgHqJJS2it1n2g3LplV9lY7EitEwoWzqQ8I6euYF5I=; b=bF9H/TS3cRuC9v+v3QmjweRXD2Xl86gFk5ITb44zvkl0iQxZeWQ4dGu8myDQYv7rZRkWw4N3mCs7uYi0ca3uYgK5sQsump/i9Bjf0kzj8QPPDu5Sdvw79hnlwzi+oxHrUYqLTwxVbMs5bsuHANLpl2k9OLK5XrjdPm5ObuwIEl775rZ4jfXZ1VdYhPTwcnFqiFPMT7x43LR7c8j3WsNWmeCg5XNzRm5b7X9jZ7NRpFYMRrSxrvzCv8ci/L1kZJQrGSIr4aG6tv+4VMN3JmJteCtNBOfqQMWMtEr5urmfwLtVQ78IQiV+6NwtmV8aNio5Kn/AC2qZMymw1q80Cqz8lw== 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 DU2PR04MB8807.eurprd04.prod.outlook.com (2603:10a6:10:2e2::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7875.21; Mon, 19 Aug 2024 02:40:10 +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.019; Mon, 19 Aug 2024 02:40:10 +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, krzk@kernel.org, Conor Dooley Subject: [PATCH v4 1/2] dt-bindings: soc: imx93-media-blk-ctrl: Add PDFC subnode to schema and example Date: Mon, 19 Aug 2024 10:40:00 +0800 Message-Id: <20240819024001.850065-2-victor.liu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240819024001.850065-1-victor.liu@nxp.com> References: <20240819024001.850065-1-victor.liu@nxp.com> X-ClientProxiedBy: SG2P153CA0025.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::12) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7PR04MB7046:EE_|DU2PR04MB8807:EE_ X-MS-Office365-Filtering-Correlation-Id: 63ad6927-185c-4643-48ef-08dcbff83ece 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|376014|1800799024|52116014|7416014|366016|38350700014; X-Microsoft-Antispam-Message-Info: Xpd1luQtKa27dwNW2Yy4REuR+l/b2gqta8xWU0ZETNyjOcPgPJWqTMmoXyFKbxzxqwsyu8VXin1um9onQHbtcAQecFZIVEV0LnR8z8Fv4Fwm2iYjBId5jD0QUo22o7hHoTesWIMtqxt/HSW9WbLZl52LTnhL59dq3dkbfbZni8TP+pzaTXu24yk+aIxjSXmbTtEurYm4HY9/QxdulQKcoy8AcBg50+9EY1cL/kK4XB+5ng9gWA+IW7YONwAVlAxltzoxC+4CFfZVJl2eVj4JlVmwxTuGNTQI7HZ8zM4X804IynMRCQKyByZFx0WPUnYBsTtPTY23pYMgx8O37IW359sEvLj7vl/KbTiFEpHYM7VwTZGn74Tk/ZlCeJMbeQMo+7D/yb+uUWuXZMxPEqQd+lfPO/DW028PU6WCmlhC1dT0lZpcgUkY2W0JNOOfW9XDYT+ZWJwneu3bk0GIZcx0YpOCV0Vb3xoZbJ4Fy9Iid1xJ9cOogBu/cSu4FQjhJ2c84x99jXqnsq+wwFSNaiKLHSE8QTRxt671AbgIZcOHJYUDgZKoNzDAhcvJUSSfgiouEWjcab1mu9Rl0b7wim6wCusuWecNic4zGhbHJoUJa8GfSgVJmbWRViDF3Pz4DoA63YXpGkW1F8jqAwpQJTzROnBceRYlBRC1vJErqpsVzjcmWABODrPGr58vcEgsObLwxoPDxHG/Ki89w6oER+Iz61INQAKwy1yZqT82U/Zlq+JxGcufm+i9uqeCoYeUyoGta4GeGusTXwHK0/pbNtBiC9v7k6CpQNeh68nbyPRhvsSEOxdSm/LkHdE9B0ME3AGLvSKlhAlcKvYF5k9jhqIiJnRgRgSJXoe4Sj5cZWTZOSxw9+8K0bfC9VN9KSUJs3P8RoIuUtndDyY8fdu4f4M7OzOG/y/i0Cqq1bvo4r2gMjXJpIhBYcH8l4PVLwAyc6nB68kNgorNvxF8Wc904IqrpgQgLm3KUMxFdoI/zCNIFJejpnZOflcvU4exZtHltqmlgyPy3ZFwDc2DeSDsTtx8eazW/9N8fHhvq/jPMXJmeWT7A7zv+pkItuCw9Ubl/MbuXCD4jSyY5G0NeDfaG4mj/LmmQtKz1pXIc2J9HCA9ItIyfSOr60LWJRPQodpVxsTlmGltVF6HD9ljF3egY0rGW15HypkoPcHnk22LG6JhaYjIJ91TBWGb/FDH6ifQYKWGs5NeU7WA0Zjym0367RsmStFfbOfdZ6dCdjkFJjVyvyDLAES9jwUYrYwrD8XZz9/jii5bWGEuxeC7Eo22IOYoj8tWyQIYCIvPd9b2MPbbot4YHnV/jbLJyoDIaUV6yw6H8QikQDrdopTTcPw7MMEg90q1d3WqA2+/bhXpPyyeCukygh5VGE+bF1gvImXmoOwVAPUCAVy6TpDqClHcBIVGrA== 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)(376014)(1800799024)(52116014)(7416014)(366016)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: FxXCh7ozWRfB9QCP17r+DU8U3pvOKiD0Bb62xP0mWID3uNLJdcwC7UZo8dFQHk8O4aVUREQR5va8xuATEBa2KWEdyetH3uAFgko/bX7ur2B9BC6zSfw8oWBTsvOiEFRKX2yaviQTsmI5eM4qdfS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ppR2tFyuu16GUoiMCGvjdtAHS1IQ35o8MP0gYsv6qyXBVFYMgHZqVsz3KQKTnEqeNMtwnwrRWS3K4utgYygTL08tR1019BsP8mRPp4sfFbOhAGX85byP5LfTEI7wMCitxKqaKYUMxK6jhlvQDBP7sbYoFDtWMdokBayQOcCjayYZnjSgYTRli0+gTHUYQRnHtg+VuS7XeBaTkEI2rIlCK1aYaPx0lIFq2NBx8INbn1GVOBfGvLGIwz51I+AhLx9XaSWd7CjikhrxE8nJCS1DoiLbd01HRLlJeFQ6Gr/IFKXA3hO4Us/22glt2WvRnhhrwpJpO2zxmLVDom9e7yfj5Ql0G1cKUbc1xI24QHnvmkb72H01Esta X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 63ad6927-185c-4643-48ef-08dcbff83ece X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Aug 2024 02:40:10.8191 (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: 4OfEKPjWJrc4LS+2muyOixMU55BEVK5uOeJpzHG8prQEv/62g/DqWcsq5fNGa2ldkSd99SiKX7YCqf0waiNpPQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8807 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 --- v3->v4: * No change. 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>; + }; + }; + }; + }; };