Re: [PATCH v9 1/2] Add OV5647 device tree documentation
From: Sakari Ailus <hidden>
Date: 2017-02-25 15:33:16
Also in:
linux-media, lkml
On Sat, Feb 25, 2017 at 04:50:53PM +0200, Sakari Ailus wrote:
Although, the driver could try to work on the actual obtained frequency. This is unlikely to work though, but it won't be very easy to figure out why the device isn't working. Having the frequency in DT accessible for the driver to check makes failing early with a clear error message possible.
The below point actually makes the above matter a non-issue: this driver will contain a list of supported frequencies. A SMIA driver that I typically work with, for instance, does not. So I think your suggestion of having the CCF handle setting the frequency is a good one.
quoted
So, the clock frequency set up is delegated to CCF, and when any other than 25 MHz frequencies are got supported, that's only the matter of driver updates, DTBs won't be touched.Indeed. The new supported frequencies in this case will be additional single values; there won't be ranges or such. The register lists the driver contains are more or less dependent on that frequency.
-- Kind regards, Sakari Ailus e-mail: sakari.ailus-X3B1VOXEql0@public.gmane.org XMPP: sailus-PCDdDYkjdNMDXYZnReoRVg@public.gmane.org -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html