[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <x5rjvllauyjeah7j7nsaszdmx7wty2kggpxbhaysowuehrketd@niakizftfboz>
Date: Thu, 27 Feb 2025 10:35:52 +0100
From: Mehdi Djait <mehdi.djait@...ux.intel.com>
To: sakari.ailus@...ux.intel.com, laurent.pinchart@...asonboard.com
Cc: tomi.valkeinen@...asonboard.com, jacopo.mondi@...asonboard.com,
hverkuil@...all.nl, kieran.bingham@...asonboard.com, naush@...pberrypi.com,
mchehab@...nel.org, hdegoede@...hat.com, dave.stevenson@...pberrypi.com,
linux-media@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH v1] media: v4l2-common: Add a helper for obtaining
the clock producer
Hi everyone,
On Thu, Feb 27, 2025 at 10:26:43AM +0100, Mehdi Djait wrote:
> Introduce a helper for v4l2 sensor drivers on both DT- and ACPI-based
> platforms to retrieve a reference to the clock producer from firmware.
>
> This helper behaves the same as clk_get_optional() except where there is
> no clock producer like typically in ACPI-based platforms.
> For ACPI-based platforms the function will read the "clock-frequency"
> property (_DSD ACPI property) and register a fixed frequency clock with
> the frequency indicated in the property.
link for relevant discussion I forgot to include:
https://lore.kernel.org/linux-media/20250220154909.152538-1-mehdi.djait@linux.intel.com/
Powered by blists - more mailing lists