From patchwork Wed Jan 10 01:08:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 13515600 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 20E0DC4706C for ; Wed, 10 Jan 2024 01:26: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=MZspfLlUTUHbpd1ZYHzyICYZ/yAAvqm6PTAR7ovvfQU=; b=GVfXaLlaBrSwkk Jvtbb0EJ2YMceSpxfraone3gT8SX4hqSr1Soj6/l1rOViPXbA+LjZSx3U/RQEtGDhJ69i3EKCBXEG c49Q6AX8QyjgK8Fa/FqOL99eardKLgaBO0qtCNo9EcrDJmtpYOsRuz7OXoAuKKJ7YH00Zy9edYSMQ w2pQlINKv1tn3HVCe6RV8sEC503RfRndM1iq+qs9tJ/rCZ9mKyxhuzEWA9SJmAiE6pno774VpGRtr Qs2pFCpW2h25+cmwIhUac/9GpgYBQCqK3MO0QBnzPZ1orepKhBeThsddbvWKea387l6P5mG09JIlw o4t0xaZoR+18L+MVTFpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNNLv-00A3LP-29; Wed, 10 Jan 2024 01:25:55 +0000 Received: from mail-db5eur02on20600.outbound.protection.outlook.com ([2a01:111:f403:2608::600] helo=EUR02-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNNLs-00A3K2-1q; Wed, 10 Jan 2024 01:25:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vtkoj8kXWQCmtS1vX/PfPkysb/gq/NRqkzibMwv5e9RZBg8mMZowZrzZHN5rIOt0r8KUtQt5OT0hG1ddx2AMTDcXZkwdSiWri7LkkfwYM4uZnwuXYVrm/uaGxen8y+qMB4TN1s2uFBCQSx1fYMHb7q2L0YsvnE0Z78BgqlEQcU9ApwLykCkAA6snmG1sziDDSEWw2KrpyoXSLyb73qARJusLl0Ge+IP0BaLWVhOolsp4a0jpvn1s2RaGnHdLJpSYf5tBSPtA/3uHLzETHl2Z4aioSVOib0FEGqN9jvl6Ztbeqa71a86hQrRFqoJJee/WQCr7OaLySxgCPQtLx66nLg== 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=K3pL2LCrHukCRQy9fQEtsI0PyqQvwlm3/xp/GIovThc=; b=oEL0/n0/WijqSCTgqET5BF0b30sJGYA3UQyQHL0Hze5WZD3ZAVEeeZtzdTqRtflrfn5P9ciPX8y6e4EWECPP98OcbA05tYcvz3Cya3n1cMglf+tWbjhCYF1sQdUQD7qmy+enMJUjAjzv9OmFjJ9JN2zn3Ua4iJiRWw67rINd2Q58iG16v6G8HjTybRzI+iLvjs8fXukyTpcWU48OXMVZqJVov4982o2NJlG8xWB+jVYYsNl/ZuqRYTO4UoR1oMkBy33o1diCbDqVVVVGJyR+z2DGqRfELSO2QuTtAyloQ1qgM58yNtCvV02PfRhH3Hy3J7Bi33M/aLTN+NnE+T127g== 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=K3pL2LCrHukCRQy9fQEtsI0PyqQvwlm3/xp/GIovThc=; b=WKw+j2j4np0U7RW2OVDee1dLIwZgaFL2NvkfwU8UKIvF1E5mBWvlnhhaY2SfyzR803lIp2xqey/aUYrEeGIt6dbikQZJIfQS9JqZYhAdaOK9xuRJscCdxnjfZgc30oF6DVD0Z0v1hoOrQ2upDxkTUXcyv/a8EtVP50JrkZG20hw= 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 VI1PR04MB9836.eurprd04.prod.outlook.com (2603:10a6:800:1d9::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Wed, 10 Jan 2024 01:10:12 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::e6e0:d026:3089:17d5]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::e6e0:d026:3089:17d5%5]) with mapi id 15.20.7159.020; Wed, 10 Jan 2024 01:10:12 +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 v12 3/7] dt-bindings: display: bridge: Add Cadence MHDP8501 Date: Wed, 10 Jan 2024 09:08:44 +0800 Message-Id: <5b93362c9157b8b70a522989821c870211c021c1.1704785836.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SI1PR02CA0045.apcprd02.prod.outlook.com (2603:1096:4:1f6::16) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|VI1PR04MB9836:EE_ X-MS-Office365-Filtering-Correlation-Id: 758a2b8b-3cdb-4fb5-fee9-08dc1178e58d 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; X-Microsoft-Antispam-Message-Info: EP8lkvUHa9n/6N40WYfUZZ4IfMNCUtr6urSHPUICW6ILHVKCXb1rNq9U7oLQsoZq8ZKhEgfGRyL53slid0xEs2YG30QxBpMoW69DvaXT2yO7k5l4XImXxh/aQUULyWoPZ3hA42iIYLdXtPsJ5p5Zk20cF9vraie2jSBAmOI2zIcbUOR6pDq6BhsHyUNyoPoj+Pv4BH491WIrfOv64FlgzVRtMtP/JNhlzupBuQ277V1QQx/+h+UfbruDeVSXH/nKTOFNTVYa6Dh+VpzoEz3T19W3tTYYDVoqqMzjMFgD/zxL45bz7Zcj36OmnuOwgkWCHEL9gVGni01n5mAS5azhHcJMPCco/o/DfaUijD/bsPovzvLmv42/lntctGOQFag3X1b8rxxey0C9yaiGvTuv+1juB4UtIta1Q86rzVTovnM9kEds0XMVk5iT8SYrxvwTyCN6Fj/u4gfOa9yM//lv03WaVzH9zIIMxnGIAlYus/5rs+7bo1BUmHizs07GAo07OfVUpzUKAC8SKLwbRzUozKU8wMQRvKcTgDtaxx9K5ILfkodoIfpqY4TQjDelMHWhunZ1g1qEnH0LsGjpM4/evsNldN1pqrK/o/SkKSAPDTYm21Mwc1pUpdyG7jJMg2/O 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)(376002)(366004)(396003)(136003)(346002)(230922051799003)(451199024)(1800799012)(64100799003)(186009)(83380400001)(38100700002)(38350700005)(36756003)(921011)(86362001)(26005)(2616005)(52116002)(6512007)(4326008)(316002)(66476007)(6486002)(8936002)(66556008)(66946007)(966005)(478600001)(6506007)(6666004)(8676002)(41300700001)(2906002)(5660300002)(7416002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: x8KiTbUzgcV7C3M7aC0W/uGUqXJvm5sONJXT/rNxoZHVbzAIFbkTwbq3/9RNk6LUuh5MjUxZLUOquMuxsszzsFUE3hR3xrYJAShUA0WfdPjQhApXFkltaIAFbEuPCrMlxPkl5nQxD4CQd6fcpwEZeDRAs2cW++W8ILgc2t02clBsErd4IM+WMxCIudK6u0wVlhkEsOnuJMyURUGkokAPs14sPd5wnGGyEywSWZp2hg3Zg1hb0CaYelWyOkGzBve6bDP2VgK3mfhbl315tfqS3fkU1C+Xjfb2a712ylEXARbxzLeOaa0AuPQy5MbmxN37wc4h74GExtsclRuGP/azz6h1UCbTvOnjwb+WDwoDOZVuWx09BsU9vKGveg30rpypTCLr0SQGm/lzGm91aeUeKC3k6P7+Vm0DWIjGeY5czJ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80D183hj6gfMRcwzlqInNEr2nXeK8FfQuoTphes92Zlyk57+I59d7L3FgH+Uu4zq5v+HLbr0Ed0bD0NGf8BIIMivLSV5v92vdtD X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 758a2b8b-3cdb-4fb5-fee9-08dc1178e58d X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2024 01:10:12.7134 (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: 4oiIRjMYwMo0Htljn3iuiJAce/1bw2sFRct3uAXnOYd4cmnvtfnXJBZVhZHsfGMgUoDwJswJy/BOdULJG5TJOQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB9836 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240109_172552_609804_A71E00BD X-CRM114-Status: GOOD ( 12.00 ) 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->v12: *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>; + }; + }; + }; + };