summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-01-03RISC-V: Add a simple platform driver for RISC-V legacy perfAtish Patra4-0/+159
The old RISC-V perf implementation allowed counting of only cycle/instruction counters using perf. Restore that feature by implementing a simple platform driver under a separate config to provide backward compatibility. Any existing software stack will continue to work as it is. However, it provides an easy way out in future where we can remove the legacy driver. Reviewed-by: Anup Patel <anup@brainfault.org> Signed-off-by: Atish Patra <atish.patra@wdc.com> Signed-off-by: Atish Patra <atishp@rivosinc.com>
2023-01-03RISC-V: Add a perf core library for pmu driversAtish Patra4-0/+398
Implement a perf core library that can support all the essential perf features in future. It can also accommodate any type of PMU implementation in future. Currently, both SBI based perf driver and legacy driver implemented uses the library. Most of the common perf functionalities are kept in this core library wile PMU specific driver can implement PMU specific features. For example, the SBI specific functionality will be implemented in the SBI specific driver. Reviewed-by: Anup Patel <anup@brainfault.org> Signed-off-by: Atish Patra <atish.patra@wdc.com> Signed-off-by: Atish Patra <atishp@rivosinc.com>
2023-01-03RISC-V: Add CSR encodings for all HPMCOUNTERSAtish Patra1-0/+58
Linux kernel can directly read these counters as the HPMCOUNTERS CSRs are accessible in S-mode. Reviewed-by: Anup Patel <anup@brainfault.org> Signed-off-by: Atish Patra <atish.patra@wdc.com> Signed-off-by: Atish Patra <atishp@rivosinc.com>
2023-01-03RISC-V: Remove the current perf implementationAtish Patra4-571/+0
The current perf implementation in RISC-V is not very useful as it can not count any events other than cycle/instructions. Moreover, perf record can not be used or the events can not be started or stopped. Remove the implementation now for a better platform driver in future that will implement most of the missing functionality. Reviewed-by: Anup Patel <anup@brainfault.org> Signed-off-by: Atish Patra <atish.patra@wdc.com> Signed-off-by: Atish Patra <atishp@rivosinc.com>
2022-12-30Merge branch 'CR_2861_vf2_ts_515_changhuang.liang' into 'vf2-515-devel'VF2_v2.6.0andy.hu2-0/+7
CR_2861_vf2_ts_515_changhuang.liang riscv: dts: starfive: Add touchscreen node support See merge request sbc/linux!52
2022-12-30riscv: defconfig: Enable touchscreenChanghuang Liang1-0/+2
Enable touchscreen TINKER FT5406 Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2022-12-30riscv: dts: starfive: Add touchscreen node supportChanghuang Liang1-0/+5
Add touchscreen node support. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2022-12-30Merge tag 'JH7110_515_SDK_v3.6.0' into vf2-515-develAndy Hu7-37/+426
version JH7110_515_SDK_v3.6.0 for JH7110 EVB board
2022-12-30Merge branch 'CR_2506_515_usb_wifi_jianlong' into 'vf2-515-devel'andy.hu110-0/+52822
CR_2506_515 net:wireless:Support eswin usb wifi ECR6600U See merge request sbc/linux!45
2022-12-30Merge branch 'CR_2936_MMC_515_william.qiu' into 'vf2-515-devel'andy.hu1-29/+1
CR_2936_515: mmc: starfive: resolving warning logs See merge request sbc/linux!49
2022-12-30configs:starfive:Enable usb wifi ECR6600UJianlong Huang1-0/+2
Enable usb wifi ECR6600U Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-12-30net:wireless:Support eswin usb wifi ECR6600UJianlong Huang109-0/+52820
Add usb wifi ECR6600U driver Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-12-29Merge branch 'CR_2861_ts_515_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu5-0/+426
CR_2861_ts_515_changhuang.liang input: touchscreen: Add tinker_ft5406 driver support See merge request sdk/linux!654
2022-12-29Merge branch 'CR_2933_MMC_515_william.qiu' into 'jh7110-5.15.y-devel'andy.hu1-17/+0
CR_2933_515 riscv: dts: mmc: delete mmc1 config See merge request sdk/linux!651
2022-12-29Merge branch 'CR_2951_515_ac101_compile_Xingyu.Wu' into 'jh7110-5.15.y-devel'andy.hu1-20/+0
CR_2951_515_ac101_compile_Xingyu.Wu See merge request sdk/linux!655
2022-12-23input: touchscreen: tinker_ft5406: Fixed show more error log bugChanghuang Liang1-17/+12
Fixed show more error log bug when not attach the touchscreen. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2022-12-23riscv: defconfig: Enable touchscreenChanghuang Liang1-0/+2
Enable touchscreen TINKER FT5406 Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2022-12-22sound: codecs: ac101: Fixed warning when compilingXingyu Wu1-20/+0
Removed the useless part and fixed warning. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-12-22riscv: dts: starfive: Add tinker_ft5406 touchscreen nodeChanghuang Liang1-0/+4
Add tinker_ft5406 touchscreen node. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2022-12-22input: touchscreen: tinker_ft5406: Add open&close ioctlChanghuang Liang1-18/+14
Add open&close ioctl. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2022-12-21input: touchscreen: Add tinker_ft5406 driver supportChanghuang Liang3-0/+429
Add tinker_ft5406 driver support Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2022-12-21mmc: starfive: resolving warning logsWilliam Qiu1-29/+1
delete switch_voltage interface to resolving warning logs Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2022-12-20riscv: dts: mmc: delete mmc1 configWilliam Qiu1-17/+0
delete mmc1 config, default use mmc0 Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2022-12-19Merge tag 'JH7110_515_SDK_v3.5.1' from sdk into vf2-515-develVF2_v2.5.0Andy Hu12-467/+299
version JH7110_515_SDK_v3.5.1 for JH7110 EVB board
2022-12-19Merge branch 'CR_2868_515_evb_rgb2hdmi_shengyang.chen' into ↵andy.hu1-1/+0
'jh7110-5.15.y-devel' CR_2868: riscv: linux: vout: fix rgb2hdmi display problem See merge request sdk/linux!639
2022-12-19Merge branch 'CR_2069_515_evb_cusor_keith.zhao' into 'jh7110-5.15.y-devel'andy.hu1-0/+2
CR_2069: riscv: linux: vout: fix cusor problem See merge request sdk/linux!647
2022-12-19Merge branch 'CR_2888_515_clocktree_pll0_Xingyu.Wu' into 'jh7110-5.15.y-devel'andy.hu2-24/+4
CR_2888_515_clocktree_pll0_Xingyu.Wu See merge request sdk/linux!644
2022-12-19Merge branch 'CR_2871_MMC_515_william.qiu' into 'jh7110-5.15.y-devel'andy.hu3-1/+25
CR_2871riscv: dts: mmc:modify mmc1 config See merge request sdk/linux!643
2022-12-19Merge branch 'CR_2865_RNG_jiajie.ho' into 'jh7110-5.15.y-devel'andy.hu6-441/+269
CR_2865: hwrng: Reworked driver for speed performance and efficiency See merge request sdk/linux!640
2022-12-16riscv: linux: vout: fix cusor problemshengyang.chen1-0/+2
fix cusor bluring problem of debian Signed-off-by: keith <keith.zhao@starfivetech.com>
2022-12-15riscv: dts: mmc:modify mmc1 configWilliam Qiu3-1/+25
modify mmc1 config Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2022-12-15clk: starfive: pll: Remove high frequency of PLL0Xingyu Wu1-23/+3
Remove high frequency of PLL0 and make sure PLL0 max frequency is 1.5GHz. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-12-15clk: starfive: Change divider value of cpu_core clockXingyu Wu1-1/+1
Change divider value to make sure the frequency is half of PLL0. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-12-14CR_2865: hwrng: Reworked driver for speed performance and efficiencyJia Jie Ho6-441/+269
Changes: 1. Reseed during init only, not for every read. 2. Completion struct for irqreturn for better efficiency. 3. Add module_param for reseed operations based on request counter and/or timer countdown. 4. Removed unused macros and steps. Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com>
2022-12-14riscv: linux: vout: fix rgb2hdmi display problemshengyang.chen1-1/+0
fix problem of rgb2hdmi without display in first test Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
2022-12-09Merge remote-tracking branch 'sdk/jh7110-5.15.y-devel' into vf2-515-develAndy Hu13-102/+342
2022-12-09Merge branch 'CR_2822_PCIE_Kevin.xie' into 'jh7110-5.15.y-devel'andy.hu1-0/+1
CR 2822 riscv: configs: Add port bus driver for PCIe switch. See merge request sdk/linux!633
2022-12-09Merge branch 'CR_2796_515_sound_card_Xingyu.Wu' into 'jh7110-5.15.y-devel'andy.hu13-102/+335
CR_2796_515_sound_card_Xingyu.Wu See merge request sdk/linux!631
2022-12-09Merge branch 'CR_2789_refresh_uboot/spl_under_kernel_5.15_ziv.xu' into ↵andy.hu1-0/+6
'jh7110-5.15.y-devel' CR_2789_refresh_uboot/spl_under_kernel_5.15_ziv.xu See merge request sdk/linux!635
2022-12-08sound:starfive:Move playback and capture driver as slave to starfive I2SXingyu Wu5-72/+265
Move playback and capture driver as slave from snps I2S merge to starfive I2S. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-12-08riscv:jh7110.dtsi: add uboot and spl partition on qspi nodeziv.xu1-0/+6
add uboot and spl partition on qspi node Signed-off-by: ziv.xu <ziv.xu@starfive.com>
2022-12-07Merge remote-tracking branch 'sdk/jh7110-5.15.y-devel' into vf2-515-develVF2_v2.4.4Andy Hu2-6/+0
2022-12-07riscv: configs: Add port bus driver for PCIe switch.Kevin.xie1-0/+1
Verified on JH7110EVB with ASMedia EV Board (asm1806 version). Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-12-07riscv: dts: starfive: jh7110: Add multiple sound cardsXingyu Wu8-30/+70
Add multiple sound cards to let one device corresponds to one sound card. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
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