From patchwork Tue Sep 24 07:36:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 13810443 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 DE7BBCF9C71 for ; Tue, 24 Sep 2024 07:43:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding: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=zhMvV8ZI6om/xAMyPUg6V1q5i/7Rt0cXDmn4F0AbbP0=; b=snhM4QFkoCyT9MAf6D5kD7FCit n1VXzBWxuQvQA2zOpeVO0JEFRuxzpCZ6tUBLBQPMWCyVMcBlqP9h1nWEmeK/GpjAleEG+EP1r2i/P n8MvmmMvXqcbk5UPqmGPWo+hGaVpA86DezHVxg4aLShJP4wILyh4nZKVvc09QldbqM5zaDm76B0Ty yJw8Ryi4Z+YaudHCf1mZ3iFX8EiZgcMUGQJLndn4S54qiWoWgm2W3iboIn0gXp0HZT2Jn+2zfdWU0 6vniQvBYTewcfIKc64DbDGf1J4QFLSLBV2B07Rv+8MWh8OBhXO0dyYJKdRtT27TzmmkxajAQdj2Ff tB4IzmfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1st0CN-00000001Sqi-43Jy; Tue, 24 Sep 2024 07:43:04 +0000 Received: from mail-westeuropeazlp170100000.outbound.protection.outlook.com ([2a01:111:f403:c201::] helo=AM0PR83CU005.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1st07v-00000001RKs-0eFp; Tue, 24 Sep 2024 07:38:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=I/t1dwHP7bUEZDGmZaaSVshtsHYVdr6Z1VXC94kTEk8Dg61K+M/rVoIJ5d89ErrcU+EUpEQWQXIgnYC8euR2nyRqVlegcn5yllygSeMOmBNo9rAF4aUwuu528yTRnHkAYhamjmf2qz/872buCcZGulh07npQT/5yp2aNDl9ShbkxyD0wbyTw/jylYm75l1xdlq7O4sc3iUcaX/i52uo2VAkNewead2fiKS6bAwdS3yhQBiJiiMHaHDjLNfqAnyT9rMJ/csXdnFq39gm04Zv9uxQ6AuHjliVAAjrP8siaCZgBy07tTmjTiBsixLC9o/RK/h/NLrn+MGVsL2AO3Hg8AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=zhMvV8ZI6om/xAMyPUg6V1q5i/7Rt0cXDmn4F0AbbP0=; b=g+pJ959sYyrX6YwJjbTQtLdNDtx50tFpWQbpgJy3cKyxKlRU3upuoB5szuFHBWwk95pcTF2808kmnJiO0y3T7tjkHb3IPiNegKUDcUhZpuT/vOcsuWUKVdjjP+jipIxGqWi7SvD4ySrOUoLIWS5YIpYmu9Th9SXHBFEw9g7PG8ZWdGmNFm0cKGRKmTprdb/glApvqvQto+KwmYZ+elw7pOf0nnvTcXmi+vY+VDvzUks2WXim4/gqCBylAPwtrbLZ7UOBAXFZHitRYrMR8UCpJZDivqfya6ABkTv01Is6KQfYMVo31pGJLbj7XuFkmoxDHN5NMKPemWTMmYAqv4/mNA== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zhMvV8ZI6om/xAMyPUg6V1q5i/7Rt0cXDmn4F0AbbP0=; b=QlAC5z9mRQzJwNt89rCfmCpxhM5bt2iRGET8vWETmvFgckblUyy1He/8xVYnedFNMrRIsNrGs+y1DBhTwSrrtqSvlMXkkJvohwqkd3JdSmH+XquMUz1b79d/KnlHRLcEpZ6qSqZD1H3bmzL8VfQlE3xquxfEhk3u2T+tLME4akOiufzt6mVez1542ffUYI8KOlT7BqQLZAPYNKzWeQzLCm9MIFAvyX231FwiKpLSdedI0JGpkja5UkH4DKNUjlaZjMfluJ8mP+14+XR2PDrWj+CX89YLWUUoKiYgrB7rqvScoeTHxOIT+iWncZ+8fDwmbFmJQjEg4nlFfwRiG77Fkg== 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 AM0PR04MB6881.eurprd04.prod.outlook.com (2603:10a6:208:18b::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.27; Tue, 24 Sep 2024 07:38:19 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::51ae:5f12:9744:1abc]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::51ae:5f12:9744:1abc%6]) with mapi id 15.20.7982.022; Tue, 24 Sep 2024 07:38:19 +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, mripard@kernel.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 v17 3/8] dt-bindings: display: bridge: Add Cadence MHDP8501 Date: Tue, 24 Sep 2024 15:36:48 +0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SGBP274CA0008.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b0::20) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|AM0PR04MB6881:EE_ X-MS-Office365-Filtering-Correlation-Id: d33037ce-613f-41db-ed32-08dcdc6bdc22 X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|52116014|7416014|921020|38350700014; X-Microsoft-Antispam-Message-Info: yGBHaJotht/VeSehQE95teb6WOKfI+zkUcNok1ZzGdSWUiAvWj9lvZ0WtdCFVS9abgu5BYdRe1tREy7NXfX6BqQADprbvgMVcLmfDIDqsrStbws0nQfbNsQ2o9G5CdQC9Zj9vNvDLX89dnns1jc1m4Y6Ea85KuQsy1K5DBZHrNbW+xmgCYJieZ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liGVI/Ysm3fIky+usGjVGn1mw8ArYblJ88wF/1zZNXUvfJPTcuUuProUI3R0e74UVHJ3fDOG8ucDztmvf8VfN6oUY22GgHTXk4onOihoNp/wVBTSJxI5aE2pZ7nH6d9J7YyGnI 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:(13230040)(1800799024)(366016)(376014)(52116014)(7416014)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: riIdd8Q+1gn1wfyhAh++hdNVy9SuAIXmzAkCyt/wkZjOyxY5uU07ur0lW3zJfpWvdk0WwfUcGaFX7F9HlEYpa/E21eLiiFewE7TrucIlRqsuiCRLvMnGItC/ai+RYJ+LVw3K6aLERFcQERorN8xCI+QR6yK2UEsBR2YXsfqkXIA2TILHPn285Cm6gHFnPzqJUZ1J78BiLUZFqBojHhXLzBSmbxCr4u7WF/aNRpWBovVRROF4Njq416hLGaL7/MOP6Z4NPUQKtdxFP0jbcnZLK+USuGFad2E7zMT0WFxHDqpkC/v5mBLbSEh9h22bLTHy47cC28ko/2C/cFZvMX29xo0AKChgfnUp8VH71LD8ax/lqKzbhWx3kSMXbpo1FRSzM0rpTcKBwhSGL29BoSvGKQUj+BKEeIKY14mS5gkApuSRk9JMqmO6UUvMLL6iEOBSwD9uUiC1T0vmUhk5d5jirJwMKPjD1K2Dq5mMlkXXV/gGy3xCuXcUB3TzUtJcMOvSnejjbXGon+Uc2PhuVKs45zLrW2LDyFVGlG5hXGCSxOvli2TXGwH9cdMCpjkkBC/jDgkzZ0hK0N4Ens5jcotpwZRNJdSJMYC4YGvYkyz8q82UE24wW1uI3Sj62kAkqx8gHgp/kKMNw1VtOVxpXT4CEx005qiPJynlxuH853ha8fuHA4EdRVlzjy8j1GAFJKuyr62Xf7/lsWaDtemsqF3NB6hhhVhJCa/KsoLE3o84+UtslpNrmB8dSfnWwLND0N0ZScTZdF18A2D4HpZXCAaHzO3WoP9WcDYjdWadHxfQ0kSBuXwaSmfh+puD2mg82WDNFCEMLfA5DwpEFUC74UdbXNPMPvQAjK3nx+x5yDnBiS4vZ//t3g0+phQJKX7Pne8Zz0JXoTJ0IPXsCuUXWzi4WebD46mVVkuUg2NtObAwQrkPllz/F/UeDJrDocChLeN4rPmSmmi7dYQV3SswqZPahTCnnZF6UJNZC3Yh3GjA/x6B4x8n02DOS35ZjrRXR6HpPKd7MUv4vyXSLGQEa/T4qLhYQa1gVPz4ktzYXo6zgG+ZyjWO7h0N3nyxJKhp10XpZ3x694QmK9ykxzFSmyWo4FHTyzDavdpXBHH9+ypSoyFYh+yagq9ZUa7M9/LbsiRCuBmA8el8SjHx+8mIHg2GQW65tNcFB8N05uC9g/AnTsyxUdzb4dLpLUk1KrUomwYsvVRa2MN0jfCUKUMQnFuF+4bmuIUUQOGS0L/L1J3rd0VYorATGoJHs1N6eOvIMF9DCi3BASDkXB977tTVtiSwD02ON0fmrzZa09G617BzHfuZSyqHKVzZrRXHpuS3i0Z9QyI1mP/yryc9V99Sz8fy71u6Lw6LTDoCACHZehkhqsxL0Fg2QLZ01c15OGNMkrXhjIzEQ5BbD45jdQ00NlhPOGA7uGZSYySX6GMp87iPc2FZ6//fOZBozDCMVIuFWcijpm1P6zRwQeFPhgY8cRNgyvCXuil+3/Xf66kKL/vxCoAniRcCfNFBHbsXFYxV3jk1PzDEqQGZAd1aBM3VFRaGKo6xhkgLfodxYtVQpbYgJBeX1LYhQFzTNiL9RSPjUiV4 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d33037ce-613f-41db-ed32-08dcdc6bdc22 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Sep 2024 07:38:19.4713 (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: 5UMNevjtTNxPfDh8vxNoqW+pMP7koXGC5w+ziYtHWbNJD3GrDHLVKuYu99l618b4LX2Cet//SfVgpTcL6ROGJg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB6881 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240924_003827_232326_A388B4AC X-CRM114-Status: GOOD ( 12.49 ) 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 --- v16->v17: - Add lane-mapping property v9->v16: *No change .../display/bridge/cdns,mhdp8501.yaml | 109 ++++++++++++++++++ 1 file changed, 109 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..3f79f328c7425 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp8501.yaml @@ -0,0 +1,109 @@ +# 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 DP/HDMI PHY + + interrupts: + items: + - description: Hotplug cable plugin. + - description: Hotplug cable plugout. + + interrupt-names: + items: + - const: plug_in + - const: plug_out + + lane-mapping: + description: lane mapping for HDMI or DisplayPort interface. + + 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 + - lane-mapping + - 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 = <&mdhp_phy>; + lane-mapping = <0xe4>; + + 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>; + }; + }; + }; + };