Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp17645444rwd; Tue, 27 Jun 2023 06:02:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4yZZ2dwdlMqpBIpsoa8nVpMgn54wCqZMcbqO2lzkXDb8LY7fT4zN1qOz4QsQEEkre4vPw4 X-Received: by 2002:a05:6512:705:b0:4f9:ec5e:d624 with SMTP id b5-20020a056512070500b004f9ec5ed624mr4392038lfs.38.1687870963332; Tue, 27 Jun 2023 06:02:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687870963; cv=none; d=google.com; s=arc-20160816; b=hceMl52rBGwqwphQwIkKcuL14wvpHgHKQC+kLAd+emGBihW57RW4le+yzDpNA0hKtK 8pfpeGmZZAcvp7lFF3edGg0NRgKn3tluVvJox1e5CNrKXiwlV5AHfAUVCEukHaF4lpHa ugL8Vr/sBvFUoEyiUS19LYP+VkkWfjvDxLzbvi6NepJYuqMKpW3frZKCnoYXNqMDe0Pw W2/rAZpq1vlINzMReyrzVPYAxumqGCJz6N4OnySv2ACl81yYtk9DJQh9zL/KIKS7n7Zu GyLOK94gIRRgTWlDoPDf+XdG/BXMVoElfjAna3kRVAOHpDMg+xIVd5+kBGfccMk7AXfd BA6g== 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=8YE7wSDf9+kixNjK3SC5HyvOe27Psh650QQ7iYwckpg=; fh=tFEuwa0nc0D1XgCUZZBZTG5v74giaxNs0v16+R49Q2c=; b=ZtC4u03PutTlB2CKS2HHy8LyP5z0BECn8OiRpGHOJLNqRWwnTd0xbY+WBjJBmcRKPJ e+WYj4vDTsysCUEGQYPIKlYJWL4bvZe6M2ooDgI7GXfk/6MKVbMqGtPmBX9UfDB4ZtUr vA6qDX36tsdCk5J+Ok7kn27K/7Q8jv6ob4agWS1Oymk2kpd9lX6sRRvDkfFJeNm3nQ6Q ONPHPI4BSgSL1pCUra3psKHFpsXvu0SgySNsKp0Y1mJi2umh0/4uk8LUjrinlRTKioXs i0aWu7Bc44c/NKQ5UXyop11hn1h0LaZUyM2nN/T5P/9emqo2FfjzIk0xn9OHvU2O9oFs T4oA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=cjChsABw; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j23-20020a50ed17000000b0051497c87452si3861406eds.627.2023.06.27.06.02.16; Tue, 27 Jun 2023 06:02:43 -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=@gmail.com header.s=20221208 header.b=cjChsABw; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230489AbjF0MzJ (ORCPT + 99 others); Tue, 27 Jun 2023 08:55:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230326AbjF0My4 (ORCPT ); Tue, 27 Jun 2023 08:54:56 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7936F2715; Tue, 27 Jun 2023 05:54:54 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2b5c231f842so42985711fa.2; Tue, 27 Jun 2023 05:54:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687870493; x=1690462493; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=8YE7wSDf9+kixNjK3SC5HyvOe27Psh650QQ7iYwckpg=; b=cjChsABwaIiGiXFxDFxskK6sd1HRgZdRbC2eVH6wCVvr1AQrgInU+xKmVehbzpUzCc Ikpsh4LS5zq2zS3tYFKlFcY2TqDY0RTPND2efixaWg5ilaALZ06VJeA9KR9EvBgIs/EH k+4y3YgEIdJ7wMCGOmrLLOLXprttiBkx4N7vby4VzOg9mg1wvN9j+tCPuXxAggVk2f8I vtSeSDVDPP9GWwRwBA06A6OR+T2BEoRiiLnUiVSfUKh1+tgeWdpuFxnsYC5jFKx9kEec U+mvIorg2MMU2p14fPMWPuI1d8qRtYzdaOB5lT9aVav8LRJyKFbcbc/8mBYtYiZJoclX KGCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687870493; x=1690462493; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=8YE7wSDf9+kixNjK3SC5HyvOe27Psh650QQ7iYwckpg=; b=HpZiIdB0OoPTtFfpXqsu6Yv+bCA803HOR5N3wVqTfMwCJ5USHG8U/od4Wby6LVuE8Y P37zo2W8cwjHC+liWwnAGzhrh25kecJracXTgZqTSOJzZEDB8thS7CDl4icJBvQznzKN vIoG/l1jgQKGI2Qt6XVqlgwT/2b41Y3V6veCTt+UFAv1EN5TnK9QwpwQ5nkCw8KdLT9E 4qYrSPtMO5VjmKK1mQWOYXOAlCBgmunV5qJrorCAdagIMvepyhcTtguTQaaTLWIfA3LN YDY8du9PRGyZmz+1506oyZQDgNtuzLi/Tm04uMNn65LKGlhOZO/8CW727LXQudVWmgiq GUew== X-Gm-Message-State: AC+VfDyHh1083B8gQgAvtIxWaTYJvW4SeulsrSMyYOyKLEuon/dxWSNn NolqUMIvLWZUoeS/O6rUtDb3m0Ro4R8= X-Received: by 2002:a2e:9e4f:0:b0:2b1:b4e9:4c3 with SMTP id g15-20020a2e9e4f000000b002b1b4e904c3mr21755792ljk.2.1687870492431; Tue, 27 Jun 2023 05:54:52 -0700 (PDT) Received: from mobilestation ([109.194.233.142]) by smtp.gmail.com with ESMTPSA id o10-20020a2e730a000000b002b217532064sm1737956ljc.33.2023.06.27.05.54.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jun 2023 05:54:51 -0700 (PDT) Date: Tue, 27 Jun 2023 15:54:49 +0300 From: Serge Semin To: Sebastian Reichel Cc: linux-pci@vger.kernel.org, linux-rockchip@lists.infradead.org, Jingoo Han , Gustavo Pimentel , Bjorn Helgaas , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Shawn Lin , Simon Xue , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@collabora.com Subject: Re: [PATCH v1 2/4] dt-bindings: PCI: dwc: rockchip: Add missing legacy-interrupt-controller Message-ID: <6ewtsaw72474pwvdohpapwnmbevivlkmagwnv7r7ggixhhmo6e@fcl74rn2rlqz> References: <20230616170022.76107-1-sebastian.reichel@collabora.com> <20230616170022.76107-3-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230616170022.76107-3-sebastian.reichel@collabora.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 On Fri, Jun 16, 2023 at 07:00:20PM +0200, Sebastian Reichel wrote: > Rockchip RK356x and RK3588 handle legacy interrupts via a ganged > interrupts. The RK356x DT implements this via a sub-node named > "legacy-interrupt-controller", just like a couple of other PCIe > implementations. This adds proper documentation for this and updates > the example to avoid regressions. > > Signed-off-by: Sebastian Reichel > --- > .../bindings/pci/rockchip-dw-pcie.yaml | 24 +++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pci/rockchip-dw-pcie.yaml b/Documentation/devicetree/bindings/pci/rockchip-dw-pcie.yaml > index 98e45d2d8dfe..bf81d306cc80 100644 > --- a/Documentation/devicetree/bindings/pci/rockchip-dw-pcie.yaml > +++ b/Documentation/devicetree/bindings/pci/rockchip-dw-pcie.yaml > @@ -67,6 +67,22 @@ properties: > - const: legacy > - const: err > > + legacy-interrupt-controller: > + description: Interrupt controller node for handling legacy PCI interrupts. > + type: object > + properties: > + "#address-cells": > + const: 0 > + > + "#interrupt-cells": > + const: 1 > + > + "interrupt-controller": true redundant quotes. > + > + interrupts: > + items: > + - description: combined legacy interrupt Missing the "additionalProperties" qualifier and the "required" property. -Serge(y) > + > msi-map: true > > num-lanes: true > @@ -148,6 +164,14 @@ examples: > reset-names = "pipe"; > #address-cells = <3>; > #size-cells = <2>; > + > + legacy-interrupt-controller { > + interrupt-controller; > + #address-cells = <0>; > + #interrupt-cells = <1>; > + interrupt-parent = <&gic>; > + interrupts = ; > + }; > }; > }; > ... > -- > 2.39.2 >