From patchwork Mon Nov 21 07:23:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandor Yu X-Patchwork-Id: 13050421 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 64E04C433FE for ; Mon, 21 Nov 2022 07:44:03 +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=Tl/dMcPqaxbvcNPNv+TYEq+Vt/XTQjSDFm0v6qvNgfk=; b=HlDOjRmyrFRHcc MbLRu8tOBeOvUDOyHtRN+yHzGMrBdmddiw+G4WRuk1XvdJBVCxkzWoNUcnJHftU2IyWZJ9mCNplji Xl0n0RQlKxea5apqQa8RD15WCHH9zat6jfHgJIau1sCKQIXVrmXRvKNWt5sFORupUo4hffS6GJtP9 ZVKmLGovHac0imJJJF5lUFYeoqYDRg95Mv9enZOLdPmatmSJdHf9HrQOccu2ymO+YQJmkPydM/iK4 2t0YlbIBAkIaC5MkTZSU7z4LY019sS3mo90+tiygEewm2HthHGWXy5xip0o6/NPDPCHQHSV2x6+4y UktfUAHl/7PFJYxCDAMA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ox1Rz-00AVHl-UQ; Mon, 21 Nov 2022 07:42:46 +0000 Received: from mail-db3eur04on0610.outbound.protection.outlook.com ([2a01:111:f400:fe0c::610] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ox1Rr-00AVCT-AD; Mon, 21 Nov 2022 07:42:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=axoOL8txmmJhFxK5nxv+AsR97ghqRLyHq3/lSlE67oImp5ynuZnujShcN0JmVlYXoW42WYp0xBGHoDH5OkbnEy5f3/PI8nmqXl/GFgSr9JOLfNBpYZI9TVYdV1xLBPjHLKXdyLCtY2XUFJLdZm/o4BOjQLz0xihav+5r/GoWNRicYIeiZkKdUCpx7My5zuIa6HieNTrSiBULK8rZoXePDwNkxNTHDUtZq0gKlU0Pn0xq4aSbqspLA2kA9yZdv4/dr+Pa5QODaBsJ5Xoa2MC3VOFQ4SKi34uNO5NUDLCOiohSlsLWf6+5Og9zL46QW8hBgaW1EA8wORh44fPRmPbt0A== 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=BH3voCuq35A/PdRJVKCJ4L56DgSWpqFlC8gP/Wds8dQ=; b=M6D2KF/MQhuRKVSkYS7dOIlJc//3wh3gtHbJJwlY/YZvCV+ddEA+N7Uc3sZta/a7/ZulUL0665q3yapPb6KeaezV1NtP6AnF0yFqtDieT3eRduMX/bt9eBxRqmsNQKmFlM1XlZEOyC52rnxc2Iz3YRTs2Zot1bJc1iNjyoKdXB/JERp5i8k+B0IVdJx7XGAvD1J2XdhXhbLN5kLn499NPkBSk1Mjrc+YcCj9WOgevj/Mv+c2Bt/S3QsQcrRVCz053aSTHQW71G6qsswdDABh8sau+InLJAA7Baf/B2+xaO5A4QxeulMKfwREEbiux6IWyjCYL0RPndqYsM14PZJTNw== 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=BH3voCuq35A/PdRJVKCJ4L56DgSWpqFlC8gP/Wds8dQ=; b=nCFCnKIxWbSWoLbJGlgF+pnwmcDOgzGqkz3CuhHUAM9nFeSDrr0y1aLjlY/54Drnu2pCu11yXLIxDUbUD8lmmZ6fvnWh6M0UUNfxSPUFx7bUYvHE7AX0h4slEbgAm82I8dQTH/NO6Yfuo+LiKdyW0egCTlTDT/fHxa+IF/5GBHk= 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 DBBPR04MB7769.eurprd04.prod.outlook.com (2603:10a6:10:1e0::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.9; Mon, 21 Nov 2022 07:27:07 +0000 Received: from PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::60b2:4bec:7707:e196]) by PAXPR04MB9448.eurprd04.prod.outlook.com ([fe80::60b2:4bec:7707:e196%5]) with mapi id 15.20.5834.015; Mon, 21 Nov 2022 07:27:07 +0000 From: Sandor Yu To: andrzej.hajda@intel.com, neil.armstrong@linaro.org, robert.foss@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, kishon@ti.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, alexander.stein@ew.tq-group.com Cc: kernel@pengutronix.de, linux-imx@nxp.com, Sandor.yu@nxp.com, oliver.brown@nxp.com Subject: [PATCH v4 02/10] dt-bindings: display: bridge: Add MHDP DP for i.MX8MQ Date: Mon, 21 Nov 2022 15:23:52 +0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-ClientProxiedBy: SG2PR06CA0246.apcprd06.prod.outlook.com (2603:1096:4:ac::30) To PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9448:EE_|DBBPR04MB7769:EE_ X-MS-Office365-Filtering-Correlation-Id: 032c2706-724f-4a43-e05b-08dacb91cba0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +I9vd1QaF1HdX33vJFrR+8DBfnFR9K3i2iv7/y+BtaVjM1i7edBVYdZjrH6afOVn3GihnwrzMOq84tDMEqjfpDYzja3Fn5BuXVXppLXyneaOr/lkQifiKyujkw7m6zpFpITnnpIO6VFexmUNW2/9Gv4j0qoDvCHNtSK+a3wi69iXFK8LD+4qhpqa7RcOtOC8XL4wcuGWSC2jNmOqAPMsvHGC6Lbi8zDqK9Yhy70TgkxLL2knVPekuiflBKLNTWYCjw5VFyPJlrhMasGJT4rmHtMph94MkU8W4IsBwAbHyokI4GHnVVNdoU05ZIrYeoNse0tIAM32RdgK5DOH2uvIYon05J+EP6ahO10Uy6ob51u21WAxfp6umDFVyAqakrex+7kF7pyfEYdhO79CmbjTyzqPocOD7noIjFjq81IhlNN4cOU858+kfOlfhMcbt8uAOVGJF92WmO2StRSYs9TToMlR3BZTXwfCwCwtZE3Cc/fnW6Eu1bnGKurAOcTiI/xMU5Ra27xuCy3ZYIEA12lWMoiOhWoUjgv78YZ8takqXqzJNGcio5Gv4Pqv60QYHI6vK/gFkfoxEbRUnbgMEDGi6AKRmArcTEDCHR3OlJXYfLVlqSuh6IZ26pXsSRKfmDQVHGHFQi665N5BJdOnjxKVDrbKpqs7FoIRkC61eMMsoib5so1uZR77nvMC5cAHSf086Yo2pwHLG1hWuDIW3TDmmLwjxXgLXWjN46ZxYgwEWT1YYiZs/FS3HByfSmfkVzgt8b/CrNJv0hVowRiBzodP4/UegIgBysZV+YXxHiL0xVU= 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:(13230022)(4636009)(396003)(366004)(39860400002)(136003)(376002)(346002)(451199015)(86362001)(36756003)(8936002)(5660300002)(7416002)(2616005)(2906002)(186003)(316002)(52116002)(4326008)(6506007)(6666004)(66476007)(66946007)(8676002)(66556008)(6512007)(478600001)(38350700002)(38100700002)(26005)(921005)(41300700001)(83380400001)(6486002)(966005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: wR9Fj8eTcoMBcPQrPCryWvue4QJvHx8JTOMZwN1BWsMvtgZ1vrrMU7I0avoc78v4JjQpmGoXp7GGnI5S37JQSPvPfM3rDZqcwDp8fFvVBPuxorZp0k0SCPESXFdlqtKokumMfS38jkpmBDVNrq/icOWejdK4FHQR5dO0POEtAG3e5AEW/eRBmT7pFSPUuiX8/N2fcviLvnRsVXmkNda3qonMfS+uKnRjV69eCHGp5BZWYgJGnB8lhZjhUknYBgyicumewEqOnhhdRjJ6EisfQzglVVJvnLszG8Dba5piEXdBLhTEV0ZqAIcMDquc3/0PuMCEjg30J0QmyLy3lRJl1DfcAjpisY7o/eac1DF05oUTJgD2WAV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Mkt/XhTG4qSGWJ0JyhyGsEJbAEvHbR7Z/kI9ALlTazw0H+E/sYHlWvC/BIpBfeHHqWE5Jf8ORyDlHhnKFlxlDcMNjCneO+w0YboBFtAipjmXNfywFeq7DUY2Rt3M+zQxd1k64eG6Ez8uYl1X1r1NsI79 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 032c2706-724f-4a43-e05b-08dacb91cba0 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9448.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Nov 2022 07:27:07.5860 (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: Xhv/tv+g3fmGa/4JthgrPSCXlu6QAi3/y4MM1iFEu9sq5qUMFSgFDmQM9+LQyIwq0iDa2fSerz39l1QyNlbNcw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7769 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221120_234235_580270_272FC80E X-CRM114-Status: GOOD ( 11.23 ) 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 i.MX8MQ MHDP DisplayPort. Signed-off-by: Sandor Yu --- .../display/bridge/cdns,mhdp-imx8mq-dp.yaml | 93 +++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.yaml diff --git a/Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.yaml b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.yaml new file mode 100644 index 000000000000..d82f3ceddaa8 --- /dev/null +++ b/Documentation/devicetree/bindings/display/bridge/cdns,mhdp-imx8mq-dp.yaml @@ -0,0 +1,93 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/cdns,mhdp-imx8mq-dp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cadence MHDP Displayport bridge + +maintainers: + - Sandor Yu + +description: + The Cadence MHDP Displayport TX interface. + +properties: + compatible: + enum: + - cdns,mhdp-imx8mq-dp + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + description: MHDP DP APB clock. + + phys: + maxItems: 1 + + 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 DP connector. + + required: + - port@0 + +required: + - compatible + - reg + - clocks + - interrupts + - interrupt-names + - phys + - ports + +additionalProperties: false + +examples: + - | + #include + #include + + mhdp_dp: dp-bridge@32c00000 { + compatible = "cdns,mhdp-imx8mq-dp"; + 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>; + }; + }; + }; + };