From patchwork Wed Dec 9 06:24:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 11960595 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C16FC1B0E3 for ; Wed, 9 Dec 2020 06:34:47 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4BC99233A1 for ; Wed, 9 Dec 2020 06:34:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4BC99233A1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Eo3DpIV6w7bShdDjJEseASPhHjbXBKVZ8Az8PLmJfkA=; b=cXz4YZ0iv1OQ3FXA6bEWTL0pP Ld6Y7809CykH3Tslc2UHPzI3JAHwPPijmUmUXYxKicRrXuzxBzbrtEYgijXAD4ip4FJ00Tk+b1nRi pmn5dNuBbKiNAaR5ftPWyp0riN6ZmjajQxnScDaa1OBeJPIu9DLoEXYVdKTv20begkRPg2f4c8NSB OTkEoN/zT61LctL8muKgFlhj4K0/9B0dCBcUO2AvpF7X3sahPCjvHu1VBPl/0pcbE0JYmfKSb4/xW kD0aHMLIgwaP+WGv6O/VgiYb/k7HbqB/tSgINfQ2Fjad9MAAnC60nDCyJwB9nY4zeoxx4LZOgD1ZY wHlFzorQQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kmt2Y-0005Oq-Kv; Wed, 09 Dec 2020 06:33:30 +0000 Received: from mail-db8eur05on2058.outbound.protection.outlook.com ([40.107.20.58] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kmt2S-0005M6-Or for linux-arm-kernel@lists.infradead.org; Wed, 09 Dec 2020 06:33:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MkfVZQzp53Hpp9zuMIFLiP2NE66oBgAHSMBSQH/zJjoIj/F601PxFY+LJ/oWvUB8We3me89Bpxjk2kExKO+FacoBsuO2qHK9xGrak0sBKPrFX+hpjqETWhZ5SUAL16mJFR6uc1aKNSEsQVq11Ra3PN9QKP+c/5yNFpGgm8U9CcegphqYttUg2Y+Y+rLpwWbgF/+/jWSzh6W34g6iAfCFX1YwPVPLmglJO5rjYa7CUNyzXYlAovLR3tOBY76r2f8cUivIUBYROUi/nxHkXrnEhLBT8MuiPsy7KM8STnRYxMnOoRgL4+JihFoVlB51V3gTv83OcN65gmw7Hjh8dnU0DA== 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-SenderADCheck; bh=kEsZvVVMgoy/JmFSnfE3Xg6oPLliZDQ74ZOmZfzTvxk=; b=LrCGYA9tTVKhzWNCAmTMQjs5zEwBAfs9dnsYFK/yWdeYtMiezs9z7OXO199jm/mtrSCPwz6nNzoN4gyuXtzsJEVV7oP5/Lo2NjxTVcOfp1iUZQFGmVKRTvvBJ2GqoOtBb+o8h0VWMWyt8Nh8Wl1U1jMltJxQ1A1OSieXcszvsKCk6Ey5wrmrdFWupty70/VUPOCcTF5l+2VTw5lL3eK6xwqc0mWyrOk9CxeY2wILF6daPVFPFkQhvkzbQ0lPUHFMvtt2Nwg/hw8yi5XOHKTgHI+2iZ49TkRKhSrCJ1tbMWqOocfaac+prqGbpb5MmOHCb5G67R30hMHI6Vi5P1ejdg== 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=kEsZvVVMgoy/JmFSnfE3Xg6oPLliZDQ74ZOmZfzTvxk=; b=Ab3u5bMhQ0mQiX26qFJsIq6aUsW2/9qrSPdLaL7Z9/CY7n9C8KFXIFbeaTt9L5zX0cX0OBMMf9FVwW39DmNz5f6SZI08mFs9DylflWrQyxZyWNAiTv7g3t91diQNJUaTgiA+Gg1V7fUawLKGvSgjEiw+hrrMTRQfgH84Brm4smk= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB3983.eurprd04.prod.outlook.com (2603:10a6:803:4c::16) by VI1PR04MB6144.eurprd04.prod.outlook.com (2603:10a6:803:fd::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 06:33:19 +0000 Received: from VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::dcb7:6117:3def:2685]) by VI1PR04MB3983.eurprd04.prod.outlook.com ([fe80::dcb7:6117:3def:2685%7]) with mapi id 15.20.3632.023; Wed, 9 Dec 2020 06:33:19 +0000 From: Liu Ying To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 4/5] dt-bindings: phy: mixel: mipi-dsi-phy: Add Mixel combo PHY support for i.MX8qxp Date: Wed, 9 Dec 2020 14:24:27 +0800 Message-Id: <1607495069-10946-5-git-send-email-victor.liu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1607495069-10946-1-git-send-email-victor.liu@nxp.com> References: <1607495069-10946-1-git-send-email-victor.liu@nxp.com> X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR06CA0148.apcprd06.prod.outlook.com (2603:1096:1:1f::26) To VI1PR04MB3983.eurprd04.prod.outlook.com (2603:10a6:803:4c::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG2PR06CA0148.apcprd06.prod.outlook.com (2603:1096:1:1f::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 06:33:13 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: d3f85ab4-6ac3-40a8-fb45-08d89c0c51bb X-MS-TrafficTypeDiagnostic: VI1PR04MB6144: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SJQkCpR6BwPOcU0zERKKTFSing0AcpEEFOTCp9azpwEnFTetInBT8e870CqLd/d0YhZZdBA4Jk3fC+gumAfF5rtm/o9aBkBXVzS5CfBwuaHFXseTx9Bzf2LeyK0x/OOsz1aQZokU89ZQo6/m6MpUt2IdmJvgrWqb1aaLDKbTulr+bhy0NM1r1YofEWeKgRhO7TYawUkGwSEiQ2aVOZukv+FJkkxq48/QxfT34ofn3QLY+d4vNRwMZRa+NamS3Ua+xahaTrbUI0v+p50PjFf+4Rp9MAa+tk1JVeNzozcrxqDblt+lfxmy7GNpqp3CollZNXeQPxCW9tS23dPzwj0bMnm1EKJNc50/6irNmB3qlixX6ySGOGN6ugxKCKkxGWnA X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3983.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(346002)(136003)(376002)(2616005)(26005)(52116002)(5660300002)(186003)(16526019)(34490700003)(8936002)(8676002)(6486002)(6666004)(66476007)(2906002)(7416002)(956004)(36756003)(6512007)(508600001)(66946007)(83380400001)(4326008)(6506007)(86362001)(66556008); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?q?DPvGS0T0mi5FY/KMDQ+rpSH2GnchaA?= =?utf-8?q?ZRY92AnYtRqu5QzhQXcMewRr/h8p1mLDhx4WQKOIKjxo66842o8wxaj6ip3zzZiK4?= =?utf-8?q?IvxEYwxfhfkmBwfPHVsKbZuZV9KSlg3h2vqmtB1fYQoY5xWhCqN0nJtKCC6zu8Tu4?= =?utf-8?q?GwuH+/66t33NizlFnrqhE/CpPacudR8MmQ5QhvN46zwLbNChUwQTN671LW3kYxDhq?= =?utf-8?q?QAnyKGfThVTiSNwZ3J6xPSLHinkLhUX1TEfXzR1z/FVzl1cZoE1QxGKlLw4mh+Fik?= =?utf-8?q?/6NHetsvgVMSfedwhKbnj9pMjZMqxDYj35rPogvYURMftoeg6eaFqY89LqIr/Ejd8?= =?utf-8?q?hvM6CGXqIaWhA/z+zW8BuvziYim+EujllcxO+5TXixb7egZWW3EIXXyhx/675ek/S?= =?utf-8?q?opdSZDX/l3iuCmvzTe0z6GW4yUFMkoIMjUneO9lBSmyDHR30lp+8M/ooZ3XFh7QGA?= =?utf-8?q?IO9cTkg1nNhKst1OX4zJiXkcVEM8LW3spz+SXVLnq913PVjlk9rNGIIrU9dPjftfl?= =?utf-8?q?md1/jtoNrOMM28hO+wjxrvGm2SS27SXwEqbpliXcjHHgGMYMXE08VUKJErNY0DqG+?= =?utf-8?q?BI0v+cEd0vvoim4W8g8dTJ+VuhGEVVFGsFzcgGlEU7Civw7hZeVHmDxhcyuusH63I?= =?utf-8?q?u9zmbe/9xrHwF9XRrHvYE8BsTkczxrvYWi7l2HQBpKXXxj00M2eBaPnt1sZsBEpPr?= =?utf-8?q?6w9jRNYn1rc2ncI85jUZ9SRkmRAOUfYjtdh8ktZoNSpas8Va70BwKa0L/n7sMYAyS?= =?utf-8?q?0TpzYyoGr45rjxKwugxYo4dR1kuVu8DA4GzAA2y6VNL7hlPsLw8joE6GZxkwX9Usw?= =?utf-8?q?PNzbBeDoou+ZNT0SiOGgAk7lQU9tNUMUG6MYNJmz/0dFHe3SZNwQVg+o7Wg95MTYQ?= =?utf-8?q?wB/eQ2vkXrBZ0z4Z+upzp+BYhHZTJp2LAGjnjyDXFKJbZ3MokW+akkk8D7xnSGsvB?= =?utf-8?q?Ogsxj++wixnoF8M5pnk?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3983.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 06:33:19.6590 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-Network-Message-Id: d3f85ab4-6ac3-40a8-fb45-08d89c0c51bb X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: DyZh6JqqErHrG4AXHDkvP/CpdjHEUaVkkFOasUMFfjsid52a4GJZ+S0u+D+GTI2bscQsnfx4+PGzlMWmXENG8A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6144 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201209_013324_874603_DCBCCD68 X-CRM114-Status: GOOD ( 13.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: martin.kepplinger@puri.sm, jernej.skrabec@siol.net, kernel@pengutronix.de, narmstrong@baylibre.com, airlied@linux.ie, festevam@gmail.com, s.hauer@pengutronix.de, jonas@kwiboo.se, kishon@ti.com, a.hajda@samsung.com, vkoul@kernel.org, robh+dt@kernel.org, Laurent.pinchart@ideasonboard.com, daniel@ffwll.ch, robert.chiras@nxp.com, shawnguo@kernel.org, agx@sigxcpu.org, linux-imx@nxp.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add support for Mixel MIPI DPHY + LVDS PHY combo IP as found on Freescale i.MX8qxp SoC. Cc: Guido Günther Cc: Kishon Vijay Abraham I Cc: Vinod Koul Cc: Rob Herring Cc: NXP Linux Team Signed-off-by: Liu Ying Reviewed-by: Rob Herring --- v1->v2: * Add the binding for i.MX8qxp Mixel combo PHY based on the converted binding. (Guido) .../bindings/phy/mixel,mipi-dsi-phy.yaml | 41 ++++++++++++++++++++-- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/mixel,mipi-dsi-phy.yaml b/Documentation/devicetree/bindings/phy/mixel,mipi-dsi-phy.yaml index f869fd2..07b9849 100644 --- a/Documentation/devicetree/bindings/phy/mixel,mipi-dsi-phy.yaml +++ b/Documentation/devicetree/bindings/phy/mixel,mipi-dsi-phy.yaml @@ -14,10 +14,14 @@ description: | MIPI-DSI IP from Northwest Logic). It represents the physical layer for the electrical signals for DSI. + The Mixel PHY IP block found on i.MX8qxp is a combo PHY that can work + in either MIPI-DSI PHY mode or LVDS PHY mode. + properties: compatible: enum: - fsl,imx8mq-mipi-dphy + - fsl,imx8qxp-mipi-dphy reg: maxItems: 1 @@ -41,6 +45,11 @@ properties: "#phy-cells": const: 0 + fsl,syscon: + $ref: /schemas/types.yaml#/definitions/phandle + description: | + A phandle which points to Control and Status Registers(CSR) module. + power-domains: maxItems: 1 @@ -49,12 +58,38 @@ required: - reg - clocks - clock-names - - assigned-clocks - - assigned-clock-parents - - assigned-clock-rates - "#phy-cells" - power-domains +allOf: + - if: + properties: + compatible: + contains: + const: fsl,imx8mq-mipi-dphy + then: + properties: + fsl,syscon: false + + required: + - assigned-clocks + - assigned-clock-parents + - assigned-clock-rates + + - if: + properties: + compatible: + contains: + const: fsl,imx8qxp-mipi-dphy + then: + properties: + assigned-clocks: false + assigned-clock-parents: false + assigned-clock-rates: false + + required: + - fsl,syscon + additionalProperties: false examples: