From patchwork Fri Oct 13 03:24:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 152276 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp1639868vqb; Thu, 12 Oct 2023 20:26:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHtKcsjYBDRRQlfMQMuUyeWoUJf6URAbj3EMm3nhF6usVz7V3kowqLXCgMZE3KSKHfYEwt6 X-Received: by 2002:a05:6a20:8408:b0:172:55c1:f1d4 with SMTP id c8-20020a056a20840800b0017255c1f1d4mr9851192pzd.4.1697167613961; Thu, 12 Oct 2023 20:26:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697167613; cv=pass; d=google.com; s=arc-20160816; b=kB7KB2Ue2o7+1rn86GoqoTAlPhETUe35bGToAFk5Mn604Zza0u64xJ7a9cPSOEdHVb bjGPSw5nUvhkXkNKk9oy8T310cDh7y9/xrF0bUTHsRRu4xueO7j9Hzznt8jTUdLKB+At YT6wXr5+/0piRWn59w8eo6fuGRDiY5Y0hZYZGA4rjJHG1DUdadRLaXcPl+Jpk3M+SNOD Hbd4b8QYyeQpoVRE0mUlwriJLiSQk+T561+RtBSuGEtQYZCjV1bbFjM9mJQ3XGQetfG/ YKc72b5z4nydnh1XemmAhl2D2p6VUCNALcnoc6iwRITLkQGFP49BpLa9xt0NzGpkHYXW DrUg== 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=0vBEwotyLrsPJ3kBb/DvSPFe0GtrkZjwF473uYQNiMM=; fh=y17y3R4MwgH0OxpsMIgmbuFoiKlxlL6oc0i1aWZLLIs=; b=Q+kzbm9XpBAHf1rfHCg1LaB4esqfH+KFEf2ZEXI6BPkoBWpERaWQ5lRJ9LssnWkK9+ qloWB30Q1lZTLqYr3tuh0+pef/VanTvEIGKeZHuaXUBuIPXYY3KO0yiusKEvd4qmaqfS no9eU3TCvBrA8vmwAtEfktzLp9qBCqTPh9a5fFx4UJV0BwxccviKeSf944n9bdEjzpfL Gh3YxMdTjnfk8ajwYQg7eDPXfllJkkZfhRo+zMcc0QuLBBQv6i6Cu1YVulNvphunEC7x D5siVUri1jKELu41ddk6IpdoywKI8Nzo3yFZRrGwGPNwgSADfwre/KGzPttHmkT2JIfb Zrrg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=WctbGJuM; 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::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id a19-20020a170902b59300b001bc553d16e0si3322665pls.507.2023.10.12.20.26.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 20:26:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=WctbGJuM; 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::3:1 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 morse.vger.email (Postfix) with ESMTP id 4D4C383C2643; Thu, 12 Oct 2023 20:26:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229570AbjJMD0R (ORCPT + 19 others); Thu, 12 Oct 2023 23:26:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229602AbjJMD0J (ORCPT ); Thu, 12 Oct 2023 23:26:09 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2088.outbound.protection.outlook.com [40.107.105.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB6B5E6; Thu, 12 Oct 2023 20:25:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JCfM6ZlDlWTP4Q0CrqEzeJYlOznrG7Tao78gGvNSEtHAoiROA3HaglzDjna5L2HdRV7P9g1HduNV2nZn7bMNpOxXvcGek8X2sMkOeIQuGgn4ou1FIJfPeFfG0+v9Jb746JVP+xAMvtbzu7R1pt68fO3rEzF8oXiLpuYM/3u/JgsrPFcPozl+/n18oTb/cDs3rqufl8b0tyT1dBh6RC492dnbZc9HQxGj1+Jebm+t5wy5kY/jZIlVuLhmFtgJfYkvoHzmk+TXlnY/sPgi7hwQrRRiZUAUS/OlGRaH8HAYZsRw2PyBIl1FB+jq/55ATCjV1oDmY54UK54E4oKW/Rd5Bg== 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=0vBEwotyLrsPJ3kBb/DvSPFe0GtrkZjwF473uYQNiMM=; b=nKwCDdzwx0dgOj8+oLvml8P3l+dLppJYHJeMQrMsBF3L1Xux81qojb7DZUFJ0XyzXm2IM3VGvXlO6FGBCHFzRrHWxKLGyqEuqA0TT4WwslXpbrZV9vz5F0cF37ZZF/C5s+lXHcphOOAjvGhPIeWaWjlk0HosKwZQilEWCUhDfCwlihHvx4dnwDmHFJgPMls/3kWL0UsuTeqcKeHRgHQfSMwFGYGV+/F6j0dVvbn6KbehZmprveXaVRzmDP5JiCJYypzzrb0rqNmcMU2Gn6hpct2Ri8685iE0Vam+njf3vK7NQP7bbUybQmQvKlCwMRNg9+bV64qYaUyezLIyrmUySA== 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=0vBEwotyLrsPJ3kBb/DvSPFe0GtrkZjwF473uYQNiMM=; b=WctbGJuMg8Ny22LJ+jCTD+zVxSirQekfaCNQjz3npR0eV4vh90tNbsZU8jZpkCaXWaJ0hXFgefBfmMWDnjYy4kzO6mgcyVu4wqVd7WLh6SX4hOLn0CuQlxFMI1YdJXBTkKJOG7k0WK3S9zfxZEY8+/BI8jB90PGXEYrC73kjPrQ= 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 AM0PR04MB6978.eurprd04.prod.outlook.com (2603:10a6:208:17d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.45; Fri, 13 Oct 2023 03:25:54 +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; Fri, 13 Oct 2023 03:25:54 +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 v10 3/7] dt-bindings: display: bridge: Add Cadence MHDP8501 Date: Fri, 13 Oct 2023 11:24:22 +0800 Message-Id: <5f4149da672773ed5386c3c20cfde1276ab5b0d3.1697162990.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SG2PR04CA0179.apcprd04.prod.outlook.com (2603:1096:4:14::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_|AM0PR04MB6978:EE_ X-MS-Office365-Filtering-Correlation-Id: 0e2bc07d-4437-42ed-1f9f-08dbcb9c1ba1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ljBzN9Jn/2Z7HxdOGHltmTNZ2j7Ba6vBXiupH+PuY/bbQ8+y7k2YYtV2W75dm5Xg+kwBcPxcnVDF78yWmkxS9XfX91PYzBC4Sq+Q+G+n4dMf4TY/WVqrJBBMqxP7d3KJFHgNaymM1oMma5r5WJ0KuZGrsOExZNPjvGfUOTk764rpKmk34OP+/TT20M3WVswKwUI5+FT073WpO90khprlQYo+11A6GMXTXzU+MrZQLehJmBHuC+XzEJPT8EOp1QmvHsGSZbSTaLOzueYLIjP6bhpqBNOn+Oq4UByJzecHOvuaFEompzLfJsbfcXZDyPhd6vej50b5Dxna2+cI3O0Ia3miccUZi7uApxDU6uAKZc3kRaZ+Iza0Rdfk6Eba/tveZwt5YVmLKVaVB1F8m2JlnESPf/V5Rd/Ofu1dRLUCVVxDuaY7rfI4lprFoxjMMtj0yoAYDaMHDcr7bay2m3qMl9ONUUBEfM0T6W+ppoW3swUgfcpTAUNFQOiTvRTtEcRwK++uqc5FkThxkM6nQDOlu6kCiQzSPsDZmY7FEjIEkNR9NlVOEQ8oUxtHIBGhGwnDO6cKdiAq8dZlIibi6yL0x25o4l7OtsQTD2bGhVXPYDhNGBTwzpsVN+mgaYiuhuB7 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)(39860400002)(366004)(376002)(346002)(136003)(396003)(230922051799003)(451199024)(64100799003)(1800799009)(186009)(83380400001)(86362001)(7416002)(921005)(36756003)(2906002)(38350700002)(38100700002)(41300700001)(52116002)(6666004)(6506007)(6512007)(8936002)(8676002)(5660300002)(478600001)(966005)(6486002)(66946007)(66556008)(66476007)(316002)(26005)(4326008)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: SvrddLtt0utH0SJzIyLq0jk+ohpr/qfhLbP0nYRnmHeJxUmne9Cqskbrc1/9+a/WqztpbBnkoges3ZxiInGxStiKsLMw4614S9Aaem4hxvKlaeoqm8vJ9J90AkqIuDvxvl2F80sZ1Uql8mfrdS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ytSqBN7H86m0iG5Bnjog3ttlGF69AcDDIENrzL8K4rtsEExd3qjgNpyQNgT1Dqya9z7Q/rVJwe0xIBkG9XV9OLAembdfYFzK+H2A4BB4g136UexBYuHOYVIYL18DBR9z8FYPZnZjbw7jDUhhAsc5KtCHgY/TkPOFvRORJ7F17g+a9o8UNaJLvXPfdHoVt3Z28c97pvafNAx+w2rH3ofCpy18R7Uwl+Vz8p4eaKsi91QDuAD7VGSyBgY/zYsNIP6ePR84Mp+qwFI7T+XgLj3BI2/urLIjdhoOzIyv5B9uhw14sjOMiaHJTN4mRNaJLnxTD2wa2PTdMfeaFItL4+NC/v3YAEtNxWaiR3vh7t7HH X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0e2bc07d-4437-42ed-1f9f-08dbcb9c1ba1 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Oct 2023 03:25:54.3593 (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: Q3eiuVyKiE1CiZVCDYnO7AE4c4TL0nriZi05jsOBjbG9n1oSncwcGxOgPVhbQxucgtiLdHPeZqPS3K84AjIJwg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6978 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 morse.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 (morse.vger.email [0.0.0.0]); Thu, 12 Oct 2023 20:26:51 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779609227911116196 X-GMAIL-MSGID: 1779609227911116196 Add bindings for Cadence MHDP8501 DisplayPort/HDMI bridge. Signed-off-by: Sandor Yu Reviewed-by: Krzysztof Kozlowski --- v9->v10: *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>; + }; + }; + }; + };