Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1359575ybl; Wed, 4 Dec 2019 23:28:21 -0800 (PST) X-Google-Smtp-Source: APXvYqxmSjWhseSSteirxSNC0zacU0MX+5FcQ6AFtXMpFSGK7llC2fY6HyodDxhwUJ7aswzHOIgr X-Received: by 2002:a05:6808:35a:: with SMTP id j26mr305200oie.163.1575530901751; Wed, 04 Dec 2019 23:28:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575530901; cv=none; d=google.com; s=arc-20160816; b=0kmISSzsimlZ+8BoS0JP3zzLbbW+ni2BwH1LcbqoFzJ0NYPdJrxsEaJkJ0sq2XVCfr D/SYGY+4BFvD2f+Tjos7ZL1HuT0A0X2rky/1YqiYbXAV1I+R6jMavZqj/VPWpmMCPiXE u8RbLA7+SJXqXYqp/Xy5Hpv1C05ElNPj9MY2u5E2e+TgkUf3MlzgmW9r1yt5PDJ1kPva rhtWxi8nnmGhNYidyZWGZO334vWZG8zkCwl8dySMyveUu5m4hCEw/CD7Poifjzdlx5Wv mYFYRfxxSFNJbcZ7tlbjODGS7OpiAf4lpGCSqHbg9kpzPoGtLrgd/h6dl45A04zHsypN maPA== 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=uzS7NQpAXkP6WlhNxaFRMEiOm46RE9ipDejtpo/rfI4=; b=qfQKwlyITbv+vh9R8RPUv3njqdEPj7XgfufqhpkaXBldk9X+yJuV/spjUdX59d0ScA 41qzpcNpZqTQuZowK2arwDIXNdnWnSMkidUGUdrGIyfgpFe4Kki0bRB16IcuLFlFx/FL BHZX8g4IPc4gWXVgOzXNaSIz63v187deAabkV5EdvwOmapb6cO6Guob9YmTq2so2Qk4T /3zzHG+gp6tw69Dc+rKglBe0DbXLmatTb/b89Zo+1PxXpjtVV4ZMIrqeUP0IKTIHWYIM /8PW3r5Jw8AtAGlgCuubkctT3EEYL1DSMElZS3Oohpe4174q/7W+JDl6UxmihEFOo23p w2MA== 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 i66si4361124oif.235.2019.12.04.23.28.08; Wed, 04 Dec 2019 23:28:21 -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 S1726108AbfLEH1i (ORCPT + 99 others); Thu, 5 Dec 2019 02:27:38 -0500 Received: from inva020.nxp.com ([92.121.34.13]:46870 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725963AbfLEH1h (ORCPT ); Thu, 5 Dec 2019 02:27:37 -0500 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 6D6A31A0832; Thu, 5 Dec 2019 08:27:35 +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 E4B621A1716; Thu, 5 Dec 2019 08:27:30 +0100 (CET) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 1414F4028B; Thu, 5 Dec 2019 15:27:25 +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: [v11 1/2] dt/bindings: clk: Add YAML schemas for LS1028A Display Clock bindings Date: Thu, 5 Dec 2019 15:26:52 +0800 Message-Id: <20191205072653.34701-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 v11: - renamed 'vco-frequency' to 'fsl,vco-hz' to clearly feild definiation .../devicetree/bindings/clock/fsl,plldig.yaml | 55 +++++++++++++++++++ 1 file changed, 55 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..23cce65b3a93 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/fsl,plldig.yaml @@ -0,0 +1,55 @@ +# 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 + + fsl,vco-hz: + $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. + minimum: 650000000 + maximum: 1300000000 + default: 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