From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 F3DB5235BE4 for ; Mon, 13 Jan 2025 13:53:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736776394; cv=none; b=FPyYZgyvI1hLGxc6XvwQ8c66r+EiWuJxjVEEAE2ZjsbA85acknknWnPp8nMDu8lTRm6ZSbKGMD5PH4lh6mptWIAhUXYO86lFyWisaNYh8oGTVbSOuAVuAWagrVHIvGbZmpG/llGNs5yU2eJUfe96zSnOu4nXz96q+Hsz+F8W7HI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736776394; c=relaxed/simple; bh=SrvlXCFDRluE091hs9aNekJrTWA9i7WiKf4HjdZ3Zmk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=IjWpUWZ6ToI6hC50/JJrKIk3mr8Jo8VatEpeioQ3QPMchlD6bLkRihO5OgwstEZqwZGTC8ZCxPwdUyNKqJ0JDszTa+0PHX/KFv4r+T8iWs+8Dod11s9bStSV7iIFke+QC90eaACmxeLTSqQudHMBXJnH9C72kYIse0iuI1Mc/YE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=[127.0.0.1]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1tXKsA-0004SJ-SF; Mon, 13 Jan 2025 14:52:54 +0100 Message-ID: <0ef15155-c124-423f-bd00-ccde0fb1a741@pengutronix.de> Date: Mon, 13 Jan 2025 14:52:53 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/6] dt-bindings: clock: imx8m: document nominal/overdrive properties To: Frank Li Cc: Abel Vesa , Peng Fan , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Abel Vesa , Marek Vasut , linux-clk@vger.kernel.org, imx@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Conor Dooley References: <20250106-imx8m-clk-v2-0-6aaeadac65fe@pengutronix.de> <20250106-imx8m-clk-v2-1-6aaeadac65fe@pengutronix.de> <957ad153-17f3-4cb8-8878-73093a9a2724@pengutronix.de> Content-Language: en-US From: Ahmad Fatoum In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:900:1d::77 X-SA-Exim-Mail-From: a.fatoum@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Hi Frank, On 06.01.25 20:42, Frank Li wrote: > On Mon, Jan 06, 2025 at 08:25:38PM +0100, Ahmad Fatoum wrote: >> [1]: https://lore.kernel.org/all/4e2250b3-5170-4e88-aa0a-dd796b81e78b@pengutronix.de/ >> > > But there are problem if use dts overlay because dts overlay can't support > delete property. > > If one dts file use "fsl,overdrive-mode", dts overlay file can't delete > this property. "mutually exclusive optional properties" was not preferred. > > mode = ["normal" | "overdrive"] I just sent out v3[1] with your suggestion incorporated, but missed adding you to Cc. [1]: https://lore.kernel.org/all/20250113-imx8m-clk-v3-0-0d6e9bdeaa4e@pengutronix.de/ Thanks, Ahmad > > Frank > >> Thanks, >> Ahmad >> >> >>> >>> Frank >>> >>>> required: >>>> - compatible >>>> - reg >>>> @@ -95,6 +103,12 @@ allOf: >>>> - const: clk_ext2 >>>> - const: clk_ext3 >>>> - const: clk_ext4 >>>> + - if: >>>> + required: >>>> + - fsl,overdrive-mode >>>> + then: >>>> + properties: >>>> + fsl,nominal-mode: false >>>> >>>> additionalProperties: false >>>> >>>> >>>> -- >>>> 2.39.5 >>>> >>> >> >> >> -- >> Pengutronix e.K. | | >> Steuerwalder Str. 21 | http://www.pengutronix.de/ | >> 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | >> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |