summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-02-09spi-cadence-quadspi: add reset before resumeziv.xu1-0/+7
add reset before resume Signed-off-by: ziv.xu <ziv.xu@starfive.com>
2023-02-06riscv: defconfig: Enable GT911Changhuang Liang1-0/+1
Enable GT911. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2023-02-06riscv: dts: starfive: Add goodix gt911 touchscreen supportChanghuang Liang2-0/+7
Add goodix gt911 touchscreen support. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2023-02-06input: touchscreen: goodix: Update irq fetch modeChanghuang Liang1-2/+2
Update irq fetch mode. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2023-02-06Revert "input: touchscreen: Add gt9xx driver support"Changhuang Liang3-1974/+0
This reverts commit d4bbbc4e18e0584599a170e4b01bff160b58e390.
2023-02-06Revert "riscv: dts: starfive: Add gt9xx touchscreen support"Changhuang Liang2-10/+0
This reverts commit 114424dfb1540462f90867028d1ad915e05f3016.
2023-02-06Revert "riscv: defconfig: Enable GT9xx"Changhuang Liang1-1/+0
This reverts commit cffcc7c9cb38f95f2f229344e5a7bd2ea67323a0.
2023-02-06riscv:linux:vout:mipi+hdmikeith.zhao1-1/+1
support hdmi+mipi dual display for debain fix the dump issue when dual display Signed-off-by: keith <keith.zhao@starfivetech.com>
2023-02-05Merge tag 'JH7110_515_SDK_v4.1.0' into vf2-515-develAndy Hu18-76/+416
version JH7110_515_SDK_v4.1.0 for JH7110 EVB board 1. Fix hibernation issue: usb cdns3, hdmi vout, isp 2. Support linux driver module build for: imx219, pwmdac, spi 3. #2339 fix usb read performance issue 4. #1432 support uboot reset on evb jh7110b or vf2 board 5. #3238 lack a memory reservation for OpenSBI 6. #3151 fix tdm input/ouput error
2023-02-05Merge branch 'CR_3172_RNG_jiajie.ho' into 'vf2-515-devel'andy.hu1-1/+1
CR_3172: riscv: defconfig: Enable StarFive hwrng See merge request sbc/linux!63
2023-02-03Merge branch 'CR_2975_5.15_hdmi_shengyang.chen' into 'jh7110-5.15.y-devel'andy.hu1-1/+24
CR_2975_riscv: linux: vout: fix hdmi hibernation resume failure cause by pmic See merge request sdk/linux!673
2023-02-03Merge branch 'CR_3158_ISP_515_Kevin.xie' into 'jh7110-5.15.y-devel'andy.hu2-13/+78
CR_3158: v4l2_driver: isp: Save & resore context regs during stream on/off. See merge request sdk/linux!678
2023-02-03Merge branch 'CR_3151_TDM_Hibernation_walker.chen' into 'jh7110-5.15.y-devel'andy.hu1-52/+48
CR_3151_TDM_Hibernation_walker.chen See merge request sdk/linux!682
2023-02-03Merge branch 'CR_3137_usb_hiber_notify_minda' into 'jh7110-5.15.y-devel'andy.hu3-1/+103
CR_3137 usb: cdns3: add hibernation pm notifier to set roothub wakeup See merge request sdk/linux!679
2023-02-03Merge branch 'CR_3170_spi_compiled_as_module_5.15_ziv.xu' into ↵andy.hu1-3/+8
'jh7110-5.15.y-devel' CR_3170: spi-pl022-starfive:Enable spi to be compiled into modules See merge request sdk/linux!677
2023-02-03Merge branch 'CR_3231_515_PWMDAC_module_Xingyu.Wu' into 'jh7110-5.15.y-devel'andy.hu2-2/+9
CR_3231_515_PWMDAC_module_Xingyu.Wu See merge request sdk/linux!680
2023-02-03Merge branch 'CR_3157_imx219_515_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu1-1/+1
CR_3157_imx219_515_changhuang.liang media: starfive: Modify support imx219 compile to module See merge request sdk/linux!675
2023-02-03Merge branch 'CR_2339_usb_read_using_sysport_minda' into 'jh7110-5.15.y-devel'andy.hu7-3/+145
CR 2339 usb: xhci: To improve performance, using sysport for bulk read. See merge request sdk/linux!590
2023-02-03CR_3151_TDM_Hibernation_walker.chenWalker Chen1-52/+48
Resolved the error of reording and playing simultaneously after performing hibernation resume. Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2023-02-01usb: cdns3: add hibernation pm notifier to set roothub wakeupminda.chen3-1/+103
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>
2023-02-01sound: starfive: pwmdac: Support module buildingXingyu Wu2-2/+9
Change Makefile and Kconfig to support module building. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2023-01-31riscv: defconfig: Enable StarFive hwrngJia Jie Ho1-1/+1
Add StarFive JH7110 hwrng config to VisionFive 2 defconfig Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com>
2023-01-31v4l2_driver: isp: Save & resore context regs during stream on/off.Kevin.xie2-13/+78
Besides, add some log in dump reg function to distinguish different groups. Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2023-01-30riscv: linux: vout: fix hdmi hibernation resume failure cause by pmicshengyang.chen1-1/+24
fix hdmi hibernation resume failure cause by pmic Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
2023-01-29usb:xhci:To improve performance,usb using lowmem for bulk xfer.minda.chen7-3/+145
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>
2023-01-19Merge branch 'CR_3031_disable_wifi_p2p_michael.zhu' into 'vf2-515-devel'andy.hu1-1/+1
CR_3031: net:wireless:eswin:disable p2p function See merge request sbc/linux!61
2023-01-19Merge tag 'JH7110_515_SDK_v4.0.1' into vf2-515-develAndy Hu7-66/+69
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
2023-01-18spi-pl022-starfive:Enable spi to be compiled into modulesziv.xu1-3/+8
Enable spi to be compiled into modules Signed-off-by: ziv.xu <ziv.xu@starfive.com>
2023-01-18Merge branch 'CR_3149_TempSensor_hal.feng' into 'jh7110-5.15.y-devel'andy.hu1-43/+43
CR 3149 TempSensor hal.feng See merge request sdk/linux!676
2023-01-18hwmon: sfctemp: Fix the problem that cannot disable sfctemp after enabling PMSamin Guo1-43/+43
[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>
2023-01-17Merge branch 'CR_2956_gpu_shanlong.li' into 'jh7110-5.15.y-devel'andy.hu3-2/+2
CR_2956: gpu:driver: fix up hibernation resume problem See merge request sdk/linux!672
2023-01-17net:wireless:eswin:disable p2p functionMichaelZhuxx1-1/+1
To fix dynamic naming issue, disable CONFIG_ECRNX_P2P for wifi ECR6600U Signed-off-by: MichaelZhuxx <michael.zhu@starfivetech.com>
2023-01-17Merge branch 'CR_3027_pinctrl_hal.feng' into 'jh7110-5.15.y-devel'andy.hu2-16/+18
CR 3027 pinctrl hal.feng See merge request sdk/linux!671
2023-01-17Merge branch 'CR_3058_hibernation_clocktree_Xingyu.Wu' into ↵andy.hu1-5/+6
'jh7110-5.15.y-devel' CR_3058_hibernation_clocktree_Xingyu.Wu See merge request sdk/linux!670
2023-01-17media: starfive: Modify support imx219 compile to moduleChanghuang Liang1-1/+1
Modify support imx219 compile to module. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2023-01-16gpu:driver: fix up hibernation resume problemshanlong.li3-2/+2
fix up hibernation resume problem Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2023-01-13pinctrl: starfive: Save all register values when suspending and restore them ↵Hal Feng2-16/+18
when resuming Restore the other registers besides irq registers when resuming. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-01-13clk: starfive: Fixed UART3-5 error after resumeXingyu Wu1-5/+6
Fixed UART3-5 error after hibernation by adjusting register shift. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2023-01-11Merge tag 'JH7110_515_SDK_v4.0.0-rc2' into vf2-515-develVF2_v2.8.0Andy Hu18-189/+448
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
2023-01-11Merge branch 'CR_3121_VF2_Hibernation_mason.huo' into 'vf2-515-devel'andy.hu1-4/+3
CR_3121 Add hibernation support for VF2 See merge request sbc/linux!60
2023-01-11Merge branch 'CR_2862_gt9xx_ts_515_changhuang.liang' into 'vf2-515-devel'andy.hu6-0/+1985
CR_2862_gt9xx_ts_515_changhuang.liang input: touchscreen: Add gt9xx driver support See merge request sbc/linux!56
2023-01-11Merge branch 'CR2876_vf2_make_gpio_reset_priority_low_minda' into ↵andy.hu1-1/+1
'vf2-515-devel' CR_2876 dts: gpio: make gpio reset priority lower than pmic reset See merge request sbc/linux!58
2023-01-11Merge branch 'CR_3027_pinctrl_hal.feng' into 'jh7110-5.15.y-devel'andy.hu3-20/+43
CR 3027 pinctrl hal.feng See merge request sdk/linux!669
2023-01-11Merge branch 'CR_3122_fix_usb_resume_device_minda' into 'jh7110-5.15.y-devel'andy.hu1-19/+30
CR_3122 usb: phy: init phy in resume function See merge request sdk/linux!667
2023-01-11Merge branch 'CR_3051_ts_515_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu1-23/+20
CR_3051_ts_515_changhuang.liang input: touchscreen: tinker_ft5406: Delete unused code. See merge request sdk/linux!661
2023-01-11Merge branch 'CR_3054_vin_system_pm_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu4-114/+77
CR_3054_vin_system_pm_changhuang.liang media: starfive: Delete unused USE_MEDIA_PIPELINE macro code See merge request sdk/linux!665
2023-01-11Merge branch 'CR_3025_hibernation_tdm_walker.chen' into 'jh7110-5.15.y-devel'andy.hu2-1/+48
CR_3025_hibernation_tdm_walker.chen See merge request sdk/linux!666
2023-01-11Merge branch 'CR_3058_hibernation_clocktree_Xingyu.Wu' into ↵andy.hu2-0/+185
'jh7110-5.15.y-devel' CR_3058_hibernation_clocktree_Xingyu.Wu See merge request sdk/linux!668
2023-01-11Merge branch 'CR_2964_hibernation_spdif_Xingyu.Wu' into 'jh7110-5.15.y-devel'andy.hu3-4/+29
CR_2964_hibernation_spdif_Xingyu.Wu See merge request sdk/linux!664
2023-01-11Merge branch 'CR_3021_hibernation_pwmdac_Xingyu.Wu' into 'jh7110-5.15.y-devel'andy.hu2-8/+16
CR_3021_hibernation_pwmdac_Xingyu.Wu See merge request sdk/linux!663