Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp536406pxj; Fri, 7 May 2021 14:18:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdFIWO2gBS9L8QkWp6O+UqmZYB28Ha7s0CiXiHsQ1MI4rO/jAvOyAFd+MdizHQywN67GNd X-Received: by 2002:a62:1c0f:0:b029:25f:ba3c:9cc0 with SMTP id c15-20020a621c0f0000b029025fba3c9cc0mr11940906pfc.56.1620422287171; Fri, 07 May 2021 14:18:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620422287; cv=none; d=google.com; s=arc-20160816; b=g8Qb6/OOhr6ftMPpJ90y1r1qDqRVTSg5Me9GAFKE7i9kdji2Av281bFBYUn5zFeJmA u6lvKK3cSgsIIf0MtYlz3hw1HJvcPVVtD8iekPAixGH6njNtkEy0kptqQ44Z1NzTZjdy e1l2CFfRrHA0BaPgnYasi+pNZhh4pXJWJm+H/j7znEzwVHov3pvrWPVxRI9aQYX1qSPe 3pR65f1r1wxm44VtxkGI8tjwUM0atGfe1tWQZ5f7qYf5wy7bnxfzYBPJbqFSG2qa1i9S SQ6P2Xz3nD+1fqNHOhErkB6RzXXOhesn3bjTxbJoLcd1t7FwIiz8RHnH4DclLG5yozMV qnTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=/5D7ZT5Lu0YStgy8faRmpqxBSv65B/x5VGdmWREBghE=; b=xZtIXJQK6se/tODPJ95rfEtTH9v0eue2Uv2GyNbWtRotG/A4IhqSc0q+cMM8ZgEauK gRNsYkFBfDCAGS5i2VpOo4ZJWewFeM5XF55kE+iGpme6vCgk70Cqwt6OCT62GvuID6fC /otKPElQsh2nMHTq8nOy3FU14vq8iPfJUaOyjcWv7B5C6f/34eg95nD3xyD7qk1aNbHt LI82hoRrIZKXNHYn7X+hESTOkrE0Lq9skUoSuf+J4uub/R0AMzBrltsRwFlVCG/wnN0j 2PUkj6/WOeXhkWi56X8bUCrHX5y1MzxNCq6N0ysuMoortYA9ZwLtOW7vGJMGPXdm88Tk yn/Q== 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 ce15si18226746pjb.76.2021.05.07.14.17.54; Fri, 07 May 2021 14:18:07 -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 S229696AbhEGVRY (ORCPT + 99 others); Fri, 7 May 2021 17:17:24 -0400 Received: from mail-ot1-f44.google.com ([209.85.210.44]:38826 "EHLO mail-ot1-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbhEGVRX (ORCPT ); Fri, 7 May 2021 17:17:23 -0400 Received: by mail-ot1-f44.google.com with SMTP id q7-20020a9d57870000b02902a5c2bd8c17so9098270oth.5; Fri, 07 May 2021 14:16:22 -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=/5D7ZT5Lu0YStgy8faRmpqxBSv65B/x5VGdmWREBghE=; b=PX9giO3KOMvodoyTZJBTwy5fgJhkr03NIzfb70FKLmGVNlox8WnopeZ4mT+uJFKlnO 8+g7O0Enl2bqafT9oZx8aW4V5O10uCyBILj1OVAnPdkCEZb32pAHnMes3luuWopuobuJ 76HuWdwAm05mt/b2plx5QkTOvnoztCrttsky0wQ7YcGc1lZ4iulbqwYfJqkWBRYHzLPH bxGjRG8S45qw7TfhFlKl/m1ZsK0j3euLa/hp6nvALRQbOGKx6BhmwQXiE/2TtoKlfBE2 b4DVj3VBa1EOv7CG5pZvvLjIX3zEAhyG63U9V/ii79Bl6PgbqRVMo9646Z5Iv1BN+4dz 9Zqg== X-Gm-Message-State: AOAM531EgepdV2KbUzTYkDVR0pwJxBC6IJemK8uBtqs2ER7vVi+H5zFj TOOBuoljRbH3QJDyOSBzaw== X-Received: by 2002:a9d:728b:: with SMTP id t11mr5710529otj.230.1620422182286; Fri, 07 May 2021 14:16:22 -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 s85sm1312704oos.4.2021.05.07.14.16.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 May 2021 14:16:21 -0700 (PDT) Received: (nullmailer pid 2900641 invoked by uid 1000); Fri, 07 May 2021 21:16:19 -0000 Date: Fri, 7 May 2021 16:16:19 -0500 From: Rob Herring To: Frieder Schrempf Cc: "Peng Fan (OSS)" , 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, aford173@gmail.com, abel.vesa@nxp.com, Peng Fan Subject: Re: [PATCH V2 08/13] dt-bindings: imx: gpcv2: add support for optional resets Message-ID: <20210507211619.GA2899069@robh.at.kernel.org> References: <20210506010440.7016-1-peng.fan@oss.nxp.com> <20210506010440.7016-9-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 06, 2021 at 08:43:17AM +0200, Frieder Schrempf wrote: > On 06.05.21 03:04, Peng Fan (OSS) wrote: > > From: Lucas Stach > > > > For some domains the resets of the devices in the domain are not > > automatically triggered. Add an optional resets property to allow > > the GPC driver to trigger those resets explicitly. > > > > The resets belong to devices located inside the power domain, > > which need to be held in reset across the power-up sequence. So we > > have no means to specify what each reset is in a generic power-domain > > binding. Same situation as with the clocks in this binding actually. > > My understanding was that Rob wanted this explanation to be contained in the binding docs itself and not only in the commit message, but I might be wrong. Yes, that would be better. > > > > > Signed-off-by: Lucas Stach > > Signed-off-by: Peng Fan > > --- > > Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml | 7 +++++++ > > 1 file changed, 7 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml b/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml > > index a96e6dbf1858..4330c73a2c30 100644 > > --- a/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml > > +++ b/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.yaml > > @@ -66,6 +66,13 @@ properties: > > > > power-supply: true > > > > + resets: > > + description: | > > + A number of phandles to resets that need to be asserted during > > + power-up sequencing of the domain. > > + minItems: 1 > > + maxItems: 4 > > + > > required: > > - '#power-domain-cells' > > - reg > >