summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-11-03config: Add led configJianlong Huang1-0/+5
Enable led trigger heartbeat Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-11-03dts: starfive: Add led nodeJianlong Huang1-0/+13
Add led node on dts file Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-11-03dts: starfive: Move wm8960 and ac108 node under i2c form dtsi file to ↵Jianlong Huang3-15/+19
wm8960/ac108 file The default dts do not contain wm8960/ac108, move to the other file. The booting of default dts do not have wrong log about wm8960/ac108 Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-11-03dts: starfive: Replace stf to starfiveJianlong Huang1-22/+22
Forget to replace stf to starfive on dtbo file Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-11-03dts: starfive: enhance SD card io Output Drive StrengthJianlong Huang6-20/+22
SD card gpio is generic gpio on visionfive2, the default output drive strength may be not enough, some sd card do not work. So enhance the gpio output drive strength to max. But on visionfive2, the sd card gpio is fixed 3.3V, there is no need to switch_voltage and not support uhs mode. Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-11-03dts: starfive: Replace sf to starfiveJianlong Huang3-308/+308
Because upstream requirement. Replace sf to starfive. Replace hdmi_output to rgb_output. Replace encoder to dsi_output Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-11-03dts: starfive: Add wm8960 and ac108 dtsJianlong Huang4-27/+40
Add wm8960 and ac108 dts base default dts Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-11-03configs: starfive: sync jh7110 config to visionfive2Jianlong Huang1-1/+2
sync jh7110 config to visionfive2 about audio config Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-11-03riscv: dts: Change the cpu_vdd_0p9 to cpu_vddmason.huo1-3/+3
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-11-03dts: starfive: Add ac108 dts configjianlonghuang2-12/+17
Add ac108 dts Signed-off-by: jianlonghuang <jianlong.huang@starfivetech.com>
2022-11-03dts: starfive: update vf2 dts base on new board A1.1Jianlong Huang4-789/+998
reserve vf2 old board A1.0 dts as jh7110-visionfive-v2-A10.dts new board A1.1 dts as default, jh7110-visionfive-v2.dts vf2 dts common as jh7110-visionfive-v2.dtsi Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-11-03dts: starfive: Add ac108 dts configJianlong Huang3-9/+21
Add ac108 dts and config Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-11-03Revert "v4l2: imx219 use pinctrl"Jianlong Huang3-101/+5
This patch just for evb This reverts commit 8d7c702d7bc0fef9ee5882db660390801bbccaa7.
2022-11-03dts: starfive: sync evb dts and configJianlong Huang2-14/+15
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-11-03riscv: configs: jh7110: Enable StarFive dwmacyanhong.wang1-1/+2
Enable StarFive dwmac. Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2022-11-03dts: starfive: modify sdio0 configJianlong Huang1-5/+4
set hs400es mode to promote read and write speed Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-11-03dts: starfive: Modified PCIe pin setting for bring up PCIe USB hub.Kevin.xie2-39/+43
Based on VisionFive V2 SCH. Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-11-03dts: starfive: Add overlay dtsJianlong Huang5-1/+84
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-11-03riscv: configs: Fix the pmic config from jh7110 to visionfive2Kevin.xie1-1/+1
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-11-03riscv:linux:drm:mipidsishengyang.chen1-5/+5
update dphy reg config for visionfive2 board Signed-off-by:shengyang.chen<shengyang.chen@starfivetech.com>
2022-11-03v4l2: add imx219 supportchanghuang.liang8-35/+73
dts: add imx219 configure Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-11-03riscv:dts:starfive-visionfive2: Add ethernet-phy node to set delay_chainJianlong Huang1-4/+11
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-11-03arch: riscv: Add dts & defconfig for axp15060 pmic driverKevin.xie1-0/+44
Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-11-03dts: starfive: Add pwmdac and wm8960 configJianlong Huang2-19/+85
configs : starfive: sync JH7110_515_SDK_v1.0.0-rc2 config Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-11-03configs: starfive: Add at24 config and deviceJianlong Huang2-0/+7
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-11-03dts: starfive: Support visionfive2Jianlong Huang3-6/+1008
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-11-03net: phy: motorcomm: Support the YT8531 gigabit PHYJianlong Huang1-1/+1
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2022-11-02Merge branch 'CR_2517_sec_jiajie.ho' into 'jh7110-5.15.y-devel'andy.hu1-1/+3
CR_2517_515:crypto:starfive: Fix "Unbalanced pm_runtime_enable!" warning See merge request sdk/linux!583
2022-11-02Merge branch 'CR_2522_ECO_EVB_515_samin.guo' into 'jh7110-5.15.y-devel'andy.hu2-13/+117
CR_2522:support gmac with jh7110B-evb See merge request sdk/linux!585
2022-11-02Merge branch 'CR_2395_I2C_hal.feng' into 'jh7110-5.15.y-devel'andy.hu2-2/+2
CR_2395_I2C_hal.feng See merge request sdk/linux!581
2022-11-02Merge branch 'CR_2498_spi_without_dma_devel_5.15_ziv.xu' into ↵andy.hu2-3/+5
'jh7110-5.15.y-devel' CR 2498 spi without dma devel 5.15 ziv.xu See merge request sdk/linux!582
2022-11-01dts:satrfive:jh7110: default support jh7110A gmac0Samin Guo1-2/+5
default support jh7110A gmac0 Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2022-11-01net:phy:motorcomm: support yt8521 invertedSamin Guo1-26/+36
jh7110B need yt8521 inverted. Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2022-11-01net:phy:motorcomm: support modifying RGMII_TX_CLK delay train from dtsSamin Guo1-11/+102
support use original or inverted RGMII_TX_CLK delay train. 10M/100M/1000M can be configured independently. tx_inverted_xx = val; for example: &gmac0 { #address-cells = <1>; #size-cells = <0>; phy0: ethernet-phy@0 { tx_inverted_10 = <0>; tx_inverted_100 = <1>; tx_inverted_1000 = <1>; }; }; 0: original (default) 1: inverted Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
2022-11-01CR_2517:crypto:starfive: Fix "Unbalanced pm_runtime_enable!" warningJia Jie Ho1-1/+3
Crypto driver will probe multiple times waiting for DMA to be ready, each time calling pm_runtime_enable(). Only call pm_runtime_enable() when it's not already enabled. Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com>
2022-11-01spi-pl022-starfive.c: make spi work without dmaziv.xu2-3/+5
make spi work without dma Signed-off-by: ziv.xu <ziv.xu@starfive.com>
2022-11-01clk: starfive: Keep the clock apb0 enabled alwaysHal Feng1-1/+1
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>
2022-11-01Revert "i2c: designware: Descend startup priority"Hal Feng1-1/+1
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>
2022-10-28Merge branch 'CR_2412_515_Clocktree_PLL1_Xingyu.Wu' into 'jh7110-5.15.y-devel'andy.hu2-7/+1
CR_2412_515_Clocktree_PLL1_Xingyu.Wu See merge request sdk/linux!553
2022-10-28Merge branch 'CR_2440_515_Clocktree_1.5G_Xingyu.Wu' into 'jh7110-5.15.y-devel'andy.hu2-0/+36
CR_2440_515_Clocktree_1.5G_Xingyu.Wu See merge request sdk/linux!564
2022-10-28Merge branch 'CR_2439_CPUFREQ_515_mason.huo' into 'jh7110-5.15.y-devel'andy.hu7-57/+453
Cr 2439 cpufreq 515 mason.huo See merge request sdk/linux!562
2022-10-28Merge branch 'CR_2417_CPUIdle_515_mason.huo' into 'jh7110-5.15.y-devel'andy.hu2-47/+15
Cr 2417 cpu idle 515 mason.huo See merge request sdk/linux!559
2022-10-28Merge branch 'CR_2462_DEV_PM_mason.huo' into 'jh7110-5.15.y-devel'andy.hu55-837/+1826
CR_2462 Port runtime PM from hibernation to devel See merge request sdk/linux!574
2022-10-28regulator: axp15060: Change the cpu_vdd_0p9 to cpu_vddmason.huo2-3/+3
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>
2022-10-28driver: regulator: Add axp15060 pmic regulator driverKevin.xie5-0/+438
Add support for the axp15060 pmic. Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
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-28riscv: defconfigs: Enable cpufreq for jh7110mason.huo1-0/+8
Set the default cpufreq govenor to ondemand. Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-10-28riscv: dts: starfive: Remove unsupported cpu frequenciesmason.huo1-33/+3
As the pll0 is fixed, there are only four cpu frequencies that can be divided from the pll0, so remove the other cpu frequencies. Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-10-28sound:dwc:i2s:Add hibernation about i2srx-3chXingyu Wu1-88/+58
Add runtime pm and system pm in i2srx-3ch driver. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2022-10-28sound:dwc:i2s:Add hibernation about i2stx-4ch1Xingyu Wu1-76/+56
Add runtime pm and system pm in i2stx-4ch1 driver. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>