Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2281060rdb; Wed, 21 Feb 2024 02:49:52 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX5d+/Da7loxl2jNkG6+9R3XN2qi0L69UTq+bLECSVtV8ib0r7kBwQe/LNRaOUUhGzWu3+QFGRCQf5DIj0fqn0buP2pkLxM6yXY4IXiwQ== X-Google-Smtp-Source: AGHT+IHpRzYwM2D33yrQuUboP99XzZrFkMJwBYoMG9/q5Uw0V9kBkb/uEDKVO0aaBP68GbDKO8EM X-Received: by 2002:a17:906:7159:b0:a3e:980c:699d with SMTP id z25-20020a170906715900b00a3e980c699dmr8133231ejj.57.1708512592023; Wed, 21 Feb 2024 02:49:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708512592; cv=pass; d=google.com; s=arc-20160816; b=VOV1BX3oN6c96DlEq9nnMXZmQeu8uY5mZ9yB+sSZ6b5g61SRMbLsYDJ9J7t7KacJri cQQRF1BQ06a2bfXLfxTppL6+QLXcOcp7PcfSsC2f6Rk5BmEYTymHaHb6hGiVKxhymPVr KQSKfw4FiVx33bUDF4P4aNPwTHZDxRzDcJS5EjrEqFGIxncx2WuczVQGMTdeHD63qBnE QFe36oXeO9bWum6DPS1F3ne/0lh4N3CulB9Oon7BXHqrLOX/D7ayg4o4/G2Lif1yjU2c GcbGu8NX/WQkLvOKviay2mPlrRExAdqdl8zESdtg0gxyTm4k92yYOlzOGrCMXmOSTh6F Ygeg== 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=9LQvMK/gVVY8L4LgiqravpMgGS5jPD6irN9UDSWYdiM=; fh=Rv+gNoZbuBj8qFPm+PcpsmmU6v03UaaTKs88I7D5gm8=; b=fLWSSm5ncOVoZ45G/vpJkIDKjA7I6X4SqlGBIisRDWFUkO1tg7TdSnnNLL2sWZ9+iP 2yYstfMZaJDpeMZSznXpjSRFUwTbkgc++nvJS2zOqVY6fSMPc3PJ9LlUYBWvClV9G9O6 OhkEaP/QtxwwBrnSfjzOhc94wvuV9FkfHKH2YfZzc9vlDWAa6LGE+yz2CqAJ8N17Xw53 jzDN7Oj4krEOjQidZuaWCM6cygUii7ocqs/ADNhhAL4IPOe0jbvqXSsrbEiVlJ/cTJmG Dxwkx5yfWCglCC/Wt115boKxRK3NM2lJ1qjTfKrfH+5TNTGM1W0FLwam15+Eiy7c8xs8 M7qA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="OYsFWyE/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-74564-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74564-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id e25-20020a170906081900b00a3e4f31f890si3539428ejd.696.2024.02.21.02.49.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 02:49:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74564-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="OYsFWyE/"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-74564-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74564-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 am.mirrors.kernel.org (Postfix) with ESMTPS id C34011F2418B for ; Wed, 21 Feb 2024 10:49:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E30423E481; Wed, 21 Feb 2024 10:49:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OYsFWyE/" 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 08B413DB8C; Wed, 21 Feb 2024 10:49:35 +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=1708512576; cv=none; b=o8qMdGpomAuHCeWw7wvq7hsbz25YUPaDHdHI+N8CX8G65KRifHq4cLD9/xTR83QIlnOi6cMQfGPdCZr5U7eXLtyVQoOggVAQ+NEkf56tYvHGGdDRRiNkDdzNgnIoHDsQdv+EQ1Te7IwaIppVoGYXIje+o2zlQmVt0PZzDSEHiFY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708512576; c=relaxed/simple; bh=arxOax1Fal/10bdeaxUbFAhv0i0ETEjU7HQwbaIn75g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TqVKbwCtgFtz/g+2yFKPkGri/StPjoJDqe7qf3j4GEyeg5dyff0K0wF1fxTNjpoGcQEaDP6xT8sX8zhyBazHmKwdnVRTJtCNDi8dh4QxVe48zhaNbL1kUz8ptECqTx2EFNHuJVuQ6Qr6MZaKGebskU/gaSnktehrk2AviwRFmMQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OYsFWyE/; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89CD3C43390; Wed, 21 Feb 2024 10:49:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708512575; bh=arxOax1Fal/10bdeaxUbFAhv0i0ETEjU7HQwbaIn75g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OYsFWyE/axhIQyem8BlEb5Ux6m0afNO6l13t/w6dbXBZgrmIJqP9sVdkEdmxr4B0U avzMjmA1I49P+Bpx3W+kUjbSUdRo5iZG79GKt9wN6PZ9D7g44BTG1tVu6lBMGqgP/g r/cup2peMrEjBECspg5qHvQNbViQ7EgesHMR39ONcLFExoMUsZ65ZeLAAnVpbcVUSh ZOysjfBS4YmYCkGJalQnzgDnxLlJ88OjTB4ub9w9NYCEBG45erbSvQJ/r7pvNj/s5+ qbYMLvcrR++Ytd5md6atdT0c903u1FXjCbl8tymwS1+dI3205R2la9I4XhlGFgBL7G M8abO1W7lgXsw== Date: Wed, 21 Feb 2024 11:49:27 +0100 From: Lorenzo Pieralisi To: Frank Li Cc: bhelgaas@google.com, cassel@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org, festevam@gmail.com, helgaas@kernel.org, hongxing.zhu@nxp.com, imx@lists.linux.dev, kernel@pengutronix.de, krzysztof.kozlowski+dt@linaro.org, krzysztof.kozlowski@linaro.org, kw@linux.com, l.stach@pengutronix.de, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, manivannan.sadhasivam@linaro.org, robh@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org Subject: Re: [PATCH v11 07/14] dt-bindings: imx6q-pcie: Clean up irrationality clocks check Message-ID: References: <20240220161924.3871774-1-Frank.Li@nxp.com> <20240220161924.3871774-8-Frank.Li@nxp.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: <20240220161924.3871774-8-Frank.Li@nxp.com> Irrationality ? I think you mean "duplicate" or "redundant" ? Lorenzo On Tue, Feb 20, 2024 at 11:19:17AM -0500, Frank Li wrote: > The bindings referencing this file already define these constraints for > each of the variants, so the if not: then: is redundant. > > Acked-by: Rob Herring > Acked-by: Manivannan Sadhasivam > Signed-off-by: Frank Li > --- > > Notes: > Change from v7 to v8 > - add Manivannan Sadhasiva's Ack tag > Change from v6 to v7 > - rewrite git commit message by using simple words > Change from v5 to v6 > - rewrite git commit message and explain why remove it safely. > - Add Rob's Ack > Change from v1 to v4 > - new patch at v4 > > .../bindings/pci/fsl,imx6q-pcie-common.yaml | 16 ---------------- > 1 file changed, 16 deletions(-) > > diff --git a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-common.yaml b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-common.yaml > index d91b639ae7ae7..0c50487a3866d 100644 > --- a/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-common.yaml > +++ b/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-common.yaml > @@ -150,22 +150,6 @@ allOf: > - {} > - const: pcie_phy > - const: pcie_aux > - - if: > - properties: > - compatible: > - not: > - contains: > - enum: > - - fsl,imx6sx-pcie > - - fsl,imx8mq-pcie > - - fsl,imx6sx-pcie-ep > - - fsl,imx8mq-pcie-ep > - then: > - properties: > - clocks: > - maxItems: 3 > - clock-names: > - maxItems: 3 > > - if: > properties: > -- > 2.34.1 >