summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-12-07Merge remote-tracking branch 'sdk/jh7110-5.15.y-devel' into vf2-515-develVF2_v2.4.4Andy Hu2-6/+0
2022-12-06e24: xrp: remove from Kconfig and MakefileAndy Hu2-6/+0
since run git filter-repo, then need to remove from Kconfig and Makefile Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2022-12-02configs:starfive:Enable QSPI for visionfive2Jianlong Huang1-0/+5
Enable QSPI for visionfive2 Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-12-02Merge tag 'JH7110_515_SDK_v3.3.0' into vf2-515-develJianlong Huang6-49/+168
version JH7110_515_SDK_v3.3.0 for JH7110 EVB board
2022-12-01Merge branch 'CR_2650_PWM_hal.feng' into 'jh7110-5.15.y-devel'andy.hu1-2/+1
CR 2650 PWM hal.feng See merge request sdk/linux!626
2022-12-01Merge branch 'CR_2653_QSPI_5.15_ziv.xu' into 'jh7110-5.15.y-devel'andy.hu5-43/+163
CR 2653 QSPI 5.15 ziv.xu See merge request sdk/linux!612
2022-12-01Merge branch 'CR_2752_CPUfreq_515_mason.huo' into 'jh7110-5.15.y-devel'andy.hu1-4/+4
CR_2752 riscv: dts: Change cpu vdd per stress test See merge request sdk/linux!624
2022-11-30pwm: starfive: Use pm_runtime functions to disable clock when the device ↵Hal Feng1-2/+1
being removed So this can avoid disabling the pwm clock again when the pwm device is suspended and being removed. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2022-11-28riscv: dts: Change cpu vdd per stress testmason.huo1-4/+4
2022-11-26Merge tag 'JH7110_515_SDK_v3.2.0' into vf2-515-develJianlong Huang2-86/+195
version JH7110_515_SDK_v3.2.0 for JH7110 EVB board
2022-11-25Merge branch 'CR_2651_spi_dtbo_reload_faild_5.15_ziv.xu' into ↵andy.hu1-86/+185
'jh7110-5.15.y-devel' CR_2651_spi_dtbo_reload_faild_5.15_ziv.xu See merge request sdk/linux!619
2022-11-25Merge branch 'CR_2463_PCIE_Kevin.xie' into 'jh7110-5.15.y-devel'andy.hu1-0/+10
CR 2463 drivers: nvme: Add precheck and delay for CQE pending status. See merge request sdk/linux!621
2022-11-24drivers: nvme: Add precheck and delay for CQE pending status.Kevin.xie1-0/+10
To workaroud the NVMe I/O timeout problem in bootup S10udev case which caused by the CQE update lantancy. Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-11-24spi-pl022-starfive:fix the problem of spi overlay reloadziv.xu1-86/+185
fix the problem of spi overlay reload Signed-off-by: ziv.xu <ziv.xu@starfive.com>
2022-11-19Merge tag 'JH7110_515_SDK_v3.1.0' into vf2-515-develJianlong Huang20-354/+639
version JH7110_515_SDK_v3.1.0 for JH7110 EVB board
2022-11-18driver:spi-cadence-quadspi: enable qspiziv.xu4-43/+158
enable qspi Signed-off-by: ziv.xu <ziv.xu@starfive.com>
2022-11-17Merge branch 'CR_2429_spi_error_of_freq-5.15_ziv.xu' into 'jh7110-5.15.y-devel'andy.hu1-1/+7
CR 2429 spi error of freq 5.15 ziv.xu See merge request sdk/linux!603
2022-11-17Merge branch 'CR_2661_V4L2_Kevin.xie' into 'jh7110-5.15.y-devel'andy.hu1-2/+25
CR 2661 v4l2_driver: vin: Add skip frames for isp control. See merge request sdk/linux!610
2022-11-17Merge branch 'CR_2434_imx219_515_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu1-2/+4
CR_2434_imx219_515_changhuang.liang media: v4l2_driver: Supplement the missing runtime pm get ops on more than once stream_on cases. See merge request sdk/linux!595
2022-11-17Merge branch 'CR_2642_PCIe_Kevin.xie' into 'jh7110-5.15.y-devel'andy.hu1-0/+9
CR 2642 drivers: pci: Set PCIe PCI standard configuration ID. See merge request sdk/linux!613
2022-11-17Merge branch 'CR_2583_fix_usb_resume_hub_minda' into 'jh7110-5.15.y-devel'andy.hu1-1/+1
CR_2583 USB: core: Fix bug in resuming hub's handling of wakeup requests See merge request sdk/linux!600
2022-11-17Merge branch 'CR_2588_515_watchdog_timeleft_Xingyu.Wu' into ↵andy.hu1-27/+31
'jh7110-5.15.y-devel' CR_2588_515_watchdog_timeleft_Xingyu.Wu See merge request sdk/linux!597
2022-11-17Merge branch 'CR_2621_CPUIDLE_mason.huo' into 'jh7110-5.15.y-devel'andy.hu1-16/+0
CR_2621 riscv: dts: Remove unsupported cpuidle state See merge request sdk/linux!608
2022-11-17Merge branch 'CR_2435_hibernation-for-main_5.15_vout_shengyang.chen' into ↵andy.hu14-376/+586
'jh7110-5.15.y-devel' CR_2435: clk:starfive:vout:Add runtime and system pm && riscv:linux:drm: Add runtime and system pm See merge request sdk/linux!596
2022-11-15drivers: pci: Set PCIe PCI standard configuration ID.Kevin.xie1-0/+9
Class - PCI-to-PCI bridge. Revision - 2. Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-11-15v4l2_driver: vin: Add skip frames for isp control.Kevin.xie1-2/+25
The duration of extra isp control skip frames are fixed to 1 second. Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-11-15starfive:defconfig: modify defconfig to enable qspiziv.xu1-0/+5
modify defconfig to enable qspi Signed-off-by: ziv.xu <ziv.xu@starfive.com>
2022-11-14drm:verisilicon:hdmi-audio:Adjust when to configure registersXingyu Wu1-21/+21
Adjust when to configure registers before HDMI suspend. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-11-14dma:dw:Add stg_axi clock and reset of noc_busXingyu Wu3-4/+24
Add 'JH7110_NOC_BUS_CLK_STG_AXI' clock and 'RSTN_U0_NOC_BUS_STG_AXI_N' reset. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-11-14riscv:linux:drm : fix vout pm bugshengyang.chen4-193/+123
fix display problem of hdmi sys pm Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
2022-11-14riscv:linux:drm: fix double display bugshengyang.chen2-30/+44
fix double display bug Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
2022-11-14linux:dts:starfive: remove some useless port of vout dtsshengyang.chen1-2/+0
fix double display bug remove some useless port of vout dts Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
2022-11-14riscv:linux:drm: Add basic runtime and system pm support for voutshengyang.chen8-242/+426
Add basic runtime and system pm support for vout remove some useless clk/rst function and calling in vs_dc.c improve vout driver structure Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
2022-11-14linux:dts:starfive: Add pm support for vout dtsshengyang.chen1-40/+31
Add pm support for vout dts remove some useless port of vout dts Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
2022-11-14clk:starfive:vout:Add parent about disp_apb clkXingyu Wu1-2/+2
Clock "u0_pclk_mux_func_pclk" is the parent of "disp_apb" clock. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-11-14clk:starfive:vout:Add runtime and system pmXingyu Wu2-38/+111
Add runtime and system pm in vout clock tree driver. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-11-11spi-pl022-starfive.c: prompt warning when frequency does not surpportziv.xu1-1/+7
prompt warning when frequency does not surpport Signed-off-by: ziv.xu <ziv.xu@starfive.com>
2022-11-11riscv: dts: Remove unsupported cpuidle statemason.huo1-16/+0
The cpuidle state1 is also implemented in sbi with WFI C state, but it cause audio play failed. Remove the cpuidle state1. Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-11-10USB: core: Fix bug in resuming hub's handling of wakeup requestsAlan Stern1-1/+1
Bugzilla #213839 reports a 7-port hub that doesn't work properly when devices are plugged into some of the ports; the kernel goes into an unending disconnect/reinitialize loop as shown in the bug report. This "7-port hub" comprises two four-port hubs with one plugged into the other; the failures occur when a device is plugged into one of the downstream hub's ports. (These hubs have other problems too. For example, they bill themselves as USB-2.0 compliant but they only run at full speed.) It turns out that the failures are caused by bugs in both the kernel and the hub. The hub's bug is that it reports a different bmAttributes value in its configuration descriptor following a remote wakeup (0xe0 before, 0xc0 after -- the wakeup-support bit has changed). The kernel's bug is inside the hub driver's resume handler. When hub_activate() sees that one of the hub's downstream ports got a wakeup request from a child device, it notes this fact by setting the corresponding bit in the hub->change_bits variable. But this variable is meant for connection changes, not wakeup events; setting it causes the driver to believe the downstream port has been disconnected and then connected again (in addition to having received a wakeup request). Because of this, the hub driver then tries to check whether the device currently plugged into the downstream port is the same as the device that had been attached there before. Normally this check succeeds and wakeup handling continues with no harm done (which is why the bug remained undetected until now). But with these dodgy hubs, the check fails because the config descriptor has changed. This causes the hub driver to reinitialize the child device, leading to the disconnect/reinitialize loop described in the bug report. The proper way to note reception of a downstream wakeup request is to set a bit in the hub->event_bits variable instead of hub->change_bits. That way the hub driver will realize that something has happened to the port but will not think the port and child device have been disconnected. This patch makes that change. Cc: <stable@vger.kernel.org> Tested-by: Jonathan McDowell <noodles@earth.li> Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Link: https://lore.kernel.org/r/YdCw7nSfWYPKWQoD@rowland.harvard.edu Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: minda.chen <minda.chen@starfivetech.com>
2022-11-10watchdog: starfive: Get timeleft correctlyXingyu Wu1-27/+31
Use flag to count timeleft and the flag is base on reading register instead of interrupt handler function. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-11-10Merge tag 'JH7110_515_SDK_v3.0.0-rc3' into vf2-515-develJianlong Huang1-18/+8
version JH7110_515_SDK_v3.0.0-rc3 for JH7110 EVB board
2022-11-09Merge branch 'CR_2553_ytphy_515_samin.guo' into 'jh7110-5.15.y-devel'andy.hu1-18/+8
CR_2553: 515: Use ytphy_link_change_notify to detect link changes by yt8521/YT8531. See merge request sdk/linux!592
2022-11-09Merge branch 'CR_2556_vf2_515_DRM_mipi_new_panel_keith.zhao' into ↵jianlong.huang2-3/+57
'vf2-515-devel' 800*1280屏幕 支持开机探测 解决默认状态为 connected 的问题 See merge request sbc/linux!47
2022-11-09net:phy:motorcomm: Fix the problem that phytool cannot be used by YT8531Samin Guo1-18/+8
phy_read_status should not judge the auto negotiation speed, which will cause 0x1e to be frequently modified. JH7110B In different speed modes, the tx_inverted needs to be dynamically updated to match the timming. known issue: Function yt8521_read_status, it will be executed once per second. Can read and write ext reg (0xa001/a002/a003). This may causes the ext value read by the phytool always is 0. $ phytool write eth0/0/0x1e 0xa001 $ phytool read eth0/0/0x1f 0000 To avoid this problem, you can read 0x1f as fast as possible after writing 0x1e. $ phytool write eth0/0/0x1e 0xa001; phytool read eth0/0/0x1f 0x8160 Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2022-11-09riscv:linux:vout:mipikeith.zhao2-3/+57
add 800*1280 I2C read to detect the status of connection Signed-off-by: keith <keith.zhao@starfivetech.com>
2022-11-09media: v4l2_driver: Supplement the missing runtime pm get ops on more than ↵Kevin.xie1-2/+4
once stream_on cases. For example, if we run stf_isp_ctrl & v4l2test at the same time, s_stream for sensor will be called twice, so that rpm should be got twice too. Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-11-03Revert "dts:starfive:Disable spi"Jianlong Huang1-1/+1
Have fixed spi issue which lead to crash booting. This reverts commit bb1b47228930974ab386badc2544a2dbd49ddc18.
2022-11-03configs:Sync configs of jh7110Jianlong Huang1-0/+2
+CONFIG_PM_DEBUG=y +CONFIG_PM_ADVANCED_DEBUG=y Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-11-03riscv:linux:vout:mipikeith.zhao13-462/+882
mipi dsi driver add 800*1280 panel : update panel driver code Signed-off-by: keith <keith.zhao@starfivetech.com>
2022-11-03riscv:linux:vout:mipikeith.zhao4-17/+61
mipi dsi driver add 800*1280 panel: update dts and config Signed-off-by: keith <keith.zhao@starfivetech.com>