Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Standardize the StarFive copyright information.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
enbale ALDO4 for the MMC bus IO line power and DCDC1 the card power
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
|
|
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
|
|
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>
|
|
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
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Add support for the axp15060 pmic.
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
|
|
CR_2026_compatible_standard_515
See merge request sdk/linux!459
|
|
revise "stf" to "starfive" for PCIE, CPUfreq, CPUidle, PMIC driver.
Signed-off-by: Ziv.Xu <Ziv.Xu@starfivetech.com>
|
|
dts/starfive: modify v4l2 compatible name
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
|
|
1.Resolved playback and record can work simultaneously.
2.Rearrange audio configuration in kernel menu.
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
|
|
Change 'stg_apb' clock from external clock to
internal clock.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Fixed BUG 1754
Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
|
|
Move external clock definitions to C files that avoid illegal use.
Signed-off-by: xingyu.wu <xingyu.wu@starfivetech.com>
|
|
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
|
|
reset:starfive:jh7110: update macro definition.
See merge request sdk/linux!219
|
|
Cr 1459 v4 l2 515 mason.huo
See merge request sdk/linux!224
|
|
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>
|
|
Add STF_DUAL_ISP Kconfig to config single isp
or dual isp.
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
|
|
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
|
|
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
|
|
remove all “si5“ keyword from reset header file.
Signed-off-by: Clivia.Cai <Clivia.Cai@starfivetech.com>
|
|
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
|
|
Add 7 regulators base on regulator framework for
JH7110 evb HW design.
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
|
|
The pmic driver should employ regulator framework,
rather than a driver in soc.
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
|
|
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
|
|
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
|
|
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
|
|
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>
|
|
Cr 907 gpu shanlong.li
See merge request sdk/sft-riscvpi-linux-5.10!37
|
|
clk:starfive: Add isp clock tree driver
See merge request sdk/sft-riscvpi-linux-5.10!32
|
|
add turn off mask api
Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
|
|
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>
|
|
crypto need this patch to work.
Signed-off-by: william.qiu <william.qiu@starfivetech.com>
|
|
Signed-off-by: jianlong.huang <jianlong.huang@starfivetech.com>
|
|
Fix wrong macro definition.
Signed-off-by: samin <samin.guo@starfivetech.com>
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
|
|
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>
|
|
add head file vs-drm.h
Signed-off-by:keith.zhao<keith.zhao@statfivetech.com>
|
|
update drdc8200iver kenerl version from 5.10 to 5.13
Signed-off-by:keith.zhao<keith.zhao@statfivetech.com>
|
|
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>
|