We need to operate loopback ADCs during LINEOUT enable
or disable that it make ensure enable ADCs more smoothly.
Therefore, we don't need to reset loopback ADCs in
rk3308_codec_loopback_work(), and separete reinit-mics
from adc_ana_enable().
Change-Id: Id26dd5ad00c527be47a706df58c435f12d46c281
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
This patch using BIST mode switching to fix the glitches
during loopback and reset ADCs.
Change-Id: Icb9dbd6557736fe555d9f8296369571e78bc6844
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Compress kernel use LZ4 for faster boot time.
zImage larger 15~20%, but save about 75% time. For example:
size(byte) time(s)
zImage (gz) 2891776 0.177
zImage (lz4) 3334144 0.042
Change-Id: I6a65569bbfc41eb63ee4154df26d055af7aa4ce7
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This adds a adv7181 driver that can receive cvbs in and
output NTSC yuv data.
Change-Id: I1f86178b38fd079f790f1194304e5b94f72e523f
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
Because px3se evb board enables fiq-debugger on uart1,
this disables uart1 and set uart1 iomux in fiq-debugger.
Change-Id: I0432216ee2162699309605c72600ad56a1e6c7b9
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
Add firefly linux ov13850 camera node, and enable isp
and isp_mmu.
Change-Id: I317f4b9895c73913456c957273cc6b18173a8cd9
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
1.Read ECC status according to each flash's identify Internal ECC;
2.Refresh data before reach ECC Flipping Bits.
Change-Id: Ie33850e151410cd788ff0220041d041a3d5b4f07
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
The lz4 Legacy format(which specified by -l) is
not supported by U-Boot.
Change-Id: I6b94881117b59384daca4efd796c933e8dc9e5a6
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
If external device sends data continuously, then uart is
always busy, and baud rate can't be set. It is useful
to reset uart and set loop back mode to make sure it is
idle.
Change-Id: I87286711870ff685ea29e36e61c97d45be5a6d08
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
This patch refine dma slave config only when interlace size is valid.
Change-Id: If02cec29083d5f582ccd0efcd78e7a6547d2df66
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
The bigger the divider, the better the clock jitter.
Change-Id: I4b4e06c71c2f0bdb0e32422fb42c8d490c3ec4bd
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Inside rk3128, the codec connects to i2s_8ch which is different
from the rk3126. This changes the i2s_clk to SCLK_I2S0, the mclk
of i2s_8ch, for rk3128.
Change-Id: I204e46dc2cf2c05bc85ef233b3139af94445ac90
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
The div offset of some clocks are different from their mux offset
and the COMPOSITE clock-type require that div and mux offset are
the same, so add a new COMPOSITE_DIV_OFFSET clock-type to handle that.
Change-Id: I7d541e29328f37d2ad806b3b6e5ab35b5513b345
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
The initial voltage may be too low for 816MHz and it is enough for
600MHz. And as the alternate pll clock of armclk is created when
pmucru driver initialize, so move ARMCLK to pmucru node.
Change-Id: I1f443d55c74e5212a19e42e08b54ec946b4692d6
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
As the vop will turn off the all planes when the system wakeup, that can
avoid the splash screen issues.
But the normal display will be show util the
application is refreshed. That's clearly not sensible.
For now, we can stop dma for turning off vop data.
Change-Id: Ieff151bee7813b978bc3cb65f0457e37dc20bf2c
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
This mainly enables rk312x codec and inno mipi dphy.
Note that the ES8396 is used by px3se-evb board, and
SWITCH is required by rk312x codec.
Change-Id: Ie2a0715ba04a073875423329654fe3a77d46965d
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
SOC_ENUM_SINGLE_DECL already defined with const, removing
the duplicate const in rk312x_codec.c
Change-Id: I085b1faf99a9ccd3b06e4e642abc1bc43cc8bac7
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
We support page flip through the drm atomic helper function.
But if we don't enable it the userspace won't know this
driver has such a capability.
Change-Id: If3689a526ea95235d191c0bbeba89745ae70d9c7
Signed-off-by: Randy Li <randy.li@rock-chips.com>
Add full nand disk device for gpt and recovery.
Device path is /dev/block/rknand0 or /dev/rknand0.
Change-Id: If6f52e4fd2b32c55ef4795692c40b6a18d066cb0
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
set uboot and kernel logo center display for linux product.
Change-Id: I481432b2719598b5d776eb39c4809c05dfb646b0
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
From the datasheet, the built-in codec interrupt number
should be 64 = 96 - 32.
Change-Id: I8078949fe57ce3c87867a8f2853efba8fce0a634
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>