Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp3107445lqt; Tue, 23 Apr 2024 10:25:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXeWbfIM/1A33vRL9PUPChG8Sl+H8ps5InmQ/i2DR8jeDZ3xW08tIqKHUA02ErfbAALRcUqOfJHPQKi8sGo7sy2q0XCldo5glvoVn/caA== X-Google-Smtp-Source: AGHT+IHdrp0GmABuZj+neMURxSINneVlBLiis4dFclinRpsGq/i3UnS2seXQ879czbEBaPQrMAfu X-Received: by 2002:a17:906:18ea:b0:a55:5ff4:ff4f with SMTP id e10-20020a17090618ea00b00a555ff4ff4fmr11666693ejf.71.1713893159076; Tue, 23 Apr 2024 10:25:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713893159; cv=pass; d=google.com; s=arc-20160816; b=Gva9qLBCRX0ZkAabiLiym+peotJpLbNmHOifgKPJkYl/fZnMVHHeWbqNSGRGvDpV5D fGnTQmBbP2QcJ14P7Y9Yuem95MVWaL5++Tw6Gx00SE5MvRneWN/LNfQHMY5gL2BCUF1g 0CiR5dHmwYNF1KF8ygOj4vbG1nbORR62b7ZL7S/EM2U0b7EtzvHIWamgi+NxGty16KSi g0+SFGhDfJIjpSyq6FId22TstQJFut3wyxvw2wM5fwf1kSTxWvGKE9iduo+bLrCcXlGK 0/B6YI+OzVYGVO31FQx9uB6LmZZbe5bhk4KW0D/pwphw424WBk1WwY3zp9JYv/ntZ0r8 EyYw== 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=Ftis9stJ7Jxt8iiMmZXh7rlA2FZ5x4hxPHpMFXLdmpg=; fh=q0nYxk6LXOpsxMqeozh8b4dn0wszb38mpaLm2BCxwCE=; b=wem98xBxCfPPZFApkBsR2UcaNVqg40UeJKBfuOX6pKzCoKgTUhDfOxkD4KGZv+F1NL /rW2XU5zeLFlGCrm6v5mQS+HcbFcCNj0hRn53xu93n8sf4vW208cr2D6bzj2R5x1dH24 +AsOuQzco2dNTXx9tgUk12IWqBs8sY1uWzsWKh6peEQmDdIZA/ZfgMQJE8Bn6mmMSxI3 iWaPvF9Qp/uXaJkmlbswkffr1X9VzuPt4MZvJo/M+YEQRLtN1RvSBYE+uA4PBU3zyFzY 9mzm5BF3Lv+ZQ62jAvfqs+ullm8gGI5SOAU1ojGvYb6pE94f/kpHzwIZBekHm3/cDx9O zkuQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eriDnqXZ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-155673-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155673-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 r14-20020a17090638ce00b00a52393fe590si7241765ejd.987.2024.04.23.10.25.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 10:25:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155673-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=eriDnqXZ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-155673-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155673-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 BA0B21F24D42 for ; Tue, 23 Apr 2024 17:25:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E504013DDD4; Tue, 23 Apr 2024 17:25:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eriDnqXZ" 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 149631BC23; Tue, 23 Apr 2024 17:25:49 +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=1713893150; cv=none; b=sbH1EXQYkfX+imaJaIVDeQ0qR7YaqGwXJV4My2vcGraBf/ozLFsTtWYQP1Mtl0BgJBwOp5/pji7Y/LG0N1dCEWamOatguKeI1FTcPW2H7GI7wdOZYC4CXd+FbQYdFryN0lFoHFIfzVkg5PeC6v8O3beJsvg1Pjjhfb0kPq7hs8c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713893150; c=relaxed/simple; bh=EF0yWbo4WiBBXL3dWcr/3LxSe7IVVaPwqZJ7quETboE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EPs1ahVFSfG3+SLcCFGBRntOmsWJh5D7BPsLaNsoD+m9iG1GCljMqHStXu/QTuXe83vmmlyi7RzIHWPeYFrqkTd2J1wvqU/RAOZ7dYlxt9jm/DOWhXZV0l2ofo+IAiHNPB1e+vCg+/kCcvVCAur5C6b+HwW9H9nTmYN9KcLCJJI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eriDnqXZ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B53C6C116B1; Tue, 23 Apr 2024 17:25:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713893149; bh=EF0yWbo4WiBBXL3dWcr/3LxSe7IVVaPwqZJ7quETboE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eriDnqXZpCfZ/tEJjVYj+Mi1ZFtRE8gkBeAFG7sQwG+MyCOGb26QxwnIWDjtIxSuL eWD4zJIlg98rxtB4aSKISfMwFYtn1Yoz7MTxlYGS81d5R17xJ/WOdE+X08H6fTUckD 2JxQ2HX8smMXFv1PQxGkIwf7QzNbjraBax7+D2wspeatpDd/KV7x6gTSLnw7ZhszU4 /4Ywx3F2pAsPJFU1L/TrjvXaWrHPpJ0U1X0urJTub+MMclR7UO0PlppV48orMA8y2X w4Ql5MOo+RHBMILQesT3Bo3jpFkE8AGk0+YV50PsfIAEnts7R812U0QjgRtQrWD0XP b0FvfdVARr63Q== Date: Tue, 23 Apr 2024 18:25:45 +0100 From: Conor Dooley To: Alexander Stein Cc: Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Lucas Stach , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, imx@lists.linux.dev Subject: Re: [PATCH v3 1/1] dt-bindings: interrupt-controller: fsl, irqsteer: Add imx8qxp support Message-ID: <20240423-velocity-italicize-c4f1f22c2ef4@spud> References: <20240422064949.70778-1-alexander.stein@ew.tq-group.com> <20240422-channel-emission-d485dee6ae48@spud> <6041240.lOV4Wx5bFT@steina-w> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="eGhzn0VEzH+sEQMJ" Content-Disposition: inline In-Reply-To: <6041240.lOV4Wx5bFT@steina-w> --eGhzn0VEzH+sEQMJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 23, 2024 at 08:26:55AM +0200, Alexander Stein wrote: > Hi Conor, >=20 > cc'ed imx@lists.linux.dev >=20 > Am Montag, 22. April 2024, 17:48:20 CEST schrieb Conor Dooley: > > On Mon, Apr 22, 2024 at 08:49:49AM +0200, Alexander Stein wrote: > > > Some SoC like i.MX8QXP use a power-domain for this IP. Add a SoC-spec= ific > > > compatible, which also requires a power-domain. > > >=20 > > > Signed-off-by: Alexander Stein > > > --- > > > Thanks for the feedback. > > >=20 > > > Changes in v3: > > > * Move 'allOf' before 'additionalProperties' > > > * Remove superfluous 'minItems: 1' > > >=20 > > > .../interrupt-controller/fsl,irqsteer.yaml | 17 +++++++++++++++= +- > > > 1 file changed, 16 insertions(+), 1 deletion(-) > > >=20 > > > diff --git a/Documentation/devicetree/bindings/interrupt-controller/f= sl,irqsteer.yaml b/Documentation/devicetree/bindings/interrupt-controller/f= sl,irqsteer.yaml > > > index 20ad4ad82ad64..3d33b75d6ecfa 100644 > > > --- a/Documentation/devicetree/bindings/interrupt-controller/fsl,irqs= teer.yaml > > > +++ b/Documentation/devicetree/bindings/interrupt-controller/fsl,irqs= teer.yaml > > > @@ -14,7 +14,9 @@ properties: > > > oneOf: > > > - const: fsl,imx-irqsteer > > > - items: > > > - - const: fsl,imx8m-irqsteer > > > + - enum: > > > + - fsl,imx8m-irqsteer > > > + - fsl,imx8qxp-irqsteer > > > - const: fsl,imx-irqsteer > > > =20 > > > reg: > > > @@ -42,6 +44,9 @@ properties: > > > clock-names: > > > const: ipg > > > =20 > > > + power-domains: > > > + maxItems: 1 > > > + > > > interrupt-controller: true > > > =20 > > > "#interrupt-cells": > > > @@ -70,6 +75,16 @@ required: > > > - fsl,channel > > > - fsl,num-irqs > > > =20 > > > +allOf: > > > + - if: > > > + properties: > > > + compatible: > > > + contains: > > > + const: fsl,imx8qxp-irqsteer > > > + then: > > > + required: > > > + - power-domains > >=20 > > Provided the power domains are optional on the existing platforms, > > Acked-by: Conor Dooley > > otherwise, > > else: > > properties: > > power-domains: false >=20 > A power-domain is used on imx8mp, but imx8mq does not. So then make the contains be an enum with both of the one supporting it & add the else please. --eGhzn0VEzH+sEQMJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZifvGQAKCRB4tDGHoIJi 0tskAP48o/+s5lq1jpc+7TE1+8Thqvqyi8lpX4xp9HbEQYDoeAD/aucpundN/HbF FwX9e75oP9cKObcaPj16TtFGFHbq8ww= =RUuj -----END PGP SIGNATURE----- --eGhzn0VEzH+sEQMJ--