I2S1 has two iomux group, M0 is located in BUS_IOC,
and M1 is located in PMU_IOC. they are controlled by
different IOE bit.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Ib6b302e8b03aa7d64bdd11862c413c736eaf4636
register PDM_SYSCONFIG is marked as volatile, and for regcache
sync policy, it will skip the registers which marked as volatile.
so, we should do it after regcache sync.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Ic65bc28d14fefc6e6c70e1b2c26468aa0fcd142e
The new hardware design will connect clkreq to the control pin of the
external clock, so the default output should be low level。
Change-Id: I2c99b90b7de359c8f32576d5f6eb7157c7a4a7b5
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This patch enable Schmitt-Trigger for pins I2S-MCLK/BCLK/LRCK for
clk noise reduction on slave mode which clk is provided by external
devices. and this can make controllers work much more robust.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I04237f1b1f56c5abbb4b61f0a2c1af89b1e32bc3
This patch enable Schmitt-Trigger for pins I2S-MCLK/BCLK/LRCK for
clk noise reduction on slave mode which clk is provided by external
devices. and this can make controllers work much more robust.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I619605ee9f71f912e495a2eb991746cdc67d8dd8
This patch enable Schmitt-Trigger for pins I2S-MCLK/BCLK/LRCK for
clk noise reduction on slave mode which clk is provided by external
devices. and this can make controllers work much more robust.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I8734c40041733b51107d0ed9715606111b2b94b9
This patch enable Schmitt-Trigger for pins I2S-MCLK/BCLK/LRCK for
clk noise reduction on slave mode which clk is provided by external
devices. and this can make controllers work much more robust.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: Iaac7ecc28e2a686e0c01ff4f3ae082d90fe3474d
This patch enable Schmitt-Trigger for pins I2S-MCLK/BCLK/LRCK for
clk noise reduction on slave mode which clk is provided by external
devices. and this can make controllers work much more robust.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I757328e08969031a638e2f7b7da09bf7473f8a0b
This patch enable Schmitt-Trigger for pins I2S-MCLK/BCLK/LRCK for
clk noise reduction on slave mode which clk is provided by external
devices. and this can make controllers work much more robust.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I08b127b7f75f303c8da45973d068f57b9a6ebc62
This patch enable Schmitt-Trigger for pins I2S-MCLK/BCLK/LRCK for
clk noise reduction on slave mode which clk is provided by external
devices. and this can make controllers work much more robust.
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I27ff54d8e17ef9a41cf2db91dbbfb8e81f8227ff
to solve the problem of the camera being unable to restore the default frame rate after adjust it to other frame rates
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Iedbeca79cb17368922d41a55ef2aafeb58170e1f
The v2 tuning has a defect, When tuning again, it is possible to
choose the phase that was previously selected which cannot work
stable.
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: I0dcc83bb35567278e8a10f1964f4636573b165ec
When spi slave is configured and ready to sample the clk from the
spi master, sending the gpio signal to remote, and the signal is
rising edge effective.
Add gpio to spi dts node like following:
&spi1 {
...
ready-gpios = <&gpio1 RK_PD2 GPIO_ACTIVE_LOW>;
...
};
Change-Id: I38c81d9058a1eb0c5397a37df99c22d273c30692
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
The feature cs-inactice support ss_in_n posedege interrupt in slave
mode, but it's need to disable the feature of cs-inactive.
Change-Id: I7a983719811589ee729a4355d3d5159ec78d1257
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
* Fix power reference counting error
* Fix issue with IOMMU mode limited to 32-bit
* Reduce the time consumed by dma mapping
Signed-off-by: Felix Zeng <felix.zeng@rock-chips.com>
Change-Id: I93ea77fee4904455a80dfe6303ff049f3338742b
This implements new APIs to get soc info and set opp hardware info.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I167a37f661ce6fc8b32afc7768985fe23e35318c
1. default use nv12 scale to vop show
2. force scale to 1920x1080 before to vop show
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
Change-Id: Ib6cbe8a638ab6a285c4982cd031b39db90f58c04
Customers may use rk628 drivers on different platforms.
Hence we need drivers that do not rely on the FB/DRM
display framework.
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
Change-Id: Iaab679e4a72d0fb0e5a76bee89b8e1bdac60f4a7
When update acm info, it need disable acm function in the first frame,
then update the acm info and enable acm function in the second frame.
If the acm info is not changed between 2 frames, it don't need update.
Signed-off-by: Zhang Yubing <yubing.zhang@rock-chips.com>
Change-Id: Iaedead2fad5951844ca07b037c3588071499e50a