Age | Commit message (Collapse) | Author | Files | Lines |
|
This solves crush problem of i2c runtime pm and
prevents some aon modules from working abnormally.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
This reverts commit ef0fec210073c298598ab9a27e362e002dc0bf0b.
Then we keep the clock apb0 enabled always to fix crush
problem of i2c runtime pm.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
CR_2412_515_Clocktree_PLL1_Xingyu.Wu
See merge request sdk/linux!553
|
|
CR_2440_515_Clocktree_1.5G_Xingyu.Wu
See merge request sdk/linux!564
|
|
Cr 2439 cpufreq 515 mason.huo
See merge request sdk/linux!562
|
|
Cr 2417 cpu idle 515 mason.huo
See merge request sdk/linux!559
|
|
Rename the cpu_vdd_0p9 regulator to cpu_vdd,
since the regulator may changed per cpu frequency.
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
|
|
Add support for the axp15060 pmic.
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
|
|
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>
|
|
add pm ops for rtc
Signed-off-by: ziv.xu <ziv.xu@starfive.com>
|
|
So i2c will be initialized after uart.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
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>
|
|
fix up system pm error and add runtime pm
Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
|
|
add system pm for rtc
Signed-off-by: ziv.xu <ziv.xu@starfive.com>
|
|
add runtime pm and system pm ops
Signed-off-by: ys <eason.xiong@starfivetech.com>
|
|
add sec runtime PM ops.
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
|
|
modify SDIO/EMMC runtime PM callback function.
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
|
|
modify runtime PM callback function.
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
|
|
Add runtime and system pm in isp clock tree driver.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Because it causes error when system pm.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
reset execute permissions for FILE: drivers/hwmon/sfctemp.c
Signed-off-by: ziv.xu <ziv.xu@starfive.com>
|
|
add device pm for temp sensor
Signed-off-by: ziv.xu <ziv.xu@starfive.com>
|
|
add device pm for trng
Signed-off-by: Ziv.Xu <Ziv.Xu@starfivetech.com>
|
|
add device pm for spi
Signed-off-by: Ziv.Xu <Ziv.Xu@starfivetech.com>
|
|
add SDIO/EMMC runtime pm ops.
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
|
|
add canfd runtime PM ops.
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
|
|
Add system/runtime pm ops functions and enable runtime pm.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
|
|
Support system pm fuction when suspend and resume.
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
|
|
add system pm for watchdog
Signed-off-by: Ziv.Xu <Ziv.Xu@starfivetech.com>
|
|
add runtime pm for watchdog
Signed-off-by: Ziv.Xu <Ziv.Xu@starfivetech.com>
|
|
add starfive pm supend/resume and runtime pm runtime
suspend and resume ops
Signed-off-by: minda.chen <minda.chen@starfivetech.com>
|
|
Because of the limitation of hardware design, only enable/disable clk here.
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
|
|
Used PLDA link up/down status in probe to indicate the slot situations.
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
|
|
Remove hardware operations in vin init, hardware operation need turn on
power domain.
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
|
|
Delete operate isp noc bus clock in vin module.
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
|
|
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>
|
|
Fixed vin line stream_out not change except WR.
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
|
|
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>
|
|
Correct some code.
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
|
|
Delete the control direct control register and correct some code.
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
|
|
Use runtime/system pm save power.
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
|
|
Separate set stream and runtime PM, use runtime PM.
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
|
|
Switch to using runtime PM for power management.
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
|
|
delete read chip id in set power on.
Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
|
|
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>
|
|
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>
|
|
Count PLL1 rate through reading syscon registers.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Change PLL0 rate to 1.5GHz and change cpu_core divider.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
|
|
Cr 2285 sec jiajie.ho
See merge request sdk/linux!533
|
|
Cr 2261 can 515 william.qiu
See merge request sdk/linux!521
|