Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2577436pxa; Mon, 24 Aug 2020 19:17:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLE8FTngdHrHojld6tCtGILPXA4fV4Nfe2i1cVOC8TZz9ftDQqbTZdbkxDHIsypIlh/PYL X-Received: by 2002:a17:907:270d:: with SMTP id w13mr8044821ejk.191.1598321822025; Mon, 24 Aug 2020 19:17:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598321822; cv=none; d=google.com; s=arc-20160816; b=lb0gI3hF9cuDItZVzJNzSQjoe5XyKXc6cHBw4qFsI1Vc0PIZGay/24GcCQYlwwM3TN zzD0tOZpcroV+yDgPvC8CvVLxZYIhGRFfFqx+vZ9AsRYAidzu+vEE8kb6D0xQC5MOg6A gCKcQseAbnGOYdm+CyxwhAX1j3LgckdR4rxgwMAEgxG7Goth3t2AsHq4gB/5aktgYWTi 4eTCA9/MzjpiQtfkNB3jVKpNnWigUKHvbRQb+W4cYKzLV/SPK14XUnQKLVjbeuWVBMHw KJkeJ7Eh+4KlysAYp2i1oH4/TkTCZNCQqEc5R8hcKnxMIKHGfH4YhgCLPSRacdu5K8FL SFuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=ek5F+H3O/scHf/IKBLIJYApR8mf1sgNbCuJGX+O39pc=; b=KeJDsTChPtKo9448WHUpw20yhuEbcjNtN7I1WBU67f1AHgIiGYyAr+RBYng1SQrKTm R2ArFGr5aEE6aIdi8zqa0Fr1wPYS7y4dwwEF2oBHBOP07VHyUZwr86WPT/I32SOL3xRd NXkt9Ki8o8D6MVGHF4qAJiNzvVV4etzsTnOqMiYJzQPrgO64MvgP2OsiZHDCWqWqvOH5 suQ59QghcHoHmLHLua4I5lil8G1nOfLoXgnBScjuYI0YTbE1p2MOAatXg2TzLJ3VV+C8 b4AwZ2P5v/57Bgy/7wAlf3F3+HpMBSglZY4JIPaWTmo5l/qDz7uZNn0MVCjIFuyw5REl tXWA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ov30si7842338ejb.60.2020.08.24.19.16.38; Mon, 24 Aug 2020 19:17:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726818AbgHYCO7 (ORCPT + 99 others); Mon, 24 Aug 2020 22:14:59 -0400 Received: from mail-io1-f67.google.com ([209.85.166.67]:42033 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725850AbgHYCO6 (ORCPT ); Mon, 24 Aug 2020 22:14:58 -0400 Received: by mail-io1-f67.google.com with SMTP id g13so10899958ioo.9; Mon, 24 Aug 2020 19:14:57 -0700 (PDT) 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; bh=ek5F+H3O/scHf/IKBLIJYApR8mf1sgNbCuJGX+O39pc=; b=WxAadAshJ9PUZjzeGen5RVe1MbeWjNZ8pAX797M9aD2lmimizVD8om+7CnBjkkOgwl KF9izVh54stq7/t2IH40nPqozD8IwQHfdYVeOjC6/R5BXD7AlWd2Zm2OwaJ/wHlqC8UO 1L+JKbFhUw8q8bfn3kndB+zgE+VpZGK3SpQYA4jd95xfuWdayQT0xTshWZTjV9g1n0bS g6t5odpTs2Xl+N/Dq62BSHgMWM05dk8AAiuhizfgjkh4K7HsJH+kQaV2KRgdalw8OLwt H1CZZmj9T+uGe9T2QEPDLvuwidBIZ3D9wv6eNirsun+cyqN3XT3L/964l59JOWeSobDb BUlA== X-Gm-Message-State: AOAM531MJxpndaoNG/RZrI44ptjEL3iP4VjjaG0E1/YjAeQs+6zWJusk jh+0di3onWNyJgVkIhhJeA== X-Received: by 2002:a02:a90f:: with SMTP id n15mr8550255jam.120.1598321697011; Mon, 24 Aug 2020 19:14:57 -0700 (PDT) Received: from xps15 ([64.188.179.249]) by smtp.gmail.com with ESMTPSA id 132sm8430792ilb.36.2020.08.24.19.14.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Aug 2020 19:14:56 -0700 (PDT) Received: (nullmailer pid 3797833 invoked by uid 1000); Tue, 25 Aug 2020 02:14:52 -0000 Date: Mon, 24 Aug 2020 20:14:52 -0600 From: Rob Herring To: Abel Vesa Cc: Mike Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Fabio Estevam , Philipp Zabel , Anson Huang , Jacky Bai , Peng Fan , Dong Aisheng , Fugang Duan , devicetree@vger.kernel.org, NXP Linux Team , linux-arm-kernel@lists.infradead.org, Linux Kernel Mailing List , linux-clk@vger.kernel.org Subject: Re: [PATCH v2 10/17] Documentation: bindings: clk: Add bindings for i.MX BLK_CTRL Message-ID: <20200825021452.GA3795142@bogus> References: <1597406966-13740-1-git-send-email-abel.vesa@nxp.com> <1597406966-13740-11-git-send-email-abel.vesa@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1597406966-13740-11-git-send-email-abel.vesa@nxp.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 14, 2020 at 03:09:19PM +0300, Abel Vesa wrote: > Document the i.MX BLK_CTRL with its devicetree properties. > > Signed-off-by: Abel Vesa > --- > .../bindings/clock/fsl,imx-blk-ctrl.yaml | 60 ++++++++++++++++++++++ > 1 file changed, 60 insertions(+) > create mode 100644 Documentation/devicetree/bindings/clock/fsl,imx-blk-ctrl.yaml > > diff --git a/Documentation/devicetree/bindings/clock/fsl,imx-blk-ctrl.yaml b/Documentation/devicetree/bindings/clock/fsl,imx-blk-ctrl.yaml > new file mode 100644 > index 00000000..b47590c > --- /dev/null > +++ b/Documentation/devicetree/bindings/clock/fsl,imx-blk-ctrl.yaml > @@ -0,0 +1,60 @@ > +# SPDX-License-Identifier: (GPL-2.0-only) Dual license new bindings please: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/clock/fsl,imx-blk-ctrl.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: NXP i.MX BLK_CTRL > + > +maintainers: > + - Abel Vesa > + > +description: > + i.MX BLK_CTRL is a conglomerate of different GPRs that are > + dedicated to a specific subsystem. Because it usually contains > + clocks amongst other things, it needs access to the i.MX clocks > + API. All the other functionalities it provides can work just fine > + from the clock subsystem tree. > + > +properties: > + compatible: > + items: > + - enum: > + - fsl,imx8mp-audio-blk-ctrl > + - fsl,imx8mp-hdmi-blk-ctrl > + - fsl,imx8mp-media-blk-ctrl > + - const: syscon > + > + reg: > + maxItems: 1 > + > + power-domains: > + maxItems: 1 > + > + '#clock-cells': > + const: 1 > + > + '#reset-cells': > + const: 1 > + > +required: > + - compatible > + - reg > + - power-domains > + - '#clock-cells' > + - '#reset-cells' > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + audio_blk_ctrl: clock-controller@30e20000 { > + compatible = "fsl,imx8mp-audio-blk-ctrl", "syscon"; > + reg = <0x30e20000 0x10000>; > + power-domains = <&audiomix_pd>; > + > + #clock-cells = <1>; > + #reset-cells = <1>; > + }; > -- > 2.7.4 >