From patchwork Tue Oct 17 07:03:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 153942 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp3948715vqb; Tue, 17 Oct 2023 00:06:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFO2ivVP2RCkrCCwiux/i8c/IjfltYIij12eIcpul9IIxpqkBJTYD6cy0o1I2kjLD2JTxKo X-Received: by 2002:a17:902:d04c:b0:1b8:2ba0:c9a8 with SMTP id l12-20020a170902d04c00b001b82ba0c9a8mr1495453pll.2.1697526416833; Tue, 17 Oct 2023 00:06:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697526416; cv=pass; d=google.com; s=arc-20160816; b=cr0AGOIw5skVCKwWy7jNic68LHUZ7BPuwpO527M+wKUzUM37dtJGIcr5EiSYe7Pjtt 943Cq7DebB5dbZUJ6jJRJgvIRWu/A8o5c/QIUW8SmNvVYHBXJWAHlv32bTdkdFC0PAb/ 4VAA8zfcrn8MGpDNb3cVL0faxqCmr+HVOJg5QMuDPiP4jY7fmliVtuO/E7sbXyWDX1zA cglWsZBWy8zEWaLnw/Gj1OkRVFVVj/4YFWVYwcoZ8jXqejrlI5mSUapgLA6DsZUW8qFW txi6gzNw8+HLb1bz6GOGo66WiG4VaJdMGHf3wDCA74V++zVDn/fIiug7e89AyCgdz8Bk OaAg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=MEp0wMng0+IEbe59ltNGIo5sT8k4HbZMRs6boqBhKIM=; fh=y17y3R4MwgH0OxpsMIgmbuFoiKlxlL6oc0i1aWZLLIs=; b=uLKs15b+QwCM3Mu44riBEhnJAF47CnEeYJK7lByNzetsTsxpyz5jcB4LCs1+hbbga1 fUiNm2Ej859YnFUTeViqnnAkpfkbSVFzOGUZfpSalwGXdX59b5KwjmwB2EwuoJhekabl 2uxGqPMrXgO5R3J4V6CE3Ll/p0h9ZhJbshH5IWtuMvt1bD1vEplCWDrXWuQxS+NEyL7K Qz380JAUMgCwEVTS/uKdT/EJhqbD5/e/VtbQGqz5xJXYu4v3U3Ao0j9TjLssiOB705FM 0erdBpcS8xTncULur2sVxdOAuQ308CbJCP+Fc0Ea/ssx1MyM7LIkINrPrI5Em5J1jjqO Y3tQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=lcXD2QVR; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id d10-20020a170902ceca00b001ca86a9cabbsi1171877plg.567.2023.10.17.00.06.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 00:06:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=lcXD2QVR; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 56AE180BA951; Tue, 17 Oct 2023 00:06:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234451AbjJQHGg (ORCPT + 19 others); Tue, 17 Oct 2023 03:06:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234592AbjJQHGV (ORCPT ); Tue, 17 Oct 2023 03:06:21 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2074.outbound.protection.outlook.com [40.107.105.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90FD0FD; Tue, 17 Oct 2023 00:06:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kozlr2uPG5uVpGcUBkMl/AAqCC1qT2a8ggMH8X40xxf9Djwt6GCWsO0Eequjftu57lbg60oYYN/5nYmHxSwzw4fRVLgFTV3TqLPB859UbjW3BgtZS+e3TbQYgN6GmUdUDU2GO0n/Cvucuk/PTlwmb0jARgLQwWOL4Mi0cW0o0Pv0SoI8lUS0N1SXhnT+T8ZuD+fIv9mUJbgj84UKns09Ic4fIsvV0XOOBwoQaEYbjF4RpRJZtWKDzPfWmRGFvXL0xfljwd9Ts4mTMomMxokejIflf5NtisnYQmnEivwGcGSrKJbGkm2YM2pk3x3sg3huUrPOZUbN1LeVQrcwyIsnOQ== 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=MEp0wMng0+IEbe59ltNGIo5sT8k4HbZMRs6boqBhKIM=; b=j1Ah5kJdtT6Mdz5g2ySfGTebssVjp1knknqyi86XR/TZiPdO0ycpot7Rp1jS2kVOKCTDDsC/C3zc9DwQUZqJig55ECrpKJCzgvRDWIIdEY/hSz0ckm6NY+eAecqu3rklNpCj7CU7AL9/1RME3lA4R6+HYkrNH9rOuJfilLfWoOY43OIckAcWXWC0LH7o6Kxcd7gQdwrnmaoJfe8wq5BuRzz6epcRhgyEQrQf3EcjOQth247yQJH/2XD82DKMOcEz8s6duWMPIYOXfgvzN+BdEeCOjbkjGIq6EVMagwzppA6M6rRPPra8Qgng1wdAqs9kndB9Y2aWYg7HpWD4Vg959w== 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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MEp0wMng0+IEbe59ltNGIo5sT8k4HbZMRs6boqBhKIM=; b=lcXD2QVRy4hB5x3e8lmYSO8/G7Z+OgudC9cwZjYrRRWNLbwy8ftF45kr42jxqigeIaMaI99NVrdp7cYaKMH1TRxcI5T2H8mhUSGrcOMiCfy3TY9G+hA9DHC8Mh0W6XzLm/jmIjB2hdZGb2i/nQ64GUWRoadoUqqzeHl0pur6dvA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) by PAXPR04MB8622.eurprd04.prod.outlook.com (2603:10a6:102:219::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.35; Tue, 17 Oct 2023 07:06:10 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::3b23:7c3d:fd28:c3f2]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::3b23:7c3d:fd28:c3f2%7]) with mapi id 15.20.6863.043; Tue, 17 Oct 2023 07:06:10 +0000 From: Sandor Yu To: dmitry.baryshkov@linaro.org, andrzej.hajda@intel.com, neil.armstrong@linaro.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, airlied@gmail.com, daniel@ffwll.ch, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, vkoul@kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org Cc: kernel@pengutronix.de, linux-imx@nxp.com, Sandor.yu@nxp.com, oliver.brown@nxp.com, alexander.stein@ew.tq-group.com, sam@ravnborg.org, Krzysztof Kozlowski Subject: [PATCH v11 3/7] dt-bindings: display: bridge: Add Cadence MHDP8501 Date: Tue, 17 Oct 2023 15:03:59 +0800 Message-Id: <5160e1136dfe78c285aa0196654711d385b0ee9f.1697524277.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SG2PR03CA0122.apcprd03.prod.outlook.com (2603:1096:4:91::26) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|PAXPR04MB8622:EE_ X-MS-Office365-Filtering-Correlation-Id: 7ca6cd89-a83f-4abd-0885-08dbcedf8a6e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Iakoh6jJSWhUfd1pRvrMoL5TFaSHT+hdAJG1xJZx0donXJnnb+auWMFbF6jOZaiwxcezwNXW5RuAeIugDYRHwPp/eaGJW58tqk4JaWYgbnP0gauDeYZsP8ILcw6DSJL0zh90Vw63iusl/qU+4MYBxn6He23RvuqilILrBpDFNHCT0SdhqE4+6kI+2qEcvKJnPn29ijAWZTxauKCct/j3cYMRkFJslxwx66nJAM+07L6XT7YSYmyayBVaBBrLgmp8B2d612C86B4i69X5mJSlqLxbSfMCdCssiviCO+AHHer5/4bfl7Fjx3g/M23cjRufnal+qMfwIaPrBNHREFDwJbUBkSSiFkqTql6dyh1Q5V56niysXdR2nK2PItb41ui0S5PzU/Zt2tOPgNqGP5zw4JwWC1gq8Ynh41VYrb8oNMRnomi4z4kjgrfuOSlTeLMn1teTfQqMs+6B9yW7mgnBc9qRWj7lfm9F2rYPq9HxMX0ag1HVX9I4FNb6b6EqFXb/YCx5TqcYBpRT0ouWFxO+WDlAx/hPY9F/iCyhkP400zgjsR/2z31JhnatwATSmnoxrxgZVQoOnCujWX6ZKaa+rHibZ2k3jn8PfhzIwe/Q0MXWd6J7PHHAJnEA0PxiPSzB X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9448.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(136003)(346002)(39860400002)(396003)(376002)(230922051799003)(186009)(451199024)(64100799003)(1800799009)(478600001)(2616005)(6486002)(52116002)(6666004)(6506007)(41300700001)(6512007)(316002)(5660300002)(26005)(66946007)(66476007)(66556008)(38350700005)(921005)(36756003)(38100700002)(86362001)(83380400001)(966005)(4326008)(8676002)(8936002)(2906002)(7416002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: sc2ONp4X2AFlJq83F3RmeFrYLBAHwK3SfFcVlXpwWlUdEC6T8+cpSJMop3m/M0sSEnLHCj1tcJ5UMYlWZGdgnmSmWfqVAT4QxNT1OKqRIOamT4lCM9Zw4IPWyHwcSX/T/Rx5QWplrn/WvzyOY8N1Ke3BhtIzOTF8tNsDbRxvTR7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yFZwTEzY3lk2ygmq7OzihgPhnF/tU73hOKuZOvjP9Dcs0HdWlF/oEKBoI58wu3wMYMECxWktJkrSF7rKk/pysSPUo49heKcnkxoYXGu3Z7g9ff2tT970+pje+GzfCOOin9ovhpPCWvIAtDp7oE0W/s3eeNGo8Ans+BGO9eH8FLEKTgJsg+bWCzvBnE8/i+C6BzLTOOOOzEMxYnnfHm3acsfkVe3WQC6bZOQt1Ui7AJt0QI/EdoItkQOp5mMxyf/Dv32iinLytkrkvevAJy6NFh33tVTbwGn3jc64FGpfgTgJyjZz8yguKz5+F/fl7fROW0EjNTGHBBD2EjvpceH4cx3d0seFcN/NfRdMfKM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7ca6cd89-a83f-4abd-0885-08dbcedf8a6e X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2023 07:06:10.0686 (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: RNFhDuVZW2xgrXyjyPeCJCVXEeriSqfDGy+s46sr7txV0FHYRENAtHuT0WQ9Xm2lrKax1V/gVvtjaSEV0tCZIA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8622 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 17 Oct 2023 00:06:54 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779985459621779216 X-GMAIL-MSGID: 1779985459621779216 Add bindings for Cadence MHDP8501 DisplayPort/HDMI bridge. Signed-off-by: Sandor Yu Reviewed-by: Krzysztof Kozlowski --- v9->v11: *No change. .../display/bridge/cdns,mhdp8501.yaml | 104 ++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp8501.yaml diff --git a/Documentation/devicetree/bindings/display/bridge/cdns,mhdp8501.yaml b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp8501.yaml new file mode 100644 index 0000000000000..3ae643845cfee --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp8501.yaml @@ -0,0 +1,104 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/cdns,mhdp8501.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cadence MHDP8501 DP/HDMI bridge + +maintainers: + - Sandor Yu + +description: + Cadence MHDP8501 DisplayPort/HDMI interface. + +properties: + compatible: + enum: + - fsl,imx8mq-mhdp8501 + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + description: MHDP8501 DP/HDMI APB clock. + + phys: + maxItems: 1 + description: + phandle to the DisplayPort or HDMI PHY + + interrupts: + items: + - description: Hotplug cable plugin. + - description: Hotplug cable plugout. + + interrupt-names: + items: + - const: plug_in + - const: plug_out + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: + Input port from display controller output. + port@1: + $ref: /schemas/graph.yaml#/properties/port + description: + Output port to DisplayPort or HDMI connector. + + required: + - port@0 + - port@1 + +required: + - compatible + - reg + - clocks + - interrupts + - interrupt-names + - phys + - ports + +additionalProperties: false + +examples: + - | + #include + #include + + mhdp: display-bridge@32c00000 { + compatible = "fsl,imx8mq-mhdp8501"; + reg = <0x32c00000 0x100000>; + interrupts = , + ; + interrupt-names = "plug_in", "plug_out"; + clocks = <&clk IMX8MQ_CLK_DISP_APB_ROOT>; + phys = <&dp_phy>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + mhdp_in: endpoint { + remote-endpoint = <&dcss_out>; + }; + }; + + port@1 { + reg = <1>; + + mhdp_out: endpoint { + remote-endpoint = <&dp_connector>; + }; + }; + }; + };