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=-14.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, 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 2DAB5C433B4 for ; Wed, 5 May 2021 23:10:59 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AA471613EB for ; Wed, 5 May 2021 23:10:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AA471613EB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=KuDSp7Q+E8ZDNNDzkAfaB9dFp0S8erq24c7H/rxEat4=; b=HXDy7iAbtSlz+iEXlxKYNe/D3 sUFLTbaGqaY/sAw1lwNkf4/XN9lNy4cvGr8MQbqZgNzUzQBEJk0vdKApBMEMzw4W1H0DanYA4DEY3 0INCC0oV4eTkMz+ZEJb/Y1TNouVDjcT6a0KsQaxbxACAaAm8UO2gSEmrU4HOGjnoHqDtFJsxNpofX cpgLNwVx78Ks7zMsVf77s0Tk65TxuKW3vgVlIFE4UeaSpCEURdz2Js3jA6oUi4SXup5jtSiPSxR44 AwY2m5/A7vY7OO87JWieQxWTDvK6bGL3HgAHOyUu/9L7ZCcWmj08CMQLTc4GAZStme4+IPmBhvnTM OD2AA4dcw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1leQdo-002Z1B-1a; Wed, 05 May 2021 23:09:16 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1leQdk-002Z0j-L8 for linux-arm-kernel@desiato.infradead.org; Wed, 05 May 2021 23:09:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=NJYs480APHZBs1/gMu2DXQ2Z6GydY07ZT9IrG1uPyUA=; b=klzC0EOAZ3brLZXnmjt4fJ6N5i UDZ08BVrNTtODjc1Cih2h6yfqqk01wgxVB29BRrhXlG24nvzsVhdOlDPjcmdR7taG1XPEYWjWOAr9 79RAQ6fQiqiJ9WX+Xv1X7dA2V4DFJv23Txt8JhRQFU+EG/fW3bgqfTYUy8BJ8fdmPMqQiu/IKjjiL lKowa5/kleQ3ykLReeyUsLPIVkOEEEtNSs12Sr8d5T8ofKSyHg9bzGmpdMYD5DEDF95fOamPwnQz7 EIHTrhPEpb+xNnkcKMQxOrdX/pHj3RCDpGjkDnOFCGEKlovqTPwGPuEli0CuYhVJkq9k0Uq4GCmiS 8kPM1asA==; Received: from mail-ot1-f41.google.com ([209.85.210.41]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1leQdh-005NoB-Nk for linux-arm-kernel@lists.infradead.org; Wed, 05 May 2021 23:09:11 +0000 Received: by mail-ot1-f41.google.com with SMTP id r26-20020a056830121ab02902a5ff1c9b81so3231361otp.11 for ; Wed, 05 May 2021 16:09:03 -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=NJYs480APHZBs1/gMu2DXQ2Z6GydY07ZT9IrG1uPyUA=; b=PEfClnYkesTeEthTORoBGoUZRDYSBnrF8uxSdThjemvmCllemgPOLZqomqT2re/jUe VZgfrryypiohRdjTQAcTSh/YH4dV4//t8VxLrJKo3IfIaPNUtCh6C8q2o4jmga2eQxYg LQfpPEsQa70sILueopi5LMJeCckYSYLhfXkwPS+obnenHI6WSgaLBCrq2q9SdG5vhqd0 QjAFXy7YLgo6j2Qg1yjnaUHz1lJb7MRnWaTL59U52SoxncPG/vRi0/B2GXyD7LTrqX0l E6sQHafPNxQxTGXgrqxr3AgHFaYyYugCT9JHHP0m0H+LylTzR5acJBYxjwFaJ6DwsMzp jxew== X-Gm-Message-State: AOAM532qis0blVgkH4qz9NqMeJGe9tcND9sSdzCpfyd1bkrOdwsLLUYq Wlxsf0LFTp7NDGp169yyfA== X-Google-Smtp-Source: ABdhPJwZJjad5WMnMT1SK2sXEYfEfLONYmLI8FSf9dy5qsJTmy4KlYTTGYRKUcdUWuwWTsl5/hoi+g== X-Received: by 2002:a05:6830:2013:: with SMTP id e19mr886154otp.309.1620256142880; Wed, 05 May 2021 16:09:02 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id r18sm188978otp.74.2021.05.05.16.09.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 May 2021 16:09:01 -0700 (PDT) Received: (nullmailer pid 3014222 invoked by uid 1000); Wed, 05 May 2021 23:08:59 -0000 Date: Wed, 5 May 2021 18:08:59 -0500 From: Rob Herring To: "Peng Fan (OSS)" Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, p.zabel@pengutronix.de, l.stach@pengutronix.de, krzk@kernel.org, agx@sigxcpu.org, marex@denx.de, andrew.smirnov@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, ping.bai@nxp.com, frieder.schrempf@kontron.de, aford173@gmail.com, abel.vesa@nxp.com, Peng Fan Subject: Re: [PATCH V2 2/4] Documentation: bindings: clk: Add bindings for i.MX BLK_CTL Message-ID: <20210505230859.GA3010875@robh.at.kernel.org> References: <20210430052746.10815-1-peng.fan@oss.nxp.com> <20210430052746.10815-3-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210430052746.10815-3-peng.fan@oss.nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210505_160909_798605_85D21CA6 X-CRM114-Status: GOOD ( 19.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Apr 30, 2021 at 01:27:44PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > Document the i.MX BLK_CTL with its devicetree properties. > > Signed-off-by: Peng Fan > --- > .../bindings/soc/imx/fsl,imx-blk-ctl.yaml | 73 +++++++++++++++++++ > 1 file changed, 73 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,imx-blk-ctl.yaml > > diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,imx-blk-ctl.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,imx-blk-ctl.yaml > new file mode 100644 > index 000000000000..a491b63de50c > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/imx/fsl,imx-blk-ctl.yaml > @@ -0,0 +1,73 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/soc/imx/fsl,imx-blk-ctl.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: NXP i.MX BLK_CTL > + > +maintainers: > + - Peng Fan > + > +description: > + i.MX BLK_CTL is a conglomerate of different GPRs that are > + dedicated to a specific subsystem. It usually contains > + clocks and resets amongst other things. Here we take the clocks > + and resets as virtual PDs, the reason we could not take it as > + clock provider is there is A/B lock issue between power domain > + and clock. > + > +properties: > + compatible: > + items: > + - enum: > + - fsl,imx8mm-dispmix-blk-ctl > + - fsl,imx8mm-vpumix-blk-ctl > + - const: syscon > + > + reg: > + maxItems: 1 > + > + "#power-domain-cells": > + const: 1 > + > + power-domains: > + minItems: 1 > + maxItems: 32 > + > + power-domain-names: > + minItems: 1 > + maxItems: 32 Please describe why there's a range and we don't enumerate each entry. > + > + '#reset-cells': > + const: 1 > + > + clocks: > + minItems: 1 > + maxItems: 32 > + > + clock-names: > + minItems: 1 > + maxItems: 32 > + > +required: > + - compatible > + - reg > + - power-domains > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + dispmix_blk_ctl: blk-ctl@32e28000 { > + compatible = "fsl,imx8mm-dispmix-blk-ctl", "syscon"; > + reg = <0x32e28000 0x100>; > + #power-domain-cells = <1>; > + power-domains = <&pgc_dispmix>, <&pgc_mipi>; > + power-domain-names = "dispmix", "mipi"; > + clocks = <&clk IMX8MM_CLK_DISP_ROOT>, <&clk IMX8MM_CLK_DISP_AXI_ROOT>, > + <&clk IMX8MM_CLK_DISP_APB_ROOT>; > + clock-names = "disp", "axi", "apb"; > + }; > -- > 2.30.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel