summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)AuthorFilesLines
2022-07-08Merge branch 'CR_1311_CPUIdle_mason.huo' into 'jh7110-5.15.y-devel'andy.hu9-135/+903
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-05cpuidle: Add RISC-V SBI CPU idle driverAnup Patel4-0/+651
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 Patel7-135/+252
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-05Merge branch 'CR_1479_DRM_tda_driver_keith.zhao' into 'jh7110-5.15.y-devel'andy.hu9-8005/+47
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-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
2022-07-04v4l2: media device add some mesg infochanghuang.liang1-0/+5
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-07-03crypto:starfive: Enable CCM and GCM mode for AESjiajie.ho3-126/+131
Add CCM and GCM modes of operation for Starfive AES driver. Signed-off-by: jiajie.ho <jiajie.ho@starfivetech.com>
2022-07-01driver:GPU: use pm runtime interfaceshanlong.li2-4/+13
use pm runtime interface Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2022-07-01Merge branch 'CR_877_Timer_Xingyu.Wu' into 'jh7110-5.15.y-devel'andy.hu2-54/+81
Cr 877 timer xingyu.wu See merge request sdk/linux!213
2022-07-01Merge branch 'CR_1462_v4l2_pmu_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu1-3/+11
v4l2: modify pmu interface See merge request sdk/linux!222
2022-07-01v4l2: modify pmu interfacechanghuang.liang1-3/+11
2022-07-01Merge branch 'CR_1464_7110_evb_5.15_vout_pmu_shengyang.chen' into ↵andy.hu1-5/+12
'jh7110-5.15.y-devel' riscv:linux:driver:drm See merge request sdk/linux!225
2022-07-01Merge branch 'CR_1459_V4L2_515_mason.huo' into 'jh7110-5.15.y-devel'andy.hu32-840/+5445
Cr 1459 v4 l2 515 mason.huo See merge request sdk/linux!224
2022-07-01riscv:linux:driver:drmshengyang.chen1-3/+0
remove some useless comment after review Signed-off-by:shengyang.chen<shengyang.chen@starfivetech.com>
2022-07-01riscv:linux:driver:drmshengyang.chen1-5/+15
replace standard pmu interface Signed-off-by:shengyang.chen<shengyang.chen@starfivetech.com>
2022-07-01media: starfive: Map sensor format to ISP0RAW & SCD_Y as backup policyKevin.xie2-7/+59
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-07-01media: starfive: Add compatible mbus format mapping for ISP0RAW & SCD_YKevin.xie1-4/+38
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-07-01v4l2: sc2235 delete pinctrl configurechanghuang.liang1-1/+0
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-07-01V4L2: add imx219 supportchanghuang.liang1-2/+2
dts/starfive: add imx219 configure Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-07-01v4l2: add imx219 start-up logchanghuang.liang1-0/+3
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-07-01media: starfive: Support starfive platfrom driver build into moduleliuxl03273-6/+11
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>
2022-07-01V4L2: add imx219 supportchanghuang.liang15-34/+67
dts/starfive: add imx219 configure Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-07-01media: starfive: Remove isp id for single isp controllermason.huo8-288/+231
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>
2022-07-01media: starfive: Remove isp1 for jh7110mason.huo14-402/+161
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: Fix isp line cache coherence issuemason.huo3-0/+13
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>
2022-07-01media: starfive: Change the default format of scd_y padmason.huo3-4/+4
2022-07-01media: starfive: Add set fmt for all ISP padsliuxl03271-6/+0
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-01media: starfive: Fix the second run stuck issuemason.huo1-0/+2
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-01media: starfive: Add dual isp configmason.huo14-89/+138
Add STF_DUAL_ISP Kconfig to config single isp or dual isp. Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-01media: starfive: Sort isp1 definitionsmason.huo5-248/+213
To support isp0 & isp1 configuration, we should sort the isp sequence firtly. Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-01v4l2: modified sc buffer toggle conuter.godspeed.kuo1-1/+1
2022-07-01v4l2: ISP update init reg configliuxl03272-126/+674
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-01v4l2: ISP add stream on eventliuxl03271-1/+22
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-01v4l2: ISP multi stream set formatliuxl032710-209/+847
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-01v4l2: VIN add set dummy bufferliuxl03273-29/+399
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-01v4l2: ISP/VIN support multi streamliuxl03279-99/+582
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-01v4l2: ISP update irq handlerliuxl03275-36/+281
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-01v4l2: Support imx219 multi stream onliuxl03272-0/+1613
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-01v4l2: starfive ISP add private ioctlliuxl03277-10/+776
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-01v4l2: starfive DVP support multi stream onliuxl03272-13/+27
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-01v4l2: starfive CSIPHY support multi stream onliuxl03273-12/+22
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-01v4l2: starfive CSI support multi stream onliuxl03273-13/+21
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-01v4l2: sc2235 support multi stream on and update reg paramsliuxl03271-15/+48
Signed-off-by: mason.huo <mason.huo@starfivetech.com>