From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: git@apitzsch.eu
Cc: Ricardo Ribalda <ribalda@kernel.org>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
~postmarketos/upstreaming@lists.sr.ht,
phone-devel@vger.kernel.org, linux-media@vger.kernel.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v3 4/5] media: dt-bindings: sony,imx214: Deprecate property clock-frequency
Date: Thu, 22 May 2025 19:07:36 +0200 [thread overview]
Message-ID: <20250522170736.GW12514@pendragon.ideasonboard.com> (raw)
In-Reply-To: <20250521-imx214_ccs_pll-v3-4-bfb4a2b53d14@apitzsch.eu>
Hi André,
Thank you for the patch.
On Wed, May 21, 2025 at 09:34:27PM +0200, André Apitzsch via B4 Relay wrote:
> From: André Apitzsch <git@apitzsch.eu>
>
> Deprecate the clock-frequency property in favor of assigned-clock-rates.
>
> While at it, re-order properties according to coding style and fix the
> link-frequency in the example. See commit acc294519f17 ("media: i2c:
> imx214: Fix link frequency validation").
>
> Signed-off-by: André Apitzsch <git@apitzsch.eu>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> .../devicetree/bindings/media/i2c/sony,imx214.yaml | 29 ++++++++++++----------
> 1 file changed, 16 insertions(+), 13 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
> index 0162eec8ca993a7614d29908f89fa9fe6d4b545d..aea99ebf8e9ed15f8066841228d9fdecc822b553 100644
> --- a/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
> +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx214.yaml
> @@ -33,20 +33,21 @@ properties:
>
> clock-frequency:
> description: Frequency of the xclk clock in Hz.
> + deprecated: true
>
> enable-gpios:
> description: GPIO descriptor for the enable pin.
> maxItems: 1
>
> - vdddo-supply:
> - description: Chip digital IO regulator (1.8V).
> -
> vdda-supply:
> description: Chip analog regulator (2.7V).
>
> vddd-supply:
> description: Chip digital core regulator (1.12V).
>
> + vdddo-supply:
> + description: Chip digital IO regulator (1.8V).
> +
> flash-leds: true
> lens-focus: true
>
> @@ -84,11 +85,10 @@ required:
> - compatible
> - reg
> - clocks
> - - clock-frequency
> - enable-gpios
> - - vdddo-supply
> - vdda-supply
> - vddd-supply
> + - vdddo-supply
> - port
>
> unevaluatedProperties: false
> @@ -104,22 +104,25 @@ examples:
> camera-sensor@1a {
> compatible = "sony,imx214";
> reg = <0x1a>;
> - vdddo-supply = <&pm8994_lvs1>;
> - vddd-supply = <&camera_vddd_1v12>;
> +
> + clocks = <&camera_clk>;
> + assigned-clocks = <&camera_clk>;
> + assigned-clock-rates = <24000000>;
> +
> + enable-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;
> +
> vdda-supply = <&pm8994_l17>;
> + vddd-supply = <&camera_vddd_1v12>;
> + vdddo-supply = <&pm8994_lvs1>;
> +
> lens-focus = <&ad5820>;
> - enable-gpios = <&msmgpio 25 GPIO_ACTIVE_HIGH>;
> - clocks = <&camera_clk>;
> - clock-frequency = <24000000>;
>
> port {
> imx214_ep: endpoint {
> data-lanes = <1 2 3 4>;
> - link-frequencies = /bits/ 64 <480000000>;
> + link-frequencies = /bits/ 64 <600000000>;
> remote-endpoint = <&csiphy0_ep>;
> };
> };
> };
> };
> -
> -...
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2025-05-22 17:07 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-21 19:34 [PATCH v3 0/5] media: i2c: imx214: Add support for more clock frequencies André Apitzsch
2025-05-21 19:34 ` André Apitzsch via B4 Relay
2025-05-21 19:34 ` [PATCH v3 1/5] media: i2c: imx214: Reorder imx214_parse_fwnode call André Apitzsch
2025-05-21 19:34 ` André Apitzsch via B4 Relay
2025-05-23 8:07 ` Laurent Pinchart
2025-05-21 19:34 ` [PATCH v3 2/5] media: i2c: imx214: Prepare for variable clock frequency André Apitzsch
2025-05-21 19:34 ` André Apitzsch via B4 Relay
2025-05-23 8:10 ` Laurent Pinchart
2025-05-21 19:34 ` [PATCH v3 3/5] media: i2c: imx214: Make use of CCS PLL calculator André Apitzsch
2025-05-21 19:34 ` André Apitzsch via B4 Relay
2025-05-21 19:34 ` [PATCH v3 4/5] media: dt-bindings: sony,imx214: Deprecate property clock-frequency André Apitzsch
2025-05-21 19:34 ` André Apitzsch via B4 Relay
2025-05-22 15:25 ` Conor Dooley
2025-05-22 17:07 ` Laurent Pinchart [this message]
2025-05-21 19:34 ` [PATCH v3 5/5] media: i2c: imx214: Remove hard-coded external clock frequency André Apitzsch
2025-05-21 19:34 ` André Apitzsch via B4 Relay
2025-05-23 8:17 ` Laurent Pinchart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250522170736.GW12514@pendragon.ideasonboard.com \
--to=laurent.pinchart@ideasonboard.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=git@apitzsch.eu \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=phone-devel@vger.kernel.org \
--cc=ribalda@kernel.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=sakari.ailus@linux.intel.com \
--cc=shawnguo@kernel.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.