Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6245360rwd; Wed, 24 May 2023 12:57:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5YNiBjsYWAv89WrLib9k33KDIlqB3UTwwr+aiOq6MOPbNvj6z2Rbuz6mYMcEMMMhXkO5WW X-Received: by 2002:a05:6a20:1602:b0:107:10b6:4c8a with SMTP id l2-20020a056a20160200b0010710b64c8amr21403126pzj.24.1684958269249; Wed, 24 May 2023 12:57:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684958269; cv=none; d=google.com; s=arc-20160816; b=VubOyDNzSIPrPz53zqdde0ZKf7u2xTq/xcfsYuWIqTSJsNiGiNTuU55mVZghZs0N1u 5CJwOcIB8duFc4R6G2tXQZe14Qgj+tyFSmCn/Y1/6C7gk9aZin7LMn+Lr5DVmXKW0wqU 8SNZ8LiSDvV3LlXiPcMCNXJJMT0gllTN/ptNYc3cg08f6Jq/ND7ifffkJ2L5NCEoD52T zht6JmMEJx7Ov0/jG2617RcYyzaYABa7QquNrgdSGwVVyZ9qhfm/si2GxYM/UGfu6X6B vGP8Xmaiv+ZTf+BWQZ0LFWxJJjv2hN6gcKKqeF2PPtaI8YUhbj7X/T54oeUIQD/paktk 0iZA== 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=fEPfcqu4pCeFL/IlZMAazCjU2Lo0Mo9ZT8xC2+kqk1o=; b=gfQ8V4NkfyNWMDq0YJDNlKlKHJ33nq8+caHzNHVYsaj6wng2qaxL8gyA7YIpIVGtFl 71JVSx162jAebvY1BdxSk+lZ3OBro7Qgvqlpxrh3cf3cXAzKG4N6U6ZhTTcxhTFSQX3H uKkB8UqbZufTx6CuWQNpaFuqbjEA44jFma9Tv2GDN6sNeA7KilUoQUiOyLGANZZJzYqh Ca/LhAG2GjlSIJMAj546nvAwhNtfsJLVYZ6oZcY+/J5tiuEYYmFSXjKxtOPnBfjOv5dj YSYjjRAPmn8hAKFamtduKi06LfhxFcScAzReZMzQ39W1DhV9ynn969T+faTiLJJBFfsz qx3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=T37qhazC; 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 f188-20020a6251c5000000b0064f74cf9df3si954338pfb.110.2023.05.24.12.57.29; Wed, 24 May 2023 12:57:49 -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=T37qhazC; 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 S231633AbjEXThe (ORCPT + 99 others); Wed, 24 May 2023 15:37:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjEXThd (ORCPT ); Wed, 24 May 2023 15:37:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBAA312F; Wed, 24 May 2023 12:37:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 76E8063F8F; Wed, 24 May 2023 19:37:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 70EE0C433EF; Wed, 24 May 2023 19:37:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684957049; bh=W7a/E/JmcLp7eemBI11m1MdaS39Qaf9Q1E7uRiBdevA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=T37qhazCENR9JuPMlWE7t4OivKMYBhCBP3INUNmST7+0LodR6iMQPmN9u/tFYMPXb EepvcoB/h+WHChUe9clMGWIfX13Ya8UCHwlMeLeruKNd7BTHLyu5uuAFqRAVydvyQF Vdl0BYLnL4arDYBnTuHd+iDBX9RM6CFOGcZJeMDaaWMMl1lkIPIYyTcduMR8HbbZ3H 2Z7hxSGBnTnx5dMZp6DJMc7lbGT21YRzJhRv007UOjr2WwFI0qlS2qNTIvC/mA+pRp 460N8wN91UPCHRl2MgCO5c5QBlp2BTfyPmN9zgibFAsaZxxwjCbtfi1A/r/UVtaZAW yyHcUNmazeVzw== Date: Wed, 24 May 2023 20:37:23 +0100 From: Conor Dooley To: Sascha Hauer Cc: linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Heiko Stuebner , Kyungmin Park , MyungJoo Ham , Will Deacon , Mark Rutland , kernel@pengutronix.de, Michael Riesch , Robin Murphy , Vincent Legoll , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org Subject: Re: [PATCH v5 22/25] dt-bindings: devfreq: event: rockchip,dfi: Add rk3588 support Message-ID: <20230524-reptile-reexamine-187d778443d2@spud> References: <20230524083153.2046084-1-s.hauer@pengutronix.de> <20230524083153.2046084-23-s.hauer@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="/2uqOHRXXrjZKaKe" Content-Disposition: inline In-Reply-To: <20230524083153.2046084-23-s.hauer@pengutronix.de> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 --/2uqOHRXXrjZKaKe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 24, 2023 at 10:31:50AM +0200, Sascha Hauer wrote: > This adds rockchip,rk3588-dfi to the list of compatibles. Unlike ealier > SoCs the rk3588 has four interrupts (one for each channel) instead of > only one, so increase the number of allowed interrupts to four and also > add interrupt-names. >=20 > Signed-off-by: Sascha Hauer > --- >=20 > Notes: > Changes since v4: > - new patch >=20 > .../bindings/devfreq/event/rockchip,dfi.yaml | 14 +++++++++++++- > 1 file changed, 13 insertions(+), 1 deletion(-) >=20 > diff --git a/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi= =2Eyaml b/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml > index e8b64494ee8bd..4e647a9560560 100644 > --- a/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml > +++ b/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml > @@ -14,6 +14,7 @@ properties: > enum: > - rockchip,rk3399-dfi > - rockchip,rk3568-dfi > + - rockchip,rk3588-dfi > =20 > clocks: > maxItems: 1 > @@ -23,7 +24,18 @@ properties: > - const: pclk_ddr_mon > =20 > interrupts: > - maxItems: 1 > + minItems: 1 > + maxItems: 4 > + > + interrupt-names: > + oneOf: > + - items: > + - const: ch0 > + - items: > + - const: ch0 > + - const: ch1 > + - const: ch2 > + - const: ch3 Is it worth adding restrictions so that only the new compatible is allowed to have more than 1 interrupt? Heiko? --/2uqOHRXXrjZKaKe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZG5ncwAKCRB4tDGHoIJi 0snjAPsGu+sRgh8DdDX+QFO1l4XLF6inu5NEmhRvEaPxXF/EfgEA6Gs+tEOw+1bE A44YiDjl2lV7sQ2e0kzLndSsi+WkhwQ= =UYXc -----END PGP SIGNATURE----- --/2uqOHRXXrjZKaKe--