Add the effective and active sensor sizes and add functionality to read rotation and orientation from device trees. Signed-off-by: André Apitzsch <git@xxxxxxxxxxx> --- Changes in v4: - Add r-b by Kieran to patch 1/4 - Link to v3: https://lore.kernel.org/r/20231028-imx214-v3-0-cd4bf77f9690@xxxxxxxxxxx Changes in v3: - Squash patch 5/5 with patch 2/5 - Link to v2: https://lore.kernel.org/r/20231028-imx214-v2-0-69a8fb730d6e@xxxxxxxxxxx Changes in v2: - Use integer representation for default exposure (Kieran) - Replace dev_err_probe() by dev_err() - Increase number of pre-allocated control slots (Jacopo) - Fix typo in commit message (Jacopo) - Add r-b tags - Add patch to fix ctrls init error handling - Link to v1: https://lore.kernel.org/r/20231023-imx214-v1-0-b33f1bbd1fcf@xxxxxxxxxxx --- André Apitzsch (4): media: i2c: imx214: Explain some magic numbers media: i2c: imx214: Move controls init to separate function media: i2c: imx214: Read orientation and rotation from system firmware media: i2c: imx214: Add sensor's pixel matrix size drivers/media/i2c/imx214.c | 175 +++++++++++++++++++++++++++++++-------------- 1 file changed, 120 insertions(+), 55 deletions(-) --- base-commit: 577a4ee0b96fb043c9cf4a533c550ff587e526cf change-id: 20231023-imx214-68c438ebfb0c Best regards, -- André Apitzsch <git@xxxxxxxxxxx>