Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2025489pxu; Sun, 13 Dec 2020 11:00:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJxR0SrHtRvhzzhtLnHMnSZiF9E+AKq9Vkqzk7V9itUV6MFYjyPAnGjjz+l+cKeov8V+LHVp X-Received: by 2002:a17:906:b7d6:: with SMTP id fy22mr19682467ejb.219.1607886035935; Sun, 13 Dec 2020 11:00:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607886035; cv=none; d=google.com; s=arc-20160816; b=p55DvFXr8PKSkjTR3bx5iVW+H+M4Ck/v6DgboQCf3kU5ipgjlUDwYlXcJTnBcFkBpF hwTRMgxZyGZSHIVp/tNhxQX03e8tfggeq/TkR7gKdL2Xla51fSvUPeQg2zMrPbmtL1ji FTAQY0kCOvinP9Us9y25bjCw8kCm+hMe9biRmQiW/VNUvxmiFXrurmqasNeE11bWH/D6 mqduCVTHHQpkfMQu5hK2hHgnmOHlCON9+UU6JseD2g2okAKlG4hU8ZlssrYhEhYoQ4/g Rsnw+DKNC1dr2+sZo6l4ztoq7IqV2WRDTNgphJg5PUpSbN3DgIxvulVhQ2vo/0J976RY qtbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=k1aMXb+WROX4YU6Sk0KQ+S4dV6xzSaAHJySfMAoImeU=; b=cGIV8S34mizkIbSp+tukwEaiUbrx5b3Pd1zbQMLKA0RHCy/C2rYyg4cpOVYie3eVTT RjQPiEo73RG8heH2fQzLZCGJmGkKSlLNuxZtjlf19dXGssZz6tUdee5oUkjUVxCJpnz8 cMbcFRL9EtCzeo4pBNLU/PiX9tjUle+NegbAv5yNnoDE0W0vN1oDTytvCWplS9skFEgN ksr3EdVvX4hzC7Obk5xD2xb34NkeT4fZq42omrXlF58nlNPgIq61FApxM2WiGUSzeTc5 EnMlbR1f9YSkEGddiOwI/9kH7xV9AmYwo/RwBNkoPJFxOAnQu/lNZ8EHbjDV/iyIKgj7 SqZQ== ARC-Authentication-Results: i=1; mx.google.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=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h14si9043847eje.325.2020.12.13.11.00.13; Sun, 13 Dec 2020 11:00:35 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727626AbgLMQpg (ORCPT + 99 others); Sun, 13 Dec 2020 11:45:36 -0500 Received: from honk.sigxcpu.org ([24.134.29.49]:58880 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725996AbgLMQpX (ORCPT ); Sun, 13 Dec 2020 11:45:23 -0500 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 0A57EFB04; Sun, 13 Dec 2020 17:44:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6srKoaZvHBUF; Sun, 13 Dec 2020 17:44:33 +0100 (CET) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 2107743FDC; Sun, 13 Dec 2020 17:44:33 +0100 (CET) Date: Sun, 13 Dec 2020 17:44:33 +0100 From: Guido =?iso-8859-1?Q?G=FCnther?= To: Liu Ying Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, 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, robert.chiras@nxp.com, martin.kepplinger@puri.sm Subject: Re: [PATCH v3 4/5] dt-bindings: phy: mixel: mipi-dsi-phy: Add Mixel combo PHY support for i.MX8qxp Message-ID: <20201213164433.GB28272@bogon.m.sigxcpu.org> References: <1607651182-12307-1-git-send-email-victor.liu@nxp.com> <1607651182-12307-5-git-send-email-victor.liu@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1607651182-12307-5-git-send-email-victor.liu@nxp.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, Dec 11, 2020 at 09:46:21AM +0800, Liu Ying wrote: > 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 > --- > 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 c34f2e6..786cfd7 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: Reviewed-by: Guido G?nther Cheers, -- Guido > -- > 2.7.4 >