Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp830396rwl; Fri, 4 Nov 2022 06:56:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7WBowQfkRATVJS3LRGb0Hmg104ojbQfHAvBtWvhZTqOvrDMOcZ0jxyYJZMdM8YzMQsar6i X-Received: by 2002:aa7:c2d9:0:b0:461:a89:8654 with SMTP id m25-20020aa7c2d9000000b004610a898654mr313470edp.212.1667570191865; Fri, 04 Nov 2022 06:56:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667570191; cv=none; d=google.com; s=arc-20160816; b=obPirH/PTB2mAJra9dR3CpJR5SiUdDsfvAG9iOMhiWAx6TW1cKHz2gvzdEw3anw/gm sxouIYdMPBqL3GhJ9oRDVceR3ADnyonnhY0g5ppCJObu8nPu7gciCTd/RBAbKfJDbHRq eam2l3cu2UAZQGmUm1op5RSWm3EUtbLwaq6m0tyZvMj2P1UYh7aF5rXE8eZ8q8xled0P 1oLpfxYVbQbF0bHnzF7DtJpjWhfKpteG/4d5phSxBsK0NWc0ezTzNzRmGpNkiteV9LRp IypctgFkgmkMzPp/W9/I25oXlMm5XzAx+t88JCkPpAP22Ii97HDQoX861YLOa6cHxU3k EycQ== 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=vavmHFdy2UqqtSaeoQXAprIbQNUxvGgL2a6sfjfX8bo=; b=sMsznJ1T+D2MgfNTNsjm086JVEgyLDwIskYDZRREzOcsnB600GuOZI8ohDqyzJB3yB sezkYBTy7EO6RiWxT0ZiLM6bc5dkUpZXwZn0dkDdAN6r4wqizVT6cPMEO4aIO2Q2A0Xv 1kFhZFa64pjBubBBT/mrbdakwp1BvEZGtuXqSN+28fVesFxNWDUMuqt1uzTgChJV1DQ+ 4WfZrR0OtITznp/D4L+U/RC5mi4sqJraX+1atGkh6d8nVEmSX+eMc2rlzcb7BY3QxRvL YA1dgUOhxrEa8OEuC4pa5BgAFXHCNNcjmJzLU2PX82yhActhlph+DUBCcCsgx7mtqzOU lREA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="iAwllB/i"; 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 d21-20020a056402517500b0045d27e4f95dsi4016069ede.334.2022.11.04.06.56.07; Fri, 04 Nov 2022 06:56:31 -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="iAwllB/i"; 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 S231446AbiKDNps (ORCPT + 98 others); Fri, 4 Nov 2022 09:45:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231309AbiKDNpr (ORCPT ); Fri, 4 Nov 2022 09:45:47 -0400 Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 362052F392 for ; Fri, 4 Nov 2022 06:45:46 -0700 (PDT) Received: by mail-qt1-x831.google.com with SMTP id e15so3037521qts.1 for ; Fri, 04 Nov 2022 06:45:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=vavmHFdy2UqqtSaeoQXAprIbQNUxvGgL2a6sfjfX8bo=; b=iAwllB/irUDcT6SbXQoW5KiHw7T62PcFpUyb6zPCWHLco9hXoKvpnr7HPeLKGHupX0 EFbxZluDtrNTuq0mMuGmqKbVVHtPW8mmg/BLLQaY8neKBSp+ivsalguEathuGmeiVmhv MALOVfW1deKpH440RYNHLHhpzVaF8kpwV6+5bDFBFWGKSK6S258syC5PTfDGsfXulUIf CaqoE2c2lP4fgCywLW3DKz2n8Vhff7/MejTJcm/PSeSwr8+0+s8dVHMTBKFiuKidhOze I5SSKyj/zlAZNjs3lwrfRgKEJPfZ5CXMN2+UKq2D8OJRTx7wy/Y5nMezey8TZFmp3+e7 YiqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vavmHFdy2UqqtSaeoQXAprIbQNUxvGgL2a6sfjfX8bo=; b=sEAZZh7L0A4oF170dZpxKHHszTHR8O6PKwmT9XLGAEm4DhV7JSWEYHzqnrWV4QmTlp evzHAhoyqYGkmCJez4HIrhfzO3tuTSKw5J3wrn+kVm+JpgZyE5RjdzSlYLCD5R8Xr5U/ sMV0boKTZeAQPE2xMmRRXcZJFYRX8n2i8QcoksoisbBTUe/+XvKpXqFCMJPnuZRk7VQH tY9r9l4CIDtIUvL6guRxgLOJBYo23gLbaN1OHoogcrcpZmAgDlfaAPfoEi45NonYUOzK zPoi59HkBluH1kGUazoc8wW6iWBs8FDlBX/Csy7htdcZOLHK81YL8BJnoPJkNExJgmQ/ ZyNQ== X-Gm-Message-State: ACrzQf0vc7ivOOXa/HFQyzl5wwjoYSwWKdVog5KUhhEdOg6eu3yHX6rE XpjU7wz90sBXqjT5Wag0zoCS4A== X-Received: by 2002:a05:622a:1c15:b0:3a5:2602:7b99 with SMTP id bq21-20020a05622a1c1500b003a526027b99mr21380164qtb.127.1667569545298; Fri, 04 Nov 2022 06:45:45 -0700 (PDT) Received: from ?IPV6:2601:586:5000:570:aad6:acd8:4ed9:299b? ([2601:586:5000:570:aad6:acd8:4ed9:299b]) by smtp.gmail.com with ESMTPSA id b1-20020ac87541000000b003a56d82fd8csm603940qtr.91.2022.11.04.06.45.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Nov 2022 06:45:44 -0700 (PDT) Message-ID: Date: Fri, 4 Nov 2022 09:45:42 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [v2 07/10] dts-bindings: phy: Add Cadence HDP-TX DP PHY bindings Content-Language: en-US To: Sandor Yu , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, andrzej.hajda@intel.com, neil.armstrong@linaro.org, robert.foss@linaro.org, Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, kishon@ti.com, vkoul@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, linux-imx@nxp.com, tzimmermann@suse.de, lyude@redhat.com, javierm@redhat.com, ville.syrjala@linux.intel.com, sam@ravnborg.org, jani.nikula@intel.com, maxime@cerno.tech, penguin-kernel@I-love.SAKURA.ne.jp, p.yadav@ti.com, oliver.brown@nxp.com References: From: Krzysztof Kozlowski In-Reply-To: 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 autolearn=unavailable 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 04/11/2022 02:44, Sandor Yu wrote: > Add bindings for Cadence HDP-TX DisplayPort PHY. > > Signed-off-by: Sandor Yu > --- > .../bindings/phy/phy-cadence-hdptx-dp.yaml | 70 +++++++++++++++++++ > 1 file changed, 70 insertions(+) > create mode 100644 Documentation/devicetree/bindings/phy/phy-cadence-hdptx-dp.yaml > > diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-hdptx-dp.yaml b/Documentation/devicetree/bindings/phy/phy-cadence-hdptx-dp.yaml > new file mode 100644 > index 000000000000..ab6f4e25c425 > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/phy-cadence-hdptx-dp.yaml Use filename matching compatible, so cdns,hdptx-dp-phy.yaml > @@ -0,0 +1,70 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: "http://devicetree.org/schemas/phy/phy-cadence-hdptx-dp.yaml#" > +$schema: "http://devicetree.org/meta-schemas/core.yaml#" Drop quotes from both lines. > + > +title: Cadence HDP(HDMI/DisplayPort) TX PHY for DisplayPort protocol binding Drop binding > + > +description: > + This binding describes the Cadence HDP-TX PHY for DispalyPort protocol. Drop "This binding describes" > + > +maintainers: > + - Sandor Yu > + > +properties: > + compatible: > + enum: > + - cdns,hdptx-dp-phy > + > + reg: > + description: > + Offset of Cadence HDPTX APB configuration registers. Same comments as usual. > + > + clocks: > + items: > + description: > + PHY reference clock. Must contain an entry in clock-names. Drop "Must contain an entry in clock-names." > + > + clock-names: > + items: > + - const: refclk > + > + "#phy-cells": > + const: 0 > + > + cdns,num-lanes: > + description: > + Number of lanes. > + $ref: /schemas/types.yaml#/definitions/uint32 > + enum: [1, 2, 3, 4] > + default: 4 > + > + cdns,max-bit-rate: > + description: > + Maximum DisplayPort link bit rate to use, in Mbps > + $ref: /schemas/types.yaml#/definitions/uint32 > + enum: [2160, 2430, 2700, 3240, 4320, 5400] > + default: 5400 > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + - "#phy-cells" > + > +additionalProperties: false > + > +examples: > + - | > + #include > + dp_phy: dp_phy@32c00000 { phy (and no underscores in node names) > + compatible = "cdns,hdptx-dp-phy"; > + reg = <0x32c00000 0x100000>; > + #phy-cells = <0>; > + clocks = <&hdmi_phy_27m>; > + clock-names = "refclk"; > + cdns,num-lanes = <4>; > + cdns,max-bit-rate = <5400>; > + }; Best regards, Krzysztof