Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1812592rdb; Sun, 4 Feb 2024 02:24:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFFhXX49HnfwwTovsLlt2mdVZsFOsyFTgeDg6RpwgT8z3hGsrmFyMYFAffbge3dyE8R/g/4 X-Received: by 2002:a05:6214:2a8f:b0:681:35b:ff6f with SMTP id jr15-20020a0562142a8f00b00681035bff6fmr4108382qvb.29.1707042251424; Sun, 04 Feb 2024 02:24:11 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXooupg7/B08TZKLA+WpmGUA9xHfN/yzrxKTjakhCS7VAc+yWEhqADe8JNgsnWQOirT4xlsebh1XZkZN6cch06G9SKhwnmWYvc7K2vxSA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id pz26-20020ad4551a000000b0068c543ea38asi5897328qvb.86.2024.02.04.02.24.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 02:24:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51582-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=FOy+Cmg3; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-51582-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51582-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 22DC41C21C01 for ; Sun, 4 Feb 2024 10:24:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 33A0D1BC27; Sun, 4 Feb 2024 10:23:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="FOy+Cmg3" Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2051.outbound.protection.outlook.com [40.107.104.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC3821BC3B; Sun, 4 Feb 2024 10:23:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.51 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707042197; cv=fail; b=DP0wceZgN3eWudEKG0Ail01OkNgOsLpuXiu3e0iwFjvdhKHFlkro7gClSlBVElnIX8RxO5Af3HDfbn9jF7zCyTD1nt1exu9gGry10hTQ//Dw3zQ8RNESB56tx0aUWBm44n906T3Matmier0V4HwxE0wASocHu6hbKi//4qiuGm0= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707042197; c=relaxed/simple; bh=O4q3ugnYGO3BUatjGVkFJIrzj+R8ZAjQaR1yQ7JjWaw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=Pg5CHrBu0hzFDWCU2My4s0cFLinTvTBqLKYUjIkNTHA+eVsSBl5KURMI4roD57W2a+A6qxI3bhrXF4yVSZSLBVLXWFL32MTZn3CFpu3TWuSr6dH0RBcLun1g8Hm2yd8hJU16ZRLZtkMRl65rFQToVClYxPoKo624mer29Z/h62s= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=FOy+Cmg3; arc=fail smtp.client-ip=40.107.104.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N23BAxmlROEoaWu8m2/+hzTwcnFwmViUip0Iou/RzfzFN64ircUnpeutvNiQQrjwSR1Pa4y3dA2yOoY+5xcjNiJbSpG6/JGgMgnkAbsBU5pvF1kmigR9JtOXIidwQ6mqUUkyw5vyK0dlA6tx2IYAFpwsEhbf79AYCNx06NVGfwxeR/1pNILlQmUSi3cASLgN1wdZtVxEuUxRh1WSZaY/YvDeAISwe3x0EmBWm0mWDOYDQK9f7DXzSproekd8WKL3JmHS1I0ajLqoOTyybP/TkHrookBWUEEgRRiJyztQM1pgZzOXjf8NsQ6uFqixMEwvJbnLJUQWZpezNVpqGydrzQ== 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=HEm5P23uaKJj4NeuE2vtg4Fr1V4FvPcBzCv7JrZiDV0=; b=IkNWFWC1CAhDtOgTYEMO1CMho/h46OvDaWCYd8cEsaI7IRG6Q1niBBAreILdZAylAifALat+h9jtckuUxkp7SIZwE1rrj/1/7B2s58mv+0FDn0F0G0xcPH74xuzbkTmOvZB2U9YGXM17tgvNtrJM48E8me4BMxM52UpGDU7UI4FX9oOYh2ozro+NdZdIv/0HnshIslfl+vC3YW9FLLYyLKogHWagRe2ykEtSRk05CQYtjSkaQTnU3pQQlpRiHctCSpUqo1QCG07+E/d09V3S6FY9WCtMP4BnkLLDBpmJ2r7u//vGQa7dwGmiFvkjH9WvrKWp/iAqWiQ4mixT1UYcQg== 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=HEm5P23uaKJj4NeuE2vtg4Fr1V4FvPcBzCv7JrZiDV0=; b=FOy+Cmg3OyfXPLXzwx8e8cp5RgL9c3faWFqMFGJjY3NHEbeyQvw+NTKTVNHHtCeGMvW4XggV33e4phaNsmNaDBg6VRvAFtVM1S9XZ0U0SpGI3drAucem4zjDOSEBP0uhBUNivIkIeqOOrhkXfRwlVlOTt2ryvdr/NV7VNKWGvW8= 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 AM7PR04MB6966.eurprd04.prod.outlook.com (2603:10a6:20b:109::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.33; Sun, 4 Feb 2024 10:23:13 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::b24c:5d0d:bb15:3e9]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::b24c:5d0d:bb15:3e9%5]) with mapi id 15.20.7249.025; Sun, 4 Feb 2024 10:23:13 +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 v13 3/7] dt-bindings: display: bridge: Add Cadence MHDP8501 Date: Sun, 4 Feb 2024 18:21:48 +0800 Message-Id: <84e90f01aabfae52d1e1506417d2dd31aa302964.1707040881.git.Sandor.yu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2P153CA0015.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::21) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|AM7PR04MB6966:EE_ X-MS-Office365-Filtering-Correlation-Id: 8e739532-3628-4df4-b345-08dc256b4b08 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: /aK0SapGMyqSOCTPOtl8KXdvQ8B9jJ9KmPDQsQxTFaX4O8NitM92c6LV406ZM69gnR0TVjMfKCszSRuxiVPsCgE1PA0CYqw/XpPrRg8uug9RpSzfqPSng8AOziufIed/8Qc4zmdVB0Qn+XJP6NMDElbc9rqLfbSFlzelgQA97gyPYeThBrcVpgvk8/THLK8uCFl0DQ0a+VGAxAvnAJ7IlaeWk8rgMr66VlDSKXez5dB2LYgmJ2+H7fFfVOb3o5G93zzZGKZwicJ892wtdgq3MrWd0AK3pILUjbk6Y4SRmC5WV4nTTJ8JRGDx7JkYwAHw7dkgA+CXfh21+ybvfpsWco0LpLL0tsE5NirrQQcQh2xsz/rViikC5acaiRPmgHMyRub7L/wbCV8GLakhs14EzzJsO7n3s7j5Z1MfnriXeBPdslk+dVY3+hYdPLEXGZYrtDe5NOW7FK1bLVc5ZgU5jrJR1+2HnTIXGOhQQuFflqBASdygLd8R9GaQaVKXsaJCTMAQkx74DmP9dude3E2GlddGOSqcSh0eT6IXq9rVrZbklz2a2vMCUzsNSfWmVvnHGHSl47E8EbugxKhUw9WVKYbb4s797+mII2fUBsD7xPFJSdk/OgWGPZtqIBMjHbxW 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)(39850400004)(346002)(396003)(136003)(366004)(376002)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(83380400001)(26005)(2616005)(6512007)(86362001)(6506007)(52116002)(478600001)(6486002)(966005)(38350700005)(66946007)(66556008)(66476007)(4326008)(8676002)(316002)(8936002)(6666004)(38100700002)(36756003)(41300700001)(2906002)(7416002)(5660300002)(921011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?DUK3pmo/T/zjzoBiLRtJw6xU3ruCC2VmJ2CyvXlYxOd5abS9CbYvfaTVap4w?= =?us-ascii?Q?Zv2EiKJLC23j5RpiD3g8C3uh2n6sWtN12uZ7+rOGtPDKh+ZanQ3ZQNZgKuVj?= =?us-ascii?Q?7i45GcvYYd4CyuCXJIe+lzfbLQpKmyvgC74VjxsaPFvuUTnNgYujsLfv1vxk?= =?us-ascii?Q?j/fMOPu+2qAgdA4Tu0JNzcxPL32/OmeLOd2d/8myTkAEox1B3NAY43sRohz5?= =?us-ascii?Q?TE2kpYKdPwi8ubuNF6TfoyC1vJKv2FZboty4qtVIJi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ujQLRvDxX8Jxqf2EoFo3JIAdxnEt10G0xRB2kn9QdAVDcIvp?= =?us-ascii?Q?TRbO/mHvhbL2nnNKmQo75/t5dPVsXWgTLcu/iHhUgrbHBWDE9INaeGec4J4R?= =?us-ascii?Q?naouTY+oeVCBxC5ky0NhQeUX29zSvMBAoVao6kVmlzra+onlDxI3bqq7JaYG?= =?us-ascii?Q?UXpGDOKufOG1GAJYGOArKpuscZ7jmHw5KRaVIYitQfWFlMXFVhdcBwPXDpOe?= =?us-ascii?Q?xN82jllI6ByvCdUriEeEifUC03hntbGy7lA5hBdLyReppefAA26mCa3HP0RN?= =?us-ascii?Q?mzv/qgeSZz0RZPEK3NhvUSLjRAcQ5QGCY5QVJyueOuV9IucA4btaEUqd/EBU?= =?us-ascii?Q?L/rBJPCeQ286Y+lEsByKbLNe49A128gBjRvHPWjpneJFY5pfvxDK4m8UB/BX?= =?us-ascii?Q?6tps7X51IaHfSah9ifB8biHzIgyLlOqLueK0ZGf5?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8e739532-3628-4df4-b345-08dc256b4b08 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Feb 2024 10:23:13.2624 (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: Sj3qiotKyZyoMOMpcr2c3z+si0f1FcBL8LNgTqNaIaa6VxcpEV7KIQl/L6un6O4ttIuHpfUBNS99dz1/GM/MNg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6966 Add bindings for Cadence MHDP8501 DisplayPort/HDMI bridge. Signed-off-by: Sandor Yu Reviewed-by: Krzysztof Kozlowski --- v9->v13: *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>; + }; + }; + }; + }; -- 2.34.1