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: 13424676 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 7992ACDB482 for ; Tue, 17 Oct 2023 07:06:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3rINYxr7hhcSCQJgft4K/o6jVgAgbkkABnyeclbScZo=; b=mymq8OkDNnYlwM sI/CViukYCyvYgkG78qquHnbO/DOgOpAXkeWfFARtbn9JRdTUfIFsTylxRlKT+Lyww3q5lX3YslW+ x7KznsNEBQyYM+O8MwUA/egTM/WOBaaFsJrQJKo2alaq+MKAxPfTJCjL4FiQ7HaXJYFD1ICJoVBzs FdRwJk/g1OadZnVN9XIGSQ1Jl4Cv8U5nkyA3T6SmBavt0R1tq3fDbIpem98646NJz0L+/DVCMCyiz Ba5pK/0YckhLnqtd89RCn80gP707la13Wnaxq61RWMR7mcoAK3fYG+enxS9AmKIDhod7ITQSV3oQQ OnGGg7vInTjBdJgi7JUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qse9l-00BW8G-13; Tue, 17 Oct 2023 07:06:21 +0000 Received: from mail-am7eur03on20630.outbound.protection.outlook.com ([2a01:111:f400:7eaf::630] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qse9i-00BW5Z-0S; Tue, 17 Oct 2023 07:06:19 +0000 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/WvzyOY8N1Ke3BhtIzOTF8tNsDbRxvTR7iJmVwEtfe/hRf3IIPJ6vL7Leh6/An4Gqu03TWoC/waCMs6/9RNRUr7ATAnFbJrEfNqZ2sq+N/wgVf2LCvA//QbznLEv4+pmRnUCHqFBiKaWal8QCbmZRlEm3R1Xj1ORu7v3fBdnR9XdEGR7gl8LYpcqLqc2JOwED9SjBjG97q3IRkXLKvdMyl7JVvD0akGGSJDoFB269tYu/II1v3ehD5gcz/dD5XdcHKcwq12hGjoe5CqBNfs1SluwRR4Y7xttISkx03E0ON4UXlNV5JLdvH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tVTbwGn3jc64FGpfgTgJyjZz8yguKz5+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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231017_000618_181801_35113C1B X-CRM114-Status: GOOD ( 11.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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>; + }; + }; + }; + };