aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorLuca Weiss <[email protected]>2023-02-10 21:33:18 +0100
committerMauro Carvalho Chehab <[email protected]>2023-03-20 15:54:56 +0100
commita97b24febd1f3acbd3bebfe7230e679a769efafe (patch)
treedde04b6818b82fe7b9a487af419d1afa026c778d /tools/perf/scripts
parent4ed6627b0c4d6d6ddf21f0b5ae15ec073cd7d69e (diff)
media: i2c: ov5670: Support single-lane operation
Currently the driver always configures the sensor for dual-lane MIPI output, but it also supports single-lane output. Add support for that by checking the data-lanes fwnode property how many lanes are used and configure the necessary registers based on that. To achieve this we move setting register 0x3018 out of the general reg sequence so we set it to the correct value. The pixel_rate value also needs to be adjusted. [Sakari Ailus: Use div_s64 to divide a 64-bit number] Signed-off-by: Luca Weiss <[email protected]> Reviewed-by: Jacopo Mondi <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions