From patchwork Thu Oct 31 19:47:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13858320 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 A3B75D767FB for ; Thu, 31 Oct 2024 19:47:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 21BB810E17A; Thu, 31 Oct 2024 19:47:37 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="FnKnc8Vq"; dkim-atps=neutral Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2086.outbound.protection.outlook.com [40.107.105.86]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4118310E17A for ; Thu, 31 Oct 2024 19:47:35 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=EJNI3dSQBwqOd1MnXEO12yv9A9hkrAuydez0TbPgubDBBCq7drHWDLPd2F30XQwhClbp3UM6KE2QokbjGzJfs1AtNrBpEnU7bhphBW7qb7cUN61wOepCpuz4gXuLENEIKW46Sfkz4IpMuy32QvoKmMCIr5xqBZbglpJ85UzstWYE71auZWud+ypxStP5oMCBM2TZQisbSeaA9eZeleKGPFNJtlbQVbTGmXAzdvn19GCMTpvjJWo3cl6Kz9ehhJQFyrMORF/9qYTHpvUbsA9FKaG9FOypSsP2TULPuMDGbUL76Y+EpFCzo8ZII/aWL78Nm+9Jb84iFuJwDcQnPdTDIA== 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=bK3kAZ9RyHcJai0t4FqhVPhOqmIo6ZraaAzbna2I480=; b=U/5R0F4e3Ww2e/q8AgTI+WnWcbwTqQUnCH6sm7/ESNlSm5/SIB43lZD2K68qzKCLkgOsNLVy1D9FbFP6DvDR1za1f2ilSa9vzisUuZPdeuUmI1hF7r1S4CstubmkY48g5p8MpSnTFThJD6GMXP5hOfM6g6mlDs++jHgt//H+swaIM+DiS8kNY6IcyTWbNwYnLTxzCi2f/DAe+D/v9sqnLISAG6ppeh1I6JC8fuxmHZiONP4+PPQEkSjD22cozCrHt7635fS+9SQju09ibAyntHUdhiYmE1Es30Dh0wsNKWlELESgosyiKBbtsGk4KzD1WkHJTKde7VacpKADfPy0ug== 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=bK3kAZ9RyHcJai0t4FqhVPhOqmIo6ZraaAzbna2I480=; b=FnKnc8VqgyieHdMcQ8LeEVN/3sVNVmkIozyT0d5g0RK3YdRYTxI6owS2kj8o4SHmgvOnG0P+ur5gF6KcxqfzeiPr0B/ueNTx0Q1BJGnvsHYlpMeyUg+FUMjSL1ZixSARku5/zDrYo1ged7ozP2kDgMDb+woniQt1kgowNJlYQJ8/xrVThPV8HvzxTyDSWhsAZ65ISsQE4ugDXtC5hmhmUY7wD3yKFJi9Lzls3sYqgAPBpORob5yKaEPuO3kxv4deC/FT0GwoR5CPqcJcVtEcOx8qKEZf67vsKhqBJHGJRmR7hbCz0wgY+eCg5fWeZXzY72s3+JAhkNeIMHOu0X4ikw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by PR3PR04MB7211.eurprd04.prod.outlook.com (2603:10a6:102:93::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.32; Thu, 31 Oct 2024 19:47:32 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8093.027; Thu, 31 Oct 2024 19:47:32 +0000 From: Frank Li To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , =?utf-8?q?Guido_G=C3=BAnther?= , Robert Chiras , dri-devel@lists.freedesktop.org (open list:DRM DRIVERS), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH 1/1] dt-bindings: display: nwl-dsi: Allow 'data-lanes' property for port@1 Date: Thu, 31 Oct 2024 15:47:14 -0400 Message-Id: <20241031194714.2398527-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SJ0PR13CA0091.namprd13.prod.outlook.com (2603:10b6:a03:2c5::6) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PR3PR04MB7211:EE_ X-MS-Office365-Filtering-Correlation-Id: b1469958-3bfe-456c-791e-08dcf9e4dbfa 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|376014|52116014|7416014|366016|38350700014|921020; X-Microsoft-Antispam-Message-Info: 8pG8ZOGdtlRzVbc7H0zg3nb8vZckMPKLQjeoZ30ODRnGngt5WLM3gdSlwWvG9A2/akhgCP9HV8WtDRKYoEnO7JCwRiWZebuzVhUplURUxxEMTCGZFk/fgWL4/xhzo+bM01oP2e/vJwyrWd2osaMAo1AC4XFy9H0GWO64F9NB6BSv6csLrmWMTSSSwcbb86SUKCrsbYgI0QLCx24Wgqqhd3bdfPzN8SS7oSkqvX32EiXZ1LAPyUdSkwCHwh2yLWOx25gE1jfRlqDY7PobcT7Mz6S9pdKHouAzypiI0YPlQxe5xAB5xiA6+VoNeCxHg0lJ1namLmzaZNlgs4pkFni0FMRxDxNbIQTwt15XT4a/QxZFkrV6675HRxo3TiB7ErSXNjcUCCYUrcYzLbj7ANAunLz3tzKfsrLtWfhh6/hIfxxHt/C/zEVFkKZaashtv/O7TOINR381MNjD0s8KW9x1Rd5Joj+hSXyXGgGlqUBtE+rtyQT09RC7TFL9L134FvBW1+yrRDDTEEN4ixW5yQbyRUZ4MFOvqMx6f+UTzmIk+xJzqaT6uczoDBPUOnlPVDoQDSlrwy9B2gDGW+ClPUUs5QezIgy/4jEwirnptdCbZcSGs5PL101o7AMNM/6ApSBtVKlNvln4TlcAZAHWvgAplNs8ORFmVLrF2b+TKCCzmMP0HQgfUEqXG9NRP2Al1PKYjq4YXmtFAUljIxhZeBKyrcl//7J0+RiUGRwaM1yztvpwkyq2W4hsg/C3rqxkL3oZfSA3n6ol2vp073VLDAGm5TIT8GpKY5yhpBjXjOaZk6K9JOZkYXTqpdzp3yFVwM5lyGjwSi+2HtsObkLMiZmpndhSLBk6NDKy+Gz0Wu8jhCPE+j94XMZLLk8UG5ggPSCSk5T8dR/x+W/KwY00TGO/tlQZrrCsuxOPVOu+2qS39cPgRqjo99GWNCMsA6GeNbyzpmXvnJEA/u070VvKXssDvn9CklSZ6oTBScxhwmj+n7FVszIf7CUQO/L8gZ7R+jmD6xHPaQqIfD4CnII5w34cZPYRaOBGtdE69tm0ORlhWGPboMoyU9PoenvhJk5XEQBRwYYLyoH/ZfDZuTiQQCh+JG7gboohpukjikMXZqIHYez9kQXGwA7z7A1zewBHXkHFugQkmVJUT26q5iADKWyQlip9FiTVk6VbV5aJDV4Gb4M13yhYKFVNv+uQ1ULb4G4lOMBKzyZ2FiHAzuPdm1V7yAaEArDlCVyNr23nKizC40D2RqASpSsPjLx2k3uvJQWvHibu2zwDh3a8W+9d0z0gtUy6mnSabfb9vXNVoOADr+PYzqSx3kWBeHpxq7tcJj8cvWGP++ePeZAAk3vhxv49eRm98BOr3GBM4HS+aWB070HNA53wd7/TV2zzXFn8NyNO X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB9642.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(52116014)(7416014)(366016)(38350700014)(921020); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: SHcsSt2MQQ4Z0Kre3kj+LXHstggZMo7QpvRxz7ZKGAsHh6rBTLfYrILx+ZpswI5s2aJ4tghxuSH7DOR5u7JcHQOdE3xbGkmxgq6XMlWintflmDRJ4nAK+L2QMt1zsX5tTOK4SgfOwygTWSC+1lTCVUwmtGH+XtTXpX34BOdcTAlAwVMSP12U8ai2X/3vJRZ+hIzF26atLs5Oo6+LGQ0BUTyvbxJfeuxrJa/5ujo2IxxCqpao+NKFBnC5V/VenKMrXpMY/jwekjYVahfw7m4lqtDLr0zSZ3zJx9+E4SMtG/99QgWMWnZUmrNpTNbBYWdZsa4k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cBlW8m2+8sC9UDf5egeSPycTP7Gg4JVH8mLYztM/af/InAwPXQMW53J2ntXgnISHlDcdafaW+AmaaipPgiuAFBJZ7WC7o0VEErg9uUsZ5sBZmjcxlN8cbbfPJ3wQJ49PwmnQoAalu+izJTDk8IawUghwTWEytKUACA8YidXb2s2elsFQBgZD96OvAGjt5aTtA3nMG/7n4c4jjFrDRM0q/nu X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b1469958-3bfe-456c-791e-08dcf9e4dbfa X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Oct 2024 19:47:31.9867 (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: foakFjrETiwKalrUlH8uBKdOYwKO+TKWwHQvcJYtuEgW6pmMDNntl8+/1w8gvnqISHBFIJb3+q5XOeMG/SKAew== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7211 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" Change $ref of port@1 from 'port' to 'port-base' and add 'endpoint' property referencing video-interfaces.yaml. Allow 'data-lanes' values 1, 2, 3, and 4 for port@1. Fix below CHECK_DTB warnings: arch/arm64/boot/dts/freescale/imx8mq-tqma8mq-mba8mx-lvds-tm070jvhg33.dtb: dsi@30a00000: ports:port@1:endpoint: Unevaluated properties are not allowed ('data-lanes' was unexpected) Signed-off-by: Frank Li --- .../bindings/display/bridge/nwl-dsi.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml b/Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml index 350fb8f400f02..5952e6448ed47 100644 --- a/Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml +++ b/Documentation/devicetree/bindings/display/bridge/nwl-dsi.yaml @@ -111,11 +111,27 @@ properties: unevaluatedProperties: false port@1: - $ref: /schemas/graph.yaml#/properties/port + $ref: /schemas/graph.yaml#/$defs/port-base + unevaluatedProperties: false description: DSI output port node to the panel or the next bridge in the chain + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + unevaluatedProperties: false + + properties: + data-lanes: + description: array of physical DSI data lane indexes. + minItems: 1 + items: + - const: 1 + - const: 2 + - const: 3 + - const: 4 + required: - port@0 - port@1