Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2749389iog; Mon, 20 Jun 2022 04:04:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1scB1DopEnf/pxjRKkPvD72KhilZTqLKLPfhxrLzGLHYPM02AX8SK87hoQdqUnA31/eGssT X-Received: by 2002:a17:907:6d24:b0:70c:81d9:d5b9 with SMTP id sa36-20020a1709076d2400b0070c81d9d5b9mr19772866ejc.597.1655723068293; Mon, 20 Jun 2022 04:04:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655723068; cv=none; d=google.com; s=arc-20160816; b=D8606uverAYgYsPB+NtMKFZJYNCL0WL5HAtVIIvjg4PQo4Exii0a2XsHPA4YO1kfvU VaiS4goM3b2ihIYluvn2jG5j3yf+ygrWWP1N0b8tOUQLeqeqAM66PHYJpxQcyhCp7d0l eSk+bIIHZ2BBaHf06eSz3JEwRxP7ZjEUdOPJAx/l1rJfadUSUg2hu2tAd4SeEgfh5EUg u8qiaZIPsVdCT0VsRtie1UZOqXh8cQ3jZnZV80tHnKBUp3Ma3nrs8uwhKnV47u5Ym8QG P+gU25UDYZbAD46RMF9FvC1izP4GQgoXZ53jKuTCrL7tSn03QZVs3Vt6QMv31K8dUT7U 8Vmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ETIPZemBmoDbtlPM+HgfBkCh7bjs2P92YbyzQfZl3t0=; b=BhCsn6iyWh9rESgEQIx4QUK4OP1FC20jAf6hr9KB1CBapzCsg32bbaRWhDlDe5dQOl j99MVQFl2eysK9rS8IWjkuavKTKi0MaWkJ3AnE7LswbWL+T9m+krjTABkpefCv+6poeu kTwLCAH4NfUJ6kMQwTOwnk5vp/u02UZBp2Dbfw0FylS+ZOci1cVIlUJk4465a4U+ncyS 8MJC+/wyGJ8g9KYb7CzZ2gMIziAaYKETF7a+CNknyeefYABm1VeiAO+YKaJREqklHMPM jA7pjsHo7uaDR+NDYjGuM4k8c6pnAYORwUdBXakA/q5xyVd/r957EbHsBEwGazqdFHI+ SBKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sPFGX2cz; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a21-20020a1709066d5500b00711d54647bdsi10765209ejt.479.2022.06.20.04.04.01; Mon, 20 Jun 2022 04:04:28 -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=@linaro.org header.s=google header.b=sPFGX2cz; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238896AbiFTKcq (ORCPT + 99 others); Mon, 20 Jun 2022 06:32:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235119AbiFTKcp (ORCPT ); Mon, 20 Jun 2022 06:32:45 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A9E014021 for ; Mon, 20 Jun 2022 03:32:44 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id z11so8318691edp.9 for ; Mon, 20 Jun 2022 03:32:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=ETIPZemBmoDbtlPM+HgfBkCh7bjs2P92YbyzQfZl3t0=; b=sPFGX2czl66w8o4KXvipXXmncVDcfceiwIjY85AVZ848DJUCH2Qg3VtAJ8x05m7Wrl dS9+fIhfPmR6vqBIRcMGybTFTX68euzO3iqH3XdDx0lvnh6M7EpHrnjtd0PJ31427S/5 ZR4gx0k/S7NGd+CEBVVK6rKlQGYKGujURrgEDZnq9hle7ni67aA18vuT2ezJeVMwqeiY IEOhrwmn5zvL5kaI+T1jkEvF1xJ1oerVoWjybohxJDU6zrpFJBBDbtQHLwWAf6B8BuWs 25wxAaOrn8aK2BwazNDaQkVw5cycTXkCF5ecTrektBkmPPPpjlwi4dg85l8+4bBpbHEy i/bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=ETIPZemBmoDbtlPM+HgfBkCh7bjs2P92YbyzQfZl3t0=; b=SI8Iw5ojBPOhYfhCOrlaDIpl89dWsl8NGIWc/7r9drF99teTjdH+QPF2ettA1XAqER BEE4ITikHLRnjjEebJ5SzX/Ps1ZQRNiZZqoA6BT6VCbPYoCgTyw3y9frpLdOl0zvTrSF MuKs7BnnTd2WCtxCjk5FQiUbWUWxHgefUhTfCQu9wLuzPOQPcvrwez412KAWflncr68k c+/KaAmk8dgObhkGLwIc/ND/kLFYaQuLhBa61w0D4zdK9H6W9r0GrHw7hGOYwouHbA9W Va1X+GrU5yjR8wL7I5DSdxDJi8DdDYu3SA02EgXpPrG1ieZqWcmipXQnGfK4mcdXWhyr 3xHw== X-Gm-Message-State: AJIora+fG+g9hUE+kgyCr3JKCYtwPSc1FH6oLqAIhY6CGePw7MbXXBbs bnbq1cQ212IOUUcalIF5QmRkzA== X-Received: by 2002:a05:6402:35ce:b0:430:cbae:d8d with SMTP id z14-20020a05640235ce00b00430cbae0d8dmr28877708edc.369.1655721162875; Mon, 20 Jun 2022 03:32:42 -0700 (PDT) Received: from [192.168.0.209] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id f23-20020a170906825700b0070ad296e4b0sm5675330ejx.186.2022.06.20.03.32.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Jun 2022 03:32:41 -0700 (PDT) Message-ID: Date: Mon, 20 Jun 2022 12:32:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v2 2/3] dt-bindings: phy: Add Freescale i.MX8qm Mixel LVDS PHY binding Content-Language: en-US To: Liu Ying , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kishon@ti.com, vkoul@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com References: <20220620034533.4108170-1-victor.liu@nxp.com> <20220620034533.4108170-3-victor.liu@nxp.com> From: Krzysztof Kozlowski In-Reply-To: <20220620034533.4108170-3-victor.liu@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,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 On 20/06/2022 05:45, Liu Ying wrote: > Add bindings for Mixel LVDS PHY found on Freescale i.MX8qm SoC. > > Signed-off-by: Liu Ying > --- > v1->v2: > * Set fsl,imx8qm-lvds-phy' and 'mixel,lvds-phy' as compatible's enum. (Krzysztof) > * Skip 'clock-names' property. (Krzysztof) > * Drop 'This patch' from commit message. (Krzysztof) > > .../bindings/phy/mixel,lvds-phy.yaml | 61 +++++++++++++++++++ > 1 file changed, 61 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/mixel,lvds-phy.yaml > > diff --git a/Documentation/devicetree/bindings/phy/mixel,lvds-phy.yaml b/Documentation/devicetree/bindings/phy/mixel,lvds-phy.yaml > new file mode 100644 > index 000000000000..4bfcc0dd987f > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/mixel,lvds-phy.yaml Name the file fsl,imx8qm-lvds-phy.yaml > @@ -0,0 +1,61 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/phy/mixel,lvds-phy.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Mixel LVDS PHY for Freescale i.MX8qm SoC > + > +maintainers: > + - Liu Ying > + > +description: | > + The Mixel LVDS PHY IP block is found on Freescale i.MX8qm SoC. > + It converts two groups of four 7/10 bits of CMOS data into two > + groups of four data lanes of LVDS data streams. A phase-locked > + transmit clock is transmitted in parallel with each group of > + data streams over a fifth LVDS link. Every cycle of the transmit > + clock, 56/80 bits of input data are sampled and transmitted > + through the two groups of LVDS data streams. Together with the > + transmit clocks, the two groups of LVDS data streams form two > + LVDS channels. > + > + The Mixel LVDS PHY found on Freescale i.MX8qm SoC is controlled > + by Control and Status Registers(CSR) module in the SoC. The CSR > + module, as a system controller, contains the PHY's registers. > + > +properties: > + compatible: > + enum: > + - fsl,imx8qm-lvds-phy > + - mixel,lvds-phy This is not specific enough compatible. > + > + "#phy-cells": > + const: 1 > + description: | > + Cell allows setting the LVDS channel index of the PHY. > + Index 0 is for LVDS channel0 and index 1 is for LVDS channel1. > + > + clocks: > + maxItems: 1 > + > + power-domains: > + maxItems: 1 > + > +required: > + - compatible > + - "#phy-cells" > + - clocks > + - power-domains > + > +additionalProperties: false > + > +examples: > + - | > + #include > + phy { > + compatible = "fsl,imx8qm-lvds-phy"; > + #phy-cells = <1>; > + clocks = <&clk IMX_SC_R_LVDS_0 IMX_SC_PM_CLK_PHY>; > + power-domains = <&pd IMX_SC_R_LVDS_0>; > + }; Best regards, Krzysztof