2226b2dd | 08-Apr-2025 |
Martin Tůma <martin.tuma@digiteqautomotive.com> |
media: mgb4: Enumerate only the available timings
Enumerate only the available (as given by the input source) timings, not all theoretically possible.
Signed-off-by: Martin Tůma <martin.tuma@digite
media: mgb4: Enumerate only the available timings
Enumerate only the available (as given by the input source) timings, not all theoretically possible.
Signed-off-by: Martin Tůma <martin.tuma@digiteqautomotive.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
show more ...
|
450acf08 | 21-Feb-2025 |
Martin Tůma <martin.tuma@digiteqautomotive.com> |
media: mgb4: Fix switched CMT frequency range "magic values" sets
The reason why this passed unnoticed is that most infotainment systems use frequencies near enough the middle (50MHz) where both set
media: mgb4: Fix switched CMT frequency range "magic values" sets
The reason why this passed unnoticed is that most infotainment systems use frequencies near enough the middle (50MHz) where both sets work.
Fixes: 0ab13674a9bd ("media: pci: mgb4: Added Digiteq Automotive MGB4 driver") Cc: stable@vger.kernel.org Signed-off-by: Martin Tůma <martin.tuma@digiteqautomotive.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
show more ...
|
7801f167 | 20-Nov-2024 |
Martin Tůma <martin.tuma@digiteqautomotive.com> |
media: mgb4: Defines cleanup
Do not define stuff used in a single source file in a global header. Do not mix defines with "bare" values in the initialization.
Signed-off-by: Martin Tůma <martin.tum
media: mgb4: Defines cleanup
Do not define stuff used in a single source file in a global header. Do not mix defines with "bare" values in the initialization.
Signed-off-by: Martin Tůma <martin.tuma@digiteqautomotive.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
show more ...
|
771c4770 | 20-Nov-2024 |
Martin Tůma <martin.tuma@digiteqautomotive.com> |
media: mgb4: Unify register names in inputs/outputs
Unify the names of HW hsync/vsync registers between the inputs and outputs.
Signed-off-by: Martin Tůma <martin.tuma@digiteqautomotive.com> Signed
media: mgb4: Unify register names in inputs/outputs
Unify the names of HW hsync/vsync registers between the inputs and outputs.
Signed-off-by: Martin Tůma <martin.tuma@digiteqautomotive.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
show more ...
|
e3582018 | 05-Aug-2024 |
Martin Tůma <martin.tuma@digiteqautomotive.com> |
media: mgb4: Fixed signal frame rate limit handling
Change the default DV timings for the outputs to produce a better signal less "crippled" by the frame rate limiting. While the individual values a
media: mgb4: Fixed signal frame rate limit handling
Change the default DV timings for the outputs to produce a better signal less "crippled" by the frame rate limiting. While the individual values are now different, the resulting signal still matches the same default display as before.
Additionally fix the corner case when the frame rate limit is set to zero causing a "divide by zero" kernel panic.
Signed-off-by: Martin Tůma <martin.tuma@digiteqautomotive.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
show more ...
|
1724dcc9 | 05-Aug-2024 |
Martin Tůma <martin.tuma@digiteqautomotive.com> |
media: mgb4: Add support for V4L2_CAP_TIMEPERFRAME
Recent mgb4 firmwares have support for setting a variable framerate independent of the signal framerate. Add/fix (the mgb4 driver already did promo
media: mgb4: Add support for V4L2_CAP_TIMEPERFRAME
Recent mgb4 firmwares have support for setting a variable framerate independent of the signal framerate. Add/fix (the mgb4 driver already did promote V4L2_CAP_TIMEPERFRAME, but it didn't work) support for V4L2_CAP_TIMEPERFRAME to the driver to enable this feature.
Additionally add support for the DV timings API (VIDIOC_G_DV_TIMINGS, VIDIOC_ENUM_DV_TIMINGS, ...) for the outputs that was missing. The timings info is required/used for implementing the V4L2_CAP_TIMEPERFRAME functionality.
Signed-off-by: Martin Tůma <martin.tuma@digiteqautomotive.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
show more ...
|
173d167c | 23-Oct-2023 |
Arnd Bergmann <arnd@arndb.de> |
media: pci: mgb4: add COMMON_CLK dependency
This driver fails to build when HAVE_CLK and COMMON_CLK are disabled:
x86_64-linux-ld: vmlinux.o: in function `mgb4_remove': mgb4_core.c:(.text+0x1915e8c
media: pci: mgb4: add COMMON_CLK dependency
This driver fails to build when HAVE_CLK and COMMON_CLK are disabled:
x86_64-linux-ld: vmlinux.o: in function `mgb4_remove': mgb4_core.c:(.text+0x1915e8c): undefined reference to `clkdev_drop' x86_64-linux-ld: mgb4_core.c:(.text+0x1915e98): undefined reference to `clk_hw_unregister'
Add a Kconfig dependency to enforce a clean build.
Fixes: 0ab13674a9bd ("media: pci: mgb4: Added Digiteq Automotive MGB4 driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Martin Tůma <martin.tuma@digiteqautomotive.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
show more ...
|