platform/kernel/linux-starfive.git
2 years agohwmon:sfctemp: add starfive,jh7110-temp bindings.
samin [Thu, 12 May 2022 02:04:39 +0000 (10:04 +0800)]
hwmon:sfctemp: add starfive,jh7110-temp bindings.

jh7110 and jh7100 use the same configuration.

Signed-off-by: samin <samin.guo@starfivetech.com>
2 years agohwmon: (sfctemp) Add StarFive JH7100 temperature sensor
Emil Renner Berthing [Sun, 6 Jun 2021 20:31:18 +0000 (22:31 +0200)]
hwmon: (sfctemp) Add StarFive JH7100 temperature sensor

Register definitions and conversion constants based on sfctemp driver by
Samin in the StarFive 5.10 kernel.

Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
Signed-off-by: samin <samin.guo@starfivetech.com>
2 years agodt-bindings: hwmon: add starfive,jh7100-temp bindings
Emil Renner Berthing [Sun, 6 Jun 2021 20:15:22 +0000 (22:15 +0200)]
dt-bindings: hwmon: add starfive,jh7100-temp bindings

Add bindings for the temperature sensor on the StarFive JH7100 SoC.

Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: samin <samin.guo@starfivetech.com>
2 years agoMerge branch 'CR_1024_PWMDAC_curry.zhang' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 18 May 2022 15:15:20 +0000 (15:15 +0000)]
Merge branch 'CR_1024_PWMDAC_curry.zhang' into 'jh7110-5.15.y-devel'

[Audio: PWMDAC] enable pwmdac driver on 7110 evb board

See merge request sdk/linux!71

2 years ago[Audio: PWMDAC] enable pwmdac driver on 7110 evb board
curry.zhang [Wed, 18 May 2022 12:56:11 +0000 (05:56 -0700)]
[Audio: PWMDAC] enable pwmdac driver on 7110 evb board

Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
2 years agoMerge branch 'CR_1000_I2C_hal.feng' into 'jh7110-5.15.y-devel'
andy.hu [Tue, 17 May 2022 08:39:22 +0000 (08:39 +0000)]
Merge branch 'CR_1000_I2C_hal.feng' into 'jh7110-5.15.y-devel'

riscv: dts: starfive: Add nodes for i2c2-5

See merge request sdk/linux!68

2 years agoMerge branch 'CR_1006_CLOCK_TREE_Flag_Xingyu.Wu' into 'jh7110-5.15.y-devel'
andy.hu [Tue, 17 May 2022 03:03:54 +0000 (03:03 +0000)]
Merge branch 'CR_1006_CLOCK_TREE_Flag_Xingyu.Wu' into 'jh7110-5.15.y-devel'

clk:starfive:Change some clocks to 'ignore-unused'

See merge request sdk/linux!69

2 years agoclk:starfive:Change some clocks to 'ignore-unused'
xingyu.wu [Tue, 17 May 2022 02:01:23 +0000 (10:01 +0800)]
clk:starfive:Change some clocks to 'ignore-unused'

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2 years agoriscv: dts: starfive: Add nodes for i2c2-5
Hal Feng [Mon, 16 May 2022 08:49:55 +0000 (16:49 +0800)]
riscv: dts: starfive: Add nodes for i2c2-5

Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2 years agoMerge branch 'CR_968_bring_up_samin.guo' into 'jh7110-5.15.y-devel'
andy.hu [Sun, 15 May 2022 12:05:04 +0000 (12:05 +0000)]
Merge branch 'CR_968_bring_up_samin.guo' into 'jh7110-5.15.y-devel'

Cr 968 bring up samin.guo

See merge request sdk/linux!67

2 years agoclksource:starfive-timer: Modify the default clock frequency
samin [Sun, 15 May 2022 10:44:28 +0000 (18:44 +0800)]
clksource:starfive-timer: Modify the default clock frequency

timer on soc is 24M.

Signed-off-by: samin <samin.guo@starfivetech.com>
2 years agodefconfig:starfive-jh7110: update defconfig
yanhong.wang [Sun, 15 May 2022 10:41:20 +0000 (18:41 +0800)]
defconfig:starfive-jh7110: update defconfig

Add YUTAI 8521 phy to defconfig.

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2 years agodt-bingings:gmac:jh7110: change config parameter
yanhong.wang [Sun, 15 May 2022 10:25:09 +0000 (18:25 +0800)]
dt-bingings:gmac:jh7110: change config parameter

Change the gamc configuration parameter for JH7110.

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2 years agonet:stmmac:dwc-qos: add JH7110_GMAC0_GTXC clk config for JH7110
yanhong.wang [Sun, 15 May 2022 10:09:37 +0000 (18:09 +0800)]
net:stmmac:dwc-qos: add JH7110_GMAC0_GTXC clk config for JH7110

Add JH7110_GMAC0_GTXC clk configuration for JH7110.

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2 years agonet:phy: support YUTAI 8521 phy
yanhong.wang [Sun, 15 May 2022 10:06:19 +0000 (18:06 +0800)]
net:phy: support YUTAI 8521 phy

Add driver to support YUTAI 8521 phy.

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2 years agodt-bindings:starfive:jh7110: simplify aliases
samin [Sun, 15 May 2022 08:18:02 +0000 (16:18 +0800)]
dt-bindings:starfive:jh7110: simplify aliases

simplify aliases for serial/spi/gpio etc.

Signed-off-by: samin <samin.guo@starfivetech.com>
Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2 years agoclk:starfive:Change PLL0 dafalut value from 1250m to 1000m
xingyu.wu [Sun, 15 May 2022 07:20:11 +0000 (15:20 +0800)]
clk:starfive:Change PLL0 dafalut value from 1250m to 1000m

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2 years agodriver:clk:Add noc clock initialization in isp clock tree driver
xingyu.wu [Fri, 13 May 2022 10:03:03 +0000 (18:03 +0800)]
driver:clk:Add noc clock initialization in isp clock tree driver

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2 years agoclk:starfive:Modify the clock to 'CLK_IGNORE_UNUSED' flag
xingyu.wu [Sat, 14 May 2022 20:01:59 +0000 (04:01 +0800)]
clk:starfive:Modify the clock to 'CLK_IGNORE_UNUSED' flag

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2 years agoclktree: jh7110: disable jh7110_clk_disable function interface.
samin [Sat, 14 May 2022 11:07:24 +0000 (19:07 +0800)]
clktree: jh7110: disable jh7110_clk_disable function interface.

/*do not upstram*/
The system will hang when clk_disable.
need to debug.

Signed-off-by: samin <samin.guo@starfivetech.com>
2 years agodt-bingings:riscv_timer: timebase-frequency is 4M.
samin [Sat, 14 May 2022 11:04:01 +0000 (19:04 +0800)]
dt-bingings:riscv_timer: timebase-frequency is 4M.

JH7110 SOC riscv_timer frequency is 4M.
FPGA is 2M.

Signed-off-by: samin <samin.guo@starfivetech.com>
2 years agov4l2:starfive: fix compilation issue on evb board
samin [Wed, 11 May 2022 07:26:11 +0000 (15:26 +0800)]
v4l2:starfive: fix compilation issue on evb board

HWBORD_FPGA macro is no longer used on evb, so remove it.

Signed-off-by: samin <samin.guo@starfivetech.com>
2 years agomodify dts to fix make fail
jianlong.huang [Wed, 11 May 2022 22:56:46 +0000 (06:56 +0800)]
modify dts to fix make fail

Signed-off-by: jianlong.huang <jianlong.huang@starfivetech.com>
2 years agomodify gpio index base evb
jianlong.huang [Tue, 10 May 2022 07:46:52 +0000 (15:46 +0800)]
modify gpio index base evb

Signed-off-by: jianlong.huang <jianlong.huang@starfivetech.com>
2 years agoMerge branch 'CR_858_SEC_william.qiu' into 'jh7110_fpga_dev_5.15'
andy.hu [Sat, 7 May 2022 11:11:31 +0000 (11:11 +0000)]
Merge branch 'CR_858_SEC_william.qiu' into 'jh7110_fpga_dev_5.15'

dma:starfive: remove warning message

See merge request sdk/sft-riscvpi-linux-5.10!61

2 years agoMerge branch 'CR_946_DRM_warning_keith.zhao' into 'jh7110_fpga_dev_5.15'
andy.hu [Sat, 7 May 2022 11:10:58 +0000 (11:10 +0000)]
Merge branch 'CR_946_DRM_warning_keith.zhao' into 'jh7110_fpga_dev_5.15'

Driver:DRM:DC8200

See merge request sdk/sft-riscvpi-linux-5.10!63

2 years agodmaengine:pl080: remove warning message
william.qiu [Sat, 7 May 2022 10:58:55 +0000 (18:58 +0800)]
dmaengine:pl080: remove warning message

remove warning message

Signed-off-by: william.qiu <william.qiu@starfivetech.com>
2 years agoMerge branch 'CR_947_V4L2_changhuang.liang' into 'jh7110_fpga_dev_5.15'
andy.hu [Sat, 7 May 2022 11:02:45 +0000 (11:02 +0000)]
Merge branch 'CR_947_V4L2_changhuang.liang' into 'jh7110_fpga_dev_5.15'

V4L2: change vin module coding style

See merge request sdk/sft-riscvpi-linux-5.10!60

2 years agoDriver:DRM:DC8200
keith.zhao [Sat, 7 May 2022 10:40:34 +0000 (03:40 -0700)]
Driver:DRM:DC8200

fix warning&error checked by script checkpatch.pl

Signed-off-by: keith <keith.zhao@statfivetech.com>
2 years agoMerge branch 'CR_948_dts_hal.feng' into 'jh7110_fpga_dev_5.15'
andy.hu [Sat, 7 May 2022 10:39:23 +0000 (10:39 +0000)]
Merge branch 'CR_948_dts_hal.feng' into 'jh7110_fpga_dev_5.15'

riscv: dts: starfive: Delete redundant nodes and improve coding style

See merge request sdk/sft-riscvpi-linux-5.10!62

2 years agoriscv: dts: starfive: Delete redundant nodes and improve coding style
Hal Feng [Sat, 7 May 2022 09:02:20 +0000 (17:02 +0800)]
riscv: dts: starfive: Delete redundant nodes and improve coding style

Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2 years agoV4L2: change vin module coding style
changhuang.liang [Sat, 7 May 2022 08:05:23 +0000 (16:05 +0800)]
V4L2: change vin module coding style

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2 years agoMerge branch 'CR_943_Timer_warning_Xingyu.Wu' into 'jh7110_fpga_dev_5.15'
andy.hu [Sat, 7 May 2022 05:21:46 +0000 (05:21 +0000)]
Merge branch 'CR_943_Timer_warning_Xingyu.Wu' into 'jh7110_fpga_dev_5.15'

drivers:timer:Fix warning by checkpatch.pl

See merge request sdk/sft-riscvpi-linux-5.10!59

2 years agoMerge branch 'CR_944_watchdog_warning_Xingyu.Wu' into 'jh7110_fpga_dev_5.15'
andy.hu [Sat, 7 May 2022 05:11:50 +0000 (05:11 +0000)]
Merge branch 'CR_944_watchdog_warning_Xingyu.Wu' into 'jh7110_fpga_dev_5.15'

drivers:watchdog:Remove warning messeage and clean up code

See merge request sdk/sft-riscvpi-linux-5.10!58

2 years agodrivers:watchdog:Remove warning messeage and clean up code
xingyu.wu [Sat, 7 May 2022 03:50:43 +0000 (11:50 +0800)]
drivers:watchdog:Remove warning messeage and clean up code

Signed-off-by: xingyu.wu <xingyu.wu@starfivetech.com>
2 years agodrivers:timer:Fix warning by checkpatch.pl
xingyu.wu [Sat, 7 May 2022 03:10:44 +0000 (11:10 +0800)]
drivers:timer:Fix warning by checkpatch.pl

Signed-off-by: xingyu.wu <xingyu.wu@starfivetech.com>
2 years agoMerge branch 'CR_937_DRM_keith.zhao' into 'jh7110_fpga_dev_5.15'
andy.hu [Sat, 7 May 2022 03:09:21 +0000 (03:09 +0000)]
Merge branch 'CR_937_DRM_keith.zhao' into 'jh7110_fpga_dev_5.15'

DTS:drm:hdmi

See merge request sdk/sft-riscvpi-linux-5.10!57

2 years agoMerge branch 'CR_933_HIFI4_henry.qin' into 'jh7110_fpga_dev_5.15'
andy.hu [Sat, 7 May 2022 03:05:02 +0000 (03:05 +0000)]
Merge branch 'CR_933_HIFI4_henry.qin' into 'jh7110_fpga_dev_5.15'

HIFI4: Add xrp dts status in jh7110-common.dtsi

See merge request sdk/sft-riscvpi-linux-5.10!56

2 years agoDTS:drm:hdmi
keith.zhao [Sat, 7 May 2022 02:49:48 +0000 (19:49 -0700)]
DTS:drm:hdmi
fix hdmi node build error
Signed-off-by: keith <keith.zhao@statfivetech.com>
2 years agoHIFI4: Add xrp dts status in jh7110-common.dtsi
henry.qin [Sat, 7 May 2022 02:29:24 +0000 (10:29 +0800)]
HIFI4: Add xrp dts status in jh7110-common.dtsi

Signed-off-by: henry.qin <henry.qin@starfivetech.com>
2 years agoMerge branch 'CR_942_SPI_warning_Xingyu.Wu' into 'jh7110_fpga_dev_5.15'
andy.hu [Sat, 7 May 2022 02:11:30 +0000 (02:11 +0000)]
Merge branch 'CR_942_SPI_warning_Xingyu.Wu' into 'jh7110_fpga_dev_5.15'

dts:starfive: Fix spi and qspi compilation warning

See merge request sdk/sft-riscvpi-linux-5.10!50

2 years agodts:starfive: Fix spi and qspi compilation warning
xingyu.wu [Fri, 6 May 2022 07:52:26 +0000 (15:52 +0800)]
dts:starfive: Fix spi and qspi compilation warning

Signed-off-by: xingyu.wu <xingyu.wu@starfivetech.com>
2 years agoMerge branch 'CR_939_PWMDAC_curry.zhang' into 'jh7110_fpga_dev_5.15'
andy.hu [Sat, 7 May 2022 01:27:56 +0000 (01:27 +0000)]
Merge branch 'CR_939_PWMDAC_curry.zhang' into 'jh7110_fpga_dev_5.15'

[Audio: PWMDAC] Adjust code style

See merge request sdk/sft-riscvpi-linux-5.10!55

2 years ago[Audio: PWMDAC] Adjust code style
curry.zhang [Fri, 6 May 2022 09:44:30 +0000 (02:44 -0700)]
[Audio: PWMDAC] Adjust code style

Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
2 years agoMerge branch 'CR_941_PWM_hal.feng' into 'jh7110_fpga_dev_5.15'
andy.hu [Fri, 6 May 2022 13:51:43 +0000 (13:51 +0000)]
Merge branch 'CR_941_PWM_hal.feng' into 'jh7110_fpga_dev_5.15'

pwm: pwm-starfive-ptc: Fix compiler warnings and improve coding style

See merge request sdk/sft-riscvpi-linux-5.10!54

2 years agopwm: pwm-starfive-ptc: Fix compiler warnings and improve coding style
Hal Feng [Fri, 6 May 2022 08:54:54 +0000 (16:54 +0800)]
pwm: pwm-starfive-ptc: Fix compiler warnings and improve coding style

Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2 years agoMerge branch 'CR_937_DRM_keith.zhao' into 'jh7110_fpga_dev_5.15'
andy.hu [Fri, 6 May 2022 11:59:09 +0000 (11:59 +0000)]
Merge branch 'CR_937_DRM_keith.zhao' into 'jh7110_fpga_dev_5.15'

DTS:DRM

See merge request sdk/sft-riscvpi-linux-5.10!53

2 years agoMerge branch 'CR_930_V4L2_changhuang.liang' into 'jh7110_fpga_dev_5.15'
andy.hu [Fri, 6 May 2022 11:57:40 +0000 (11:57 +0000)]
Merge branch 'CR_930_V4L2_changhuang.liang' into 'jh7110_fpga_dev_5.15'

V4L2: fixed code warning!

See merge request sdk/sft-riscvpi-linux-5.10!52

2 years agoMerge branch 'CR_938_PDM_warning_walker.chen' into 'jh7110_fpga_dev_5.15'
andy.hu [Fri, 6 May 2022 11:56:06 +0000 (11:56 +0000)]
Merge branch 'CR_938_PDM_warning_walker.chen' into 'jh7110_fpga_dev_5.15'

Audio PDM: remove warning message and clean up code

See merge request sdk/sft-riscvpi-linux-5.10!51

2 years agoMerge branch 'CR_907_GPU_shanlong.li' into 'jh7110_fpga_dev_5.15'
andy.hu [Fri, 6 May 2022 11:55:29 +0000 (11:55 +0000)]
Merge branch 'CR_907_GPU_shanlong.li' into 'jh7110_fpga_dev_5.15'

driver:GPU: fix compile warnings

See merge request sdk/sft-riscvpi-linux-5.10!48

2 years agoMerge branch 'CR_940_PCIE_mason.huo' into 'jh7110_fpga_dev_5.15'
andy.hu [Fri, 6 May 2022 09:40:50 +0000 (09:40 +0000)]
Merge branch 'CR_940_PCIE_mason.huo' into 'jh7110_fpga_dev_5.15'

PCI: plda: Fix kernel compile warnings

See merge request sdk/sft-riscvpi-linux-5.10!49

2 years agodriver:GPU: fix compile warnings
shanlong.li [Fri, 6 May 2022 06:47:08 +0000 (23:47 -0700)]
driver:GPU: fix compile warnings

fix compile warnings

Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2 years agoMerge branch 'CR_935_pinctrl_warning_jianlong' into 'jh7110_fpga_dev_5.15'
andy.hu [Fri, 6 May 2022 09:07:07 +0000 (09:07 +0000)]
Merge branch 'CR_935_pinctrl_warning_jianlong' into 'jh7110_fpga_dev_5.15'

fix warning about pinctrl-starfive-jh7110.c

See merge request sdk/sft-riscvpi-linux-5.10!47

2 years agoDTS:DRM
keith.zhao [Fri, 6 May 2022 08:52:09 +0000 (01:52 -0700)]
DTS:DRM

fix build warning in drm dts node

Signed-off-by: keith <keith.zhao@statfivetech.com>
2 years agomodify code format base on checkpatch.pl
jianlonghuang [Fri, 6 May 2022 08:40:01 +0000 (16:40 +0800)]
modify code format base on checkpatch.pl

Signed-off-by: jianlonghuang <jianlong.huang@starfivetech.com>
2 years agoAudio PDM: remove warning message and clean up code
Walker Chen [Fri, 6 May 2022 08:30:03 +0000 (16:30 +0800)]
Audio PDM: remove warning message and clean up code

Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2 years agoV4L2: fixed code warning!
changhuang.liang [Fri, 6 May 2022 08:07:52 +0000 (16:07 +0800)]
V4L2: fixed code warning!

V4L2: add m31 dphy reset support!

dts/starfive: add m31 dphy reset configure!

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2 years agoMerge branch 'CR_858_SEC_william.qiu' into 'jh7110_fpga_dev_5.15'
andy.hu [Fri, 6 May 2022 08:03:21 +0000 (08:03 +0000)]
Merge branch 'CR_858_SEC_william.qiu' into 'jh7110_fpga_dev_5.15'

Cr 858 sec william.qiu

See merge request sdk/sft-riscvpi-linux-5.10!46

2 years agoPCI: plda: Fix kernel compile warnings
mason.huo [Fri, 6 May 2022 07:35:59 +0000 (15:35 +0800)]
PCI: plda: Fix kernel compile warnings

Remove the unused functions.
Adjust the dts configuration.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agofix warning about pinctrl-starfive-jh7110.c
jianlonghuang [Fri, 6 May 2022 05:43:40 +0000 (13:43 +0800)]
fix warning about pinctrl-starfive-jh7110.c

Signed-off-by: jianlonghuang <jianlong.huang@starfivetech.com>
2 years agodt-bingings:crypto: add dma support for crypto.
william.qiu [Thu, 5 May 2022 09:15:27 +0000 (17:15 +0800)]
dt-bingings:crypto: add dma support for crypto.

add dma support for crypto, so it can choose cpu/dma boot.

Signed-off-by: william.qiu <william.qiu@starfivetech.com>
2 years agocrypto:starfive:fix format problem
william.qiu [Thu, 5 May 2022 06:26:08 +0000 (14:26 +0800)]
crypto:starfive:fix format problem

Fix the problem that some parameters in the header file are not aligned

Signed-off-by: william.qiu <william.qiu@starfivetech.com>
2 years agoMerge branch 'CR_875_SPDIF_curry.zhang' into 'jh7110_fpga_dev_5.15'
andy.hu [Thu, 5 May 2022 13:59:58 +0000 (13:59 +0000)]
Merge branch 'CR_875_SPDIF_curry.zhang' into 'jh7110_fpga_dev_5.15'

[Audio: SPDIF] Add standard system clock tree API

See merge request sdk/sft-riscvpi-linux-5.10!42

2 years agoMerge branch 'CR_738_PWMDAC_curry.zhang' into 'jh7110_fpga_dev_5.15'
andy.hu [Thu, 5 May 2022 13:59:35 +0000 (13:59 +0000)]
Merge branch 'CR_738_PWMDAC_curry.zhang' into 'jh7110_fpga_dev_5.15'

[Audio: PWMDAC] Add clock tree and modify driver for 7110 platform

See merge request sdk/sft-riscvpi-linux-5.10!39

2 years agoMerge branch 'CR_874_I2S_curry.zhang' into 'jh7110_fpga_dev_5.15'
andy.hu [Thu, 5 May 2022 13:58:54 +0000 (13:58 +0000)]
Merge branch 'CR_874_I2S_curry.zhang' into 'jh7110_fpga_dev_5.15'

[Audio] I2S and WM8960

See merge request sdk/sft-riscvpi-linux-5.10!40

2 years agoMerge branch 'CR_850_TDM_Walker.Chen' into 'jh7110_fpga_dev_5.15'
andy.hu [Thu, 5 May 2022 13:40:05 +0000 (13:40 +0000)]
Merge branch 'CR_850_TDM_Walker.Chen' into 'jh7110_fpga_dev_5.15'

Cr 850 tdm walker.chen

See merge request sdk/sft-riscvpi-linux-5.10!43

2 years ago[Audio: PWMDAC] Add standard system clock tree api
curry.zhang [Wed, 4 May 2022 06:13:49 +0000 (23:13 -0700)]
[Audio: PWMDAC] Add standard system clock tree api

Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
2 years agoAudio:tdm: Add clock/reset/pinctrl initialization
WalkerChenL [Thu, 5 May 2022 10:14:31 +0000 (18:14 +0800)]
Audio:tdm: Add clock/reset/pinctrl initialization

Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2 years agoMerge branch 'CR_878_SBI_Xingyu.Wu' into 'jh7110_fpga_dev_5.15'
andy.hu [Thu, 5 May 2022 13:24:02 +0000 (13:24 +0000)]
Merge branch 'CR_878_SBI_Xingyu.Wu' into 'jh7110_fpga_dev_5.15'

spi: Add clock, reset and pinctrl

See merge request sdk/sft-riscvpi-linux-5.10!41

2 years agoMerge branch 'CR_868_USB-HOST_yanhong.wang' into 'jh7110_fpga_dev_5.15'
andy.hu [Thu, 5 May 2022 13:10:57 +0000 (13:10 +0000)]
Merge branch 'CR_868_USB-HOST_yanhong.wang' into 'jh7110_fpga_dev_5.15'

Cr 868 usb host yanhong.wang

See merge request sdk/sft-riscvpi-linux-5.10!44

2 years agoMerge branch 'CR_849_PDM_Walker.Chen' into 'jh7110_fpga_dev_5.15'
andy.hu [Thu, 5 May 2022 12:58:57 +0000 (12:58 +0000)]
Merge branch 'CR_849_PDM_Walker.Chen' into 'jh7110_fpga_dev_5.15'

Cr 849 pdm walker.chen

See merge request sdk/sft-riscvpi-linux-5.10!45

2 years agoAudio pdm: add clock/reset/pinctrl initialization
Walker Chen [Thu, 5 May 2022 12:16:58 +0000 (20:16 +0800)]
Audio pdm: add clock/reset/pinctrl initialization

Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2 years agousb:cdns3:cdns3-starfive: Add StarFive wrapper driver for CDNS USB3 controller
yanhong.wang [Thu, 5 May 2022 09:23:58 +0000 (17:23 +0800)]
usb:cdns3:cdns3-starfive: Add StarFive wrapper driver for CDNS USB3 controller

Add driver to handle StarFive  specific wrapper for Cadence USB3 controller
present on JH7110  SoC.

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2 years agodt-bingings:usb: Add usb device node
yanhong.wang [Thu, 5 May 2022 09:18:39 +0000 (17:18 +0800)]
dt-bingings:usb: Add usb device node

Add usb device node configuration for JH7110 SoC platform.

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2 years ago[Audio: SPDIF] Add standard system clock tree API
curry.zhang [Thu, 5 May 2022 08:47:47 +0000 (01:47 -0700)]
[Audio: SPDIF] Add standard system clock tree API

Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
2 years agospi: Add clock, reset and pinctrl
xingyu.wu [Thu, 5 May 2022 07:31:51 +0000 (15:31 +0800)]
spi: Add clock, reset and pinctrl

driver:spi: Add reset handle.
dts:starfive:dtsi: Add clock and reset node.
dts:starfive:pinctrl: Modify spi gpio and Add pinctrl.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2 years ago[Audio] I2S and WM8960
curry.zhang [Wed, 4 May 2022 08:03:41 +0000 (01:03 -0700)]
[Audio] I2S and WM8960
1) Add standard system clock tree API
2) Modify wm8960 and I2S drivers

Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
2 years agoMerge branch 'CR_833_VDEC_samin.guo' into 'jh7110_fpga_dev_5.15'
andy.hu [Fri, 29 Apr 2022 12:36:28 +0000 (12:36 +0000)]
Merge branch 'CR_833_VDEC_samin.guo' into 'jh7110_fpga_dev_5.15'

pmu:starfive:jh7110: Fix some errors and standardize variable naming

See merge request sdk/sft-riscvpi-linux-5.10!38

2 years agopmu:starfive:jh7110: Fix some errors and standardize variable naming
samin [Fri, 29 Apr 2022 07:29:14 +0000 (15:29 +0800)]
pmu:starfive:jh7110: Fix some errors and standardize variable naming

Fixed interrupt enabler logic error, fixed PMU_HARD_EVENT definition
error, changed some variable names, for better code style.

Note:
This is an interim version of the pmu driver that provides the
power_domian switch function.
It can be used in modules such as VPU/JPU/GPU/ISP/VOUT.
/* do not upstram */

Signed-off-by: samin <samin.guo@starfivetech.com>
2 years agoMerge branch 'CR_907_GPU_shanlong.li' into 'jh7110_fpga_dev_5.15'
andy.hu [Thu, 28 Apr 2022 13:04:03 +0000 (13:04 +0000)]
Merge branch 'CR_907_GPU_shanlong.li' into 'jh7110_fpga_dev_5.15'

Cr 907 gpu shanlong.li

See merge request sdk/sft-riscvpi-linux-5.10!37

2 years agoMerge branch 'CR_873_HIFI4_henry.qin' into 'jh7110_fpga_dev_5.15'
andy.hu [Thu, 28 Apr 2022 11:48:10 +0000 (11:48 +0000)]
Merge branch 'CR_873_HIFI4_henry.qin' into 'jh7110_fpga_dev_5.15'

Cr 873 hifi4 henry.qin

See merge request sdk/sft-riscvpi-linux-5.10!31

2 years agoMerge branch 'CR_845_FPGA-V1.0-VIN_update_changhuang.liang' into 'jh7110_fpga_dev_5.15'
andy.hu [Thu, 28 Apr 2022 11:38:27 +0000 (11:38 +0000)]
Merge branch 'CR_845_FPGA-V1.0-VIN_update_changhuang.liang' into 'jh7110_fpga_dev_5.15'

Cr 845 fpga v1.0 vin update changhuang.liang

See merge request sdk/sft-riscvpi-linux-5.10!35

2 years agoMerge branch 'CR_737_CLOCK_TREE_Xingyu.Wu' into 'jh7110_fpga_dev_5.15'
andy.hu [Thu, 28 Apr 2022 11:35:45 +0000 (11:35 +0000)]
Merge branch 'CR_737_CLOCK_TREE_Xingyu.Wu' into 'jh7110_fpga_dev_5.15'

clk:starfive: Add isp clock tree driver

See merge request sdk/sft-riscvpi-linux-5.10!32

2 years agodriver:GPU: add gpu driver
shanlong.li [Wed, 27 Apr 2022 11:06:17 +0000 (04:06 -0700)]
driver:GPU: add gpu driver

add gpu driver

use clk/rst api and pmu api

Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2 years agodriver:pmu : add turn off mask api
shanlong.li [Wed, 27 Apr 2022 11:04:37 +0000 (04:04 -0700)]
driver:pmu : add turn off mask api

add turn off mask api

Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2 years agoMerge branch 'CR_858_SEC_william.qiu' into 'jh7110_fpga_dev_5.15'
andy.hu [Thu, 28 Apr 2022 11:01:41 +0000 (11:01 +0000)]
Merge branch 'CR_858_SEC_william.qiu' into 'jh7110_fpga_dev_5.15'

disable sec drvier

See merge request sdk/sft-riscvpi-linux-5.10!36

2 years agoHIFI4: Add hifi4 clk and rst, del unused code, resolve code review
henry.qin [Thu, 28 Apr 2022 05:36:45 +0000 (13:36 +0800)]
HIFI4: Add hifi4 clk and rst, del unused code, resolve code review
problems, change file access mode.

Signed-off-by: henry.qin <henry.qin@starfivetech.com>
2 years agocrypto:starfive: disable crypto default on fpga.
william.qiu [Thu, 28 Apr 2022 10:25:09 +0000 (18:25 +0800)]
crypto:starfive: disable crypto default on fpga.

For most fpga bitfile has no crypto, so disable it for better linux boot.

Signed-off-by: william.qiu <william.qiu@starfivetech.com>
2 years agoclk:starfive: Add definition instead of numbers
xingyu.wu [Thu, 28 Apr 2022 10:18:17 +0000 (18:18 +0800)]
clk:starfive: Add definition instead of numbers

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2 years agoclk:starfive: Add isp clock tree driver
xingyu.wu [Wed, 27 Apr 2022 07:49:49 +0000 (15:49 +0800)]
clk:starfive: Add isp clock tree driver

Clock references refer to include/dt-bindings/clock/starfive-jh7110-isp.h

Enable the isp clock tree driver in dts file if use it.
If the fpga is not connetted with isp board, the isp clock tree must be disabled.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2 years agodriver:GPU: add gpu config
shanlong.li [Wed, 27 Apr 2022 11:02:06 +0000 (04:02 -0700)]
driver:GPU: add gpu config

add gpu config

Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2 years agodt-bingings:GPU: add clk/rst single
shanlong.li [Wed, 27 Apr 2022 10:57:25 +0000 (03:57 -0700)]
dt-bingings:GPU: add clk/rst single

add clk/rst single

Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2 years agoMerge branch 'CR_846_FPGA-V1.0-VOUT_update_keith.zhao' into 'jh7110_fpga_dev_5.15'
andy.hu [Thu, 28 Apr 2022 07:29:42 +0000 (07:29 +0000)]
Merge branch 'CR_846_FPGA-V1.0-VOUT_update_keith.zhao' into 'jh7110_fpga_dev_5.15'

riscv:linux:driver:DC8200

See merge request sdk/sft-riscvpi-linux-5.10!33

2 years agoMerge branch 'CR_858_SEC_william.qiu' into 'jh7110_fpga_dev_5.15'
andy.hu [Thu, 28 Apr 2022 07:24:53 +0000 (07:24 +0000)]
Merge branch 'CR_858_SEC_william.qiu' into 'jh7110_fpga_dev_5.15'

Cr 858 sec william.qiu

See merge request sdk/sft-riscvpi-linux-5.10!34

2 years agocrypto:starfive:jh7110: add crypto driver for starfive jh7110 soc.
william.qiu [Wed, 27 Apr 2022 11:18:11 +0000 (19:18 +0800)]
crypto:starfive:jh7110: add crypto driver for starfive jh7110 soc.

add crypto driver for starfive jh7110 soc.

Signed-off-by: william.qiu <william.qiu@starfivetech.com>
2 years agocrypto:starfive: Write the security clock tree and reset description file
william.qiu [Wed, 27 Apr 2022 07:34:02 +0000 (15:34 +0800)]
crypto:starfive: Write the security clock tree and reset description file

Write the security clock tree and reset description file

Signed-off-by: william.qiu <william.qiu@starfivetech.com>
2 years agodefconfig: add crypto defconfig support.
william.qiu [Wed, 27 Apr 2022 09:05:03 +0000 (17:05 +0800)]
defconfig: add crypto defconfig support.

add defconfig for jh7110 crypto.

Signed-off-by: william.qiu <william.qiu@starfivetech.com>
2 years agodt-bingings:crypto: add crypto node for jh7110 soc.
william.qiu [Wed, 27 Apr 2022 10:04:03 +0000 (18:04 +0800)]
dt-bingings:crypto: add crypto node for jh7110 soc.

add support for jh7110 crypto.

Signed-off-by: william.qiu <william.qiu@starfivetech.com>
2 years agodmaengine:pl080: add support for starfive jh7110 soc sec.
william.qiu [Wed, 27 Apr 2022 09:57:36 +0000 (17:57 +0800)]
dmaengine:pl080: add support for starfive jh7110 soc sec.

dd support for starfive jh7110 soc sec.

Signed-off-by: william.qiu <william.qiu@starfivetech.com>
2 years agocrypto: add patch for 5.15
william.qiu [Wed, 27 Apr 2022 09:03:14 +0000 (17:03 +0800)]
crypto: add patch for 5.15

crypto need this patch to work.

Signed-off-by: william.qiu <william.qiu@starfivetech.com>