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: 13345873 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 DBBC3C001B0 for ; Tue, 8 Aug 2023 08:34:25 +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=PXPaT2Inl+4vWxvd9s7szrcJYoUMHX/6jRqACoSQbys=; b=n2uG9waUz/kpro pIo/3f8XSfgBuv3lezCpwC4kCvesrRM/htaWbcBzltKDPkT0jBAfO9MzzyFK/oRxmDvHxebPmicZk kkQQzqIV1O/g3zGBc51+PgoCSRrGSfbarqz9JQb/8QHEtcwZ0G8l24B+jWBIlLMj3OWMl4w9vugE3 mHotDnbWYRE+aJkagIcuy2Nm079cVJJ57QVKivxAElJMdKfQzyC8atwY4uvnglfIyWHz1l1l43dF8 oId3re9pwnoH0a4DdMAuRrwtEcSRVW3WgfRY1T/QEe+XNrag5IP5Kt9uxEiBl/9l6PHfbSYmhhIpv d6E3TeZH1kuLtc82HcQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qTIAC-0022bq-10; Tue, 08 Aug 2023 08:34:00 +0000 Received: from mail-vi1eur05on20614.outbound.protection.outlook.com ([2a01:111:f400:7d00::614] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qTIA6-0022XW-1b; Tue, 08 Aug 2023 08:33:56 +0000 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+T9oW1Umveb63k55M37kyCBjTc9PUQI3Mlf0iAWUFV7kOB0K207TfPAl4hmTBiIL+uXHuUKCZpdVNFIrS8RqoSDlT84BIuSA+P9DSre9dNvk2qL9ie/KwL97zsVwO2aPmV8uUyEwb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/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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230808_013354_537182_32B5785A X-CRM114-Status: GOOD ( 11.55 ) 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 --- .../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>; + }; + }; + }; + };