From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9B55EC433DF for ; Tue, 25 Aug 2020 02:15:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 74946204EC for ; Tue, 25 Aug 2020 02:15:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598321704; bh=XGFf5Fw0UayQG3j+uycg9IlFb0HpDoqlWLldlWqSOrk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=ENc/A2bGA8ZDNcGzvtr7fk2LYSUs+uFDF/Vcsj+E1Vy+h3RG/iTIoXL/ND0kePWnw 8Ut1AN9guY4L/Q1LOppeMZ+lroYbfikLw69/Ev//PBdoIr2b510CYx/5JDud5ZQGY3 UBykzLpQqb2toc4/swqDixTT2bGo4BsfdfAbR/1s= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725947AbgHYCO7 (ORCPT ); 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-Google-Smtp-Source: ABdhPJxNxfKvFbxG4f0/yZMBg5QNRAhicF99/EkuVFWZ1jMVx0ih0hihJnB5oksWscSPYnlTD3tIsw== 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 >