From patchwork Fri Apr 22 08:47:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xin Ji X-Patchwork-Id: 12823100 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 9861EC433F5 for ; Fri, 22 Apr 2022 08:48:53 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 94E8910E1DF; Fri, 22 Apr 2022 08:48:52 +0000 (UTC) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam07on2113.outbound.protection.outlook.com [40.107.95.113]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6E6C310E1B1 for ; Fri, 22 Apr 2022 08:48:51 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nD1yZl204GnOc/I2WvSmWN9A1BzwInUlKyeV5NCLYqP2xxIRDLoRMO0S+FHxB2rpH6C+jSl+5sjlWqf7BTAZBCYQjY/gQ5oO0o8uaDHzBu5KEWwiUZQTfifssSTLU/fxjNHz381hyUOcesJn7WSTncYpcdIy0x3IzxPptbHu0lpmrDf6gwD//EVOdN0nOeSYQMVPhg7JLXQD22bktfqVWMd3usCihp6gRBdnWbAsNjdXGzXSm53DBTM6dgDk1eugo0wTJ6+YDslTwJqON4hDkozyk2IlvY5cjtr09iUfxiWcxmP0qF8rHZgQqhXRw8PUeWdiRhre37/ezuWhp4IHvA== 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=mF7U2yYwsnSeyE88fXr+Du2zot2Z6/lVLuIY1a7BAzo=; b=XgpCBOhKa1ps3WtSochcSPnkcVZSq259Qw/WuMXW4is2CrInDraooRf1fPV4OiS29emHY1QlGw/Eoh8CWcGfBfMHSqeGISE3nk5kEXde9UjEWz0r2VY9XYlCZekUgLKw5Sn5JDvFxN8IGIt1Su1x+ypP2MhaUCRDI/sm3zPtgQ6y8s46GAGv6UuARuCwBC8Fkfa/xHa+xKduk6Vy5BGhkBUObfOGwNajlRq9+oZsjwwXxYEJxDeR9cC1kuiDPO15FPYSQIsFVxwfluK5Tn6egS9pISg7KTmfimGIl32iPh+OGuAoZfI5R/NhpDlyIZNBUa4Ht1tbBL687hd4DqkPtw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=analogixsemi.com; dmarc=pass action=none header.from=analogixsemi.com; dkim=pass header.d=analogixsemi.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Analogixsemi.onmicrosoft.com; s=selector2-Analogixsemi-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mF7U2yYwsnSeyE88fXr+Du2zot2Z6/lVLuIY1a7BAzo=; b=uFdJcG9y5WaC377R+5haNndb2lEazeF4MEEHeJehJ6X9oNosm6IHHEdJav6upG6rOjsGX3B7UjGmT+6Mx9dQw88lYMXKDZ6uPGxToVNecbu6DXjWW3DNnwGNS8Cw1DYQL1frNUpagrrUjyiNA51vm8IPjQnKTdxUYvSqRMOtHLM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=analogixsemi.com; Received: from BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) by BYAPR04MB4598.namprd04.prod.outlook.com (2603:10b6:a03:55::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.14; Fri, 22 Apr 2022 08:48:50 +0000 Received: from BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::e9ba:4c90:6e9c:39f]) by BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::e9ba:4c90:6e9c:39f%4]) with mapi id 15.20.5186.015; Fri, 22 Apr 2022 08:48:49 +0000 From: Xin Ji To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Xin Ji Subject: [PATCH v2 3/4] dt-bindings:drm/bridge:anx7625: add port@0 property Date: Fri, 22 Apr 2022 16:47:17 +0800 Message-Id: <20220422084720.959271-3-xji@analogixsemi.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220422084720.959271-1-xji@analogixsemi.com> References: <20220422084720.959271-1-xji@analogixsemi.com> X-ClientProxiedBy: TY2PR0101CA0027.apcprd01.prod.exchangelabs.com (2603:1096:404:8000::13) To BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: db84a3e9-8528-46a8-08db-08da243cebb0 X-MS-TrafficTypeDiagnostic: BYAPR04MB4598:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: H2wZKF7NHFdhM7tpLF+QzT4mJdTpOwFgo0mER0XUFeCA7BAvKmAhXKTqfxkxi3ik1zgGTFbEUKbKGa//NjieSH8/r+FB33Ne1tYCjyWEXt981HivwamRMFwsO2B0LOSGMsM0tcxii/Ub/c71R9rgP/+2QLSZM2vnS3+BPl19/ZenXdNkJcPgWDICp3P6oA54NMDDTCBDrBRr32Hp58JrQOeJniCyvMxbeEGXDiUVu2NkJBicbwijfoHO8yNCns/l/qW8s8BoMAvnxlnbY7NPAnK+2OdDBbq4yd50P9cJTo6nO8xdfldtffLQyP9giXWbyyLiRB8oy3nWhahPchZOiusyEfG3phiK+8IsXSuFKSmFCDhPBveP+cWZb4N4ocqIjVYgCYxSIFQpdzXGB0Qbg/ZeODRhWmE6pHQb939HboCEbnjnAEwpTSwfPweoXb41Q8FmdEsOOZii0jWU/pMBrM8iY1Ctw0uJsYTznXxDg0w/JTBgOrvRTyxYKi4ChqvfRi9nCq0OhLfqMcClaWvkKHBKq6OVCxTGJcJRs1rNJuVy5mrpm1ex5IlZlU5vl3OgRBvm63IFb1L7aP4aAEdZ8Z03eiDdUWh4apRIvN+67hDOHaqsxdfSc5tiJkIKNsV4F6oH1gdAwrHjGmkaVaH7tTWIUCeljB8CxYrd7PcxllHgG7l9VavnQWytN+KTrtWXoFjDO1+3Qn6615Es23KGdDzndNcRUWEd/qerCwG7kutQr7Mfre2oy7juOK/IMEqyfTjLlJbKUekQoA5IBlcRTQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR04MB6739.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(7049001)(2906002)(8936002)(110136005)(7416002)(5660300002)(38350700002)(921005)(38100700002)(6506007)(55236004)(508600001)(86362001)(52116002)(6486002)(6512007)(6666004)(36756003)(66556008)(66946007)(66476007)(83380400001)(1076003)(26005)(186003)(4326008)(8676002)(2616005)(316002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 2RT19GIqdenwHss361DDnRY7YS0C58cVYwsXKkxe/eAeFVxd8TA21/JCWg9HY1jExDJ5bgYJBkQnltsQogBkVC/5Ug7HyOQsxiQeOS6lSHpu+Awv6zA8oUx47ZaORFEyJy9UTidwzQrRAOGZp5upKQfEicGLeHt03MC9NmYTY0W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Qgip3nW0yhXxxvdpLDk6LtgWGErvKCs3mA2AWVN/iEbz3VeYdp2w9nLotT/ASA2C3D1YCpNvpqgmxojLk5qUNzUhgw+rcXtn3TEHHhG6+5acZAEB3ETtIcwmeFnz4CzLQ+FOfO8Q+7gLIRbHVwoDzCy0gZM+tAMXIxeT4uCQtu0MWIPjSz2QgLh6XrL1TCxKRHrvncH4Ux5mkT4QTqtf/B43ScsqILHxNRBggWWhgBoIcgn6EYkImA19cYx2MmagAhjop3dHZVvSJsyQCfcoEcq+/Y5FUi64qUDcKTqPgHEWUNT5LWao7vrbDPvUCOD4XNuAVdhkm851TA9TGuq7WJR43/Zyg8Vk4Et7vpvPbrBcHu9M4tywhp9Q7ClDPU4R+FVtpDTBmPaRZCZQRByfg7EKgyP8IUM8/aRCk1U1CU7z0LQAbJR5bL8PIw36K4h2QIhsahDu12wAgrILbF7d9Hj9WqSPmcaXPbKle3WwZvYNG5ZwPzMrZKUNrACgw== X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: db84a3e9-8528-46a8-08db-08da243cebb0 X-MS-Exchange-CrossTenant-AuthSource: BY5PR04MB6739.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2022 08:48:49.8415 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: b099b0b4-f26c-4cf5-9a0f-d5be9acab205 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 33o5gUjaI2B2u4ou1Dm3F7Knn4rh2BFfZThgv4stYJeKVasGEzXNnaiW4mlX6PeYLYXRVsbY9t1h/bfKT8OpyQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR04MB4598 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: , Cc: devicetree@vger.kernel.org, qwen@analogixsemi.com, bliang@analogixsemi.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add 'bus-type' and 'data-lanes' define, bus-type 7 for MIPI DPI input, others for DSI input. Signed-off-by: Xin Ji Reviewed-by: Robert Foss Acked-by: Robert Foss Reviewed-by: Rob Herring --- V1 -> V2: rebase on the latest code. --- .../display/bridge/analogix,anx7625.yaml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml index 35a48515836e..4590186c4a0b 100644 --- a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml +++ b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml @@ -94,7 +94,22 @@ properties: $ref: /schemas/graph.yaml#/$defs/port-base unevaluatedProperties: false description: - Video port for MIPI DSI input. + MIPI DSI/DPI input. + + properties: + endpoint: + $ref: /schemas/media/video-interfaces.yaml# + type: object + additionalProperties: false + + properties: + remote-endpoint: true + + bus-type: + enum: [7] + default: 1 + + data-lanes: true port@1: $ref: /schemas/graph.yaml#/properties/port @@ -143,6 +158,8 @@ examples: reg = <0>; anx7625_in: endpoint { remote-endpoint = <&mipi_dsi>; + bus-type = <7>; + data-lanes = <0 1 2 3>; }; };