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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 60EB0C43334 for ; Mon, 18 Jul 2022 18:02:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=ZWn/YqCjb0HWRoYmwUNBhtjrv7nBCQ0mPrbZmrvWbwE=; b=4FWX4GwMOlSIpP ena62AyZKeJO1mu6UKrv8OK4qEE18LahbMyRMl4EhxrT5Vw55far15kquKiCO99OQCDvLgdfPhBnv ytJ9CJq21QObIjHkS2ZKZgNDPIkqgGSQgoJK8XG87stTNllDxzyWGFXiwzEuUoa2rWWcGWRQk6v8o 6Nh2cqj2lofsnfEqy5hPigqpYTC0U1TvrysarRBxQcrc3RA2Qz/lAQrWoKxLzNMjwIqoBBkT7H8dp rBH+Ri81jQGpwe/LQTdWsNeNXcTE+FHWOAp9HEv0f6IbjXTb4W5QOs+iItx7qNPUtzjjaUwlFMxCP R7vSssrRizS2ENzDg0XQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDV3U-00HPsk-Ua; Mon, 18 Jul 2022 18:01:17 +0000 Received: from mail-il1-f182.google.com ([209.85.166.182]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oDV3R-00HPpv-9g for linux-arm-kernel@lists.infradead.org; Mon, 18 Jul 2022 18:01:15 +0000 Received: by mail-il1-f182.google.com with SMTP id d4so6408848ilc.8 for ; Mon, 18 Jul 2022 11:01:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=uS29A5GywhhRm1GOXwYgUkVzR90Fyd06++Qd6OafhZM=; b=VO9/QHpVXC77W1crbirrXsqlo5GS1mtrpQyAe1YhjTx3ZxouxXTNRcG79K2yHwvDnV vg53Rup5Ue7PjRkuLhJE8ge4OetLUXzvu9G5nJt9SorawjoaHjBzI3U7qGRLlHC8VCQO IrKotvG7r39v+/vRjyG51tnF2arJ44wyxC82O3HbqU5/JOMfY9rB2apqj+jwNQ0kkEZP szTFuzfBTnzzMhLtVVT83xDzEQqq8UGnlP2NXSVXT7FfKZi8AuWY3n/HWToK/fIG/VHl 7hH/YSFqJtgC6+w2HDtFNX6cxGKV6gEguoCH1lPzP/BolUAYVOXQCjT5kz02bxUcZ7sk Z/vg== X-Gm-Message-State: AJIora/MiGCgTiIMEvvRifzbSgyUkQ2tTyUaFt1C2hmOPFdqSvAyOqvT Xz5KZ0xASOCGMnoIPLnyfA== X-Google-Smtp-Source: AGRyM1u+uKqc9RR5QfMfIwx5buK7kmtUs+A4/Vi0e5WWd1D/tghjxz71P0jeZ+6+ghwp/I2B0PHr8Q== X-Received: by 2002:a05:6e02:1445:b0:2dc:9f34:aa7c with SMTP id p5-20020a056e02144500b002dc9f34aa7cmr14129949ilo.80.1658167272187; Mon, 18 Jul 2022 11:01:12 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id z19-20020a05663822b300b0033cd78a3612sm5673526jas.18.2022.07.18.11.01.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Jul 2022 11:01:11 -0700 (PDT) Received: (nullmailer pid 3256839 invoked by uid 1000); Mon, 18 Jul 2022 18:01:10 -0000 Date: Mon, 18 Jul 2022 12:01:10 -0600 From: Rob Herring To: "Peng Fan (OSS)" Cc: krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, aisheng.dong@nxp.com, l.stach@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: Re: [PATCH V5 1/6] dt-bindings: soc: add i.MX93 SRC Message-ID: <20220718180110.GA3252763-robh@kernel.org> References: <20220711062452.3575032-1-peng.fan@oss.nxp.com> <20220711062452.3575032-2-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220711062452.3575032-2-peng.fan@oss.nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220718_110113_359743_557A0D6B X-CRM114-Status: GOOD ( 19.71 ) 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 Mon, Jul 11, 2022 at 02:24:47PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > Add bindings for i.MX93 System Reset Controller(SRC). SRC supports > resets and power gating for mixes. > > Signed-off-by: Peng Fan > --- > .../bindings/soc/imx/fsl,imx93-src.yaml | 95 +++++++++++++++++++ > 1 file changed, 95 insertions(+) > create mode 100644 Documentation/devicetree/bindings/soc/imx/fsl,imx93-src.yaml > > diff --git a/Documentation/devicetree/bindings/soc/imx/fsl,imx93-src.yaml b/Documentation/devicetree/bindings/soc/imx/fsl,imx93-src.yaml > new file mode 100644 > index 000000000000..5eb22c993d59 > --- /dev/null > +++ b/Documentation/devicetree/bindings/soc/imx/fsl,imx93-src.yaml > @@ -0,0 +1,95 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/soc/imx/fsl,imx93-src.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: NXP i.MX93 System Reset Controller > + > +maintainers: > + - Peng Fan > + > +description: | > + The System Reset Controller (SRC) is responsible for the generation of > + all the system reset signals and boot argument latching. > + > + Its main functions are as follows, > + - Deals with all global system reset sources from other modules, > + and generates global system reset. > + - Responsible for power gating of MIXs (Slices) and their memory > + low power control. > + > +properties: > + compatible: > + items: > + - const: fsl,imx93-src > + - const: syscon > + > + reg: > + maxItems: 1 > + > + ranges: true > + > + '#address-cells': > + const: 1 > + > + '#size-cells': > + const: 1 > + > +patternProperties: > + "power-domain@[0-9a-f]+$": > + $ref: /schemas/power/power-domain.yaml# No need to reference this as you have to define '#power-domain-cells' constraints anyways. > + > + type: object > + properties: > + compatible: > + items: > + - const: fsl,imx93-src-slice > + > + '#power-domain-cells': > + const: 0 > + > + reg: > + maxItems: 2 You need to define what each entry is. > + > + clocks: > + description: | > + A number of phandles to clocks that need to be enabled > + during domain power-up sequencing to ensure reset > + propagation into devices located inside this power domain. > + minItems: 1 > + maxItems: 5 > + > + required: > + - compatible > + - '#power-domain-cells' > + - reg > + > +required: > + - compatible > + - reg > + - ranges > + - '#address-cells' > + - '#size-cells' > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + system-controller@44460000 { > + compatible = "fsl,imx93-src", "syscon"; > + reg = <0x44460000 0x10000>; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges; > + > + mediamix: power-domain@0 { > + compatible = "fsl,imx93-src-slice"; > + reg = <0x44462400 0x400>, <0x44465800 0x400>; > + #power-domain-cells = <0>; > + clocks = <&clk IMX93_CLK_MEDIA_AXI>, > + <&clk IMX93_CLK_MEDIA_APB>; > + }; > + }; > -- > 2.25.1 > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel