Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2264257pxp; Mon, 21 Mar 2022 15:18:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqWtRhID6sDsmOafbJ9ivkbEr2+cHj2plxroergtMCrbN3Dade9KxRSxDhttlANMiYf+Kq X-Received: by 2002:a17:902:b406:b0:14f:bb35:95ab with SMTP id x6-20020a170902b40600b0014fbb3595abmr14988675plr.140.1647901121316; Mon, 21 Mar 2022 15:18:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647901121; cv=none; d=google.com; s=arc-20160816; b=Wdw1K2CQlu70pEdupEdm2ib2wQuNvrwToUw8IqYpFsJZN3cK+yrAXEpoMemehxAwhV dwpqoEnJkuWcHhrgpWGIbawOiTLfKbI3KwSxc9Tgc9p7oMRnhwMe8ovJNXwjc7LriX0r Qq1uTWHoc1bnR6ow5fIOoT6RFdaEG7//0SJLhkGILdaf/kytaWf68VpBYK0Ee+l0k20p gkA00WXBlnbCGNii5AQnnkwfZuPUzEH6A07zbQ718z39jinqHZb4tpoNFsmaVik2q14g jezOXhss0mZTKGZd9WXz7jO2eUyDIu29t0IypyV7XA1EuB1aVYKyphlGbf4IXipk7bzv yWJw== 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=a7Xyf2QArSyizp0F9X7a7N1r4113OGPHtnk41fQc9lc=; b=HjyQUpXLkC8omEMysbNiCbJDE30sL0L9yelslKwqLxAs3aAYOJN89WWexwlutVyaWW qAdxUXMR0SdYK/laMAAAlxIIt01dTaZhDiIydbv/XlvOTtnmPMavBact7x3OBjItD+L9 ZJ9fELAB4cz+kB5hdfB2ugLV+LpNGPhcCxNkEvrFN2HWeI3f+N3ys65o9yXvLZgqsXC8 wgGb66+Mr/RcUe1bmDLQ1BSasOur9POKpZGgM11eVxBzCqTcQix6Hd4jlUhxm1xM2GtS HyMSxiHd3kfDboUrBjwjuTeQl20+UMRfrKwWUS5chiNDUH+02Zima81IZ9VGBYGKvI8t MGmQ== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id n18-20020a17090ac69200b001c74e871721si390472pjt.177.2022.03.21.15.18.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:18:41 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CFCF937FAE8; Mon, 21 Mar 2022 14:36:12 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352329AbiCUSzC (ORCPT + 99 others); Mon, 21 Mar 2022 14:55:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239977AbiCUSy7 (ORCPT ); Mon, 21 Mar 2022 14:54:59 -0400 Received: from mail-oi1-f170.google.com (mail-oi1-f170.google.com [209.85.167.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7E401E3CF; Mon, 21 Mar 2022 11:53:32 -0700 (PDT) Received: by mail-oi1-f170.google.com with SMTP id w127so17187695oig.10; Mon, 21 Mar 2022 11:53:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=a7Xyf2QArSyizp0F9X7a7N1r4113OGPHtnk41fQc9lc=; b=aV2yM1r0WWvSwXYRBg7uM6+gGIxDQVX11JTcT1uxi9UfjB48Z7GE83boFwsXca1wk8 rQJVucvUgZP9gEQo7lSBwkD93xrceFN4lLasU0bY8mn6A3sCiwnXUva8lrhiEeJQnQqj FMV5qxI7t0rwcmInMvFcavIz2+NjXy05f2fXp7pxI/DmxB/0edXZDgIpFYXEI5hqNcqG eB8LEtS9SbEiaLOHGEkr7wTgf8yre6luXN3TGKOHHWgBHZrBhWBdSppPvPvegu1dBOCs zlDrx450R7YehlhFGlJqfcU8PfxCnjOy0PH4MEkipfS0q3HdCh2URu5JO3j1KKg/imKi V0Ew== X-Gm-Message-State: AOAM531JQuLjXDk3QH9enP9s1KMfX3DI1g4NM1GhGJCbqBKLTzk4cAkL toWoYWhGK2Y0lKaGfjO13A== X-Received: by 2002:a05:6808:f88:b0:2da:850d:18f0 with SMTP id o8-20020a0568080f8800b002da850d18f0mr270615oiw.19.1647888810502; Mon, 21 Mar 2022 11:53:30 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id e8-20020a9d63c8000000b005b235a56831sm7783461otl.49.2022.03.21.11.53.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 11:53:29 -0700 (PDT) Received: (nullmailer pid 359469 invoked by uid 1000); Mon, 21 Mar 2022 18:53:27 -0000 Date: Mon, 21 Mar 2022 13:53:27 -0500 From: Rob Herring To: Krzysztof Kozlowski Cc: Thomas Gleixner , Marc Zyngier , Krzysztof Kozlowski , =?UTF-8?Q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam , Linus Walleij , Imre Kaloz , Krzysztof Halasa , Michael Walle , Mark-PK Tsai , Daniel Palmer , =?UTF-8?Q?Jonathan_Neusch=C3=A4fer?= , Palmer Dabbelt , Paul Walmsley , Nishanth Menon , Tero Kristo , Santosh Shilimkar , Neil Armstrong , Dinh Nguyen , Cristian Ciocaltea , Joakim Zhang , Lucas Stach , Paul Cercueil , Jiaxun Yang , Claudiu Beznea , Jason Cooper , Paul Burton , Thomas Bogendoerfer , Birger Koblitz , Bert Vermeulen , John Crispin , Geert Uytterhoeven , Sagar Kadam , Suman Anna , Lokesh Vutla , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org, openbmc@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-oxnas@groups.io Subject: Re: [PATCH 00/18] dt-bindings: irqchip: include generic schema Message-ID: References: <20220317115542.450032-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220317115542.450032-1-krzysztof.kozlowski@canonical.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Thu, Mar 17, 2022 at 12:55:24PM +0100, Krzysztof Kozlowski wrote: > Hi, > > The DTS patches can be picked up independently. > > Best regards, > Krzysztof > > Krzysztof Kozlowski (18): > ARM: dts: nspire: use lower case hex addresses in node unit addresses > ARM: dts: ox820: align interrupt controller node name with dtschema > ARM: dts: socfpga: align interrupt controller node name with dtschema > dt-bindings: irqchip: actions,owl-sirq: include generic schema > dt-bindings: irqchip: fsl: include generic schema > dt-bindings: irqchip: ingenic: include generic schema > dt-bindings: irqchip: intel,ixp4xx: include generic schema > dt-bindings: irqchip: kontron,sl28cpld: include generic schema > dt-bindings: irqchip: loongson: include generic schema > dt-bindings: irqchip: microchip,eic: include generic schema > dt-bindings: irqchip: mrvl,intc: include generic schema > dt-bindings: irqchip: mstar,mst-intc: include generic schema > dt-bindings: irqchip: mti,gic: include generic schema > dt-bindings: irqchip: nuvoton,wpcm450-aic: include generic schema > dt-bindings: irqchip: realtek,rtl-intc: include generic schema > dt-bindings: irqchip: renesas: include generic schema > dt-bindings: irqchip: sifive: include generic schema > dt-bindings: irqchip: ti: include generic schema I'm somewhat on the fence about these. Originally only devices with a bus or child nodes included a common schema. For 'simple' providers with mainly a '#-cells' property, we had to set the constraints on the number of cells anyways, so referencing another schema doesn't save anything. It is nice to declare the 'class' of the device though. It makes the schema be applied twice (if the node name matches). That's not all bad because it finds cases of wrong node name. However, sometimes we have devices which are multiple providers and can't set the node name. So those can't reference interrupt-controller.yaml. It also means that 'interrupt-map' for example is now valid. That could be fixed by splitting 'interrupt-map' related properties to its own schema. Rob