Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3749056pxu; Tue, 8 Dec 2020 22:37:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKX6qbMVh71i1vwP2tlq8ARsXm7pWjKCTKoC/kwOtVTqOETdPGUby1hmwL2K6c4/BB8wRU X-Received: by 2002:a17:906:378f:: with SMTP id n15mr784787ejc.263.1607495858595; Tue, 08 Dec 2020 22:37:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1607495858; cv=pass; d=google.com; s=arc-20160816; b=b0Q4aojAAroZpXXJ3/rEMojxbGkdUsm0tjO5VOiJHJZu0BbDPx3XIqCv5WaHvvYGeW gPyhQLdOeVj3aL4gyPf7REZiI78q2jKzv/zNG5pG/9MacqJXgyEQYzPpu5C4S2goyYEQ WogvCUMugsuRfHAIs2QvMCYs/gdRsiWWEalEA02xYMb+nYr1ZmF4+6G0R2m//H7CdZav JESXAw4bwPS6Un1Y7k9NbEA4uRGnMAACDk+C8Tlhi7cOhkfaQLGr/YrTI2jqf4PgtOb4 rpqxC9tKs1G3Lvtp5wQOXxeGVszltdFJhZcQdPN41InOpOq/Uz4S9rcDMz5OEAFob5Hb Ec4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kEsZvVVMgoy/JmFSnfE3Xg6oPLliZDQ74ZOmZfzTvxk=; b=XWIZZhRm5ghE0Xya5WAsBTqslnYZ6VQ6cK/ee46x2xfVSfYhI22qmk/BKu99DRE+Jl nsSLixGCr/3AllHJAGmZrJBu6IXgOvpRBP0D9Xw7PYB13R5k66vIaE1ne/BDQXPA4n2z SbAMYac3Kj3yz+ZMa6lQpGqSXykywGPIvStkNiAbyPo1PJOXcAGzCC4pVUyZdRQlH836 PZj8wnqP62Emljrxk5SbEXIdcPd4m3ft3MBzY4UuVOc8Mw5jEYEc1H8RJnIyu39ymsQq OVxeHS0g67IbjE+wJmRw3g4Wfb7PwrhF6SxRAhigeoDEbmkTj8RsmoZXnsu0qkUL83q2 PN+g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Ab3u5bMh; 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-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t10si259218eju.346.2020.12.08.22.37.16; Tue, 08 Dec 2020 22:37:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Ab3u5bMh; 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-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728151AbgLIGes (ORCPT + 99 others); Wed, 9 Dec 2020 01:34:48 -0500 Received: from mail-db8eur05on2066.outbound.protection.outlook.com ([40.107.20.66]:57952 "EHLO EUR05-DB8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727765AbgLIGei (ORCPT ); Wed, 9 Dec 2020 01:34:38 -0500 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 Cc: kishon@ti.com, vkoul@kernel.org, robh+dt@kernel.org, a.hajda@samsung.com, narmstrong@baylibre.com, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@siol.net, airlied@linux.ie, daniel@ffwll.ch, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, agx@sigxcpu.org, robert.chiras@nxp.com, martin.kepplinger@puri.sm 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> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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?B?RFB2R1MwVDBtaTVGWS9LTURRK3JwU0gyR25jaGFBWlJZOTJBbll0UnF1NVF6?= =?utf-8?B?aFFYY01ld1JyL2g4cDFtTERoeDRXUUtPSUtqeG82Njg0Mm84d3hhajZpcDN6?= =?utf-8?B?elppSzRJdnhFWXd4Zmhma21Cd2ZQSFZzS2JadVpWOUtTbGczaDJ2cW10QjFm?= =?utf-8?B?WVFvWTV4V2hDcU4wbkp0S0NDNnp1OFR1NEd3dUgrLzY2dDMzTml6bEZucnFo?= =?utf-8?B?RS9DcFBhY3VkUjhNbVE1UWh2TjQ2endMYk5DaFV3UVRONjcxTFcza1l4RGhx?= =?utf-8?B?UUFueUtHZlRoVlRpU053WjNKNnhQU0xIaW5rTGhVWDFURWZYelIxei9GVnps?= =?utf-8?B?MWNab0UxUXhHS2xMdzRtaCtGaWsvNk5IZXRzdmdWTVNmZWR3aEtibmo5cE1q?= =?utf-8?B?Wk1xeERZajM1clBvZ3ZZVVJNZnRvZWc2ZWFGcVk4OUxxSXIvRWpkOGh2TTZD?= =?utf-8?B?R1hxSWFXaEEveit6VzhCdXZ6aVlpbStFdWpsbGN4Tys1VFhpeGI3ZWdaV1cz?= =?utf-8?B?RUlYWHloeC82NzVlay9Tb3BkU1pEWC9sM2l1Q212elRlMHo2R1c0eVVGTWtv?= =?utf-8?B?SU1qVW5lTzlsQlNteURIUjMwbHArOE0vb29aM1hGaDdRR0FJTzljVGtnMW5O?= =?utf-8?B?aEtzdDFPWDR6SmlYa2NWRU04TFczc3B6K1NYVkxucTkxM1BWamxrOXJOR0lJ?= =?utf-8?B?clU5ZFBqZnRmbG1kMS9qdG9Ock9NTTI4aE8rd2p4cnZHbTJTUzI3U1h3RXFi?= =?utf-8?B?cGxpWGNqSEhnR01ZTVhFMDhWVUtKRXJOWTBEcUcrQkkwditjRWQwdnZvaW00?= =?utf-8?B?VzhnOGRUSitWdWhHRVZWRkdzRnpjZ0dsRVU3Q2l2dzdoWmVWSG1EeGhjeXV1?= =?utf-8?B?c0g2M0l1OXptYmUvOXhySHdGOVhSckh2WUU4QnNUa2N6eHJ2WVdpN2wySFFC?= =?utf-8?B?cEtYWHhqMDBNMmVCYVBudDFzWnNCRXBQcjZ3OWpSTlluMXJjMm5jSTg1alVa?= =?utf-8?B?OVNSa21SQU9VZllqdGRoOGt0Wm9OU3BhczhWYTcwQndLYTBML243c01ZQXlT?= =?utf-8?B?MFRwell5b0dyNDVyanhLd3VneFlvNGRSMWt1VnU4REE0R3pBQTJ5NlZOTDdo?= =?utf-8?B?bFBzTHc4am9FNkdaeGt3WDlVc3dQTnpiQmVEb291K1pOVDBTaU9HZ0FrN2xR?= =?utf-8?B?VTl0TlVNVUc2TVlOSm16LzBkRkhlM1NaTndRVmcrbzdXZzk1TVRZUXdCL2VR?= =?utf-8?B?MnZrWHJCWjB6NFordXB6cCtCWWhIWlRKcDJMQUdqbmp5RFhGS0piWjNNb2tX?= =?utf-8?Q?+akkk8D7xnSGsvBOgsxj++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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 --- 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: -- 2.7.4