Add bindings for the Microchip eXtended Image Sensor Controller.
Based on the atmel,isc.yaml binding.
Signed-off-by: Eugen Hristev
---
Changes in v5:
- fixed license clause to add BSD-2
Changes in v4:
- added '|' at description to preserve line breaks
.../bindings/media/microchip
Add bindings for the Microchip eXtended Image Sensor Controller.
Based on the atmel,isc.yaml binding.
Signed-off-by: Eugen Hristev
---
.../bindings/media/microchip,xisc.yaml| 129 ++
1 file changed, 129 insertions(+)
create mode 100644 Documentation/devicetree/bindings
Convert the Atmel ISC to yaml binding format.
Signed-off-by: Eugen Hristev
---
Changes in v4:
- added '|' at description to maintain line breaks
.../devicetree/bindings/media/atmel,isc.yaml | 115 ++
.../devicetree/bindings/media/atmel-isc.txt | 65 -
Add XISC driver and binding files to the ISC driver entry.
Signed-off-by: Eugen Hristev
---
MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 95e3c7b7f934..451f2f0bed0b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -11721,10 +11721,12 @@ M
Add support for additional formats supported by newer pipelines, and for
additional pipeline modules.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 48 +++
1 file changed, 38 insertions(+), 10 deletions(-)
diff --git a/drivers/media/platform
ISC driver was converted to yaml. Update maintainers file.
Signed-off-by: Eugen Hristev
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 04e6df934eb0..95e3c7b7f934 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -11720,7 +11720,7
Add driver for the extended variant of the isc, the microchip XISC
present on sama7g5 product.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/Makefile | 1 +
drivers/media/platform/atmel/Kconfig | 11 +
drivers/media/platform/atmel/Makefile | 2
Add bindings for the Microchip eXtended Image Sensor Controller.
Based on the atmel,isc.yaml binding.
Signed-off-by: Eugen Hristev
---
.../bindings/media/microchip,xisc.yaml| 129 ++
1 file changed, 129 insertions(+)
create mode 100644 Documentation/devicetree/bindings
Convert the Atmel ISC to yaml binding format.
Signed-off-by: Eugen Hristev
---
.../devicetree/bindings/media/atmel,isc.yaml | 115 ++
.../devicetree/bindings/media/atmel-isc.txt | 65 --
2 files changed, 115 insertions(+), 65 deletions(-)
create mode 100644
Remove a duplicate definition of clock max divider
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-sama5d2-isc.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/media/platform/atmel/atmel-sama5d2-isc.c
b/drivers/media/platform/atmel/atmel-sama5d2-isc.c
index
Add additional fields for registers present in sama7g5 type pipeline.
Extend register masks for additional bits in sama7g5 type pipeline registers.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-regs.h | 16 ++--
1 file changed, 14 insertions(+), 2 deletions
moment,
thus this function is a noop.
Signed-off-by: Eugen Hristev
---
Changes in v3:
- added module description in commit message
Changes in v2:
- addded function prototype to avoid warning with W=1
drivers/media/platform/atmel/atmel-isc-base.c| 1 +
drivers/media/platform/atmel/atmel-isc.h
specific callback for initializing the RLP submodule
of the pipeline
Signed-off-by: Eugen Hristev
---
Changes in v3:
- added module description in commit message
Changes in v2:
- addded function prototype to avoid warning with W=1
drivers/media/platform/atmel/atmel-isc-base.c| 6
Once the pipeline is set in the base code, create a callback that will adapt
the ISC pipeline to each product.
Create the adapt_pipeline callback that will be used in this fashion.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 4
drivers/media
The list of input and output formats has to be product specific.
Move this list into the product specific code.
Have pointers to these arrays inside the device struct.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 167 ++
drivers/media/platform
Create product specific callback for initializing v4l2 controls.
Call this from v4l2 controls init function.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 5 +++--
drivers/media/platform/atmel/atmel-isc.h | 5 +
drivers/media/platform/atmel
Add register description for additional pipeline modules: the
Defective Pixel Correction (DPC) and the Vertical and Horizontal Scaler(VHXS)
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-regs.h | 67 +++
1 file changed, 67 insertions(+)
diff --git a
in color
correction.
Signed-off-by: Eugen Hristev
---
Changes in v3:
- added module description in commit message
Changes in v2:
- addded function prototype to avoid warning with W=1
drivers/media/platform/atmel/atmel-isc-base.c| 1 +
drivers/media/platform/atmel/atmel-isc.h | 3
sama5d2 product, this module does not exist, thus this function is a noop.
Signed-off-by: Eugen Hristev
---
Changes in v3:
- added module description in commit message
Changes in v2:
- addded function prototype to avoid warning with W=1
drivers/media/platform/atmel/atmel-isc-base.c| 1 +
drivers
ve this full pipeline (sama7g5), other products do not (sama5d2)
Add the modules to the isc base, and also extend the register range to include
the modules.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 11 ++--
drivers/media/platform/atmel/atmel-isc
Add his_entry to the reg offsets struct.
This will allow different products to have a different reg offset for this
particular module.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 3 ++-
drivers/media/platform/atmel/atmel-isc-regs.h| 2 ++
drivers
have a different reg offset for this
particular module.
Signed-off-by: Eugen Hristev
---
Changes in v3:
- added module explanation in commit message
drivers/media/platform/atmel/atmel-isc-base.c | 19 ---
drivers/media/platform/atmel/atmel-isc-regs.h | 3 +++
drivers/media
The dma configuration (DCFG) is specific to the product.
Move this configuration in the product specific driver, and add the
field inside the driver struct.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 3 +--
drivers/media/platform/atmel/atmel-isc.h
Add support for version register and print it at probe time.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-regs.h| 5 +
drivers/media/platform/atmel/atmel-isc.h | 2 ++
drivers/media/platform/atmel/atmel-sama5d2-isc.c | 5 +
3 files changed, 12
Add the clock id to the debug message regarding clock setup
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/platform/atmel/atmel-isc-base.c
b/drivers/media/platform/atmel/atmel
.
Signed-off-by: Eugen Hristev
---
Changes in v3:
- added module description in commit message
drivers/media/platform/atmel/atmel-isc-base.c| 11 +++
drivers/media/platform/atmel/atmel-isc-regs.h| 2 ++
drivers/media/platform/atmel/atmel-isc.h | 2 ++
drivers/media
these
particular modules.
Signed-off-by: Eugen Hristev
---
Changes in v3:
- add module explanation in commit message
drivers/media/platform/atmel/atmel-isc-base.c| 4 ++--
drivers/media/platform/atmel/atmel-isc-regs.h| 4
drivers/media/platform/atmel/atmel-isc.h | 4
offsets struct.
This will allow different products to have a different reg offset for this
particular module.
Signed-off-by: Eugen Hristev
---
Changes in v3:
- add module description in commit message
drivers/media/platform/atmel/atmel-isc-base.c| 4 ++--
drivers/media/platform/atmel/atmel
offset for this particular module.
Signed-off-by: Eugen Hristev
---
Changes in v3:
- add module explanation in commit message
drivers/media/platform/atmel/atmel-isc-base.c| 2 +-
drivers/media/platform/atmel/atmel-isc-regs.h| 3 +++
drivers/media/platform/atmel/atmel-isc.h | 2
Other products can implement it differently.
Signed-off-by: Eugen Hristev
---
Changes in v3:
- added explanation regarding CSC acronym
Changes in v2:
- addded function prototype to avoid warning with W=1
drivers/media/platform/atmel/atmel-isc-base.c | 8 +---
drivers/media/platform/atmel/
cific. Other products can implement it differently
Signed-off-by: Eugen Hristev
---
Changes in v3:
- added module description explanation
Changes in v2:
- addded function prototype to avoid warning with W=1
drivers/media/platform/atmel/atmel-isc-base.c| 4 +---
drivers/media/platform/atmel/
based on old 5.10 style API.
Eugen Hristev (33):
media: atmel: atmel-isc: specialize gamma table into product specific
media: atmel: atmel-isc: specialize driver name constant
media: atmel: atmel-isc: add checks for limiting frame sizes
media: atmel: atmel-isc: specialize max width and max
Create a struct that holds register offsets that are product specific.
Add initially the CSC register.
This allows each product that contains a variant of the ISC to add their
own register offset.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 2 +-
drivers
Move the max width and max height constants to the product specific driver
and have them in the device struct.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 28 +--
drivers/media/platform/atmel/atmel-isc.h | 9 --
.../media/platform
When calling the subdev, certain subdev drivers will overwrite the
frame size and adding sizes which are beyond the ISC's capabilities.
Thus we need to ensure the frame size is cropped to the maximum caps.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c
The driver name constant must defined based on product driver, thus moving
the constant directly where it's required. This will allow each ISC based
product to define it's own name.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 4 ++--
dri
Separate the gamma table from the isc base file into the specific sama5d2
product file.
Add a pointer to the gamma table and entries count inside the platform
driver specific struct.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 47 ++-
drivers
Add sama7g5 SoC debug uart on Flexcom3. This is the UART that the
ROM bootloader uses.
Signed-off-by: Eugen Hristev
---
arch/arm/Kconfig.debug | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 9e0b5e7f12af..7598624ce6dd 100644
Add new SoC from at91 family : sama7g5
Signed-off-by: Eugen Hristev
[claudiu.bez...@microchip.com: Select PLL, generic clock and UTMI support]
Signed-off-by: Claudiu Beznea
---
Changes in v2:
- squash previous patch
[PATCH 3/3] ARM: at91: Kconfig: select PLL, generic clock and utmi support
From: Claudiu Beznea
Select PLL, generic clock and UTMI support for SAMA7G5.
Signed-off-by: Claudiu Beznea
Signed-off-by: Eugen Hristev
---
arch/arm/mach-at91/Kconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index
Add sama7g5 SoC debug uart on Flexcom3. This is the UART that the
ROM bootloader uses.
Signed-off-by: Eugen Hristev
---
arch/arm/Kconfig.debug | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 9e0b5e7f12af..7598624ce6dd 100644
Add new SoC from at91 family : sama7g5
Signed-off-by: Eugen Hristev
---
arch/arm/mach-at91/Kconfig | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index ccd7e80ce943..5eb2a9206f42 100644
--- a/arch/arm/mach-at91/Kconfig
Add driver for the extended variant of the isc, the microchip XISC
present on sama7g5 product.
Signed-off-by: Eugen Hristev
---
Changes in v2:
- adapted to new fwnode subdev style API, as in kernel 5.12.
my old code was based on 5.10 style API.
drivers/media/platform/Makefile
Remove a duplicate definition of clock max divider
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-sama5d2-isc.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/media/platform/atmel/atmel-sama5d2-isc.c
b/drivers/media/platform/atmel/atmel-sama5d2-isc.c
index
sensors, by connecting to a demux
endpoint present on sama7g5.
One of the key points for creating a new binding is the clocking scheme, as
atmel-isc requires 3 mandatory clocks, the microchip-xisc requires a single
input clock.
Signed-off-by: Eugen Hristev
---
Hello Rob, all,
I did not convert
Add support for additional formats supported by newer pipelines, and for
additional pipeline modules.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 48 +++
1 file changed, 38 insertions(+), 10 deletions(-)
diff --git a/drivers/media/platform
Add additional fields for registers present in sama7g5 type pipeline.
Extend register masks for additional bits in sama7g5 type pipeline registers.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-regs.h | 16 ++--
1 file changed, 14 insertions(+), 2 deletions
Once the pipeline is set in the base code, create a callback that will adapt
the ISC pipeline to each product.
Create the adapt_pipeline callback that will be used in this fashion.
Signed-off-by: Eugen Hristev
---
Changes in v2:
- addded function prototype to avoid warning with W=1
drivers
The list of input and output formats has to be product specific.
Move this list into the product specific code.
Have pointers to these arrays inside the device struct.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 167 ++
drivers/media/platform
Create a product specific callback for initializing the RLP submodule
of the pipeline
Signed-off-by: Eugen Hristev
---
Changes in v2:
- addded function prototype to avoid warning with W=1
drivers/media/platform/atmel/atmel-isc-base.c| 6 ++
drivers/media/platform/atmel/atmel-isc.h
Create a product specific callback for initializing the GAM submodule
of the pipeline.
For sama5d2 product, there is no special configuration at this moment,
thus this function is a noop.
Signed-off-by: Eugen Hristev
---
Changes in v2:
- addded function prototype to avoid warning with W=1
Create a product specific callback for initializing the DPC submodule
of the pipeline.
For sama5d2 product, this module does not exist, thus this function is a noop.
Signed-off-by: Eugen Hristev
---
Changes in v2:
- addded function prototype to avoid warning with W=1
drivers/media/platform
Create product specific callback for initializing v4l2 controls.
Call this from v4l2 controls init function.
Signed-off-by: Eugen Hristev
---
Changes in v2:
- addded function prototype to avoid warning with W=1
drivers/media/platform/atmel/atmel-isc-base.c| 5 +++--
drivers/media/platform
Implement the color correction (CC) submodule initialization, as a product
specific function, which currently configures the neutral point in color
correction.
Signed-off-by: Eugen Hristev
---
Changes in v2:
- addded function prototype to avoid warning with W=1
drivers/media/platform/atmel
ve this full pipeline (sama7g5), other products do not (sama5d2)
Add the modules to the isc base, and also extend the register range to include
the modules.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 11 ++--
drivers/media/platform/atmel/atmel-isc
Add register description for additional pipeline modules: the
Defective Pixel Correction (DPC) and the Vertical and Horizontal Scaler(VHXS)
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-regs.h | 67 +++
1 file changed, 67 insertions(+)
diff --git a
Add his_entry to the reg offsets struct.
This will allow different products to have a different reg offset for this
particular module.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 3 ++-
drivers/media/platform/atmel/atmel-isc-regs.h| 2 ++
drivers
Add dma to the reg offsets struct.
This will allow different products to have a different reg offset for this
particular module.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 19 ---
drivers/media/platform/atmel/atmel-isc-regs.h | 3
Add support for version register and print it at probe time.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-regs.h| 5 +
drivers/media/platform/atmel/atmel-isc.h | 2 ++
drivers/media/platform/atmel/atmel-sama5d2-isc.c | 5 +
3 files changed, 12
Add his to the reg offsets struct.
This will allow different products to have a different reg offset for this
particular module.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 11 +++
drivers/media/platform/atmel/atmel-isc-regs.h| 2 ++
drivers
Add rlp to the reg offsets struct.
This will allow different products to have a different reg offset for this
particular module.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 4 ++--
drivers/media/platform/atmel/atmel-isc-regs.h| 2 ++
drivers/media
Add sub420 and sub422 to the reg offsets struct.
This will allow different products to have a different reg offset for these
particular modules.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 4 ++--
drivers/media/platform/atmel/atmel-isc-regs.h| 4
Add cbc to the reg offsets struct. This will allow different products
to have a different reg offset for this particular module.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 2 +-
drivers/media/platform/atmel/atmel-isc-regs.h| 3 +++
drivers/media
The CBC submodule should be initialized in the product specific driver
as it's product specific. Other products can implement it differently
Signed-off-by: Eugen Hristev
---
Changes in v2:
- addded function prototype to avoid warning with W=1
drivers/media/platform/atmel/atmel-isc-b
Create a struct that holds register offsets that are product specific.
Add initially the CSC register.
This allows each product that contains a variant of the ISC to add their
own register offset.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 2 +-
drivers
Add the clock id to the debug message regarding clock setup
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/platform/atmel/atmel-isc-base.c
b/drivers/media/platform/atmel/atmel
The CSC submodule should be initialized in the product specific driver
as it's product specific. Other products can implement it differently.
Signed-off-by: Eugen Hristev
---
Changes in v2:
- addded function prototype to avoid warning with W=1
drivers/media/platform/atmel/atmel-isc-b
The dma configuration (DCFG) is specific to the product.
Move this configuration in the product specific driver, and add the
field inside the driver struct.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 3 +--
drivers/media/platform/atmel/atmel-isc.h
Move the max width and max height constants to the product specific driver
and have them in the device struct.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 28 +--
drivers/media/platform/atmel/atmel-isc.h | 9 --
.../media/platform
When calling the subdev, certain subdev drivers will overwrite the
frame size and adding sizes which are beyond the ISC's capabilities.
Thus we need to ensure the frame size is cropped to the maximum caps.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c
The driver name constant must defined based on product driver, thus moving
the constant directly where it's required. This will allow each ISC based
product to define it's own name.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 4 ++--
dri
Separate the gamma table from the isc base file into the specific sama5d2
product file.
Add a pointer to the gamma table and entries count inside the platform
driver specific struct.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 47 ++-
drivers
warnings with W=1 regarding functions with no prototype
- Fixed new sama7g5 driver to use the new subdev fwnode API in kernel 5.12. my
driver was
based on old 5.10 style API.
Eugen Hristev (30):
media: atmel: atmel-isc: specialize gamma table into product specific
media: atmel: atmel-isc: specialize
The driver name constant must defined based on product driver, thus moving
the constant directly where it's required. This will allow each ISC based
product to define it's own name.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 4 ++--
dri
in terms of DT, clocks and callbacks to
specific operations.
I added the binding for the xisc by copying and modifying the existing
isc one. I know that it has to be converted to yaml, and I will do that if
it looks good.
Feedback is appreciated.
Thanks,
Eugen
Eugen Hristev (30):
media: atmel
Move the max width and max height constants to the product specific driver
and have them in the device struct.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 28 +--
drivers/media/platform/atmel/atmel-isc.h | 9 --
.../media/platform
Create a product specific callback for initializing the DPC submodule
of the pipeline.
For sama5d2 product, this module does not exist, thus this function is a noop.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 1 +
drivers/media/platform/atmel/atmel-isc.h
Add rlp to the reg offsets struct.
This will allow different products to have a different reg offset for this
particular module.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 4 ++--
drivers/media/platform/atmel/atmel-isc-regs.h| 2 ++
drivers/media
Add register description for additional pipeline modules: the
Defective Pixel Correction (DPC) and the Vertical and Horizontal Scaler(VHXS)
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-regs.h | 67 +++
1 file changed, 67 insertions(+)
diff --git a
Separate the gamma table from the isc base file into the specific sama5d2
product file.
Add a pointer to the gamma table and entries count inside the platform
driver specific struct.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 47 ++-
drivers
Add his to the reg offsets struct.
This will allow different products to have a different reg offset for this
particular module.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 11 +++
drivers/media/platform/atmel/atmel-isc-regs.h| 2 ++
drivers
ve this full pipeline (sama7g5), other products do not (sama5d2)
Add the modules to the isc base, and also extend the register range to include
the modules.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 11 ++--
drivers/media/platform/atmel/atmel-isc
Create a struct that holds register offsets that are product specific.
Add initially the CSC register.
This allows each product that contains a variant of the ISC to add their
own register offset.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 2 +-
drivers
Create product specific callback for initializing v4l2 controls.
Call this from v4l2 controls init function.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 5 +++--
drivers/media/platform/atmel/atmel-isc.h | 5 +
drivers/media/platform/atmel
Add driver for the extended variant of the isc, the microchip XISC
present on sama7g5 product.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/Makefile | 1 +
drivers/media/platform/atmel/Kconfig | 11 +
drivers/media/platform/atmel/Makefile | 2
Add the clock id to the debug message regarding clock setup
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/platform/atmel/atmel-isc-base.c
b/drivers/media/platform/atmel/atmel
Add support for additional formats supported by newer pipelines, and for
additional pipeline modules.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 48 +++
1 file changed, 38 insertions(+), 10 deletions(-)
diff --git a/drivers/media/platform
Add sub420 and sub422 to the reg offsets struct.
This will allow different products to have a different reg offset for these
particular modules.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 4 ++--
drivers/media/platform/atmel/atmel-isc-regs.h| 4
The CBC submodule should be initialized in the product specific driver
as it's product specific. Other products can implement it differently
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 4 +---
drivers/media/platform/atmel/atmel-isc.h
Create a product specific callback for initializing the GAM submodule
of the pipeline.
For sama5d2 product, there is no special configuration at this moment,
thus this function is a noop.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 1 +
drivers/media
Add additional fields for registers present in sama7g5 type pipeline.
Extend register masks for additional bits in sama7g5 type pipeline registers.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-regs.h | 16 ++--
1 file changed, 14 insertions(+), 2 deletions
Add cbc to the reg offsets struct. This will allow different products
to have a different reg offset for this particular module.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 2 +-
drivers/media/platform/atmel/atmel-isc-regs.h| 3 +++
drivers/media
The CSC submodule should be initialized in the product specific driver
as it's product specific. Other products can implement it differently.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 8 +---
drivers/media/platform/atmel/atmel-isc.h
Implement the color correction (CC) submodule initialization, as a product
specific function, which currently configures the neutral point in color
correction.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 1 +
drivers/media/platform/atmel/atmel-isc.h
The dma configuration (DCFG) is specific to the product.
Move this configuration in the product specific driver, and add the
field inside the driver struct.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 3 +--
drivers/media/platform/atmel/atmel-isc.h
Create a product specific callback for initializing the RLP submodule
of the pipeline
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 6 ++
drivers/media/platform/atmel/atmel-isc.h | 3 +++
drivers/media/platform/atmel/atmel-sama5d2-isc.c | 10
Remove a duplicate definition of clock max divider
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-sama5d2-isc.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/media/platform/atmel/atmel-sama5d2-isc.c
b/drivers/media/platform/atmel/atmel-sama5d2-isc.c
index
Add his_entry to the reg offsets struct.
This will allow different products to have a different reg offset for this
particular module.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c| 3 ++-
drivers/media/platform/atmel/atmel-isc-regs.h| 2 ++
drivers
When calling the subdev, certain subdev drivers will overwrite the
frame size and adding sizes which are beyond the ISC's capabilities.
Thus we need to ensure the frame size is cropped to the maximum caps.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c
Add dma to the reg offsets struct.
This will allow different products to have a different reg offset for this
particular module.
Signed-off-by: Eugen Hristev
---
drivers/media/platform/atmel/atmel-isc-base.c | 19 ---
drivers/media/platform/atmel/atmel-isc-regs.h | 3
1 - 100 of 308 matches
Mail list logo