Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp5329505ybc; Wed, 27 Nov 2019 02:19:57 -0800 (PST) X-Google-Smtp-Source: APXvYqxDIxPCpbnpjdo/Exjfb9kSRE7l7pWVAAOI+Yy7/Q68BgtlzYXifo7WSiv4qD2KGTly8zbQ X-Received: by 2002:a05:6402:1609:: with SMTP id f9mr31191395edv.37.1574849997368; Wed, 27 Nov 2019 02:19:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574849997; cv=none; d=google.com; s=arc-20160816; b=DILrpM4EvQihp0oclmQ0rbUJsmrrjVJsjPQZ/dALK+virulG4yKZ8n+3qumw+gK1y0 sHknjKeYIOOK6b8ajdyZdY3gGhpPmiIbOumXdj4kiu0Atd6L5P9K2laUELfdV0NonuIq fwwNeaMnA2uQSrmzBR7hI7bGvI6dy4ENoLe1fqoc3GEtFNMUV8x9Vvod9Dcdqh2LfAVJ MPEOKIOI/mVn25UdEF3FYQbOeJFtiWcP0rcedld1/Ma+bw7ybHghihpTPy5Vim5HcNS8 vgeOyrkZWBVuRDjI0c+se3mOvGqnJ8xF9wP30RBMZdTppVdCueL/0308gP1vz5yADvfR w9UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=2+2PqiHi7sYPJ+e+oF9fPG/1znUGY6IhQMW/utJsCHs=; b=UV6ycXNlzwh4WQ180HbczaeRQLUY0B6vBXWa/+G9mksouFlm/Ypr2TLp2mw5pDKyu2 bn9MyF5eN2zSyqXEy+aErQj5SpxVIW3BVne+z33XFktluLcj13B3CcSKdIe0S6Q6ybjj RkAmDJacDYmqrAWpbhFIO7r4f8vYNuzX9FuSG+trsImVOQ7+kHILad5heQ4VHb3B4Tny kJjuIvRdA2nwvHoDygwe/ZSlvPHIazGnA6ASiAtNxLYoXCvbWyhmWb4I5YB+FvQqOAvm 1OdpDkHdJ+1sn/7UDrGLTZigkMuA/kXYdPA/zYrEPMr4JH0KRpiqhcx74LBew5M7T5/U TWAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w26si9327444ejn.212.2019.11.27.02.19.32; Wed, 27 Nov 2019 02:19:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726887AbfK0KPy (ORCPT + 99 others); Wed, 27 Nov 2019 05:15:54 -0500 Received: from inva020.nxp.com ([92.121.34.13]:40930 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726194AbfK0KPy (ORCPT ); Wed, 27 Nov 2019 05:15:54 -0500 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 012771A003F; Wed, 27 Nov 2019 11:15:52 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 7764F1A06B9; Wed, 27 Nov 2019 11:15:47 +0100 (CET) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 9C18A402CF; Wed, 27 Nov 2019 18:15:41 +0800 (SGT) From: Wen He To: Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Michael Walle , Li Yang , devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Wen He Subject: [v10 1/2] dt/bindings: clk: Add YAML schemas for LS1028A Display Clock bindings Date: Wed, 27 Nov 2019 18:15:24 +0800 Message-Id: <20191127101525.44516-1-wen.he_1@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org LS1028A has a clock domain PXLCLK0 used for provide pixel clocks to Display output interface. Add a YAML schema for this. Signed-off-by: Wen He Signed-off-by: Michael Walle --- change in v10: - Add optional feild 'vco-frequency'. .../devicetree/bindings/clock/fsl,plldig.yaml | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/fsl,plldig.yaml diff --git a/Documentation/devicetree/bindings/clock/fsl,plldig.yaml b/Documentation/devicetree/bindings/clock/fsl,plldig.yaml new file mode 100644 index 000000000000..ee5b5c61a471 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/fsl,plldig.yaml @@ -0,0 +1,54 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/bindings/clock/fsl,plldig.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP QorIQ Layerscape LS1028A Display PIXEL Clock Binding + +maintainers: + - Wen He + +description: | + NXP LS1028A has a clock domain PXLCLK0 used for the Display output + interface in the display core, as implemented in TSMC CLN28HPM PLL. + which generate and offers pixel clocks to Display. + +properties: + compatible: + const: fsl,ls1028a-plldig + + reg: + maxItems: 1 + + '#clock-cells': + const: 0 + + vco-frequency: + $ref: '/schemas/types.yaml#/definitions/uint32' + description: Optional for VCO frequency of the PLL in Hertz. + The VCO frequency of this PLL cannot be changed during runtime + only at startup. Therefore, the output frequencies are very + limited and might not even closely match the requested frequency. + To work around this restriction the user may specify its own + desired VCO frequency for the PLL. The frequency has to be in the + range of 650000000 to 1300000000. + If not set, the default frequency is 1188000000. + +required: + - compatible + - reg + - clocks + - '#clock-cells' + +examples: + # Display PIXEL Clock node: + - | + dpclk: clock-display@f1f0000 { + compatible = "fsl,ls1028a-plldig"; + reg = <0x0 0xf1f0000 0x0 0xffff>; + #clock-cells = <0>; + clocks = <&osc_27m>; + }; + +... -- 2.17.1