Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2979118pxb; Mon, 4 Apr 2022 04:53:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuSYzx3gR1Oz3AEOBOX8AO1N2xY1eKDJj/6NtOjaDQEGVzISplP5T6N6rcYJs7vYjGG4KF X-Received: by 2002:a63:2214:0:b0:398:ee6c:e5f7 with SMTP id i20-20020a632214000000b00398ee6ce5f7mr10525733pgi.625.1649073188752; Mon, 04 Apr 2022 04:53:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649073188; cv=pass; d=google.com; s=arc-20160816; b=LV+hnTo2qKJEHlHotBJLkLCgylBjleli5zSLZUNjpwDsU6Oy4/9CsrNglRo5xPL8B8 caRZr1QLS1tbxZ3i9eFuPzNY9auGX4ARMnXRqYYz/GfYHrNdVhgK+QZz1tNwMHdWHS4H NRSOxDqpVsVBx+soWXAB0R7q3qwXPiUpJTvVtNk1/Dk9EgwIoEDllc5/lWwsGgEuB/am kMzs6nPeE/dA0fIU3hsizpcl8lB035uK7q2jMzRX1kiKb+NdzblRrbvAHbJU6ggXv7bV rJCM7t0iqRvIzBXoPnkGlPrgpYXiUe/MqKSf6iC5Ux09iUqSvrGwuLbvpsLSegyTu7jn nkPQ== 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=oGFfS88Z0L9svuW6iyHKRmljyrsYlgWUs4+4IejC1IY=; b=nuwa+u7ase2B0JqtlrOft4dJA8VJbUxSx95Wzecjt9LS2QX/fGJv0ymZm2xXJglaVY pH+MBRcHs83K0WTuziorE6ZXk91/o09xYisoKN7wbJv1GrXcWM8ST9sExaRzUV60hE8u CR38YIeLOxQR3GYff9kdKendZBvpr0BHvoXqHNscHnuBPsA1ahHIHbdUEByI77/X13wr 7HjwVt4F/AJeSoML8G6ztJvxLECWAzyQLWvtmdPAK/4djIQmHPVBzf1E8pm9HF84vODO Tsz8cu9mW0zv/D0SQvPOmg6SOCB2JKqE86wSrdXGxgLB41E04pC9YIDtPx+MKwFkY6vm x2FQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=NOb3Kr+i; 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 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n13-20020a170903110d00b00153b2d1659esi9916517plh.422.2022.04.04.04.52.53; Mon, 04 Apr 2022 04:53:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=NOb3Kr+i; 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 2620:137:e000::1:20 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 S1353729AbiDBEEf (ORCPT + 99 others); Sat, 2 Apr 2022 00:04:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353663AbiDBEEU (ORCPT ); Sat, 2 Apr 2022 00:04:20 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70054.outbound.protection.outlook.com [40.107.7.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA6A31A2A27; Fri, 1 Apr 2022 21:02:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IhGu3GA+8V9Kj01dNYRm5+Eci06vW3XULkMOQL4gtQ5GomcbMQl/SZleH9jwIfkP0FjCQmg0chV9LU2vdg/Fq1JvA1BEveA8APEERXqKwHZ7mcw86yqnD76vwOvELwBPscVEuzv0zAylKQv3l/EGcDERwLlZHEvItcFosBqQ1/DTpLRLk/n0dDZk44VQo/IxKM6Cqet/g4eF1kP6uR/vIPSKCNA7CqNtJM29ueZadEb+q76BVDyV15OcRK8cMaoWuhMFO+fNb4keElg4m4xsh71D3JtN5p6x85DY75/T3qkBa5DjbRnDlCXMIjTCys0t36Ah0FFJgO0d09j4gDft0w== 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=oGFfS88Z0L9svuW6iyHKRmljyrsYlgWUs4+4IejC1IY=; b=IDGcaazyjlsC43b42BG+7ATijUe0iBvl9mcwA2IVv5U3uPNSTuODLo4VYAykxcwwXZnTHofQk7XPBu5Jm78K+Od7Y3qtyZhQczzAoC5iK2v86EZicxl2WBJ4l/ApDf2hFszaLnycQsNBD/wA5VYeYkzY50R5UjNa27pSZNqobhgTH/sBmEGqd2PUKmson7QNsHKWP9tOXey3DUh04QHj5CL2thS9IZqijUNN8LIi0rKBB/hl44n6Vm1DJpzuGgv32On2me/s60QlkCC4eMe3W42SdTjllzlqK+v07A4o7M2m5/3alqmz/JnWvdqZq84mfcYAkOgbGgEWTgswVocf7g== 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=oGFfS88Z0L9svuW6iyHKRmljyrsYlgWUs4+4IejC1IY=; b=NOb3Kr+inPxnVrvc8jKWNkrFOvqG1jVKGHIW+WOeqpz5V8SATQJOkGBy+Cc2gk1gk38RX3Rsg6eHfReM4+9YryQIXzh9sainSktVo6IMMjZ1ZcqWAh+8kcnoUb3yJWjD0x5eQInp2P5hm5VjNRmLPUpzz8rM2Ae/8kHBNLtqhk4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) by HE1PR04MB3210.eurprd04.prod.outlook.com (2603:10a6:7:1e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.30; Sat, 2 Apr 2022 04:02:21 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::b09c:8ffe:8e02:7387]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::b09c:8ffe:8e02:7387%9]) with mapi id 15.20.5123.030; Sat, 2 Apr 2022 04:02:21 +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, robert.foss@linaro.org, Rob Herring Subject: [PATCH v6 4/5] dt-bindings: phy: mixel: mipi-dsi-phy: Add Mixel combo PHY support for i.MX8qxp Date: Sat, 2 Apr 2022 12:03:24 +0800 Message-Id: <20220402040325.2465222-5-victor.liu@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220402040325.2465222-1-victor.liu@nxp.com> References: <20220402040325.2465222-1-victor.liu@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SGAP274CA0011.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::23) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bc61b012-b05a-47fd-6263-08da145d965c X-MS-TrafficTypeDiagnostic: HE1PR04MB3210:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7lwJTgdwAu6L0hHDIsybjw7SCWgG16simiPZSP3sI66/JCi0DKbR3VFYOwAMSu4B9L9GOrAzDpO+xhXvzhk1O1LArlcC8W1URLB9H+JKBcfxd58nJToTICh5Ttnr1Q/i+lvapHRXIkZIWWDCu5OT7LX26e2xcVmYE6zWJguEKdI/zNN4tR7e1EUl84V+HwDrp+lQhB4cJPFiuGp3k4Mbqs+Lhx321Hw0C7VvckRG7VpL0Lfk+FBcL8dDQAuTt5qTY3ptDDVsT9ddogdGsnLORNw20bawvkQXZBL9Pbqp+YhIxn92DrrZSo9T5ydTxBzbcZk4sr5haaEM4cRc127xE03PUkyjw+H7qD7Jzv4Fg8Cm9NIUkeH7iMcu366UnVZd0K9YdOP3yoBCKGDsIPlpijpbO162ycB4dMlnp2EC6LUqeeoPaefFnCceEbG4T3sttUq+OgOIcIGU/d4+f5RQUD47qGg0nXejg7n6LPFyElsj4upchgDQIr52DVE6/q8p6i5v87k1oYSLaLqqugp+3/KohP+LhX6ycx+1lNQgo2emyXgTa+PkxVwT/iYlaitYdJ9RvLSrdSneE1d4ej/zWacEATVtqimuB7R5mCHmx0jRawpyqBdnolOBMuktVdoK/dUjqY94/9LrR0Nz1CZmxBUu/zYzuJ56dsckmHiOgesDsry3ffojdO1+EouVQsKVjcRaLWJWz6LH0zUs3I0fzw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7PR04MB7046.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(86362001)(6512007)(186003)(26005)(2616005)(1076003)(83380400001)(4326008)(8676002)(66946007)(38350700002)(66556008)(66476007)(38100700002)(2906002)(36756003)(7416002)(5660300002)(8936002)(508600001)(52116002)(6486002)(6506007)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dElEUEIzN0pYVmVadWZpZzRMdnZhYVRGeHJzbzFWOTdyWTY4NUlJbHJDTEtB?= =?utf-8?B?RHlJRTJCR3d2b3Q5NCsxNjZUSkxaK0svU01oVU5QUmFQZnk3MWwwWEFFUXlZ?= =?utf-8?B?NGV0dWlRSjZlL2RjSm9zYk83bnhTSC9wUDA4TkZBVFVLM0VRRk1HNHhHeEhQ?= =?utf-8?B?ME9GK1RDSFVPbUJEb1FnVkJnM3Fab0pkNVdidU9XN2ZHMXZhVWVrN21hc3Ey?= =?utf-8?B?MXJKeGR6RXdwQmpnU1ZRT1k4Zy90eU9IZHNoeVR1UytYeDhqN1V4R3pJdzBz?= =?utf-8?B?Q2RrNVRJVTB0VWxZd0NFd1lVb2t2MEY1NFRRRWo5WVpUQ1AzK0NrSE5jQ1BV?= =?utf-8?B?UDlHWXhjckxnY2RBUVA1OEFiUHdaamNVZmdhS05aRHJUb1pJbTZBMENnR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Wk2QXA5Y0VFaEtZaGRHOGJTRFlPdS9FK3NCZ1preVpwTW1hWGJSeUFYMFZ2?= =?utf-8?B?QWQ2cjlhd0JjQUJDUVEzRFZ2L0pqRk9PaU1TZWFTTEtRcS9NRGpqSzJQWTFE?= =?utf-8?B?aDFOSkRIVWtGRVdIbkZDWGxSMm1JVTVQOW9NdkY5S1IweFpycG1PQT09?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bc61b012-b05a-47fd-6263-08da145d965c X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Apr 2022 04:02:21.6477 (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: Zx197uvXCOGpJD58fWtYiJzYjLJY9QHnAxaBTaZZp1R/DkmiXm1FtG35w7jzNUhNzB0C3utxPmw0LAOa8gfZmQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB3210 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 Reviewed-by: Rob Herring Reviewed-by: Guido Günther Signed-off-by: Liu Ying --- v5->v6: * No change. v4->v5: * No change. v3->v4: * Add Rob's and Guido's R-b tags. v2->v3: * No change. 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 c34f2e6d6bd5..786cfd71cb7e 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 @@ -40,6 +44,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 @@ -48,12 +57,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.25.1