MLK-19510: ISI: fix isi cann't restore to original size after resize
authorGuoniu.Zhou <guoniu.zhou@nxp.com>
Mon, 17 Sep 2018 03:33:22 +0000 (11:33 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitfb3e4fe1ae72e7d525ae3584f7825bf29b09a378
tree17b0ca30b671ab01eca21105cb0fd67684917483
parent000e3d3a9b2f3e00f3fe38ab3d27982059f1566f
MLK-19510: ISI: fix isi cann't restore to original size after resize

1. add CHNL_SCL_IMG_CFG register that is new added in QXP/QM B0
2. according to isi owner's comments, CHNL_SCL_IMG_CFG need to
equal to CHNL_IMG_CFG when scaling disabled and equal to scaled
image size when scaling enabled, so add configuration for this
register.
3. Becuse isi software reset can't reset isi register to default
, so it need to manual clear if there is no scaling.

Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
drivers/media/platform/imx8/mxc-isi-hw.c