[PATCH v2 05/25] media: i2c: imx283: Remove horizontal_ob

From: Kieran Bingham

Date: Fri Feb 13 2026 - 09:05:33 EST


The horizontal optical black values are not used as we do not enable
HOB output - and instead directly use HTRIMMING to request the desired
horizontal cropping position.

Remove the unused reference to simplify.

Signed-off-by: Kieran Bingham <kieran.bingham@xxxxxxxxxxxxxxxx>
---
drivers/media/i2c/imx283.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/drivers/media/i2c/imx283.c b/drivers/media/i2c/imx283.c
index 3e97ad38f716..fe63700da872 100644
--- a/drivers/media/i2c/imx283.c
+++ b/drivers/media/i2c/imx283.c
@@ -382,7 +382,6 @@ struct imx283_mode {
u8 vbin_ratio;

/* Optical Blanking */
- u32 horizontal_ob;
u32 vertical_ob;

/* Analog crop rectangle. */
@@ -466,7 +465,6 @@ static const struct imx283_mode supported_modes_12bit[] = {
.default_vmax = 4000,

.min_shr = 11,
- .horizontal_ob = 96,
.vertical_ob = 16,
.crop = {
.top = 40,
@@ -497,7 +495,6 @@ static const struct imx283_mode supported_modes_12bit[] = {
.vbin_ratio = 2,

.min_shr = 12,
- .horizontal_ob = 48,
.vertical_ob = 4,

.crop = {
@@ -529,7 +526,6 @@ static const struct imx283_mode supported_modes_12bit[] = {
.vbin_ratio = 3,

.min_shr = 16,
- .horizontal_ob = 32,
.vertical_ob = 4,

.crop = {
@@ -555,7 +551,6 @@ static const struct imx283_mode supported_modes_10bit[] = {
.default_vmax = 3840,

.min_shr = 10,
- .horizontal_ob = 96,
.vertical_ob = 16,
.crop = {
.top = 40,

--
2.52.0