From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A560B156D4 for ; Sun, 8 Oct 2023 22:24:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TE0jXDcd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 772DFC433C8; Sun, 8 Oct 2023 22:24:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696803856; bh=ic0lnfoCXKD3WDMoscE8ipyqDiOvCXq/LX99KO34oK0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=TE0jXDcdB7UBIKU2EpNEJes0q6O6zF3wHeKoiDQTl1ItJ2zZ6vepumKZLbQSHkFae sE0Ldo4Lh4B+oMMl7MO0qImf2YT/aW3Rfd4E7LRl7Lc++Gj5NPPq9cjwaVzyvcgfVa WOSpbJ+A/05/ASoERqq1zJUGTxmymXTAlLvcBmANicbFuSUE8Tu6SAoJjkzS5PaM8V tVIEKr3XVREMiDsBtrgaopCEENmJOLC2UdGO3+CYVqZ8i7ph23zpn//ieTrU41n8BJ NoYTXJNHryeQdlTGM/lX7RLvqs6bb/ChaKxxVvc7KcVH8jaxAl8yL61JRkhpulrtjQ K3Zi3N+wIsH+w== Message-ID: Date: Mon, 9 Oct 2023 07:24:11 +0900 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v7 21/26] dt-bindings: devfreq: event: rockchip,dfi: Add rk3568 support Content-Language: en-US To: Sascha Hauer , linux-rockchip@lists.infradead.org Cc: 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, Sebastian Reichel , Conor Dooley References: <20230704093242.583575-1-s.hauer@pengutronix.de> <20230704093242.583575-22-s.hauer@pengutronix.de> From: Chanwoo Choi In-Reply-To: <20230704093242.583575-22-s.hauer@pengutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 23. 7. 4. 18:32, Sascha Hauer wrote: > This adds the rockchip,rk3568-dfi compatible to the binding. Make clocks > optional for this SoC as the RK3568 doesn't have a kernel controllable > PCLK. > > Reviewed-by: Conor Dooley > Signed-off-by: Sascha Hauer > --- > .../bindings/devfreq/event/rockchip,dfi.yaml | 15 +++++++++++++-- > 1 file changed, 13 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml b/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml > index 7a82f6ae0701e..e8b64494ee8bd 100644 > --- a/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml > +++ b/Documentation/devicetree/bindings/devfreq/event/rockchip,dfi.yaml > @@ -13,6 +13,7 @@ properties: > compatible: > enum: > - rockchip,rk3399-dfi > + - rockchip,rk3568-dfi > > clocks: > maxItems: 1 > @@ -34,11 +35,21 @@ properties: > > required: > - compatible > - - clocks > - - clock-names > - interrupts > - reg > > +if: > + properties: > + compatible: > + contains: > + enum: > + - rockchip,rk3399-dfi > + > +then: > + required: > + - clocks > + - clock-names > + > additionalProperties: false > > examples: Acked-by: Chanwoo Choi -- Best Regards, Samsung Electronics Chanwoo Choi