Age | Commit message (Collapse) | Author | Files | Lines |
|
The RISC-V CPU idle states will be described in under the
/cpus/idle-states DT node in the same way as ARM CPU idle
states.
This patch adds common bindings documentation for both ARM
and RISC-V idle states.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
|
|
The RISC-V SBI HSM extension provides HSM suspend call which can
be used by Linux RISC-V to enter platform specific low-power state.
This patch adds a CPU idle driver based on RISC-V SBI calls which
will populate idle states from device tree and use SBI calls to
entry these idle states.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Acked-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
|
|
The generic power domain related code in PSCI domain driver is largely
independent of PSCI and can be shared with RISC-V SBI domain driver
hence we factor-out this code into dt_idle_genpd.c and dt_idle_genpd.h.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
|
|
We add defines related to SBI HSM suspend call and also
update HSM states naming as-per latest SBI specification.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
|
|
The hart registers and CSRs are not preserved in non-retentative
suspend state so we provide arch specific helper functions which
will save/restore hart context upon entry/exit to non-retentive
suspend state. These helper functions can be used by cpuidle
drivers for non-retentive suspend entry/exit.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
|
|
The low-level relocate() function enables mmu and relocates
execution to link-time addresses. We rename relocate() function
to relocate_enable_mmu() function which is more informative.
Also, the relocate_enable_mmu() function will be used in the
resume path when a CPU wakes-up from a non-retentive suspend
so we make it global symbol.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
|
|
We force select CPU_PM and provide asm/cpuidle.h so that we can
use CPU IDLE drivers for Linux RISC-V kernel.
Starfive: Add deconfig for starfive jh7110
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <apatel@vetanamicro.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
|
|
Cr 1470 drm tda driver keith.zhao
See merge request sdk/linux!243
|
|
crypto:starfive:remove sha warning log
See merge request sdk/linux!242
|
|
delete FW MACRO head file
Signed-off-by:keith.zhao <keith.zhao@statfivetech.com>
|
|
fix tda hdmi color error display
Signed-off-by:keith.zhao <keith.zhao@statfivetech.com>
|
|
enable tda config for vout rgb driver
Signed-off-by:keith.zhao <keith.zhao@statfivetech.com>
|
|
1、update dts for vout rgb driver
Signed-off-by:keith.zhao <keith.zhao@statfivetech.com>
|
|
remove sha warning log
Signed-off-by: william.qiu <william.qiu@starfivetech.com>
|
|
v4l2: media device add some mesg info
See merge request sdk/linux!240
|
|
riscv: defconfig: Removed AX210 WLAN card firmware.
See merge request sdk/linux!236
|
|
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
|
|
The firmware will be set in buildroot linux-firmware package.
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
|
|
crypto:starfive: Enable CCM and GCM mode for AES
See merge request sdk/linux!234
|
|
Add CCM and GCM modes of operation for Starfive AES driver.
Signed-off-by: jiajie.ho <jiajie.ho@starfivetech.com>
|
|
Cr 1337 gpu shanlong.li
See merge request sdk/linux!233
|
|
use pm runtime interface
Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
|
|
add pmu signal define for GPU
Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
|
|
Cr 877 timer xingyu.wu
See merge request sdk/linux!213
|
|
v4l2: modify pmu interface
See merge request sdk/linux!222
|
|
risdv:dts:jh7110: add pmu signal define for vpu/jpu
See merge request sdk/linux!226
|
|
|
|
reset:starfive:jh7110: update macro definition.
See merge request sdk/linux!219
|
|
'jh7110-5.15.y-devel'
riscv:linux:driver:drm
See merge request sdk/linux!225
|
|
Cr 1459 v4 l2 515 mason.huo
See merge request sdk/linux!224
|
|
remove some useless comment after review
Signed-off-by:shengyang.chen<shengyang.chen@starfivetech.com>
|
|
[Audio: SPDIF] Restore the spdif driver clock tree config
See merge request sdk/linux!227
|
|
[Audio: SPDIF] Add the spdif driver to jh7110-evb-uart4-emmc-spdif.dts
See merge request sdk/linux!215
|
|
Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
|
|
Signed-off-by: samin <samin.guo@starfivetech.com>
|
|
replace standard pmu interface
Signed-off-by:shengyang.chen<shengyang.chen@starfivetech.com>
|
|
'jh7110-5.15.y-devel'
Add a pm function for GPU
See merge request sdk/linux!221
|
|
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
|
|
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
|
|
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
|
|
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
|
|
dts/starfive: add imx219 configure
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
|
|
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
|
|
To support ISP usr mode debugging, support starfive v4l2 driver for kernel
module.
The starfive v4l2 driver is built in kernel by default,
user needs to modify the kernel deconfig to support kernel module.
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
|
|
dts/starfive: add imx219 configure
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
|
|
The jh7110 only has one isp controller, but the driver
defines isp device IDs for multi isp controller.
Remove all isp IDs from the driver.
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
|
|
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>
|
|
The isp app uses the mmap buffer mode which needs to
sync the cache before isp controller writes data into
the buffer.
Add L2 cache flushing before sending data to user space,
so that make sure the cache coherence.
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
|
|
|
|
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
|