Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2019254iog; Sun, 19 Jun 2022 05:19:47 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t4PcA4pmCj+XvtfahZfy8QEIl5gqtWraQDdy7RVBjjExJi+JVsEWLiGOnGjRDooSNJh0rj X-Received: by 2002:a05:6402:34c8:b0:42f:b59e:b98c with SMTP id w8-20020a05640234c800b0042fb59eb98cmr23474875edc.275.1655641186984; Sun, 19 Jun 2022 05:19:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655641186; cv=none; d=google.com; s=arc-20160816; b=RsmgrHnIDvv2AcNgdKICuHNT4gO77NdphnrNAnxRR09A2uixB1PNCiA2Bq/jcwMAS0 NctpYzl8WOJwR2LGW5OcezYHE264s5bCehoidz0MXqKrEgKGpADASryyHAQx62mubYyr Jm2wGtEE4XvVMro9Mg0iT9fnkYhw3Dv1N+sBvZdBP9mn2U7mhFCEE0SK/I4jZGgzG5Oc UZzGTbLl2eTtq7mxPWYiy/tzgBNafWs6ePQLNVwZ1SPtS8VJ9ijVtEE86R1W/xc+ltHT O/78n2CCogZCS5XxFNrMH+YPTy2FSq1WTlegQd8pmC4uGL0xH07iCeTmHmgVGjZSmROD QjlQ== 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=LXtHu+WmKe/B+Jenv3JS6I7UJdcvW4l/57HkN5jkG/E=; b=pxfpgN3T5CumMN2C7+GAn5ins5LOrlQOGiObFAYCgDklcFXf6qpOj5iTE3zT4EwaFG Q7UemWqfVO6biyd8ot1YwEP0VECbntp1ofajtELnEGye5XfyPjJX1jPKGYHjBMc7Cb2I VJUsYA/LaKvupvWdJV43LhkhANkr5GmthRLEp6kaVuCfo6wqoimJ0qkoWMEhNQjlgLy0 mvHOjUQXLlBvRR8s4m555weeE+4piQzV4tXVFnxGp24Tw8Vu+iwWj1e9YSbBNimAIdTG zzdVvF+Gt2sv5B0iPrWmLH3WUoyRx1fimICSI5Fuh4im33mmyvuaICI90hHie3ppx/BI jKgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PFGWDfSm; 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 m17-20020a056402431100b0043198fec649si12961892edc.32.2022.06.19.05.19.21; Sun, 19 Jun 2022 05:19:46 -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=PFGWDfSm; 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 S235349AbiFSMMB (ORCPT + 99 others); Sun, 19 Jun 2022 08:12:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231256AbiFSML7 (ORCPT ); Sun, 19 Jun 2022 08:11:59 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B3F9DFF5 for ; Sun, 19 Jun 2022 05:11:58 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id gl15so16322608ejb.4 for ; Sun, 19 Jun 2022 05:11:57 -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=LXtHu+WmKe/B+Jenv3JS6I7UJdcvW4l/57HkN5jkG/E=; b=PFGWDfSmTZqllQbv0OyEqVrcIkXlXTB2/7LoSQSGLEpW5i8azV07nix9S/j7bUd6m2 afWCLA2StC3+eLDwUkgDglLrczYOAxTRwcCxdBinEf1T7tBYzqIZTcry72ITwGQLwKbR +5Ts1NpfLQlxfMXoOcFyfo7SBxddgDRDm0e87Ix9qaHF25Ny6J/upwztpDi2Nh3Ubsht sx7lY4n4iosRrHZrJkE3nuJy7TkZDGcob0XY57s8vRz9uTwPvujH1tuhEb1z93aI5OnP aqcZdNBaLoZ8xwcY0JEmydzrca6xgk0lG/A808nR9cFQEMMUhmMkpL0ELkr2l6EhTL34 pHOQ== 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=LXtHu+WmKe/B+Jenv3JS6I7UJdcvW4l/57HkN5jkG/E=; b=NUTUH0VbqcweqMgSoVSYYWDv7bugwsJ/EL8ka3dsk4t3OHpk1FTfi8I8ZKO0OtIT3e zQ/pWSZBYbkujKDa4m5Pel/7w2y36mhfaQnSdjF6VZH+HNVJT3iPLdm0SYRe7Q+k+Mvk JlShA7gRlQBaFXabCZG8BGv309puEQlaYpXpWRzVYSRpdwflLdcLZHalBMNjwYxcq3Qh y6opNxf0Ome7ARYHi6pTyl48XAceGi0o8kcSrvx/LvD+YJ9qCZG7U1hZewsv0BpT1Khe qfqFYH5iLqrPJLFuxtksWjZ5es8zN0/20oBXXAv9oTgk+Z5Yyaq+6A70oYzRMsb/fzC+ 5lyw== X-Gm-Message-State: AJIora8RME81UmglV4HlwJ44Hyy74RXHVRjbGifnyQApe8v/N5ItsFy7 ryuQJZgeyoEPx8y6M0pjI6okuA== X-Received: by 2002:a17:907:7f0e:b0:722:a7e9:6f7f with SMTP id qf14-20020a1709077f0e00b00722a7e96f7fmr2699714ejc.228.1655640716378; Sun, 19 Jun 2022 05:11:56 -0700 (PDT) Received: from [192.168.0.206] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id j1-20020a17090623e100b006fe9209a9edsm4504865ejg.128.2022.06.19.05.11.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Jun 2022 05:11:55 -0700 (PDT) Message-ID: Date: Sun, 19 Jun 2022 14:11:54 +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 1/2] 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: <20220618092201.3837791-1-victor.liu@nxp.com> <20220618092201.3837791-2-victor.liu@nxp.com> From: Krzysztof Kozlowski In-Reply-To: <20220618092201.3837791-2-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 18/06/2022 11:22, Liu Ying wrote: > This patch adds bindings for Mixel LVDS PHY found on > Freescale i.MX8qm SoC. > > Signed-off-by: Liu Ying > --- > .../bindings/phy/mixel,lvds-phy.yaml | 64 +++++++++++++++++++ > 1 file changed, 64 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..de964ffb9356 > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/mixel,lvds-phy.yaml > @@ -0,0 +1,64 @@ > +# 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 If Mixel is a vendor, it needs it's vendor prefix documented and used in compatible. Filename should match compatible. If it is not a vendor, then filename should be "fsl,imx8qm-lvds-phy.yaml" > + > +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: > + const: fsl,imx8qm-lvds-phy > + > + "#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 > + > + clock-names: > + const: phy_ref Maybe just skip the clock-names, it's not bringing anything useful, unless you expect some more clocks to be documented later? (but in such case question would be why they are not documented now) > + > + power-domains: > + maxItems: 1 > + > +required: > + - compatible > + - "#phy-cells" > + - clocks > + - clock-names > + - 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>; > + clock-names = "phy_ref"; > + power-domains = <&pd IMX_SC_R_LVDS_0>; > + }; Best regards, Krzysztof