Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3422993pxp; Tue, 22 Mar 2022 20:25:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGuKUmCLK+q05n0sVq9VbofuwV+seeoJVCkRex3fBz8UbxGIjwLKAVr448owkxI63G1PTA X-Received: by 2002:a17:902:7781:b0:153:35ef:e3d1 with SMTP id o1-20020a170902778100b0015335efe3d1mr21757543pll.116.1648005956786; Tue, 22 Mar 2022 20:25:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648005956; cv=none; d=google.com; s=arc-20160816; b=Ev7Y0TMZvu/uuXbyyRAZwZxJY54M/QB5bUra9IDpEslstlCxI+ILatrlaE4CWYhGje QlojkTJLRMYIyD6x7TKqPzud1bimmKj7UVoelmiW5vX80Fd9r7Y1yPSD1FOjlSn3UQ3T JyXXYHWPTvfm7zjgKKxNJ2T5B28ZRaLB7wJZUf02RkhgdCHn5e6yixgf3WREE5yEKqqR Bbmax+82+6RWF8rSmVFZJvi3eswynrgdGKEaiTbd/xrmY00Yz5H2j8bEe2UxAfGCmdDw pY77IkWPjATNRXQqGvAYP2t/XJFjwlL2YqKdghsOlNnL0eUURkKbGrdddlOgmAXWuWvZ WlrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=5jtpXxEom/a/jiH/sFwvBmFkIoAoceZfaQ8rDmnOzv8=; b=SpFwdmDRWYbVGLI81Y0714Sde7bIfRa7qHbK0gSxRB1xO/MhjGeDSDHmr+wU/MDrhQ 9TDe7GwxASejWpLJwU5uE8mNSJbVHz6tbtd6Q4M1niYAxcEf4L9pYSPgQ9ZkV3mcTIap gZfz58DCyZG+9wvOMETwKlQzfeAPpfvl1MwHCPBXlb3WPpekGqkEgfnXKdsarqyJoWc1 qr660rxcgIoRylVJQuGLdYDtLhOd+UBNHN/Y83k85r+f42X3kG2QjooA9Gy6ybJ2vvZS etEnEN9NbboLlaHsz1V2DXaL5ewWVi9KC36aVtterhV+YpA/vnww7K5jM79lPLGTgFff G63Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=o79mDLOR; 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=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i12-20020a17090a64cc00b001c63c733bebsi3801265pjm.85.2022.03.22.20.25.35; Tue, 22 Mar 2022 20:25:56 -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=@canonical.com header.s=20210705 header.b=o79mDLOR; 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=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237871AbiCVSip (ORCPT + 99 others); Tue, 22 Mar 2022 14:38:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240770AbiCVSiF (ORCPT ); Tue, 22 Mar 2022 14:38:05 -0400 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07C5349F91 for ; Tue, 22 Mar 2022 11:36:37 -0700 (PDT) Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id A72883F1AC for ; Tue, 22 Mar 2022 18:36:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1647974194; bh=5jtpXxEom/a/jiH/sFwvBmFkIoAoceZfaQ8rDmnOzv8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=o79mDLORM2nA8Epl2qL9p2El4lPMXlCz0ngDd1wsJfuU9PkrtMXdV2mp7aMyBSvXB eFnOdt47JGKzN7TttxrefIuL49kZO3GD5OyX0glAqB+hHcTT9u/jUp9dRo5M0JKHnN /55EcfsQNWsUAWFWWtgdzqo2i0JKNKuyCl3f3yasYgCzea2PfUO0zGh/borlLeVG5b DKRLsAIDd0VRUS8/wgHLdcUw3gAoiFieoAiG/j29NPG1YrIQaubp/kV3g3B6KEyG7/ 8HsCDC85gUPF5FrmX8WjlSB1kiDXRF0PL305GbwSRogr1Ce53/u5HhrYdFWNtrdJq3 3yiQfvK612dhQ== Received: by mail-ej1-f71.google.com with SMTP id ml20-20020a170906cc1400b006df8c9357efso7688474ejb.21 for ; Tue, 22 Mar 2022 11:36:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=5jtpXxEom/a/jiH/sFwvBmFkIoAoceZfaQ8rDmnOzv8=; b=4RnxjAqGa0Dj2I/gWWCvl2el5FaUbnZLRP6clsXBu63H7GLJBhWdnh92Cc6Rui1HGl Sypcq/o66K68ipVhMVsAsApgTxJiHHpPQIK8uaqJhTAH94evC3OHSBODhNS5uQXgXBi1 jTZLAGxlj172pSKwDqYUV76JVSha/UP+op5+1rz4PNy6f7qg9nTsGvezvQG01Hzua+mw j1NPYlNuyhdQGv1f59lU2C1eFLltLzI7uoBnbjGKGJ0pFuG/oaWe/xBF4M5wKqJWWBUP TBH+XGLH9UDxfsZ4MUyWAB1vOVf3MVTZ96LR4OYR60u/+sPEQhB7W/2c/cGZ5tj2C7cB YzsA== X-Gm-Message-State: AOAM531mBkE894Grclsp+yXzSpUNQksPxGKHHhmuPMmE0ZVgKUOW6G0v e2SbJsRXZssUv2fzel6bA33LeTfDQiviV76oMwkH9LN68H+nzJMZKMun5sHwUUTVOl09S4A1LEq i4Ae/s6Q04Ipz3+sgfCkecoYtp2KbLpVwUQiYispgaw== X-Received: by 2002:a05:6402:1941:b0:413:2555:53e3 with SMTP id f1-20020a056402194100b00413255553e3mr30164496edz.164.1647974184176; Tue, 22 Mar 2022 11:36:24 -0700 (PDT) X-Received: by 2002:a05:6402:1941:b0:413:2555:53e3 with SMTP id f1-20020a056402194100b00413255553e3mr30164440edz.164.1647974183906; Tue, 22 Mar 2022 11:36:23 -0700 (PDT) Received: from [192.168.0.17] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id d4-20020a1709067a0400b006d6e3ca9f71sm8816466ejo.198.2022.03.22.11.36.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Mar 2022 11:36:23 -0700 (PDT) Message-ID: Date: Tue, 22 Mar 2022 19:36:21 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 00/18] dt-bindings: irqchip: include generic schema Content-Language: en-US To: Rob Herring 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 References: <20220317115542.450032-1-krzysztof.kozlowski@canonical.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 21/03/2022 19:53, Rob Herring wrote: > 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. Indeed there were cases of MSI and interrupt controller. > > 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. Yes, that's a side effect. Maybe my series should be abandoned. Best regards, Krzysztof