]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: staging: max96712: Add support for MAX96724
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Wed, 2 Oct 2024 09:23:31 +0000 (11:23 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 16 Oct 2024 07:32:38 +0000 (09:32 +0200)
commit6c872b782aeaec31042643e57d6aedba1464d0b9
treee334b6f770e986d54cfbe04188b19dc5777335d1
parent9350219aa3570ae89cd3cad59d3d00ecf44e7f48
media: staging: max96712: Add support for MAX96724

The MAX96724 is almost identical to the MAX96712 and can be supported by
the same driver, add support for it.

For the staging driver which only supports patter generation the big
difference is that the datasheet (rev 4) for MAX96724 do not describe
the DEBUG_EXTRA register, which is at offset 0x0009 on MAX96712. It's
not clear if this register is removed or moved to a different offset.
What is known is writing to register 0x0009 have no effect on MAX96724.

This makes it impossible to increase the test pattern clock frequency
from 25 MHz to 75Mhz on MAX96724. To be able to get a stable test
pattern the DPLL frequency have to be increase instead to compensate for
this. The frequency selected is found by experimentation as the MAX96724
datasheet is much sparser then what's available for MAX96712.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/max96712/max96712.c