documentation: Update README

This commit is contained in:
dchvs 2021-03-15 21:41:54 -06:00
parent e4327010bd
commit 809d88dd93
1 changed files with 12 additions and 11 deletions

View File

@ -105,23 +105,24 @@ As the AE has interdependency with the digital gain. This gain it's and operatio
* Digital gain equation: * Digital gain equation:
* *
* RANGE: 1x, 7.97x * RANGE: 1x, 7.97x
* GAIN: VAL / STEPS;
* STEPS: 1/32 * STEPS: 1/32
* *
* SCALE FACTOR = 100.000 * SCALE FACTOR = 3
* *
* min_gain_val = 100.000 * min_gain_val = 102
* max_gain_val = 797.000 * max_gain_val = 160
* step_gain_val = 3125 * gain_factor = 3
*
* gain accepts mapping to range 32 - 53
*/ */
MT9M021 sensor datasheet:
* <a href="https://files.niemo.de/aptina_pdfs/MT9M021-M031_Developer_Guide.pdf">MT9M021 Developer Guide</a>
``` ```
MT9M021 sensor datasheet:
Where, the min_gain_val, max_gain_val, step_gain_val are part of the cameras' DTSI (tegra186-tx2-spiri-camera.dtsi) fixed parameters * <a href="https://files.niemo.de/aptina_pdfs/MT9M021-M031_Developer_Guide.pdf">MT9M021 Developer Guide</a>
as per the datasheet. The step_gain_val consists of the steps (1/32 for the register) scaled to a value that makes this fraction become an significant
in integer.
Where, the `min_gain_val, max_gain_val, step_gain_val` are part of the cameras' DTSI (tegra186-tx2-spiri-camera.dtsi) fixed parameters
as per the datasheet. The `gain` consists on the steps (1x + n * 1/32 for the register) scaled to a value that represents this fraction in an integer value for the gain register.
#### Kernel Changes #### Kernel Changes