Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1251941pxb; Thu, 14 Apr 2022 01:42:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywCfAqmRuZEOup1BRRzqrpAPycUp12xwoQG9r1VM+A3+m6+P3eKNQsaMl9sw7sW3/D/Dyt X-Received: by 2002:a17:90a:a792:b0:1cb:de7:44e6 with SMTP id f18-20020a17090aa79200b001cb0de744e6mr3142204pjq.18.1649925743502; Thu, 14 Apr 2022 01:42:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649925743; cv=pass; d=google.com; s=arc-20160816; b=KrVOb0niuqx+tWstiPtZApiwNrtlCreGuXwB21/jZW5v7jPv6axRcBIuQu6ktn+vyA I+DrYFKuRlpx+ExmicANdx7xGmjFlvcx2++MWzpukyUBNd3+TkKiyqcuvYPUiB8fUEFH f8ztBtsf3rbQDyxd6usMyt/si45OvVNn2z8p0hmoIPVqBd3WlkYt39bejWA7omx+a7eb USD/AsJMsv7QDEQaHX+7IUd8hSsaPBIAdc4Q2bH+Pmvx+MjmZ6mJWxFeoHn+/WYxfIub 5Gh7e+t67xw0vLSa403DNQmHkjU6veukuQCYSCAzA56TXwhV4d43G1BjaL178nn81EVq FHIg== 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=OysCnXbfG3jgkz/UBNk5z1dEY6LvOl0+eSokDR93wQg=; b=PO7AHFLPJEvtvMCbXwoY+6PIe0etOAUC3BnEF69u4sup1Zy6z2PmG9g11pOQ+S2+Rl WSiL4uhYhkZFdoxIstkgcq/EyynxUKOZhxpOcz8Lm7DTfHObtPNoyGHKd+mdCOvvLSse DGRGS3os0ZN29499yGFkbLFkPCd5r5DxU7d3leU4owR+8Kia/ePuBqWXqDdrcSlKLbnz kjaLziY77H9PYuTyCe1kdIwoFv4YzOinI2RLp297VIad7uvDLRj+CVfWwoDvVWO/rFmx dwZVjgLig3EYZ+cZwDFCmZs8dWspJP5QemYLRftwEkmHB83fSjQu/EJcBeOztRhXm2t8 3dIw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=e+Mv5Wyd; 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 w18-20020a170902e89200b00153b2d1659fsi2681084plg.423.2022.04.14.01.42.11; Thu, 14 Apr 2022 01:42:23 -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=e+Mv5Wyd; 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 S240158AbiDNGu2 (ORCPT + 99 others); Thu, 14 Apr 2022 02:50:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240142AbiDNGuQ (ORCPT ); Thu, 14 Apr 2022 02:50:16 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2050.outbound.protection.outlook.com [40.107.21.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2631052E5E; Wed, 13 Apr 2022 23:47:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hinQ4xF+qKTzkSsKsVTnbnSuyYADIsX/I+8IS2U3Ww5IsOj+vhngOau2iT9ix8rkhjuxUcH4qshLcuwRS3r+82Z9A7b3p22KbMHrbBHbC//8CpKuxE00bdU77Bj2mU7fnr3wJU9KJwBKEdON0oEqU5Pd+ODO8JFowr/GLglFHypn0BrgKJr89MKeRtAGLHTm1TuOJDT8GHJ9EruyBQcn1qLj1xb9P0KiCdbWnMeGA1vFddRKf6ig8WL9st+7kzlARqi73oies2e3kQdbh2ojW0Brx9vVs1/2J1r55Rg/FcQMc+Thty7m+jSM8fZGjpx+6bcIhYwXVoMXgwzuaoxo5Q== 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=OysCnXbfG3jgkz/UBNk5z1dEY6LvOl0+eSokDR93wQg=; b=TByVS3t19vGDWXI+jvZhPms+wDX0ivPHv9Gx3ObNIblsP//kGDnVTzsJZbpYWYUPcUCzHNQhR+IxL4VZAYX0JfI0hRzsWW4hqYHmPX/FK1UxchoDujGO2w6G1xrj8zenuv2DSeL0ISxHsw0GY/XUoTpIVIVOZTilr1pIFoI7IdHPF5mtwjvgP8GMHbCR5TNJ3u7VsV2KE22skKekCRYPqBpaURli1Z1BWhbs6DnDvkohEVc3FSFmuJQ2rJyg5SxsGFr4kJGfPjM6wyfXZvuY01+WIdN2nCi7BGlDP7WM8S1fR73hpJM3CLpxXYUsDI1VTvVozbYxQrBThKBjGwpxrw== 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=OysCnXbfG3jgkz/UBNk5z1dEY6LvOl0+eSokDR93wQg=; b=e+Mv5Wyd1CSLsYFM1Uv1YCIJUknXqfLyAWzIFQLIPUMwS4f3btw2z9GsLUkjYcqsCkoe0gqsyIEXUIfSrmbKvo+uc+9Y1ZGazbBEYEmvvojez5FIhVlpi45TaZRZ3/nJhiTA7VZxjACKI5iZ6kkgdtM+qxmQoHfjxhUQvqE1TVo= 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 DB7PR04MB4457.eurprd04.prod.outlook.com (2603:10a6:5:3b::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5164.20; Thu, 14 Apr 2022 06:47:50 +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.5164.018; Thu, 14 Apr 2022 06:47:50 +0000 From: Liu Ying To: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@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, krzk+dt@kernel.org, andrzej.hajda@intel.com, narmstrong@baylibre.com, robert.foss@linaro.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, 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, Rob Herring Subject: [PATCH v7 4/5] dt-bindings: phy: mixel: mipi-dsi-phy: Add Mixel combo PHY support for i.MX8qxp Date: Thu, 14 Apr 2022 14:48:57 +0800 Message-Id: <20220414064858.405096-5-victor.liu@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220414064858.405096-1-victor.liu@nxp.com> References: <20220414064858.405096-1-victor.liu@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SI2PR06CA0005.apcprd06.prod.outlook.com (2603:1096:4:186::12) 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: 825ddf17-32b1-4d70-d9ba-08da1de2b127 X-MS-TrafficTypeDiagnostic: DB7PR04MB4457: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: iD+ws2V8XxA0+0hFcr27GKhKijmhoHU9XM23DsOH5WlfVmG4umeY+7N7+KeKhWJ+HayA7fD4ZCzDTiWHi5sAxitOs4LlibsslxQYVssQZXP5Lk3+FNF50y2yYhQQtL7SBbeaWXJLmABXzpwhxBXEVqb5LhUkyJwIW+QB/FpYv99wvYlZ04Hm3hJOnDiAbysHwUJoKe2o3UU/6UpsZoma8juLG77b3yQUYNEqTqkrZFT9LIPvkBSx/KzgPlJlJsW5ni9zxuB7HcsQ6OrAp4qhY9HC3/VGvecjFiXxgPQybLxVemb2C6Ki2IlOjl4Im2aD8Qa6IR4tSQaRGLaLl/0PZvfuyIg1DP6Tar86MJq6SJhhPJ7sbmYDC7jjEijv9yttFlVBihIsfq5wTXeeDEv3PZYadXHxOiag7XFJIs/Kzwzrpmn7o+8ibDBft0li2xTWHvywyUs3AtqU9Rwf3dT+qQPzXAsAM2QgIa/61GKgn/sVCPROhdPd/E0KrJsuZkTJUPpMTZWb5iJvlf9wNndp+tgI9KuaUCO+nleMRo47nDsCcRNEPbE49qx8OCeb665otp8dt+PtNX9+/i87ib+OQZDar6zk5CvKPrLWTqlH+rU29oJeb0qILtnFsrwU9XTgdCKq6YNp6+YKYDPJgtBb/CQ+kCmDTn3oK7IHlokMt3olWhh0Oz0GrRo1Nt21f7FyEuA0C0dwEl4K6doAmTOCjA== 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)(2906002)(316002)(8936002)(66476007)(4326008)(508600001)(7416002)(8676002)(66946007)(36756003)(38100700002)(38350700002)(5660300002)(83380400001)(52116002)(66556008)(6486002)(6512007)(2616005)(26005)(186003)(6506007)(86362001)(1076003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Y1IzRWc0QWxKRjdmekxiOEhUYnBIekFrZkc2aWR6TmVlQ2YrY2FhcDhmNnlZ?= =?utf-8?B?RytSTWlEMnNUOExnRmJMajJUSHJyYS95UXB4cmIrQ2E5NUJqY3lpWWxFSlBI?= =?utf-8?B?Y2JCYVJLb3RaRU5CZ3NEMVhEVS9uajZ2bWZvNTJBOTh6MndxRHh1M0lHZ1Bm?= =?utf-8?B?aWFZVnZPcTRxWnpZTkFtMEpKdkkwd212QU5qcEtVc1loNWhvRHRkZUNvMUto?= =?utf-8?B?TERWQlBIcmVsN2dudU5MNkV0TGhtckkvaEhlVVNLYXpXZ1JEVmZBOFNzeWRk?= =?utf-8?B?NkZwbmpTWUVUa3RNaDNEbXVZdFpQRkZmWDdMaktUUFNzSEl2dkxxbUdtM2o1?= =?utf-8?B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TDFFLzUvbnJnQkU3?= =?utf-8?B?NzFSVkpkdkpFcmRuMllzQWh2TEZuR2NXRWRWbldCdTdURUZmSGUzVzJ4YWU2?= =?utf-8?B?RlFpdzJYcGwzaE5hTi9tUUhJTUJneElYcWN1R0VYWW1mYU5aMzJYc2p2MDV5?= =?utf-8?B?MHdtbFlqbHIvUkN6Z3dXN05ONzBWT1hWOFg2cUN1MUZuR2VCN2Zadz09?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 825ddf17-32b1-4d70-d9ba-08da1de2b127 X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Apr 2022 06:47:50.0839 (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: BHXgiXOJb+RESbVvaKN5aYbO1LrYgqkd//pKQzqCI/bjU+kvP24RnXOtDl05sFqZcrOpmF120TUoyrdGgCOX6g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4457 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_DNSWL_NONE, 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 --- v6->v7: * No change. 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