summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2023-04-28Merge tag 'JH7110_515_SDK_v4.8.2' into vf2-515-develAndy Hu1-1/+2
2023-04-26reset: starfive: jh7110: Standardize the copyrightHal Feng1-1/+2
Standardize the StarFive copyright information. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-04-13regulator: axp15060: enbale ALDO4 and DCDC1William Qiu1-0/+2
enbale ALDO4 for the MMC bus IO line power and DCDC1 the card power Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2023-03-19Merge tag 'JH7110_515_SDK_v4.5.1' into vf2-515-develAndy Hu1-1/+1
version JH7110_515_SDK_v4.5.1 for JH7110 EVB board 1. #4082: linux: u-boot: apply csr patch 2. #3499: linux: u-boot: enable framebuffer console 3. #4038: linux: vout fixed open clock fail 4. #3509: linux: fix some bugs and add request(), free(), set_config() ops for sys gpiochip
2023-03-16pinctrl: starfive: jh7110: Correct the ioconfig register address and bit ↵Hal Feng1-1/+1
definitions 1. Correct the io_conf_reg address when pin number >= PAD_QSPI_SCLK. 2. The pull-down bit is the fourth bit, so the mask is 0x10. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2023-01-07Merge tag 'JH7110_515_SDK_v4.0.0-rc1' into vf2-515-develAndy Hu2-0/+76
version JH7110_515_SDK_v4.0.0-rc1 for JH7110 EVB board 1. #2828 support linux perf tool 2. #3049 merge hibernation branch to SDK 3. #2708 uboot support vout clk driver 4. #3006 uboot handle OTP return value 5. #2969, #3039 venc jpu fix futex issue
2023-01-03RISC-V: Add sscofpmf extension supportAtish Patra1-0/+2
The sscofpmf extension allows counter overflow and filtering for programmable counters. Enable the perf driver to handle the overflow interrupt. The overflow interrupt is a hart local interrupt. Thus, per cpu overflow interrupts are setup as a child under the root INTC irq domain. Signed-off-by: Atish Patra <atish.patra@wdc.com> Signed-off-by: Atish Patra <atishp@rivosinc.com>
2023-01-03RISC-V: Add perf platform driver based on SBI PMU extensionAtish Patra2-2/+5
RISC-V SBI specification added a PMU extension that allows to configure start/stop any pmu counter. The RISC-V perf can use most of the generic perf features except interrupt overflow and event filtering based on privilege mode which will be added in future. It also allows to monitor a handful of firmware counters that can provide insights into firmware activity during a performance analysis. Signed-off-by: Atish Patra <atish.patra@wdc.com> Signed-off-by: Atish Patra <atishp@rivosinc.com>
2023-01-03RISC-V: Add a simple platform driver for RISC-V legacy perfAtish Patra1-0/+6
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 Patra1-0/+65
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>
2022-11-03regulator:axp1506:Remove regulator ALDO4Jianlong Huang1-1/+0
Fix bug, remove sdio_vdd and remove ALDO4 enum. Which may cause cpu freq don't work. Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-10-28driver: regulator: Add axp15060 pmic regulator driverKevin.xie1-0/+47
Add support for the axp15060 pmic. Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-09-07Merge branch 'CR_2026_compatible_5.15_ziv.xu' into 'jh7110-5.15.y-devel'andy.hu2-24/+24
CR_2026_compatible_standard_515 See merge request sdk/linux!459
2022-09-05linux:drivers: revise 'stf' to 'starfive'Ziv.Xu2-24/+24
revise "stf" to "starfive" for PCIE, CPUfreq, CPUidle, PMIC driver. Signed-off-by: Ziv.Xu <Ziv.Xu@starfivetech.com>
2022-08-31v4l2: modify v4l2 compatible namechanghuang.liang1-1/+1
dts/starfive: modify v4l2 compatible name Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-08-26CR_1827_cannot_record_play_simultaneouslyWalker Chen1-0/+9
1.Resolved playback and record can work simultaneously. 2.Rearrange audio configuration in kernel menu. Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2022-08-19clk:starfive:Modify 'stg_apb' clockXingyu Wu1-14/+15
Change 'stg_apb' clock from external clock to internal clock. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-08-11[Audio: I2S] Support WM8960 one channel play and captruecurry.zhang1-0/+1
Fixed BUG 1754 Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
2022-07-20dt-bindings:clock:Delete external clock definitionsxingyu.wu3-34/+0
Move external clock definitions to C files that avoid illegal use. Signed-off-by: xingyu.wu <xingyu.wu@starfivetech.com>
2022-07-08v4l2: delete csiphy1 and csi1 subdevchanghuang.liang1-3/+2
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-07-01Merge branch 'CR_1456_Reset_5.15_clivia.cai' into 'jh7110-5.15.y-devel'andy.hu1-5/+5
reset:starfive:jh7110: update macro definition. See merge request sdk/linux!219
2022-07-01Merge branch 'CR_1459_V4L2_515_mason.huo' into 'jh7110-5.15.y-devel'andy.hu1-15/+11
Cr 1459 v4 l2 515 mason.huo See merge request sdk/linux!224
2022-07-01media: starfive: Remove isp1 for jh7110mason.huo1-24/+10
For jh7110 soc, there is only one isp controller. To avoid the system errors when config to support dual isp, remove the all isp1 related source code from driver. Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-01media: starfive: Add dual isp configmason.huo1-1/+5
Add STF_DUAL_ISP Kconfig to config single isp or dual isp. Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-01v4l2: ISP update irq handlerliuxl03271-1/+7
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-01Add a pm function for GPUWalker Chen1-0/+111
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2022-07-01reset:starfive:jh7110: update macro definition.Clivia.Cai1-5/+5
remove all “si5“ keyword from reset header file. Signed-off-by: Clivia.Cai <Clivia.Cai@starfivetech.com>
2022-07-01PMU: Power Domain Controller Driver for JH7110 SOCWalker Chen2-111/+18
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2022-06-07regulator: stf7110: Add regulator support for JH7110 evbmason.huo1-0/+24
Add 7 regulators base on regulator framework for JH7110 evb HW design. Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-06-07soc: starfive: Remove pmic drivermason.huo1-41/+0
The pmic driver should employ regulator framework, rather than a driver in soc. Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-05-26v4l2: add macor and ov4689 4dlane configurechanghuang.liang1-2/+38
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-05-26pmic: modify pmic functionchanghuang.liang1-3/+1
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-05-26soc/pmic: add pmic supportchanghuang.liang1-0/+43
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-04-29pmu:starfive:jh7110: Fix some errors and standardize variable namingsamin1-25/+30
Fixed interrupt enabler logic error, fixed PMU_HARD_EVENT definition error, changed some variable names, for better code style. Note: This is an interim version of the pmu driver that provides the power_domian switch function. It can be used in modules such as VPU/JPU/GPU/ISP/VOUT. /* do not upstram */ Signed-off-by: samin <samin.guo@starfivetech.com>
2022-04-28Merge branch 'CR_907_GPU_shanlong.li' into 'jh7110_fpga_dev_5.15'andy.hu1-0/+2
Cr 907 gpu shanlong.li See merge request sdk/sft-riscvpi-linux-5.10!37
2022-04-28Merge branch 'CR_737_CLOCK_TREE_Xingyu.Wu' into 'jh7110_fpga_dev_5.15'andy.hu1-0/+53
clk:starfive: Add isp clock tree driver See merge request sdk/sft-riscvpi-linux-5.10!32
2022-04-28driver:pmu : add turn off mask apishanlong.li1-0/+2
add turn off mask api Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2022-04-28clk:starfive: Add isp clock tree driverxingyu.wu1-0/+53
Clock references refer to include/dt-bindings/clock/starfive-jh7110-isp.h Enable the isp clock tree driver in dts file if use it. If the fpga is not connetted with isp board, the isp clock tree must be disabled. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-04-28crypto: add patch for 5.15william.qiu2-0/+170
crypto need this patch to work. Signed-off-by: william.qiu <william.qiu@starfivetech.com>
2022-04-19update pinctrl marco to more linesjianlong.huang1-730/+1202
Signed-off-by: jianlong.huang <jianlong.huang@starfivetech.com>
2022-04-19reset:starfive:jh7110: Fix wrong macro definition.samin1-4/+4
Fix wrong macro definition. Signed-off-by: samin <samin.guo@starfivetech.com>
2022-04-14riscv: dts: starfive: Improve the structure of device treeHal Feng1-231/+236
Divide the old device tree into several files according to different layers. Make the device tree clearer and more readable. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2022-04-13clk:starfive: Add vout clock tree driverxingyu.wu1-0/+66
Clock references refer to include/dt-bindings/clock/starfive-jh7110-vout.h Change the value about 'status' of clkvout node in dts file when want to use vout clock. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-04-13clk:starfive: Add JH7110 clock tree driver for kernel 5.15xingyu.wu1-0/+394
Add clock driver about sys, stg and aon clock for JH7110. Clock references refer to include/dt-bindings/clock/starfive-jh7110-clkgen.h Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-04-07[pinctrl]Synchronize vic7100&jh7110 pinctrl subsystem“jenny.zhang”1-1/+6
2022-04-07[pinctrl] add jh7110 pinctrl dts and driver“jenny.zhang”1-0/+1096
2022-03-14riscv:driver:drm:DC8200keith.zhao1-1/+1
fix build error caused by vs-drm.h modify SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note Signed-off-by:keith.zhao <keith.zhao@statfivetech.com>
2022-01-14riscv::starfive:driver:dc8200keith.zhao1-0/+50
add head file vs-drm.h Signed-off-by:keith.zhao<keith.zhao@statfivetech.com>
2022-01-14riscv:uboot:starfive:dc8200keith.zhao1-0/+84
update drdc8200iver kenerl version from 5.10 to 5.13 Signed-off-by:keith.zhao<keith.zhao@statfivetech.com>
2022-01-14soc:starfive: add jh7110 pmu driver.samin1-0/+104
The JH7110 PMU can dynamically switch on or off power domians and set the power-on and power-off sequence. API Instructions refer to include/soc/starfive/jh7110_pmu.h Signed-off-by: samin <samin.guo@starfivetech.com>