* commit 'b40b8ac1de21578a07d7156095f804ae233602c4': (24 commits)
rk: clang-wrapper.py: Ignore #pragma-messages warning
mali400: mali: Use new APIs for devfreq
Mali: midgard: Use new APIs for devfreq
PM / devfreq: rockchip_bus: Use new API to init opp table
PM / devfreq: rockchip_dmc: Use new APIs for devfreq
cpufreq: dt: Use new API to adjust table
cpufreq: rockchip: Use new opp APIs to init opp table
video: rockchip: mpp: rkvdec: Use new API to init and uninit opp table
video: rockchip: mpp: rkvenc: Use new API to init and uinit opp table
video: rockchip: mpp: rkvenc2: Use new API to init and uninit opp info
video: rockchip: mpp: rkvdec2: Use new API to init and uinit opp table
MALI: bifrost: Use new APIs for devfreq
soc: rockchip: rockchip_system_monitor: Use new APIs to check rate and volt
soc: rockchip: opp_select: Implements new opp APIs for kernel 6.1
ARM: rk3128_linux_spi_nand.config: Disable deprecated CONFIG_RK_FLASH
Revert "arm: configs: enable slc nand and sfc devices for rk3308 aarch32"
arm64: rk1808_linux_defconfig: Disable deprecated CONFIG_RK_FLASH
Revert "arm64: configs: rk3308_linux_defconfig: enable slc nand and sfc devices driver"
Revert "ARM: rockchip_linux_defconfig: enable rk_nand"
media: common: videobuf2-cma-sg: Remove depends on DMA_CMA || DMABUF_HEAPS_ROCKCHIP_CMA_HEAP
...
Change-Id: I027641e3550ae3da93a81bce48174e5784a683bc
Use new APIs to init opp info and set opp rate.
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I58ecf6edccde170e1e9e12fa5b75c4261a39eac0
This reverts commit 7361795f1d.
CONFIG_RK_FLASH is deprecated.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I660d356e42baa31fdf7e526344b2ce880053d1ec
This reverts commit cbf6303b22.
CONFIG_RK_FLASH is deprecated.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Id1c197c1da7b1b8906d8d1a91b1075074e1d0384
This reverts commit 5f583a525f.
CONFIG_RK_NAND is deprecated.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ifda47e234cf1b8b25aaf01530a371da2f2c4b662
This reverts commit 8613805fc7.
CONFIG_RK_NAND is deprecated.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ie41327fe2bbc7c1529d416723c95ee4e0ae1fc3e
This reverts commit fa96033dcf.
CONFIG_RK_NAND is deprecated.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I0cb06ce11fe269045522c72311aef0794f63d410
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
* commit '2a6cd96c896958bf2410269664eadc2598ec9407':
Partially revert "i2c: rk3x: Make sure the i2c transfer to be finished before system reboot"
power: reset: reboot-mode: use restart_handler
i2c: rk3x: use restart_handler
ASoC: rockchip: vad: remove rtd->num_codecs
ASoC: rockchip: mdais: stop setting slave_id
soc: rockchip: pm_config: Use devm_register_sys_off_handler()
pwm: rockchip: enable dclk scale function in oneshot mode
soc: rockchip_system_monitor: Fix TPYE -> TYPE typo
media: i2c: max96712: version 1.05.00
drm/panel: maxim-max96752f: Fix pin assignment
soc: rockchip: tb_service: unmask mcu_done after all registered cb were finished
arm64: dts: rockchip: rk3588s: Fix low-volt-mem-read-margin
arm64: dts: rockchip: rk3588: Fixed the rkvenc1 init frequency
phy: rockchip: samsung-dcphy: restart rx after apb reset when rx is streaming
Change-Id: Iad38b0066d195a4102844f2e5ca48539361f858c
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 '04c44c91e5eb782b16c0750da2a84383147a8e77':
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
soc: rockchip: ramdisk: Fix for kernel 6.1
fsdax: depend on ZONE_DEVICE || FS_DAX_LIMITED || ROCKCHIP_RAMDISK
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: Id0267e99fe4328d5c6434d0aaa669256d31f6565
* 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