Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1169628lqo; Fri, 17 May 2024 12:59:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUopmblI4KutDmSeK4OJek6Cv6kZ6qtlxuowpHu4JN3kot41d1yNQr8X1nA+w5ay1xjm/vxane5cBCHSlIqWK4JaV3r0jFaEKtorMwBOg== X-Google-Smtp-Source: AGHT+IGsM76AMu3UkGTBSt7cN+jI/Q/ZNHZPH31f9AP6/B3fxTfHkkPL0H2mGA7GOrxnIClqPmFm X-Received: by 2002:a54:4115:0:b0:3c9:73a2:6862 with SMTP id 5614622812f47-3c9970777bdmr22570238b6e.31.1715975992118; Fri, 17 May 2024 12:59:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715975992; cv=pass; d=google.com; s=arc-20160816; b=HQVqT6uwvOxBmsj8+u7SActS4NUCKqXXT6aW7mBmqJ+VPcIipdQY+m0KhnqupR83Tw /+syXRp3QFVONMKkLJXCmPFOZ1104qHCuEPRPFa2kbbXJB7WenWuBTxjdZoIGST97H/7 35oxZTqRRi/4gz2JaCfgeEHlPbUELuDaH74Om/49RT5DTH5gQEXoksQ2OnjnA/i8b2DQ EkO/c/9nOMrUkPLCJQWMJPNg+eOqCRCK4NrYqdjd+jrmlhIQYx2yVe5bBGS6DITHHfY6 6GJ+m4j0xhvaqvN6h7HZiRHbXDZrRvUQiB0aWyyicDjpubK0VIhbaZrpgTu8U4sC5Vos 6KWA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/73HEM4PtnfIX0huORAlK/16JQhjTUKZcVeNAyJB1/E=; fh=xynPwWr55XLE8aDEjizE13PDS/QgvRjRSL/wVfkbYag=; b=YAKrDrmAlM+tX9c8O9nQzuGiMRcIuxzzj4DZ6lRjcV+sGfl8m1EMZ6Dlp8iNc07BZL fxvjsYU0XU1QCECsDaJqtV0IdvXR4Sh0ghhib10yTotItdxySmmzo5goeILTscP4rJr/ u4tLavvVJ4OBFDQyd99jgLCv9+eA2T2TdlteXq3rnsAbSraWZjYHm8hjRWti5Wuy4hW6 xoWnuS0Ab2Sh8fq0asU8mnjJZ4UKkIDpBdDIwBlLoMk2lyKRqR0cIqAnI6VxKzE/u7X2 vlqQtVKy+/I+/iw2NUt4JDg9U9fl86xAM+FXDRr0IyB5vDPb09YcpBKmUS4lqUvbr/Kz iLhA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vCd8nWTr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-182600-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182600-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-7931b996d65si108053185a.510.2024.05.17.12.59.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 12:59:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182600-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vCd8nWTr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-182600-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182600-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id CE25C1C237D9 for ; Fri, 17 May 2024 19:59:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B323140E4D; Fri, 17 May 2024 19:59:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="vCd8nWTr" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 264C445007; Fri, 17 May 2024 19:59:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715975985; cv=none; b=sOARzCVkxCNPBM3N1Ow5irluScnjO6hZNqxIEhUCMNVZF1MZJIyDVztVOakXjzJ4VrZKSyW86M3e5Ff91Ql1N1/+y7AiJYYwJkkpo1eK67svx+/1ObaTAK9qQuC+UG3WXv39BT664kFKmTWvpY1IDig/i/tEgViKQvbt24ANsk4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715975985; c=relaxed/simple; bh=dYYtjZRFg1w3fItuQaPCJGU5QXhIg35KUK9e0MdEWpE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jxa21BKV1qXwzureoOEIsv9ojAM7Ay7c5FLQPFwct+qv+j1jyJn/b8xDecqV66bizNl/Q3edfW2pZ+/OfNyGH4E7DxMhSk8WcZM3modV5pu+LftpA+/leBUI0t/3TLZeHZD0G/UIZKv6NVkOAWhMSuarXN0Kq+hQ1k0rlx+E48o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=vCd8nWTr; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 707BDC2BD10; Fri, 17 May 2024 19:59:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715975984; bh=dYYtjZRFg1w3fItuQaPCJGU5QXhIg35KUK9e0MdEWpE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vCd8nWTrqP1F+FxyMtyqxSqIGrdlOE3jZE9tZ1LGythn4sC5NqUz+wJ8GuWmnS07k o1mt2HfxUPx2/+Psc31tEMwCL9JbR9kMgOppdvl1q0WnrBqD3mdvEf2lSUQjffdI1p nAUiCtDA2rQK7XHnun/A147wzBMDhRLi0SVHG6lMfid0XKCAyUcWd5cUUIFf4lyfCa GgN5QTmnFH0djiCEzmpzW/13H144vuiHcV0RqpMOe6uqhEsvCQl9j9Vw4YkMuAomjU Mh5gKa36JIlgU3PjY1kRurlXXQq9FxHpoTzIn3pw8MuzjkMJEubXOI6VsubL6ceW8I EcX1Rhh7jgTjw== Date: Fri, 17 May 2024 14:59:43 -0500 From: Rob Herring To: Laurentiu Mihalcea Cc: Krzysztof Kozlowski , Conor Dooley , Lee Jones , Shawn Guo , Philipp Zabel , Liu Ying , Sascha Hauer , laurentiu.mihalcea@nxp.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] dt-bindings: reset: add schema for imx8ulp SIM reset Message-ID: <20240517195943.GA2854624-robh@kernel.org> References: <20240516204031.171920-1-laurentiumihalcea111@gmail.com> <20240516204031.171920-2-laurentiumihalcea111@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240516204031.171920-2-laurentiumihalcea111@gmail.com> On Thu, May 16, 2024 at 11:40:28PM +0300, Laurentiu Mihalcea wrote: > From: Laurentiu Mihalcea > > Add schema for imx8ulp's SIM reset controller. > > Signed-off-by: Liu Ying > Signed-off-by: Laurentiu Mihalcea > --- > .../bindings/reset/nxp,imx8ulp-sim-reset.yaml | 43 +++++++++++++++++++ > 1 file changed, 43 insertions(+) > create mode 100644 Documentation/devicetree/bindings/reset/nxp,imx8ulp-sim-reset.yaml > > diff --git a/Documentation/devicetree/bindings/reset/nxp,imx8ulp-sim-reset.yaml b/Documentation/devicetree/bindings/reset/nxp,imx8ulp-sim-reset.yaml > new file mode 100644 > index 000000000000..ec9a5c73e83c > --- /dev/null > +++ b/Documentation/devicetree/bindings/reset/nxp,imx8ulp-sim-reset.yaml > @@ -0,0 +1,43 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/reset/nxp,imx8ulp-sim-reset.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: NXP i.MX8ULP System Integration Module Reset Controller > + > +maintainers: > + - Liu Ying > + > +description: | > + Some instances of i.MX8ULP's SIM may offer control over the > + reset of some components of a certain domain (e.g: AVD-SIM). > + As far as the DT is concerned, this means that the reset > + controller needs to be a child of the SIM node. > + > +properties: > + compatible: > + const: nxp,imx8ulp-avd-sim-reset > + > + '#reset-cells': > + const: 1 > + > +required: > + - compatible > + - '#reset-cells' > + > +additionalProperties: false > + > +examples: > + - | > + #include > + syscon@2da50000 { > + compatible = "nxp,imx8ulp-avd-sim", "syscon"; > + reg = <0x2da50000 0x38>; > + clocks = <&pcc5 IMX8ULP_CLK_AVD_SIM>; > + > + reset-controller { > + compatible = "nxp,imx8ulp-avd-sim-reset"; > + #reset-cells = <1>; > + }; > + }; Why do you need a child node here? No DT resources or anything for this 'sub-block'. Just put "#reset-cells" in the parent node. (Note that examples for MFDs like this go in the MFD binding rather than having incomplete examples here.) Rob