From patchwork Thu Jan 28 03:08:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xin Ji X-Patchwork-Id: 12052927 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.0 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B461C433DB for ; Thu, 28 Jan 2021 08:16:33 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 2881664D9D for ; Thu, 28 Jan 2021 08:16:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2881664D9D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=analogixsemi.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 82BD76E90F; Thu, 28 Jan 2021 08:16:24 +0000 (UTC) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2098.outbound.protection.outlook.com [40.107.236.98]) by gabe.freedesktop.org (Postfix) with ESMTPS id E6B7789B9F for ; Thu, 28 Jan 2021 03:09:04 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AMiTqY/u5Nn9/qXG1NLQX36ILgU3m5qWTXeKsomaee/PH6bHau5B9OpCKwIQNASnVI2tPjA5HBtdeOPqyLRJ+Iad+4536kkQyJGEyC6AwZdk564o6TB4sjv2gUw4mYj5Yj+seHIOwM7L8HG/i8mjurSITlWELUMknFtaETs70nQF3BNmx4YOZjuoXe4EvX9WOD674zLBKn+Q7eLomAOxxCqDaiPeqgIFDfDBoo5boxBaVvfq0FiXnxT6c9sva/lyFWUdVPEeW4jwnoBU1NQYXBzYheN98JdtpnHHPDLe0ByO9uAKo3xwpHA6lx6NNhBMZ2wNcdOq9Ra0ukfCGweQIw== 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-SenderADCheck; bh=zMzjw8mGhLiz/yr/QZuSzHoccfMOaO9JAwQ4G+ezjxc=; b=FzXZc/qjr7Gbj5CD8FnpCMD2rF7ngsaP89YP58jTvzDFnF7fuXHgML5o1yRXjYJHyiBJaR/S9mNAG3rS3rH6semNVVF3gnpP1N2fx5daSrpASohS5d0PmBuYOxXd0PWSYm/Wov/qjjrLECNfqIsodPBz4XnDgVAkypj9F/9uDGp9LMJdkqo8STFssLq3tWw/LpZ77WhqxrNiOGJ4V7bVy0AkX+YA8KaWpC0hiWocmjAYX2beZf5W6LJ4Hfc/wrgoI4HncLGt2Bcyhxz1tbp/Ej5HQhUMM5+sURbwqn+s0GKRiL1R0es8PylLAs4k1kcM3HSSF/h/ngLkIjTnQCwD4g== 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=zMzjw8mGhLiz/yr/QZuSzHoccfMOaO9JAwQ4G+ezjxc=; b=0WzqwGCQ1wPqsH3/PuI03H72XqOhnbAdDAFyHGArPsW7cuem+haYIg0bWWd4LgmOVrEJm2/4xYr13DLd0mQMQD87SQMiLjc+kTyxYqEGz6QYmn2AoJffNUYjezRu8IwATj30Z4xHREJbObtuoeUzBAKkm4CxiUY/uH3Je632kZg= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=analogixsemi.com; Received: from BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) by SJ0PR04MB7504.namprd04.prod.outlook.com (2603:10b6:a03:32e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.19; Thu, 28 Jan 2021 03:09:03 +0000 Received: from BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::5813:96a7:b2d6:132]) by BY5PR04MB6739.namprd04.prod.outlook.com ([fe80::5813:96a7:b2d6:132%6]) with mapi id 15.20.3763.019; Thu, 28 Jan 2021 03:09:03 +0000 Date: Thu, 28 Jan 2021 11:08:26 +0800 From: Xin Ji To: Rob Herring , David Airlie , Nicolas Boichat , Hsin-Yi Wang Subject: [PATCH v4 1/3] dt-bindings:drm/bridge:anx7625:add vendor define flags Message-ID: <246b8bd6e51ed5c8cb3618f4259adf8aba319511.1611802321.git.xji@analogixsemi.com> References: Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [61.148.116.10] X-ClientProxiedBy: HK2PR04CA0052.apcprd04.prod.outlook.com (2603:1096:202:14::20) To BY5PR04MB6739.namprd04.prod.outlook.com (2603:10b6:a03:229::8) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from zhaomy-pc (61.148.116.10) by HK2PR04CA0052.apcprd04.prod.outlook.com (2603:1096:202:14::20) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.20.3805.16 via Frontend Transport; Thu, 28 Jan 2021 03:09:02 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e7c6806f-0ed5-4873-cf25-08d8c33a10c0 X-MS-TrafficTypeDiagnostic: SJ0PR04MB7504: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: T/l4LIOybi802UkOAfDjmdHDQiivsLgE6lsPDu8rJapPHoaoMxHpQshu1cWjEDgmklxEN4jtcUdbJLjgPywr5TGsw2ZG5SRqaG+lekkjj3sCJSp3mf30PCCZTDhuomCLeoVMhmbXBh8hNjw0hJ97nw3MjD8NIJb4bBO6v94ceyDckrozHwUkiWecGLNxPKSdPtcRMYUjJ/OQ2H6roZYel0F+Yjdp/VBO+2cRs/sXqiI4jvK/sCbUdL6c1rZ0sUZXV7lFr5s09fLKgIMOEbcuvk11UKGYDzdxBXW390pOxTbHOdfMX+9RscA+eSmXsEZ8x3KDlnBBtHQxEipfvy3bM5t+cmlRqRyP8dUUVtIU1EGIiyzmqfSr3Sm/D3n9eXjEhXKngXPaRLAP+c/oJC1+XkPCdlLHQIqs+aC/BleS/uv7G5CjiR+94WOyOjs9IQw5 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:(346002)(376002)(39840400004)(396003)(136003)(366004)(478600001)(7416002)(956004)(8936002)(6666004)(6486002)(5660300002)(186003)(36756003)(8676002)(6496006)(110136005)(316002)(52116002)(4326008)(83380400001)(66476007)(16526019)(86362001)(66946007)(26005)(2906002)(54906003)(66556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u0N0OJd8alNm30l5W7GJkDod6HbJLe7pyMdAoaDiK1Txz6uIcmi5Qh8MUgwWXm X-OriginatorOrg: analogixsemi.com X-MS-Exchange-CrossTenant-Network-Message-Id: e7c6806f-0ed5-4873-cf25-08d8c33a10c0 X-MS-Exchange-CrossTenant-AuthSource: BY5PR04MB6739.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jan 2021 03:09:03.3309 (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: iaAf0rYM0fiWcjwkuP72l5SHvq/Oxln8I7z8IFF9epRgCnP0IcUL8d052p4qfu49aWLhekYRDo0+DTAy9uPyrA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR04MB7504 X-Mailman-Approved-At: Thu, 28 Jan 2021 08:15:36 +0000 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, Laurent Pinchart , Sam Ravnborg , linux-kernel@vger.kernel.org, Mark Brown , dri-devel@lists.freedesktop.org, Ricardo =?iso-8859-1?q?Ca=F1uelo?= , Sheng Pan Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add 'bus-type' and 'data-lanes' define for port0, add HDCP support flag and DP tx lane0 and lane1 swing register array define. Signed-off-by: Xin Ji --- .../bindings/display/bridge/analogix,anx7625.yaml | 54 +++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml index c789784..048deec 100644 --- a/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml +++ b/Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml @@ -34,6 +34,24 @@ properties: description: used for reset chip control, RESET_N pin B7. maxItems: 1 + analogix,lane0-swing: + $ref: /schemas/types.yaml#/definitions/uint32-array + maxItems: 20 + description: + an array of swing register setting for DP tx lane0 PHY, please don't + add this property, or contact vendor. + + analogix,lane1-swing: + $ref: /schemas/types.yaml#/definitions/uint32-array + maxItems: 20 + description: + an array of swing register setting for DP tx lane1 PHY, please don't + add this property, or contact vendor. + + analogix,hdcp-support: + type: boolean + description: indicate the DP tx HDCP support or not. + ports: $ref: /schemas/graph.yaml#/properties/ports @@ -41,13 +59,45 @@ properties: port@0: $ref: /schemas/graph.yaml#/properties/port description: - Video port for MIPI DSI input. + Video port for MIPI input. + + properties: + endpoint: + type: object + additionalProperties: false + + # Properties described in + # Documentation/devicetree/bindings/media/video-interfaces.txt + properties: + remote-endpoint: true + bus-type: true + data-lanes: true + + required: + - remote-endpoint + + required: + - endpoint + port@1: $ref: /schemas/graph.yaml#/properties/port description: Video port for panel or connector. + properties: + endpoint: + type: object + additionalProperties: false + + # Properties described in + # Documentation/devicetree/bindings/media/video-interfaces.txt + properties: + remote-endpoint: true + + required: + - remote-endpoint + required: - port@0 - port@1 @@ -81,6 +131,8 @@ examples: reg = <0>; anx7625_in: endpoint { remote-endpoint = <&mipi_dsi>; + bus-type = <5>; + data-lanes = <0 1 2 3>; }; };