From patchwork Tue Aug 8 08:32:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 132604 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp2286198vqr; Tue, 8 Aug 2023 10:40:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFnxYPX8DXzxSjOlhLe1FXA9gqyk10vnxaUq9zHuV6potzrRfdVrUZJKMwBsRwnafqXndLX X-Received: by 2002:a05:6a20:ce9f:b0:140:48d4:8199 with SMTP id if31-20020a056a20ce9f00b0014048d48199mr183673pzb.24.1691516446805; Tue, 08 Aug 2023 10:40:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691516446; cv=pass; d=google.com; s=arc-20160816; b=OKvOZ3etZGz/ooYnN+KlxMZMHWB8+jQQXZcWzJF12mgdwYT2uDhkDWJc6JTCOYfI3L 504L5FjMmiz9Rk9Hwbu27UQ1uBdRpVlSCg4zOI9DhH1WWFcL5MEw49bZ9A6pBNqO2IbN 7G/w8ysuvqS6C9Rka1WQUrhJQ85ZwCCo993erf3Psxbp08SZ8b/Sc883OmW9Oq2PiIt4 nfMncWrayE+nGrwPEsBHjuLwiqF2uwJg36yOJvAiOIHOMOLp0fgWaXfi52LCejsUxBJM Ka70g9dMToNrYXIZAJvdZVyuGZiKUWqbhd693xNkFUgkAnE0URGWVs2u1y0eME3avRcF X2xQ== 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=yzL/vMFnqmik6mxz2dJmVMwrK/gjTMbyAagCuheey8k=; fh=PUBVPucWc8lRluY+e+5uvxRpT/FpFBsE6bTTCuvGxf8=; b=grBzHMQHIq90MjfZ8yztvxG7j4lqi2xYI/2mwlEb9NzoGQqsri5YAc4GW9XwWX9Mhb fCuGh+6k13BgQk7FYip+ASxcOL4+ck5rXBG+uqxJQ8xWE025wDifrQyGLglBG4qa4FIz IGB6rzeoF6p5UarcjfwKaSh/UrpGjuDzyXUnSFUo4muPaTxXgDqsB2Bl7a3ckZvbkgir RID3mUOAwHGe4hNVqdPn/aq1s3I3kZ+UYDS2TNBLuUPTRcsytDZ7nWne6tjvF4L6LknW ZYbUTxoBVSGYmmtIC4uAfR46GLuTY7z2RLYg6MHK2W035rmPW+XeLWEnh+fRaZ2GrOBK k7lQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="B/b3Q/dE"; 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 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y23-20020a63de57000000b0055c8fd5fe00si7287289pgi.886.2023.08.08.10.40.30; Tue, 08 Aug 2023 10:40:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="B/b3Q/dE"; 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 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232646AbjHHQZz (ORCPT + 99 others); Tue, 8 Aug 2023 12:25:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232577AbjHHQYh (ORCPT ); Tue, 8 Aug 2023 12:24:37 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2049.outbound.protection.outlook.com [40.107.22.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A4EDAD1A; Tue, 8 Aug 2023 08:50:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bGQZ1K2sJyekhAVEfWI5OWRg0XHzs1jlL/eVGMOrnm9ccUjOG+F5EEZBwYDQnwa8SPTZH2F1mq+S5LUgC5gDsBClXiMMa+MjT0JjC8dmhUMzeYvsC/i++55So43+NEYiA0nTUWBe+rCufY1L+yugIEfSkt+0XNlV5Nzq2ZU1XVDIJt6Ug8NRz6PBoK01rF4j4j1fns+Qgg2t353O761ctnJqqoETIPHhU/IZhVcJSGeOEjwHokLFyCiZPQo4dUZEPBcxrqP/tKE4nETWfBeBchCnJstMdUuDAL6Cm9RBVPYEGuXZBUlolks/X98K/3VuO7jfSx2iKxwaVNSra3aNBA== 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=yzL/vMFnqmik6mxz2dJmVMwrK/gjTMbyAagCuheey8k=; b=VSMndCacu9tTYGHyH3ew4HRdwXoUJnerwt2phcdmsTszs/yEumLk2JtOlUiYiYebPaorNsx+blexrhvP1D0UN1nEtyefqjomdZRDq490f73OxXQz8MTBj8XsgGCehPCoAAcQy6I706/V/GDgQLdgbsgbbj5Bs3AzIRaVmmsHwFV+NHPZZkJgr6sQ8BCJcxtMrfZkFDrFReqly3DG6Wweqly1rekO+RdrhPlmLaXdqs5s/NWyXOucQRFNnBZ6o+PrPoMnIQOtvfXDHPSFV371vQs9PxYOITg9jbYkQ6KCx+EHB8xWLnzoGiiHZmgAm7STrRIrt6a/Y2zq0e1ty/cUpg== 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=yzL/vMFnqmik6mxz2dJmVMwrK/gjTMbyAagCuheey8k=; b=B/b3Q/dE36+0C5LJXZ+iMHyyz1/B44UzYgp/P+rKDPTscM7JrKV7/VHA+IXTBSeIlswmdsvbkW3/TTODWDyKndwvacwnE93WFUUN+fVM8PJk9jVuBU4O1/d+54n6efaor0E1uzW1mhA+nrSF6zy4FYcPTilxPs8XxtFd+MfGdj4= 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 VE1PR04MB7296.eurprd04.prod.outlook.com (2603:10a6:800:1aa::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.26; Tue, 8 Aug 2023 08:33:52 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::3505:c499:96d4:1429]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::3505:c499:96d4:1429%4]) with mapi id 15.20.6652.026; Tue, 8 Aug 2023 08:33:52 +0000 From: Sandor Yu To: 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 Subject: [PATCH v8 3/7] dt-bindings: display: bridge: Add Cadence MHDP850 Date: Tue, 8 Aug 2023 16:32:39 +0800 Message-Id: <20230808083243.3113192-4-Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230808083243.3113192-1-Sandor.yu@nxp.com> References: <20230808083243.3113192-1-Sandor.yu@nxp.com> X-ClientProxiedBy: SI1PR02CA0010.apcprd02.prod.outlook.com (2603:1096:4:1f7::17) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|VE1PR04MB7296:EE_ X-MS-Office365-Filtering-Correlation-Id: 83e9ae89-dbaa-42e7-ebdf-08db97ea31e9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fevr61f5D3GX4Ux/Q/f2KV20Ks+mON29+bKuCANA/jJAaZx8rd+GVSzLNxoy567u85lKQgI/wpEpvGcW9HDpPdvoCPTK00lwPZDprmdADTuyqKq+rRtGero1br+d0bpuJpr/7PxSSRGTQRYKOvl4Xj29y0CcAkuW87R/VgyZ7iWgNPDRCskT2NI6CIjTeNoDRVnGI8CvxPbFhZ9A7FEQ/ETTtaB9vbL484kGE/+4PU6fCPOMAXEIJF97+8e3m2GtYRSZx6uv/UoqvT+5tKZDniIxRLmbO73yV8Fr+EnqSl0i71TqtyRg8NZvpar7+aaWdSvAfoWqnMq7C2p402EZWgvtDE/JJdmjrz2bjooUqmufMJ1tSO96tkD0BDLLn+u8wEmGz6Hvy4KFGo0aZnKnXSc+FXV2YKxy3/VN+I8ZLXpqmCx4Ns/yUNqpnosN0oqdF25/55o0ofK6tm6S6B0Btv/Db0MYuE7R2pKmeiL4SBSNRDbIwX3z0OM1bsJpcYhrW9ZjMcqPT3Pa7hEoIwihwX0/FVGM2RxdN8NhK1jQXKrU9tQHd0MgiqYPySRGuA1uD2UDJncwV2WvavekdBJz43bMSkKudzdcW3Xk0SCHeSVMz04PYdqWTkjdCmNZbI7RvzB/NnESTf0qMCCbeQ0Ra2ybi1HwXOTy+4UpgX5VqRI= 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:(13230028)(4636009)(136003)(396003)(376002)(39860400002)(366004)(346002)(451199021)(1800799003)(186006)(83380400001)(36756003)(2906002)(5660300002)(2616005)(6666004)(38100700002)(52116002)(38350700002)(6486002)(66476007)(66556008)(921005)(66946007)(966005)(6512007)(4326008)(316002)(41300700001)(86362001)(8676002)(26005)(7416002)(1076003)(8936002)(6506007)(478600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 91pVQpQOX0L+9WBtk/HKx6/lrP5SZeqo+rdL9x+jkKmyAzXKQFr+z5jmmW9RCKNIfOuXg2sAnGBtnJPkhO5G8KmRCnceD5kt9O2YYa49Qb+KOP0ZlWWJStYZM+PY54eg0utoZ7ZZmDNWVe47pmiiMrRd2I9GjAXnmVJvZhkiyURUZWYl2LaS0UA1EQ0gaZRSLbuoXipse3eNOQ60vlImh1a3/O8dkAfyPjFIdnDkVOUERsFxQb/KtCtnq0mi8mLttrBaYN1sHPZEHCZB+T9oW1Umveb63k55M37kyCBjTc9PUQI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v7gcpCZJV3AJFy/rToAkf+NS9If8l1+T9m1AulMc1HBtwXULy/2sWhbqruay3wNqoF34Jy5LrnNwjpigJ5twiaageMfARwz59QpR1fu0Aa9uYTjB/V/JxN0KZ5esX40y/pq9B6kf8CS1at3wMsF2RevTNPHB/EEC2eKl2R+0cx3Z+Wpc71MzUSbB5bcvxU+FnREjw2kS6+I X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 83e9ae89-dbaa-42e7-ebdf-08db97ea31e9 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Aug 2023 08:33:52.0843 (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: MHmTyMyKIRHlHQ0fDFU2hMRkCXRtZ05zBxNW4Nz6h+HdHAecN5kVANSL8Lo0cCTrILhO0ms0QAW728aan+zB4Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7296 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773683550009546530 X-GMAIL-MSGID: 1773683550009546530 Add bindings for Cadence MHDP8501 DisplayPort/HDMI bridge. Signed-off-by: Sandor Yu --- .../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 000000000000..3ae643845cfe --- /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>; + }; + }; + }; + };