Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp400707ybl; Mon, 2 Dec 2019 12:27:33 -0800 (PST) X-Google-Smtp-Source: APXvYqxjXUewmVsRs0dVXm4KgAWxXbPIiE3rJV5v8ef82VTALVwIv6gSJBqeF7YY16xxVQEbs4ir X-Received: by 2002:a50:9b10:: with SMTP id o16mr975724edi.117.1575318453018; Mon, 02 Dec 2019 12:27:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575318453; cv=none; d=google.com; s=arc-20160816; b=IOmkoZH+c7QNuyQW/CMihh7mXhOb1wEgMd9lGaNqc0D6J8KRkcqgUkBhVQ2Rg9z9h8 d57uuBHcfmJ//BaL+nQ/9kZM9lfN/FWM8fi558D245qTWEk5VgKIuN/SIaCPkshmQAnG FVUX6UCTVYkhGtB/b/rV0/XKmzDYXa/FcrahAvZkuGW+3G5AGRUjS/3ET/+dnQswPynO fWUOJQL4TjiqHlpDJqndbQ9EIoYCowpCakEU1xtIbgyiKpNXa+v56r4Nq1n2HRyUg53k 4S+s9/dvz5msBhPdVfbn7okh8lwyUJhNfMIYBc63kM9B8ER1IJfTk90WLyLj4xfhhvda 4hqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=mBpJM7Zj2wSiQOjSDmwoTTIZ3KSKjAbhhQOqtWInyn8=; b=RzLBxE+NDMXkjKjDF589Z3NbutkOr1Z1WHX8tBSMCjlJBdaoFJ2/uuwXw7Z9n6uDZQ 4kZn5Ff8hOfsvfH+G8bMJa19xBeLl+raRaNOCZMbugZv1mFAzCGC/p7qjnDy4s4e1zfQ IFCU0p8IT+G3rvhN9ZhmBDtO1zLavYSlUVVf9s+cdZBikdUZA5sWC9co6olZuvzH2mVA HBzpULjtxWHcQxTuaD8WYRmyChLRK4mMgemjzDQU4QKGwAwhmAoGWGz46rbG1HTZ68Kn AF8p7hHmLaQfqoNcbLZ9Ihtnsl/jft+YIRAtyrzbTNKfTtMiokN9yHUP/ZYv0Q+ZTHlZ /xSg== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f5si384591edx.311.2019.12.02.12.27.09; Mon, 02 Dec 2019 12:27:33 -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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727873AbfLBSsB (ORCPT + 99 others); Mon, 2 Dec 2019 13:48:01 -0500 Received: from mail-oi1-f195.google.com ([209.85.167.195]:38345 "EHLO mail-oi1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727556AbfLBSsB (ORCPT ); Mon, 2 Dec 2019 13:48:01 -0500 Received: by mail-oi1-f195.google.com with SMTP id b8so659021oiy.5; Mon, 02 Dec 2019 10:48:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=mBpJM7Zj2wSiQOjSDmwoTTIZ3KSKjAbhhQOqtWInyn8=; b=A7aMOrXpKhJy4fk39+qi/ANYq/TUy3hJ06XneZJ5oUT0OFi6rhHC9yRUlq9vS9iAFR mHzY8wyQTwwGj2fVHFWlHn2l0PiT3mGWgVNMXxnPXTUC0y1MVqBKX7+nTMutffctrpd2 x8JOeWWdqz65qRlfbS25GyyDioj7MNgdSMp3VUIG9zri8nRaGJ7jn4y8n1Asprwfofrv vDP9wBKSFeoybGjyfoHV+EwJHX/7iWbpZh/AHZgehJFNa9bpOdNBv5N/mbOdmgVhwjz1 YRXP7Xlyi2SQat1hID0fUq721cXvoRXXGYmntZ3ZdwGj10+rdZn9v0nEs3bw7CHW92SS RwQA== X-Gm-Message-State: APjAAAX4YTCRhzP5CNeDWGhYr9adWNRwanVIknLUrT/UuKud7yTM4XRB ieIV2x6UGNTVqSf8lpjJjQ== X-Received: by 2002:aca:c38c:: with SMTP id t134mr354494oif.175.1575312479937; Mon, 02 Dec 2019 10:47:59 -0800 (PST) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id m133sm104652oia.29.2019.12.02.10.47.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Dec 2019 10:47:59 -0800 (PST) Date: Mon, 2 Dec 2019 12:47:58 -0600 From: Rob Herring To: Wen He Cc: Michael Turquette , Stephen Boyd , Mark Rutland , Michael Walle , Li Yang , devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [v10 1/2] dt/bindings: clk: Add YAML schemas for LS1028A Display Clock bindings Message-ID: <20191202184758.GA8408@bogus> References: <20191127101525.44516-1-wen.he_1@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191127101525.44516-1-wen.he_1@nxp.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 27, 2019 at 06:15:24PM +0800, Wen He wrote: > 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: Needs vendor prefix and unit suffix: fsl,vco-hz Or you could perhaps just use 'clock-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. A bunch of constraints you've listed here that should be schema rather than freeform text: 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 >