Age | Commit message (Collapse) | Author | Files | Lines |
|
CR_3137 usb: cdns3: add hibernation pm notifier to set roothub wakeup
See merge request sdk/linux!679
|
|
'jh7110-5.15.y-devel'
CR_3170: spi-pl022-starfive:Enable spi to be compiled into modules
See merge request sdk/linux!677
|
|
CR_3231_515_PWMDAC_module_Xingyu.Wu
See merge request sdk/linux!680
|
|
CR_3157_imx219_515_changhuang.liang media: starfive: Modify support imx219 compile to module
See merge request sdk/linux!675
|
|
CR 2339 usb: xhci: To improve performance, using sysport for bulk read.
See merge request sdk/linux!590
|
|
Resolved the error of reording and playing simultaneously after performing
hibernation resume.
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
|
|
In hibernation resume case. usb devices maybe not emulated,
roothub is suspended, In this case, usb devices will be resume
fail. Set roothub active while hibernation resume.
Signed-off-by: minda.chen <minda.chen@starfivetech.com>
|
|
Change Makefile and Kconfig to support module building.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Add StarFive JH7110 hwrng config to VisionFive 2 defconfig
Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com>
|
|
Besides, add some log in dump reg function to distinguish different groups.
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
|
|
fix hdmi hibernation resume failure cause by pmic
Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
|
|
Generate an usb low memory pool for usb 3.0 host
read/write transfer, default size is 8M.
Signed-off-by: minda.chen <minda.chen@starfivetech.com>
|
|
CR_3031: net:wireless:eswin:disable p2p function
See merge request sbc/linux!61
|
|
version JH7110_515_SDK_v4.0.1 for JH7110 EVB board
1. Fix hibernation issues: clk tree, gpio, gpu, tempsensor
2. Add gpio reset feature in opensbi
3. Fix usb device issue for debian
|
|
Enable spi to be compiled into modules
Signed-off-by: ziv.xu <ziv.xu@starfive.com>
|
|
CR 3149 TempSensor hal.feng
See merge request sdk/linux!676
|
|
[runtime_pm off]
After Linux starts, it will enable clk and put tempsensor in standby state.
When 'cat /sys/class/hwmon/hwmon0/temp1_input' is executed, will switch to
the run state, and return the value of the sensor after the interrupt is
generated.
$ cat /sys/kernel/debug/clk/clk_summary | grep "temp_sensor"
enable prepare protect duty hardware
clock count count count rate accuracy phase cycle enable
-------------------------------------------------------------------------------------------
u0_temp_sensor_clk_temp 1 1 0 1000000 0 0 50000 Y
u0_temp_sensor_clk_apb0 1 1 0 49500000 0 0 50000 Y
$ cat /sys/class/hwmon/hwmon0/temp1_input
46135
$ cat /sys/class/hwmon/hwmon0/temp1_enable
1
You can 'echo 0 >/sys/class/hwmon/hwmon0/temp1_enable' to turn off the
tempsensor and clk.
$ echo 0 > /sys/class/hwmon/hwmon0/temp1_enable
$ cat /sys/kernel/debug/clk/clk_summary | grep "temp_sensor"
enable prepare protect duty hardware
clock count count count rate accuracy phase cycle enable
-------------------------------------------------------------------------------------------
u0_temp_sensor_clk_temp 0 0 0 1000000 0 0 50000 N
u0_temp_sensor_clk_apb0 0 0 0 49500000 0 0 50000 N
$ cat /sys/class/hwmon/hwmon0/temp1_enable
0
$ cat /sys/class/hwmon/hwmon0/temp1_input
cat: read error: No data available
[runtime_pm on]
When runtime_pm is turned on, sfctemp will automatically enter
the suspend state and close clk after the system is started.
$ cat /sys/kernel/debug/clk/clk_summary | grep "temp_sensor"
enable prepare protect duty hardware
clock count count count rate accuracy phase cycle enable
-------------------------------------------------------------------------------------------
u0_temp_sensor_clk_temp 0 0 0 1000000 0 0 50000 N
u0_temp_sensor_clk_apb0 0 0 0 49500000 0 0 50000 N
when 'cat /sys/class/hwmon/hwmon0/temp1_input', it will call
starfive_temp_resume, enable clk and put sfctemp into power on state.
$ cat /sys/class/hwmon/hwmon0/temp1_input
46235
After the interrupt is generated and the sensor value is obtained, it
will enter the suspend state again. so, hardware-enable-stats is always 'N'.
Of course, in this mode (runtime_pm on), it also supports the opening
and closing of functions (in fact, clk is not directly operated, and the
opening and closing of clk are controlled by runtime_pm)
$ cat /sys/class/hwmon/hwmon0/temp1_input
46235
$ cat /sys/class/hwmon/hwmon0/temp1_enable
1
$ echo 0 > /sys/class/hwmon/hwmon0/temp1_enable
$ cat /sys/class/hwmon/hwmon0/temp1_enable
0
$ cat /sys/class/hwmon/hwmon0/temp1_input
cat: read error: No data available
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
|
|
CR_2956: gpu:driver: fix up hibernation resume problem
See merge request sdk/linux!672
|
|
To fix dynamic naming issue, disable CONFIG_ECRNX_P2P for wifi ECR6600U
Signed-off-by: MichaelZhuxx <michael.zhu@starfivetech.com>
|
|
CR 3027 pinctrl hal.feng
See merge request sdk/linux!671
|
|
'jh7110-5.15.y-devel'
CR_3058_hibernation_clocktree_Xingyu.Wu
See merge request sdk/linux!670
|
|
Modify support imx219 compile to module.
Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
|
|
fix up hibernation resume problem
Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
|
|
when resuming
Restore the other registers besides irq registers when resuming.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
Fixed UART3-5 error after hibernation by adjusting register shift.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
version JH7110_515_SDK_v4.0.0-rc2 for JH7110 EVB board
1. Fix hibernation issue: spdif, pwmdac, tdm, pdm, wave511, wave420l, jpu, can, isp, clk tree, gmac, gpio
2. Porting the upstream opensbi and add pm patch for hibernation
3. #3120 omx fix low probability of segment fault when decoding finish
|
|
CR_3121 Add hibernation support for VF2
See merge request sbc/linux!60
|
|
CR_2862_gt9xx_ts_515_changhuang.liang input: touchscreen: Add gt9xx driver support
See merge request sbc/linux!56
|
|
'vf2-515-devel'
CR_2876 dts: gpio: make gpio reset priority lower than pmic reset
See merge request sbc/linux!58
|
|
CR 3027 pinctrl hal.feng
See merge request sdk/linux!669
|
|
CR_3122 usb: phy: init phy in resume function
See merge request sdk/linux!667
|
|
CR_3051_ts_515_changhuang.liang input: touchscreen: tinker_ft5406: Delete unused code.
See merge request sdk/linux!661
|
|
CR_3054_vin_system_pm_changhuang.liang media: starfive: Delete unused USE_MEDIA_PIPELINE macro code
See merge request sdk/linux!665
|
|
CR_3025_hibernation_tdm_walker.chen
See merge request sdk/linux!666
|
|
'jh7110-5.15.y-devel'
CR_3058_hibernation_clocktree_Xingyu.Wu
See merge request sdk/linux!668
|
|
CR_2964_hibernation_spdif_Xingyu.Wu
See merge request sdk/linux!664
|
|
CR_3021_hibernation_pwmdac_Xingyu.Wu
See merge request sdk/linux!663
|
|
Add 'save_context' ops to save register value of clock and
'restore_context' ops to restore the value to register.
The ops only suitable for SYS, AON and STG clock tree not ISP and VOUT.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
usb phy will be reset in suspend procedure. After resume.
Some devices can not work. In usb resume, init phy again.
Signed-off-by: minda.chen <minda.chen@starfivetech.com>
|
|
Fixed playback failed after hibernation by saving and restoring registers' data.
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
|
|
Update VIN system PM operation, fixed multi open the same video node
cause resume fail.
Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
|
|
Multi open the same video node only set power one time.
Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
|
|
Delete unused USE_MEDIA_PIPELINE macro code.
Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
|
|
Fixed playback failed after hibernation by saving and restoring
register data.
Fixed error when open PWMDAC_PCM.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Fixed playback failed after hibernation by saving and restoring registers' data.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Enable the hibernation feature, and config the default
hibernation swap partition by partition label.
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
|
|
Config the system suspend feature, enable pm test feature.
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
|
|
For sbi pmic reset priority is 192. To make pmic reset
work. Make gpio reset priority lower.
Signed-off-by: minda.chen <minda.chen@starfivetech.com>
|
|
when resuming
Restore the register configuration after resuming.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
Update log show.
Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
|