Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1913086pxb; Sat, 2 Apr 2022 08:02:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMh1zDGCXUtiIGAM9xcc0Txkq5Q4b3ICSWP9ADa42TTv0Xvi47sczvhkA20UVDrKaNABbG X-Received: by 2002:a05:6870:1709:b0:e1:ea02:2001 with SMTP id h9-20020a056870170900b000e1ea022001mr71173oae.241.1648911763137; Sat, 02 Apr 2022 08:02:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1648911763; cv=pass; d=google.com; s=arc-20160816; b=YXw7jmw6dCkOzQUFH9BE7mDcxH5lMBwQMqEt6kKY0yijCxiLz9/rP/OfYv7d/Kecvz 2Nx6PizeTiQt8lw5tj8q5n/fTAa2lfz3b4HmZnGvX8RQygtlRM6gm42t3gtj0UUbJbis wi38kaaWSdwU/OVQxs6eVMUaoWwt/muiaF3S9Y8nyO10g5l/8RseoECRj2P9Q6HFNmc5 UHkPo7JXJsR0CFC7jmBFAt4lT0QPLVYRXHcZeK7OUACNbRDBQ4OH09YcEJX13mLf7qj+ vclt0nXSS0ocRmUEvPtNR4BcUOdoWpCR0ITp/Z9iD8177COQkE8Tjlsi5esvUfTJj3hE xymw== 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=4QMNrjHkSzPkfgPuClD3OGPsGuNeGuSlP1cKorrZli8=; b=MKU0pUIotrO/FPaAfjKuIsFxYBWEm8Uq3xAIaBt1FQqBkXunj1vMTlv3Y0kXG0172s /1sdH8sQaq6Az77DdthzvYEdXCLI4draIv4/eqNBMSj6i7nW4z1pskAaUrOBtS4cKDLl PMhXRj5q3WV+4h32LKh2v2B8rn6QUARzP1niFFq58W/3oqVUsvCMrCkRljbhybGBfXgg HTb/0qF3x682ZvbXUhIdUY8SCE1CrGZW+BMxRcvoMvjjVxx8udeBuqkJHqzJtROT7S/y 2ACKxcdn2p/RwW3DHd+SLB66Ajf7yy6hLGYn/bLHnJhuuJjdV6NUd7JAKDqMcveSKoLl ex9A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=lONfzirI; 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 y21-20020a9d6355000000b005cda6378ba8si2920684otk.302.2022.04.02.08.02.28; Sat, 02 Apr 2022 08:02:43 -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=lONfzirI; 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 S1353619AbiDBEEW (ORCPT + 99 others); Sat, 2 Apr 2022 00:04:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353738AbiDBEET (ORCPT ); Sat, 2 Apr 2022 00:04:19 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70080.outbound.protection.outlook.com [40.107.7.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDE971A2A21; Fri, 1 Apr 2022 21:02:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UGsD+ecFfvD2qvLVGyrfy7/SgdZIhDDMAsqRnSqr9mnnVjiAV4R3KWNsgF+kAP9zpv/6E3mt3ae2K1UDkF1coiPoph4xKzPM7NnVsCWS2E4D90LVm/D5f+EMK5IJqRveqOwcWAWAvA1b5eUNCeVTSkqOOsz/xyauvQFhzqCWQIo7PLTUcOSakuDYMUpgS7Um3uITRTRi2lGIteo0JBkNSuug6wmE+uOSgZ89G7sGoQMTowkfJALrkryTKioFY7omMjaD2zd33+AZRHztNs/oIbKJC9P9Drctpc3mXZ9mepHpA7t2nV2Q1RUh8LfZFYEQ+ggrIrrkxsR0pHsDWLvLbQ== 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=4QMNrjHkSzPkfgPuClD3OGPsGuNeGuSlP1cKorrZli8=; b=UeSJL8s69I9fAwnqmJu1LCeFlQV+DE4msiEbRv/KXW0yu6OTuErlKO8emg1SZU+T2tO6SSERH+Wbdoo/wg+JPWM79TN/Q8mZ0PNXiMSG4/zAb41cgZsDERRFKjXetS5xz3D94LFAfNESBokZn/4CJmWD5bTNjiYgBq4V7Lx0QwAIgtUeeJPmSbJy50pUMkMZNT51nmjj2KNyZR1RhHpZ7Q/W2JMKBwdISdzqC7Wms5Nfvqi+QVga1j5OBog5/UU/RcjhXIQiCwKtB/ZVWpWmNH94U0t7AZzN742SO86u8sikytFJqNC4NfFKYbRIni4CiyiZwsQbWSMNE0Jfl9no1Q== 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=4QMNrjHkSzPkfgPuClD3OGPsGuNeGuSlP1cKorrZli8=; b=lONfzirIuBpPdAfEN3XS5Y+igA/jX8IdKPnTOpBkbds0gDs7ItRhCwEuf1pwaeqUlVLVy2N6O6rPxKy5Iug4CQuhlmh/LVVLxq4TpzUKmeyOzx27I5Dn4E3uNdMEELxp6IGqV9MbdoBCl4Yetd5LCUIO0f7cwxQC0GINTdR74ro= 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:15 +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:14 +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 3/5] dt-bindings: phy: Convert mixel,mipi-dsi-phy to json-schema Date: Sat, 2 Apr 2022 12:03:23 +0800 Message-Id: <20220402040325.2465222-4-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: a6e833b7-c1f8-45af-920a-08da145d9258 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: 0q5Cadw5lKOfDLhUu08aUVsxyWIJUcA8KO+1B0q7vPsuBBac9TIQHxkGqU0258vwZX4vz3KIJn1gzmDQTJmFl+BkpctFUAv3ETcHXCe1X2xKv07VBKTRAgRRD4SlSUuxDI9PObddkV6xfdgaZTWL5duanZCWbWdoj450ih2kYnGPIW8zuO01U22J0vSf2AFDx9kFUtDaoIsFigAZxuCKTtWeLGTkBhDPCdTmpdkglRII3vDq+Msq/q+vRUDWLgzVuTTIAWLg0M5KjQPNwBgtahvMQwNxutXCNMscfShDT/+obMuWxdlMVPSObxKbjTCOqIqtgizPmTRBaDiC4PMlEks6+qjwlGklmcNiqmfjOTNDSUp8BdIZt0RqaBUtPADX3JcXMQgdEAVoJiFa2g72a2kUn72I85r+J+RgbWKDEwG3OjXj6qmZ7iFxdQwQW8q1CEJDruHOBDFGLT/hwO/nyP13IOrYwWzdceHJMHpI28OAC3EOZmlSAsi9t4QLykxamIGhv55KzInSb65S4kG5gsPNOTQlu5k16SHHQALV3XAQv7UrZtfzGR70IorJvkxVnnK82evhFhJbuPwRB8iTmI6F89qHSmSzKAJazhf2HM7Z7Um3H8WL7wGZ2qNQtA9JR+taLwKIFQkTIgVoS5zpqfHlF1VM7SA9OqQCOoLvd1dFRM3clpzblM6RRbaRUQJ+tOO2e7UOeb0n3GoLZ68W3vNV03472mr+5UrBa09sD7oQAFbkJos/1POUUT65T/ZFCS8enOx/H1yYnbLEzCn41kcYDIrUAC5lK/O9ocMmJSs/8bDV1RU+6rgrhQKlfHrxeHhHNNyNn71WzLFc3GvZRA== 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)(66574015)(86362001)(6512007)(186003)(26005)(2616005)(1076003)(83380400001)(4326008)(8676002)(66946007)(38350700002)(66556008)(66476007)(38100700002)(2906002)(36756003)(7416002)(5660300002)(8936002)(508600001)(52116002)(966005)(6486002)(6666004)(6506007)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QVpNaGthV0dzR3EvWXZkRTRiQmlvSmE1S3NYK1VKV2ZKZWtpcHVsL0VBbFhu?= =?utf-8?B?LzZnVGRnL09MV3NycnB2eHgzWnFuNVFlM1hNNy9NMGYvL0RmcHB6NWdsQmFq?= =?utf-8?B?eEdNQWN2QjVqMTVpOHdiYWl1YVRkUmc3ZmlmTUxnSDlFQjZZT3pFdk1tSSt1?= =?utf-8?B?RGR5YjUrTWZZTmorYnlBQko2TXpPSmtPcVVFS0dZdlN2QTF2MWFrZUFuK1Bt?= =?utf-8?B?L21UOEZEbCtrcFQ1WEFNTU5xRGg2YkIxS3NwSzhHdmE1NWNJNTliRE1sbXMz?=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Scyt0cUNseklkQjJqQ1NyRWVnNGNkRXQ0dzRWNmdZTklneDdlcmJR?= =?utf-8?B?T01qVjBSUlFKbURYdXJrTmtzZjhtWG0rQ2Y2dEFRVWQ1OFpBMXk1OTlHcXpk?= =?utf-8?B?Y0FSbzF5WHpyNkdDQmFmTnhmMzN1S0dVaytzT24ySGxEZkRWSWkvcGdCemhL?= =?utf-8?B?bDhrOVl4ZmNiajAvUS8xZ253eVd1ZTJNN2QwQnlSS0hheVg1Mkk5MWpVeHVz?= =?utf-8?B?a2tCcXhZNzdPWkQ4eDVzTDE5U2xYalV5YjlMMUxzU1BOck5UNlNtZz09?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a6e833b7-c1f8-45af-920a-08da145d9258 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:14.9262 (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: ikALJfQ7ktJHndft7duLiZ6sEDVZq0VWurDw+1ZIiyrD3gizLSyK8CCJSADFbZdDsuPimz7XHoNp3Hp5rDHjVg== 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 This patch converts the mixel,mipi-dsi-phy binding to DT schema format using json-schema. Comparing to the plain text version, the new binding adds the 'assigned-clocks', 'assigned-clock-parents' and 'assigned-clock-rates' properites, otherwise 'make dtbs_check' would complain that there are mis-matches. Also, the new binding requires the 'power-domains' property since all potential SoCs that embed this PHY would provide a power domain for it. The example of the new binding takes reference to the latest dphy node in imx8mq.dtsi. 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: * Improve the 'clock-names' property by dropping 'items:'. v1->v2: * Newly introduced in v2. (Guido) .../bindings/phy/mixel,mipi-dsi-phy.txt | 29 -------- .../bindings/phy/mixel,mipi-dsi-phy.yaml | 72 +++++++++++++++++++ 2 files changed, 72 insertions(+), 29 deletions(-) delete mode 100644 Documentation/devicetree/bindings/phy/mixel,mipi-dsi-phy.txt create mode 100644 Documentation/devicetree/bindings/phy/mixel,mipi-dsi-phy.yaml diff --git a/Documentation/devicetree/bindings/phy/mixel,mipi-dsi-phy.txt b/Documentation/devicetree/bindings/phy/mixel,mipi-dsi-phy.txt deleted file mode 100644 index 9b23407233c0..000000000000 --- a/Documentation/devicetree/bindings/phy/mixel,mipi-dsi-phy.txt +++ /dev/null @@ -1,29 +0,0 @@ -Mixel DSI PHY for i.MX8 - -The Mixel MIPI-DSI PHY IP block is e.g. found on i.MX8 platforms (along the -MIPI-DSI IP from Northwest Logic). It represents the physical layer for the -electrical signals for DSI. - -Required properties: -- compatible: Must be: - - "fsl,imx8mq-mipi-dphy" -- clocks: Must contain an entry for each entry in clock-names. -- clock-names: Must contain the following entries: - - "phy_ref": phandle and specifier referring to the DPHY ref clock -- reg: the register range of the PHY controller -- #phy-cells: number of cells in PHY, as defined in - Documentation/devicetree/bindings/phy/phy-bindings.txt - this must be <0> - -Optional properties: -- power-domains: phandle to power domain - -Example: - dphy: dphy@30a0030 { - compatible = "fsl,imx8mq-mipi-dphy"; - clocks = <&clk IMX8MQ_CLK_DSI_PHY_REF>; - clock-names = "phy_ref"; - reg = <0x30a00300 0x100>; - power-domains = <&pd_mipi0>; - #phy-cells = <0>; - }; diff --git a/Documentation/devicetree/bindings/phy/mixel,mipi-dsi-phy.yaml b/Documentation/devicetree/bindings/phy/mixel,mipi-dsi-phy.yaml new file mode 100644 index 000000000000..c34f2e6d6bd5 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/mixel,mipi-dsi-phy.yaml @@ -0,0 +1,72 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/mixel,mipi-dsi-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mixel DSI PHY for i.MX8 + +maintainers: + - Guido Günther + +description: | + The Mixel MIPI-DSI PHY IP block is e.g. found on i.MX8 platforms (along the + MIPI-DSI IP from Northwest Logic). It represents the physical layer for the + electrical signals for DSI. + +properties: + compatible: + enum: + - fsl,imx8mq-mipi-dphy + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + clock-names: + const: phy_ref + + assigned-clocks: + maxItems: 1 + + assigned-clock-parents: + maxItems: 1 + + assigned-clock-rates: + maxItems: 1 + + "#phy-cells": + const: 0 + + power-domains: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - clock-names + - assigned-clocks + - assigned-clock-parents + - assigned-clock-rates + - "#phy-cells" + - power-domains + +additionalProperties: false + +examples: + - | + #include + dphy: dphy@30a0030 { + compatible = "fsl,imx8mq-mipi-dphy"; + reg = <0x30a00300 0x100>; + clocks = <&clk IMX8MQ_CLK_DSI_PHY_REF>; + clock-names = "phy_ref"; + assigned-clocks = <&clk IMX8MQ_CLK_DSI_PHY_REF>; + assigned-clock-parents = <&clk IMX8MQ_VIDEO_PLL1_OUT>; + assigned-clock-rates = <24000000>; + #phy-cells = <0>; + power-domains = <&pgc_mipi>; + }; -- 2.25.1