Disable AW_CALI_STORE_EXAMPLE for following build error:
sound/soc/codecs/aw883xx/aw_calib.c: In function 'aw_cali_write_cali_re_to_file':
sound/soc/codecs/aw883xx/aw_calib.c:65:9: error: unknown type name 'mm_segment_t'
sound/soc/codecs/aw883xx/aw_calib.c:78:14: error: implicit declaration of function 'get_fs'; did you mean 'sget_fc'? [-Werror=implicit-function-declaration]
sound/soc/codecs/aw883xx/aw_calib.c:79:9: error: implicit declaration of function 'set_fs'; did you mean 'sget_fc'? [-Werror=implicit-function-declaration]
sound/soc/codecs/aw883xx/aw_calib.c:79:16: error: 'KERNEL_DS' undeclared (first use in this function); did you mean 'KERNFS_NS'?
sound/soc/codecs/aw883xx/aw_calib.c:79:16: note: each undeclared identifier is reported only once for each function it appears in
sound/soc/codecs/aw883xx/aw_calib.c: In function 'aw_cali_get_cali_re_from_file':
sound/soc/codecs/aw883xx/aw883xx.c: In function 'aw883xx_i2c_remove':
sound/soc/codecs/aw883xx/aw883xx.c:2506:17: error: implicit declaration of function 'devm_gpio_free'; did you mean 'devm_gpiod_get'? [-Werror=implicit-function-declaration]
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ic92cc7e7d97e24778cfb6977be5e59df56fe58d8
The ASoC core has now been changed to default to the non-legacy DAI
naming, as such drivers using the new scheme no longer need to specify
the non_legacy_dai_naming flag.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Icc09bb794dcc2efd0da7ad59c99f2901b2a5a773
The ASoC core has now been changed to default to the non-legacy DAI
naming, as such drivers using the new scheme no longer need to specify
the non_legacy_dai_naming flag.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I0de38f48b436741cad09558d373c6ed5a99a248b
The ASoC core has now been changed to default to the non-legacy DAI
naming, as such drivers using the new scheme no longer need to specify
the non_legacy_dai_naming flag.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Idffadfe884af19a9ba749cc5b6c2eb8a2183527b
This partially reverts commit 497e7bd6e1.
Remove private pre_restart_handler APIs which can be replaced by
restart_handler with high priority.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I6eb16b94b36732e748597ecaf3eea3f082fb2cdd
Replace private pre_restart_handler which can remove on kernel 6.1.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I1ccb0ddc6c7d6475c77f3d478138fb03e3619395
Replace private pre_restart_handler which can remove on kernel 6.1.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I79d3a16811b14c176a9d17d782f3cc17717fbd7f
Use devm_register_sys_off_handler() that replaces global
pm_power_off_prepare variable.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: If8c0029962d81ae02128f5c8245d32788437f82c
This is a workaround, an uncertain waveform will be
generated after oneshot ends. It is needed to enable
the dclk scale function to resolve it. It doesn't
matter what the scale factor is, just make sure the
scale function is turned on, for which we set scale
factor to 2.
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
Change-Id: If34837194cba89570a58a993d7133a852955f69c
Make sure the next action after the higher priority registrant.
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Change-Id: I8bc99294f28aaeb4e574a45d17264cfe3317fbdd
Make sure that the init frequency is within the design range
Fixes: fd4c1a5ee2 ("arm64: dts: rockchip: rk3588: Fixed the init frequency")
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I62d9f2c5c87663f17b0f1dbff9b2109d05b5a5fa
* commit '33f4a54037590ce6bf13e3568e33685dbe752588':
fiq_debugger: tty write to tty fifo
ARM: dts: rockchip: rv1106 boards: Add sdmmc idle state support
ARM: dts: rockchip: rv1126: Add sdmmc idle state support
ARM: dts: rockchip: add idle state for sdmmc of rv1106-pinctrl
ARM: dts: rockchip: add idle state for sdmmc of rv1126-pinctrl
media: i2c: max96712: version 1.04.00
media: rockchip: vicap: fixes s_selection, support to set crop area
media: rockchip: vicap: only enum outout formats that terminal sensor support to use
media: rockchip: vicap: add security testing for output format
arm64: dts: rockchip: rk3528-demo: Enable dfi
arm64: dts: rockchip: rk3528-evb: Enable dfi
arm64: dts: rockchip: rk3528: Add ddr related nodes
PM / devfreq: rockchip_dmc: Add support for rk3528
dt-bindings: devfreq: rockchip_dmc: Add rk3528 support
PM / devfreq: rockchip-dfi: Add support for rk3528 dfi
dt-bindings: devfreq: rockchip_dfi: Add rk3528 support
Change-Id: I57b0ee5b5bbbcbba0c40f447f4a866775d2743c7
It means printf(user) write log to tty fifo, to reduce printf time.
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
Change-Id: Iaf55719e7089a7c3b3638e2976c97868eed3868e
In order to avoid power leak for affacting SD cards, add idle state
to all related boards for RV1106 series and change default state to
normal state for the driver to totally control it.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I80089eecb2ce1d41f8aaca9a17f913f5fa971514
In order to avoid power leak for affacting SD cards, add idle state
to all related boards for RV1126 and change default state to normal
state for the driver to totally control it.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: If00ed994eb2a467bd5ef16fd52f51b490bea4b27
So we can use FS_DAX on ROCKCHIP_RAMDISK.
Fixes: f74515986e ("fsdax: depend on ZONE_DEVICE || FS_DAX_LIMITED")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I80b6b36c390fb36a98fa4bd73f7c42efad23788a
u64 format should be %llu.
Fixes: db473bd423 ("media: i2c: lt7911uxc: update driver to V0.0X01.0X07")
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Iadd65d15d690222da7561a9ea67bd70082d79b45
Make sure that the init frequency is within the design range
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I1aea3638e0aa70e425410e71060ce89fa96e1869
Comes from mail "230423: 15:04: ARM support: Yao: ".
This patch and fw_230426 can resolve the occurrence
of "Unhandled Page fault" and CS_FAULTs exceptions
in the stress test "Dvfs+Gl_retrace+Rockx+emmc".
In another mail, Yao said "before any further suggestion or conclusion from RD,
you could temporally WA the issue by disable tiler heap reclaim".
Signed-off-by: Zhen Chen <chenzhen@rock-chips.com>
Change-Id: If06aa8e207b05f1a277aae9a86d1ff76b9a9f93b
we don't directly add bt-sco cards because it may take some
i2s/pcm, which may use dma, but dmas may limit.
so we just prepare this settings, then if any one who want to
support bt-sco, he/she can just add dts in board-level dtsi.
For example diff in "rk3528-evb1-ddr4-v10.dtsi":
+&bt_sco {
+ status = "okay";
+};
+
+&bt_sound {
+ status = "okay";
+};
+
+&sai0{
+ status = "okay";
+};
The default pcm/i2s setting is:
Format: PCM, dsp_a, MSB first, short sync, rising edge and 1 bclk.
rockchip soc: master; Bt controller: slave
Change-Id: I64e76c2ae4b8449e2ee345587e080b3a70521ed9
Signed-off-by: Zou Dengming <marsow.zou@rock-chips.com>