diff options
| author | Hans de Goede <johannes.goede@oss.qualcomm.com> | 2025-12-30 18:02:59 +0100 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-01-14 23:33:04 +0100 |
| commit | 1df58b9ddaac468154083af6e1d7ddaf8769e964 (patch) | |
| tree | 3b18c249d99c88f2afa806f03bcd8ddf432d4c77 /tools/lib/python/kdoc/parse_data_structs.py | |
| parent | d57348c1bb8df069f992b3478fea642045712212 (diff) | |
| download | linux-1df58b9ddaac468154083af6e1d7ddaf8769e964.tar.gz linux-1df58b9ddaac468154083af6e1d7ddaf8769e964.zip | |
media: mt9m114: Use aptina-PLL helper to get PLL values
Before this change the driver used hardcoded PLL m, n and p values to
achieve a 48MHz pixclock when used with an external clock with a frequency
of 24 MHz.
Use aptina_pll_calculate() to allow the driver to work with different
external clock frequencies. The m, n, and p values will be unchanged
with a 24 MHz extclk and this has also been tested with a 19.2 MHz
clock where m gets increased from 32 to 40.
Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
[Sakari Ailus: Fix capitalisation of "MHz".]
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
