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)
commitad8632d09cba546015c44a7ac247041b6390687d
treed8062ab8d9ff83d059ec280fb79edc2e6e65cd9c
parentcd873b6f2ca7f592805c001486b036fe50c6dda4
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.h