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 D8950C27C79 for ; Mon, 17 Jun 2024 14:42:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=/Tb9ql9Key2zaR+IQJeo7On9ydITOd8hoL6sLepVlgY=; b=zHuOXsNuO5nsSXSLGNQIfhbUJM r/qvCvSnO7w21+KIM1iywG2TXMRvol23anfn9Z4NgQ1nobtT4/YsblAQiFee9Eh5AppeD2+fi1a4A x3VE/Fy4HtlURDedlx1XknNnRWuk5izg4a3oBXK+bmK0qgg40FiJGn3w/V03yIsbeBSJ1/wD9I29J WOUDMdr4uq2ptrgToFnhxvIboR2AnCzWnMVn5NYNaJ/ZPgVY32yzRQfB+U45maKLeIRn52q9fTKXn nCV17Ogr+b4+Yr3zSliXacZtdohnOW4uiGlBMGejVdfyl6TF2AqHHSyJuYEXGnNzZKai2Rgf/qVyJ NV/ZLkSA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJDYS-0000000BEbX-3zi2; Mon, 17 Jun 2024 14:41:56 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJDYQ-0000000BEa7-0NN2 for linux-arm-kernel@lists.infradead.org; Mon, 17 Jun 2024 14:41:55 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1f70509b811so30998565ad.1 for ; Mon, 17 Jun 2024 07:41:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718635309; x=1719240109; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=/Tb9ql9Key2zaR+IQJeo7On9ydITOd8hoL6sLepVlgY=; b=eH2Mz8gsINJteCvRoGONJA968VNHPcgAqsSq4Zli1tVTxiF+54n5w0HnZBwvvyyR7r as3P8LxZPX76w2BfMcU8YTcHUHn/500PLoBKeResNlxboOB0FJphcvQg/eYMrZ2ceFBC S3BAaW8oMI1f037CQ1WVMcd2MYLRfsgQ2yqZXrjxCBZQNeyI+I/+THzsPlc1nV72wpca vGnkaVns3zhzxIMBHGx4+lTv2KRBhWwo23meXKncgDfrfytQovaoc+ntsbB/K3nHI7/6 AJUViI+gDxGnq42ypyYnXMW5zf5tE76LQxkyGQrMTfo4wldGkcnvCmtJ3/mq+ftq3q2w JMig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718635309; x=1719240109; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/Tb9ql9Key2zaR+IQJeo7On9ydITOd8hoL6sLepVlgY=; b=PQJ8DrUU7KXXJaPiKDFD7+yPvK++XdcaH9qeQSTYJ33HOs4pSLqePyWWPZjGHazXaA P5PBj2qnXPHX1BheJCWLWSMYYIM+KFfARVi21DsGmm0zN4JKJl+PwtvLhMzHQmiNt7gv loU8vOY6iR+rAutZXWrqCiWIiKKVchOmTujTW+dSBZkAzL75/YnKVRKBEsgpckaIqvOl Xg8hLogRdYvhrzBoDe71r/yq3zPyvtH2N6LDxLgaF033JSWS/eHMu2HIRx92xb/YIsAg 0L4zEGe7HUqHuxeFJd174Er2iS2AO77yqvIcL3kfDH0RQWR9OItbIyUi2iY5kNjpbL84 lYCA== X-Forwarded-Encrypted: i=1; AJvYcCVwCJPJ6+z1wWQp/8OX1cv/1ZT5z1mEbE48E25kgyXZ98ho1MOXYxhcPVJqI+LYErVjRvtLFFYsf2STyGXgzzKnrBlSOhu1K8Nl36hI7ocX2LxPoQ4= X-Gm-Message-State: AOJu0YzlUEq7umciZV04lkNc7CXrA2TX7CnFfu8LAc9LhNjHhnyOHYsz 4UPd2QE0+k8CPZc4MuynP6GeuZqon/3UhDFyYPQ6YX5I8qv0s8fFYlyyeYFa0Vo= X-Google-Smtp-Source: AGHT+IEmf39oVNc/A1nD73Ny6p2Cl2YYugmm0/bVmzsrkdWLmqjObFWN5+zXKksSeTd5xGX4xozfzg== X-Received: by 2002:a17:902:6508:b0:1f7:21e2:6d9b with SMTP id d9443c01a7336-1f8625d4880mr92934795ad.24.1718635309309; Mon, 17 Jun 2024 07:41:49 -0700 (PDT) Received: from p14s ([2604:3d09:148c:c800:e681:7328:24ae:62a]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f855f53e80sm79448555ad.297.2024.06.17.07.41.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jun 2024 07:41:48 -0700 (PDT) Date: Mon, 17 Jun 2024 08:41:45 -0600 From: Mathieu Poirier To: Frank Li Cc: krzk@kernel.org, andersson@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, festevam@gmail.com, imx@lists.linux.dev, kernel@pengutronix.de, krzk+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, peng.fan@nxp.com, robh@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org Subject: Re: [PATCH v3 1/1] dt-bindings: remoteproc: imx_rproc: add minItems for power-domain Message-ID: References: <20240610151721.274424-1-Frank.Li@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240610151721.274424-1-Frank.Li@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240617_074154_389568_10FF0F39 X-CRM114-Status: GOOD ( 16.25 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jun 10, 2024 at 11:17:21AM -0400, Frank Li wrote: > "fsl,imx8qxp-cm4" and "fsl,imx8qm-cm4" need minimum 2 power domains. Other > platform doesn't require 'power-domain'. > > Signed-off-by: Frank Li > --- > > Notes: > Change from v2 to v3 > - only imx8qxp and imx8qm need power-domain, other platform don't need it. > - update commit message. > > Change from v1 to v2 > - set minitem to 2 at top > - Add imx8qm compatible string also > - use not logic to handle difference compatible string restriction > - update commit message. > > pass dt_binding_check. > > make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j8 dt_binding_check DT_SCHEMA_FILES=fsl,imx-rproc.yaml > SCHEMA Documentation/devicetree/bindings/processed-schema.json > CHKDT Documentation/devicetree/bindings > LINT Documentation/devicetree/bindings > DTEX Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.example.dts > DTC_CHK Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.example.dtb > > .../bindings/remoteproc/fsl,imx-rproc.yaml | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > Applied. Thanks, Mathieu > diff --git a/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml b/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml > index df36e29d974ca..57d75acb0b5e5 100644 > --- a/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml > +++ b/Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml > @@ -59,6 +59,7 @@ properties: > maxItems: 32 > > power-domains: > + minItems: 2 > maxItems: 8 > > fsl,auto-boot: > @@ -99,6 +100,20 @@ allOf: > properties: > fsl,iomuxc-gpr: false > > + - if: > + properties: > + compatible: > + contains: > + enum: > + - fsl,imx8qxp-cm4 > + - fsl,imx8qm-cm4 > + then: > + required: > + - power-domains > + else: > + properties: > + power-domains: false > + > additionalProperties: false > > examples: > -- > 2.34.1 >