Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp683188rdd; Tue, 9 Jan 2024 17:10:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZs4xN5AEZigp3711uZYyq141xfA+gdJQbzHhpjwaBWEP826IpOY4x1HA6Byv8753vMB+O X-Received: by 2002:a17:902:d2c6:b0:1d5:36dc:50a2 with SMTP id n6-20020a170902d2c600b001d536dc50a2mr184890plc.57.1704849059264; Tue, 09 Jan 2024 17:10:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704849059; cv=pass; d=google.com; s=arc-20160816; b=m2/8TTaAk+llMd1Tlxd4rgTNDVaNh6NJfaD4AU76da1A8CUt7OeTY6Ewa3R3I6pGLp 7h0HQ3amq0MbadRjAaUWgdGW9hO9zjAafQKkYZQ6EvdXOQQswOUFQncUJD7CWA2/NtZB xfPLFWTJ0Gj1tu9P6Po1ljpCC7yg0CNzLt4P4q6clTlo9Vees2mLLk4yYUxwKzfGae3G uTrdskaU3jUDFpuUn7eYUT+lU7xieV+CPUznisQaK9Q1AiBImzturazMgOhgRs8p7HQ/ ImgnunbtfMIGFve4dYRsT6v69k3VWZ5If6INqLBevN9HwYhYjj0f4f6aezaAbQrxc3Ay RPig== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=K3pL2LCrHukCRQy9fQEtsI0PyqQvwlm3/xp/GIovThc=; fh=y17y3R4MwgH0OxpsMIgmbuFoiKlxlL6oc0i1aWZLLIs=; b=DuQzjN0CHNRWxYCEgJSvt0UN83TmMHHGBh7AVo1I7Gjhg0cswEwrVfurxGX5kZdJLz xlBj6QtAzqsW4f4Unr2Q7naUN+tcdoK9FqnyMky8mW2/CfT+8X0TtuiMg9GxMslmamFE aVCt6HmKpnAt5zG8LHamOHPiTTg5dJBd8Hp32x7lvtFIU/ekgjWNEpEgXz/S+nXiPcAP 3S56JwXxmyJlaKLgxe6jdkLHxYXWN5zq0FSeQPEnccFDawT1IdIRpwP8LJPOyNgLLKJj L7SqVKR09mxeWJjw7Wcq7DR5oz5CWds7glVPthRNEQLYoZQMTNtvm+pvlIlHZyCpiXTu NmMg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=WKw+j2j4; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel+bounces-21609-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21609-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d19-20020a170902c19300b001d3aa228957si2562462pld.30.2024.01.09.17.10.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 17:10:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21609-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=WKw+j2j4; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel+bounces-21609-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21609-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id BD441285C58 for ; Wed, 10 Jan 2024 01:10:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D41CB3C28; Wed, 10 Jan 2024 01:10:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="WKw+j2j4" Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2044.outbound.protection.outlook.com [40.107.21.44]) (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 05E514A12; Wed, 10 Jan 2024 01:10:16 +0000 (UTC) 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=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: Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI1PR02CA0045.apcprd02.prod.outlook.com (2603:1096:4:1f6::16) 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_|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: =?us-ascii?Q?x8KiTbUzgcV7C3M7aC0W/uGUqXJvm5sONJXT/rNxoZHVbzAIFbkTwbq3/9RN?= =?us-ascii?Q?k6LUuh5MjUxZLUOquMuxsszzsFUE3hR3xrYJAShUA0WfdPjQhApXFkltaIAF?= =?us-ascii?Q?bEuPCrMlxPkl5nQxD4CQd6fcpwEZeDRAs2cW++W8ILgc2t02clBsErd4IM+W?= =?us-ascii?Q?MxCIudK6u0wVlhkEsOnuJMyURUGkokAPs14sPd5wnGGyEywSWZp2hg3Zg1hb?= =?us-ascii?Q?0CaYelWyOkGzBve6bDP2VgK3mfhbl315tfqS3fkU1C+Xjfb2a712ylEXARbx?= =?us-ascii?Q?zLeOaa0AuPQy5MbmxN37wc4h74GExtsclRuGP/azz6h1UCbTvOnjwb+WDwoD?= =?us-ascii?Q?OZVuWx09BsU9vKGveg30rpypTCLr0SQGm/lzGm91aeUeKC3k6P7+Vm0DWIjG?= =?us-ascii?Q?eY5czJ1fAAgfjbQ+mEabkNlhUi4WdhTG1eIs+SeZ6wHyEEj0NrNfKLG3+gOk?= =?us-ascii?Q?hLQuUkprXuzhKfKzcCI2B5YIAivspiUu19aQqM/tOQ9v+i9dVAP3/ARo3nQC?= =?us-ascii?Q?wbPJBj/AIIeiy1wdEFaFI/6WsES1F2J+ovme+/66yRUvcGlnzo+gmRZ1ntti?= =?us-ascii?Q?8F3fi3ZnKX9HpjzmRDCDhLr+RUwVkgoUakZ48kHMxpMzQo4QxMU20YJRVEnz?= =?us-ascii?Q?sDgNWtWMAhZzQhUdIY/uABn3p7TJNJL518S8iEQi7VySq3I4X7Zaw4bWOezL?= =?us-ascii?Q?VWyW9sBEsRKHmxoYKd0t2qmPWz6ta13jkaxfU6hovoHX7rPT7usWsEKjAXEs?= =?us-ascii?Q?nwiXt+dbGr3Cka5f9QH+OIgFvZWJC9+KP6I+YEkKIisaCavkiRAexdaFGYkr?= =?us-ascii?Q?SPcbGjsMOPhz73kRrk6TRyYlobi5baCpS9TXdOLCDTpJ+RbksI9Vcc8nZD0W?= =?us-ascii?Q?4uc2YVKe5W6nU9GN90yhX9dWcolEzDvSZz0tqvbI8UWYj8pt5rUWyLYcL7Qk?= =?us-ascii?Q?HUcT3iVNdo3GTrFxTDoS++5SEXf4zaktNyrCWHhqsSvqHzp7lKjFpJPBctJ9?= =?us-ascii?Q?7dSxonyTSj/SYkRwfhg/XHgFxfUGicEHLZ2DAkBtTKFSy/lfxqkvzZXDnDrI?= =?us-ascii?Q?YNqxx0NIAjnbkPsGyZsunoQFBT5f2f1fM0p0Rrl94Iz8kAeeQvnIxUcK9O7T?= =?us-ascii?Q?NAmjM10REo5Y/yReOWVsf9sM1tieyOIdPaaO7iiAFZEUPb0969S6ZKXxYAS+?= =?us-ascii?Q?kWw4k5AlXkpA16bnNpZb2JCCoOIPrrit16atSWAugHLo2HD8zbp6Q8G227Nj?= =?us-ascii?Q?zfwUa3BntVc5I3eAgp4WmSXch5oFZsf1TUiX0io34Sb4/KWGGHyUpajrS40F?= =?us-ascii?Q?9n8xknWeu29JkERWDycMAn8j+D72M8tP+CWFJotJ+wuHQvnRBnAriHUptc4W?= =?us-ascii?Q?UoDSgbgTI7CUUjmtPH/y4yM9JlA1d95ru32Ple1G+AiDehR3bYTgwiRg97eZ?= =?us-ascii?Q?OHWc/ZEu3x3gvJYaH8IS88H3gLjr4Dx7w3xqwY+WXgiBNIS809DcZlbTYpNR?= =?us-ascii?Q?R80D183hj6gfMRcwzlqInNEr2nXeK8FfQuoTphes92Zlyk57+I59d7L3FgH+?= =?us-ascii?Q?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 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>; + }; + }; + }; + }; -- 2.34.1