summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)AuthorFilesLines
2022-10-28cpufreq: starfive: Remove unuse clocksmason.huo1-23/+3
The jh7110 pll0 is fixed for cpufreq, so we should change the cpu_core clock directly. Remove the pll0 & osc clock. Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-10-27rtc:starfive: add pm ops for rtcziv.xu1-0/+1
add pm ops for rtc Signed-off-by: ziv.xu <ziv.xu@starfive.com>
2022-10-27i2c: designware: Descend startup priorityHal Feng1-1/+1
So i2c will be initialized after uart. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2022-10-27i2c: designware: Uncomment and recover the pm functionsHal Feng1-4/+1
Uncomment the system pm and runtime pm ops functions. Restore the Synopsys DesignWare i2c driver to the original version. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2022-10-27driver:gpu: add gpu runtime pmshanlong.li7-16/+91
fix up system pm error and add runtime pm Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2022-10-27rtc-starfive.c:add system pm for rtcziv.xu1-1/+4
add system pm for rtc Signed-off-by: ziv.xu <ziv.xu@starfive.com>
2022-10-27drive:mailbox:add pm opsys1-1/+40
add runtime pm and system pm ops Signed-off-by: ys <eason.xiong@starfivetech.com>
2022-10-27sec:starfive:add sec runtime PM opsWilliam Qiu3-0/+29
add sec runtime PM ops. Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2022-10-27SDIO:starfive:modify SDIO/EMMC runtime PM callback functionWilliam Qiu1-3/+6
modify SDIO/EMMC runtime PM callback function. Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2022-10-27canfd:ipms:modify runtime PM callback funcitonWilliam Qiu1-2/+6
modify runtime PM callback function. Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2022-10-27clk:starfive:isp:Add runtime and system pm controlXingyu Wu3-43/+126
Add runtime and system pm in isp clock tree driver. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-10-27pwm: starfive: Remove macro UNIVERSAL_DEV_PM_OPSHal Feng1-4/+8
Because it causes error when system pm. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2022-10-27drivers: temp sensor: reset execute permissionsziv.xu1-0/+1
reset execute permissions for FILE: drivers/hwmon/sfctemp.c Signed-off-by: ziv.xu <ziv.xu@starfive.com>
2022-10-27add devcie pm for temp sensorziv.xu1-1/+42
add device pm for temp sensor Signed-off-by: ziv.xu <ziv.xu@starfive.com>
2022-10-27add device pm for trngZiv.Xu1-2/+54
add device pm for trng Signed-off-by: Ziv.Xu <Ziv.Xu@starfivetech.com>
2022-10-27add device pm for spiZiv.Xu1-13/+25
add device pm for spi Signed-off-by: Ziv.Xu <Ziv.Xu@starfivetech.com>
2022-10-27SDIO:starfive:add SDIO/EMMC runtime pm opsWilliam Qiu1-6/+68
add SDIO/EMMC runtime pm ops. Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2022-10-27canfd:ipms:add canfd runtime PM opsWilliam Qiu1-0/+50
add canfd runtime PM ops. Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2022-10-27pwm: starfive: Add pm handling (system/runtime pm ops)Hal Feng1-23/+66
Add system/runtime pm ops functions and enable runtime pm. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2022-10-27pinctrl:starfive: Add system pm interfaceJianlong Huang1-0/+1
Support system pm fuction when suspend and resume. Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-10-27add system pm for watchdogZiv.Xu1-19/+23
add system pm for watchdog Signed-off-by: Ziv.Xu <Ziv.Xu@starfivetech.com>
2022-10-27add runtime pm for watchdogZiv.Xu1-3/+44
add runtime pm for watchdog Signed-off-by: Ziv.Xu <Ziv.Xu@starfivetech.com>
2022-10-27usb: cdns: add pm and runtume pm opsminda.chen1-0/+46
add starfive pm supend/resume and runtime pm runtime suspend and resume ops Signed-off-by: minda.chen <minda.chen@starfivetech.com>
2022-10-27drivers: pci: Support system pm no irq ops.Kevin.xie1-0/+37
Because of the limitation of hardware design, only enable/disable clk here. Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-10-27drivers: pci: Support runtime pm & release when found empty slot in probe.Kevin.xie1-5/+67
Used PLDA link up/down status in probe to indicate the slot situations. Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-10-27media: starfive: Remove hardware operations in vin initchanghuang.liang1-3/+0
Remove hardware operations in vin init, hardware operation need turn on power domain. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27media: starfive: Delete isp noc bus clockchanghuang.liang2-8/+0
Delete operate isp noc bus clock in vin module. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27media: starfive: Vin module get reset use sharechanghuang.liang1-1/+1
Vin module get reset use share due to the same reset single with isp clock module. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27v4l2: Fixed vin line stream_out not change except WR.changhuang.liang1-9/+11
Fixed vin line stream_out not change except WR. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27v4l2: VIN driver use pmchanghuang.liang5-78/+153
VIN driver use pm save power, delete turn on pmu multiple times and modify isp clk and reset after turn on pmu. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27ov4689: Correct some codechanghuang.liang1-32/+10
Correct some code. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27sc2235: Delete the control direct control registerchanghuang.liang1-71/+15
Delete the control direct control register and correct some code. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27sc2235: Use runtime/system pmchanghuang.liang1-42/+62
Use runtime/system pm save power. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27imx219: Separate set stream and runtime PMchanghuang.liang1-47/+14
Separate set stream and runtime PM, use runtime PM. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27ov4689: Use runtime PMchanghuang.liang1-84/+66
Switch to using runtime PM for power management. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27ov4689: delete read chip id in set powerchanghuang.liang1-19/+0
delete read chip id in set power on. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27cpuidle: riscv-sbi: Fix code to allow a genpd governor to be usedUlf Hansson1-2/+2
The intent is to use a genpd governor when there are some states that needs to be managed. Although, the current code ends up to never assign a governor, let's fix this. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Anup Patel <anup@brainfault.org> Tested-by: Anup Patel <anup@brainfault.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: minda.chen <minda.chen@starfivetech.com>
2022-10-27cpuidle: riscv-sbi: Correct the compatible stringmason.huo1-1/+1
The riscv-sbi driver compatible string should not changed to starfive since it's a common driver for riscv. Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-10-26clk:starfive:Count PLL1 rateXingyu Wu2-7/+1
Count PLL1 rate through reading syscon registers. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-10-26clk:starfive:Change PLL0 rate to 1.5GHzXingyu Wu2-0/+36
Change PLL0 rate to 1.5GHz and change cpu_core divider. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-10-14Merge branch 'CR_2285_SEC_jiajie.ho' into 'jh7110-5.15.y-devel'andy.hu7-744/+3
Cr 2285 sec jiajie.ho See merge request sdk/linux!533
2022-10-14Merge branch 'CR_2261_CAN_515_william.qiu' into 'jh7110-5.15.y-devel'andy.hu1-4/+8
Cr 2261 can 515 william.qiu See merge request sdk/linux!521
2022-10-14Merge branch 'CR_2141_SEC_jiajie.ho' into 'jh7110-5.15.y-devel'andy.hu2-59/+83
CR_2141:crypto:starfive: Enhanced AES driver to handle negative cases See merge request sdk/linux!517
2022-10-14Merge branch 'CR_1861_515_HDMI_AUDIO_Xingyu.Wu' into 'jh7110-5.15.y-devel'andy.hu4-46/+354
CR_1861_515_HDMI_AUDIO_Xingyu.Wu See merge request sdk/linux!526
2022-10-14CR_2285:SEC:Crypto:Starfive: Update hardware engine DMA driverjiajie.ho7-744/+3
Updating Starfive Jh7110 Crypto hardware engine to use orginal ARM PL08X driver. Signed-off-by: jiajie.ho <jiajie.ho@starfivetech.com>
2022-10-12gpu:drm:Add audio function in inno hdmiXingyu Wu4-46/+354
Could playback audio through HDMI. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-10-11can:starfive:modify some data field and clock frequencyWilliam Qiu1-4/+8
modify some data field and clock frequency Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2022-10-04CR_2141:crypto:starfive: Enhanced AES driver to handle negative casesjiajie.ho2-59/+83
1. Added input text length check for ECB and CBC mode. 2. Added input IV check for CCM mode. 3. Removed unnecessary zero data check. 4. Updated functions to return proper error codes. Signed-off-by: jiajie.ho <jiajie.ho@starfivetech.com>
2022-09-28pmu: starfive: Fix some power domain can not be disabledWalker Chen2-6/+27
Vout and isp domain can not be disabled during clock tree is running probe function. This bug has been fixed. Signed-off-by: Walker Chen <walker.chen@linux.starfivetech.com>
2022-09-23Merge branch 'CR_1849_DMA_walker.chen' into 'jh7110-5.15.y-devel'andy.hu2-76/+25
CR_1849_DMA_walker.chen See merge request sdk/linux!483