summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-07-12Merge branch 'CR_1496_DRM_mipi_hdmi_colorIssue_keith.zhao' into ↵Jason Zhou1-6/+10
'jh7110-5.15.y-devel' riscv:driver:drm:DC8200 See merge request sdk/linux!271
2022-07-12Merge branch 'CR_1352_DRM_plane_overlay_515_Jack.Zhu' into 'jh7110-5.15.y-devel'Jason Zhou1-0/+8
[VOUT][DRM]fix redmine #1352: disable plane overlay in close flow See merge request sdk/linux!259
2022-07-12Merge branch 'CR_1427_I2C_hal.feng' into 'jh7110-5.15.y-devel'Jason Zhou1-1/+0
Cr 1427 i2c hal.feng See merge request sdk/linux!263
2022-07-12driver: pci: Add extended reset time for better compatibilityKevin.xie1-1/+1
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-07-12Merge branch 'CR_1563_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'Jason Zhou1-1/+1
CR_1563_v4l2_515_changhuang.liang See merge request sdk/linux!267
2022-07-12riscv:driver:drm:DC8200keith.zhao1-6/+10
1、fix issue #1496(#1320 is the same issue) Signed-off-by:keith.zhao <keith.zhao@statfivetech.com>
2022-07-12clocksource: starfive: Update timer namesLey Foon Tan2-3/+7
The existing implementation uses DT clock-names 'timer0', 'timer1' and etc as timer names. This will have issue if there are two timer instance IPs in the system. This patch update timer names to format below, example: timer@13050000.ch0 timer@13050000.ch1 timer@13050000.ch2 timer@13050000.ch3 Signed-off-by: Ley Foon Tan <leyfoon.tan@linux.starfivetech.com>
2022-07-12dtsi:Add reset nodes about timerxingyu.wu1-0/+7
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-07-12clocksource: starfive: Add reset control supportxingyu.wu2-0/+21
Reset the timer if the reset control is available. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com> Signed-off-by: Ley Foon Tan <leyfoon.tan@linux.starfivetech.com>
2022-07-12dtsi:Update compatible string about timerxingyu.wu1-1/+1
jh7110.dtsi:Update compatible string to "starfive,timers" Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-07-12dt-bindings: watchdog: starfive: Add StarFive watchdogLey Foon Tan1-0/+78
Add dt-bindigns documentation for StarFive watchdog. Signed-off-by: Ley Foon Tan <leyfoon.tan@linux.starfivetech.com>
2022-07-12dt-bindings: timer: Add compatible for StarFive timerLey Foon Tan1-0/+77
Adds dt-binding documentation of timer for StarFive timer. Signed-off-by: Ley Foon Tan <leyfoon.tan@linux.starfivetech.com>
2022-07-12watchdog: starfive: Change "si5" to "starfive"Ley Foon Tan2-185/+185
Change all "si5" wording in driver to "starfive". No functional change. Signed-off-by: Ley Foon Tan <leyfoon.tan@linux.starfivetech.com>
2022-07-12clocksource: starfive: Update compatible string to "starfive,timers"Ley Foon Tan1-2/+1
Update compatible string to "starfive,timers". Signed-off-by: Ley Foon Tan <leyfoon.tan@linux.starfivetech.com>
2022-07-12clocksource: Kconfig: starfive: Update StarFive timer help descriptionLey Foon Tan1-2/+2
Same StarFive timer IP is used in JH8100 SoC. Remove JH71xx wording from description to be more generic. Signed-off-by: Ley Foon Tan <leyfoon.tan@linux.starfivetech.com>
2022-07-11v4l2: modify bus_infochanghuang.liang1-1/+1
2022-07-11riscv:linux:drm:mipidsishengyang.chen2-3/+29
fix mipi display color problem Signed-off-by:shengyang.chen<shengyang.chen@starfivetech.com>
2022-07-11drm: verisilicon: inno_hdmi: Fix an i2c failure during kernel startupHal Feng1-1/+0
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2022-07-08[VOUT][DRM]fix redmine #1352: disable plane overlay in close flowjack.zhu1-0/+8
2022-07-08Merge branch 'CR_1534_gpiomon_jianlong' into 'jh7110-5.15.y-devel'Jason Zhou1-0/+7
CR_1534 pinctrl: starfive: Fix gpiomon erro See merge request sdk/linux!249
2022-07-08Merge branch 'CR_1346_PWM_hal.feng' into 'jh7110-5.15.y-devel'Jason Zhou2-62/+47
Cr 1346 pwm hal.feng See merge request sdk/linux!257
2022-07-08pwm: pwm-starfive-ptc: Improve pwm accuracyHal Feng2-25/+39
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2022-07-08Merge branch 'CR_1490_7110_evb_5.15_mipitx_shengyang.chen' into ↵Jason Zhou1-0/+1
'jh7110-5.15.y-devel' riscv:linux:vout:m31 See merge request sdk/linux!250
2022-07-08usb: cdns3: Configuare phy as down-spread-spectrummason.huo2-4/+19
The default phy spread-spectrum mode is up-spread-spectrum, which is violated the usb3 spec. The up-spread-spectrum mode leads to phy buffers overrun. Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-08v4l2: delete csiphy1 and csi1 subdevchanghuang.liang15-468/+124
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-07-08Merge branch 'CR_1311_CPUIdle_mason.huo' into 'jh7110-5.15.y-devel'andy.hu28-175/+1532
Cr 1311 cpu idle mason.huo See merge request sdk/linux!247
2022-07-07riscv:linux:vout:m31shengyang.chen1-0/+1
fix 'NULL device' printing problem in console Signed-off-by:shengyang.chen<shengyang.chen@starfivetech.com>
2022-07-07pinctrl: starfive: Fix gpiomon erroJianlong Huang1-0/+7
If enable CONFIG_PM, 'pm_runtime_get_sync' will return erro Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-07-06pwm: pwm-starfive-ptc: Improve coding styleHal Feng1-40/+11
Disable clock properly, delete redundant comments, modify compatible Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2022-07-06riscv: dts: starfive: Modify the compatible of pwm(ptc) driverHal Feng1-1/+1
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2022-07-05Merge branch 'CR_1468_I2C_Kevin.xie' into 'jh7110-5.15.y-devel'andy.hu1-0/+7
dts: starfive: Set static i2c bus number See merge request sdk/linux!244
2022-07-05dts: starfive: Set static i2c bus numberKevin.xie1-0/+7
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
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-05dt-bindings: Add common bindings for ARM and RISC-V idle statesAnup Patel4-19/+219
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>
2022-07-05cpuidle: Add RISC-V SBI CPU idle driverAnup Patel5-0/+658
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>
2022-07-05cpuidle: Factor-out power domain related code from PSCI domain driverAnup Patel8-135/+259
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>
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.hu13-8014/+59
Cr 1470 drm tda driver keith.zhao See merge request sdk/linux!243
2022-07-05Merge branch 'CR_1274_SEC_william.qiu' into 'jh7110-5.15.y-devel'andy.hu1-21/+0
crypto:starfive:remove sha warning log See merge request sdk/linux!242
2022-07-04riscv:driver:drm:DC8200keith.zhao6-7933/+0
delete FW MACRO head file Signed-off-by:keith.zhao <keith.zhao@statfivetech.com>
2022-07-04riscv:driver:drm:DC8200keith.zhao4-72/+47
fix tda hdmi color error display Signed-off-by:keith.zhao <keith.zhao@statfivetech.com>
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-04crypto:starfive:remove sha warning logwilliam.qiu1-21/+0
remove sha warning log Signed-off-by: william.qiu <william.qiu@starfivetech.com>
2022-07-04Merge branch 'CR_1489_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu1-0/+5
v4l2: media device add some mesg info See merge request sdk/linux!240