summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)AuthorFilesLines
2022-07-05riscv: dts: Add the cpuidle statesmason.huo1-0/+48
Add four cpuidle states per the dt binding document. Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-05riscv: deconfig: Enable the riscv cpuidle configmason.huo1-0/+1
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-05riscv: Add the make function for SBI versionmason.huo1-0/+8
After cherry pick the riscv cpuidle driver, there is a compilation error due to lack of sbi_mk_version(); add it manually. Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-05RISC-V: Add SBI HSM suspend related definesmason.huo2-6/+22
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>
2022-07-05RISC-V: Add arch functions for non-retentive suspend entry/exitAnup Patel7-11/+279
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>
2022-07-05RISC-V: Rename relocate() and make it globalAnup Patel1-3/+4
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>
2022-07-05RISC-V: Enable CPU_IDLE driversAnup Patel4-1/+34
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>
2022-07-05Merge branch 'CR_1479_DRM_tda_driver_keith.zhao' into 'jh7110-5.15.y-devel'andy.hu4-9/+12
Cr 1470 drm tda driver keith.zhao See merge request sdk/linux!243
2022-07-04riscv:driver:drm:DC8200keith.zhao1-0/+1
enable tda config for vout rgb driver Signed-off-by:keith.zhao <keith.zhao@statfivetech.com>
2022-07-04riscv:driver:drm:DC8200keith.zhao3-9/+11
1、update dts for vout rgb driver Signed-off-by:keith.zhao <keith.zhao@statfivetech.com>
2022-07-04riscv: defconfig: Removed AX210 WLAN card firmware.Kevin.xie1-2/+0
The firmware will be set in buildroot linux-firmware package. Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-07-03crypto:starfive: Enable CCM and GCM mode for AESjiajie.ho1-0/+1
Add CCM and GCM modes of operation for Starfive AES driver. Signed-off-by: jiajie.ho <jiajie.ho@starfivetech.com>
2022-07-01dts:GPU: add pmu signal define for GPUshanlong.li1-0/+1
add pmu signal define for GPU Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2022-07-01Merge branch 'CR_1462_v4l2_pmu_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu1-0/+1
v4l2: modify pmu interface See merge request sdk/linux!222
2022-07-01Merge branch 'CR_1467_vpu_update_pmu_api_samin.guo' into 'jh7110-5.15.y-devel'andy.hu1-0/+3
risdv:dts:jh7110: add pmu signal define for vpu/jpu See merge request sdk/linux!226
2022-07-01v4l2: modify pmu interfacechanghuang.liang1-0/+1
2022-07-01Merge branch 'CR_1459_V4L2_515_mason.huo' into 'jh7110-5.15.y-devel'andy.hu3-51/+23
Cr 1459 v4 l2 515 mason.huo See merge request sdk/linux!224
2022-07-01Merge branch 'CR_1454_SPDIF_update_515_curry.zhang' into 'jh7110-5.15.y-devel'andy.hu1-2/+5
[Audio: SPDIF] Restore the spdif driver clock tree config See merge request sdk/linux!227
2022-07-01Merge branch 'CR_1454_SPDIF_dtb_515_curry.zhang' into 'jh7110-5.15.y-devel'andy.hu2-1/+14
[Audio: SPDIF] Add the spdif driver to jh7110-evb-uart4-emmc-spdif.dts See merge request sdk/linux!215
2022-07-01[Audio: SPDIF] Restore the spdif driver clock tree configcurry.zhang1-2/+5
Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
2022-07-01risdv:dts:jh7110: add pmu signal define for vpu/jpusamin1-0/+3
Signed-off-by: samin <samin.guo@starfivetech.com>
2022-07-01dts/starfive: modify sc2235 endpoint regchanghuang.liang1-1/+1
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-07-01V4L2: add imx219 supportchanghuang.liang2-48/+20
dts/starfive: add imx219 configure Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-07-01media: starfive: Remove isp1 for jh7110mason.huo1-4/+3
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-01v4l2: ISP update irq handlerliuxl03271-1/+2
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-01PMU: Power Domain Controller Driver for JH7110 SOCWalker Chen2-7/+12
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2022-07-01[Audio: SPDIF] Add the spdif driver to jh7110-evb-uart4-emmc-spdif.dtscurry.zhang2-1/+14
Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
2022-06-30Merge branch 'CR_1291_PDM_PWMDAC_curry.zhang' into 'jh7110-5.15.y-devel'andy.hu1-1/+3
[Audio: Config] enable pdm driver to solve jh7110-evb-can-pdm-pwmdac.dtb See merge request sdk/linux!196
2022-06-30Merge branch 'CR_1411_SPI_overlay_Xingyu.Wu' into 'jh7110-5.15.y-devel'andy.hu2-6/+13
Cr 1411 spi overlay xingyu.wu See merge request sdk/linux!197
2022-06-30Merge branch 'CR_1447_7110_evb_5.15_vout_shengyang.chen' into ↵andy.hu2-4/+1
'jh7110-5.15.y-devel' Cr 1447 7110 evb 5.15 vout shengyang.chen See merge request sdk/linux!210
2022-06-30arch:configs:starfive_jh7110_defconfigshengyang.chen1-0/+1
add mipi display config Signed-off-by:shengyang.chen<shengyang.chen@starfivetech.com>
2022-06-30riscv:linux:arch:dts:starfiveshengyang.chen1-4/+0
remove superfluous port Signed-off-by:shengyang.chen<shengyang.chen@starfivetech.com>
2022-06-30Merge branch 'CR_1287_FAT_MOUNT_FAILED_samin.guo' into 'jh7110-5.15.y-devel'andy.hu1-0/+2
riscv:defconfig:jh7110: Fix the problem of failing to mount fat-fs See merge request sdk/linux!193
2022-06-30Merge branch 'CR_1446_v4l2_syscon_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu1-0/+1
V4L2: modify syscon interface See merge request sdk/linux!208
2022-06-30Merge branch 'CR_1440_sdio1config_jianlong' into 'jh7110-5.15.y-devel'andy.hu3-19/+6
CR_1440 dts: starfive: Fix sdio1 config See merge request sdk/linux!205
2022-06-30Merge branch 'CR_1433_515_pwmoverlay_jianlong' into 'jh7110-5.15.y-devel'andy.hu1-2/+2
CR_1433 dts: starfive: Fix fail to load overlay pwm See merge request sdk/linux!201
2022-06-30V4L2: modify syscon interfacechanghuang.liang1-0/+1
dts/starfive: vin add syscon node Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-06-30dts:overlay:Modify spi nodes about 'compatible' and 'status'xingyu.wu1-5/+12
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-06-30dts: starfive: Fix sdio1 configJianlong Huang3-19/+6
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-06-30deconfig:Add spi driver for starfivexingyu.wu1-1/+1
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-06-30Merge branch 'CR_1266_Watchdog_sysfs_Xingyu.Wu' into 'jh7110-5.15.y-devel'andy.hu1-0/+1
deconfig:Add watchdog_sysfs See merge request sdk/linux!199
2022-06-30dts: starfive: Fix fail to load overlay pwmJianlong Huang1-2/+2
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-06-30[Audio: Config] enable pdm driver to solve jh7110-evb-can-pdm-pwmdac.dtbcurry.zhang1-1/+3
couldn't work Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
2022-06-29riscv: defconfig: Add input event interfacemason.huo1-0/+1
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-06-29[Audio: SPDIF] Fixed spdif function driver in linux 5.15curry.zhang5-3/+44
Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
2022-06-28deconfig:Add watchdog_sysfsxingyu.wu1-0/+1
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-06-28Merge branch 'CR_1404_gpioconflict_jianlong' into 'jh7110-5.15.y-devel'andy.hu7-73/+17
CR_1404 dts: starfive: Fix overlay-rgb2hdmi gpio conflict See merge request sdk/linux!180
2022-06-28dts: starfive: Fix overlay-rgb2hdmi gpio conflictJianlong Huang7-73/+17
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-06-27riscv:driver:drm:DC8200keith.zhao2-5/+12
1、update dts for vout driver code Signed-off-by:keith.zhao <keith.zhao@statfivetech.com>
2022-06-24Merge branch 'CR_1201_overlay_inte_jianlong' into 'jh7110-5.15.y-devel'andy.hu21-342/+1520
CR_1201 dts: starfive: Add module dts and overlay dts See merge request sdk/linux!170