Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp11449021rwd; Thu, 22 Jun 2023 13:28:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ44G8e+MavBRXpX5/9tln+GY2UeQio/qnl5VOwc+amFEPDeK0SfXTQ8UgKoxDlpGzawDgCJ X-Received: by 2002:a05:6358:c102:b0:132:8351:84b8 with SMTP id fh2-20020a056358c10200b00132835184b8mr4375914rwb.14.1687465734000; Thu, 22 Jun 2023 13:28:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687465733; cv=none; d=google.com; s=arc-20160816; b=zqj+7314LnlQMu5AEx+uHT5KDRMXwO2unLeCDzbrk8wiv13zzzN86ywq7lB+vsiOW/ D2Lq5IdW6bv55SrSvNb5n257Kk1EQisqZBKwouSSvZ2p7ElxcbKPgW1eS6CKErnfDcta WxJ1bWK45MRWBLECm9jLmEvVFWioj2PQ6G/CquAJ0gR8D1pAP/90kue7MNGVMbxvF3ZI MdxtJSZwlbzTSVGBF9g/UsLTdaPKLluTKLUXXlUQ8n+l5F04XUH7ZeibSMZizIRF+pCR /pxgmHtvLAGEJr8NIxR4VL6O1O7F0RmF7W2ETHHn0tHlksBRtNxr1mq4iWZwCGEHV8YF JzKw== 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:dkim-signature; bh=No/DoEYOtGOGePWZcXCPXyYuL5rooA9sjQelQB6of/M=; b=oWItmX7SHYNUlrvac1VCogY87FClX1cFk+Y8kTMkJ+TK4umuyE2xDk3cuMSjoBu6WL xXLLXPmyYkUUafKpI/EHF0z3cFoTkdrBamRFEHzOGcAxJxydr8NX+y2mPsKsLzoPdP/+ zbtdY8bNxu7HOX8WkhziAOIAXvnblJDZ3KCdqK0furaJSvyiMyditke0WzSSzuZNbaJu +XMJv7hJRNcCra0IxilgePjDux47U2HkJ0+SDJawhe0ZyZPGyFLGtdSSqz77wxcxlGrN BKWTaWsuTeh3yZJuvLiCAc53SHt0gqtg5y53/nrpZFbfPQEFk8f38e9EfsK7DX2DeNu5 zWAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YrnHEgTe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p27-20020a63741b000000b0054f78775084si6958077pgc.125.2023.06.22.13.28.41; Thu, 22 Jun 2023 13:28:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YrnHEgTe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231329AbjFVTPB (ORCPT + 99 others); Thu, 22 Jun 2023 15:15:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229549AbjFVTO7 (ORCPT ); Thu, 22 Jun 2023 15:14:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CFF51BCC; Thu, 22 Jun 2023 12:14:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E4602618D3; Thu, 22 Jun 2023 19:14:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86F4EC433C8; Thu, 22 Jun 2023 19:14:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687461297; bh=4EW1Ml3YU0WnjIOVFscwVZgqX5mvKNaJ7fqog18xT1c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YrnHEgTeoXJnBrFFDgZ1T53J06iS1RnplxEV19yb9S8xCOmWYwsnVl1xa5GRKCo5s bzo+OCSOzHFiksI0AaJRhcGczb3AKDZwQhDunAw4N9SFv3pM3woUKSF9HycL+RfHu+ lhq2W5xz3T67p3KfknWBd8EIiBr9DX9LWq6zd/NY1b+iU8RqfFxOSyoZ7my4Qu9d9Q 5EFCYygwYJVp5TmexQ5lb7dLCaQnmk1TmkAswlaZplJqB+ZSfRuC6nLYNH3NNDFjri st4ImEIoZBHHlcinYQrGZUfIPemsJNsKqK2qtg3Wl08s/Garj/pOXI0ZM9liByvz23 ozPapxMH8nhpg== Date: Thu, 22 Jun 2023 20:14:53 +0100 From: Conor Dooley To: Sergio Paracuellos Cc: devicetree@vger.kernel.org, tglx@linutronix.de, maz@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] dt-bindings: interrupt-controller: add Ralink SoCs interrupt controller Message-ID: <20230622-algebra-superglue-40955b223774@spud> References: <20230622110451.1504823-1-sergio.paracuellos@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="QXySfpWsCJAcdqLS" Content-Disposition: inline In-Reply-To: <20230622110451.1504823-1-sergio.paracuellos@gmail.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --QXySfpWsCJAcdqLS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 22, 2023 at 01:04:51PM +0200, Sergio Paracuellos wrote: > Add YAML doc for the interrupt controller which is present on Ralink SoCs. >=20 > Signed-off-by: Sergio Paracuellos > --- > Changes in v2: > - Drop label from the example. >=20 > .../ralink,rt2880-intc.yaml | 54 +++++++++++++++++++ > 1 file changed, 54 insertions(+) > create mode 100644 Documentation/devicetree/bindings/interrupt-controlle= r/ralink,rt2880-intc.yaml >=20 > diff --git a/Documentation/devicetree/bindings/interrupt-controller/ralin= k,rt2880-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller= /ralink,rt2880-intc.yaml > new file mode 100644 > index 000000000000..533d6d03aa75 > --- /dev/null > +++ b/Documentation/devicetree/bindings/interrupt-controller/ralink,rt288= 0-intc.yaml > @@ -0,0 +1,54 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/interrupt-controller/ralink,rt2880-in= tc.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Ralink SoCs Interrupt Controller > + > +maintainers: > + - Sergio Paracuellos > + > +allOf: > + - $ref: /schemas/interrupt-controller.yaml# > + > +description: | FWIW, you don't need a | unless you have some formatting to preserve. > + This interrupt controller support a central point for interrupt aggreg= ation > + for platform related blocks. > + > +properties: > + compatible: > + const: ralink,rt2880-intc > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > + interrupt-controller: true > + > + '#interrupt-cells': > + const: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + - interrupt-controller > + - '#interrupt-cells' > + > +unevaluatedProperties: false You explicitly allow two properties from interrupt-controller.yaml, so it seems like this should actually be additionalProperties: false to block things like interrupt-map etc? If your intention was only to allow interrupt-controller, with s/unevaluated/additional/ you can add Reviewed-by: Conor Dooley Cheers, Conor. > + > +examples: > + - | > + interrupt-controller@200 { > + compatible =3D "ralink,rt2880-intc"; > + reg =3D <0x200 0x100>; > + interrupt-controller; > + #interrupt-cells =3D <1>; > + > + interrupt-parent =3D <&cpuintc>; > + interrupts =3D <2>; > + }; > +... > --=20 > 2.25.1 >=20 --QXySfpWsCJAcdqLS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZJSdrQAKCRB4tDGHoIJi 0uqDAQCcgFbS7S9oLnnfQqMN3+amaFefAoNne1acSsTviyeCJwD/TSQTo0ZuxjUK 2lewMQmES4YW/S7KigE/HufFPK5FGQ4= =qUnP -----END PGP SIGNATURE----- --QXySfpWsCJAcdqLS--