platform/kernel/linux-starfive.git
2 years agopinctrl: starfive: Add jh7110 aon controller gpio register
Jianlong Huang [Mon, 23 May 2022 11:40:21 +0000 (19:40 +0800)]
pinctrl: starfive: Add jh7110 aon controller gpio register

1. Add jh7110 aon controller gpio and irq register
2. Modify jh7110 sys controller irq register
3. Add clock and reset about jh7110 iomux

Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2 years agoMerge branch 'CR_1033_PCIE_mason.huo' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 20 May 2022 04:44:28 +0000 (04:44 +0000)]
Merge branch 'CR_1033_PCIE_mason.huo' into 'jh7110-5.15.y-devel'

PCIe: plda: Add support for evb

See merge request sdk/linux!77

2 years agoPCIe: plda: Add support for evb
mason.huo [Mon, 16 May 2022 01:07:25 +0000 (09:07 +0800)]
PCIe: plda: Add support for evb

1.Add pinctrl for power-enable & perst#.
2.Config refclk & clkreq.
3.Add ATR for host bridge config space.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agoMerge branch 'CR_1005_SPI_1-6_Xingyu.Wu' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 19 May 2022 13:38:58 +0000 (13:38 +0000)]
Merge branch 'CR_1005_SPI_1-6_Xingyu.Wu' into 'jh7110-5.15.y-devel'

Cr 1005 spi 1 6 xingyu.wu

See merge request sdk/linux!76

2 years agopinctrl:starfive:Modify the mask of gpio_din_reg to make spi4 work
xingyu.wu [Thu, 19 May 2022 13:28:21 +0000 (21:28 +0800)]
pinctrl:starfive:Modify the mask of gpio_din_reg to make spi4 work

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2 years agodts:starfive:Add nodes for SPI 1 to 6
xingyu.wu [Tue, 17 May 2022 10:04:51 +0000 (18:04 +0800)]
dts:starfive:Add nodes for SPI 1 to 6

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2 years agoMerge branch 'CR_1010_JPU_samin.guo' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 19 May 2022 11:31:34 +0000 (11:31 +0000)]
Merge branch 'CR_1010_JPU_samin.guo' into 'jh7110-5.15.y-devel'

Cr 1010 jpu samin.guo

See merge request sdk/linux!75

2 years agoMerge branch 'CR_1026_SEC_william.qiu' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 19 May 2022 09:01:46 +0000 (09:01 +0000)]
Merge branch 'CR_1026_SEC_william.qiu' into 'jh7110-5.15.y-devel'

crypto:starfive:fix clock diable error

See merge request sdk/linux!72

2 years agoMerge branch 'CR_971_temp_sensor_samin.guo' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 19 May 2022 09:01:03 +0000 (09:01 +0000)]
Merge branch 'CR_971_temp_sensor_samin.guo' into 'jh7110-5.15.y-devel'

Cr 971 temp sensor samin.guo

See merge request sdk/linux!73

2 years agoMerge branch 'CR_1009_pmu_samin.guo' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 19 May 2022 08:59:59 +0000 (08:59 +0000)]
Merge branch 'CR_1009_pmu_samin.guo' into 'jh7110-5.15.y-devel'

Cr 1009 pmu samin.guo

See merge request sdk/linux!74

2 years agodt-bindings:jh7110: Adjust clock-names/reset-names newlines
samin [Tue, 17 May 2022 07:54:38 +0000 (15:54 +0800)]
dt-bindings:jh7110: Adjust clock-names/reset-names newlines

Adjust clock-names/reset-names newlines to unify the code style.

Signed-off-by: samin <samin.guo@starfivetech.com>
2 years agodt-bindings:jh7110:jpu: add NOC_BUS_CLK_VDEC for jpu.
samin [Tue, 17 May 2022 07:32:51 +0000 (15:32 +0800)]
dt-bindings:jh7110:jpu: add NOC_BUS_CLK_VDEC for jpu.

JPU is in Power domain Vdec, so need NOC_BUS_CLK_VDEC.

Signed-off-by: samin <samin.guo@starfivetech.com>
2 years agopmu:starfive: Mask PMU_INT_PCH_FAIL interrupt
samin [Thu, 19 May 2022 03:14:20 +0000 (11:14 +0800)]
pmu:starfive: Mask PMU_INT_PCH_FAIL interrupt

p-ch fail interrupt can be ignored.

Signed-off-by: samin <samin.guo@starfivetech.com>
2 years agodt-bingings:gmac:jh7110: add gmac1 support.
yanhong.wang [Tue, 17 May 2022 09:38:00 +0000 (17:38 +0800)]
dt-bingings:gmac:jh7110: add gmac1 support.

remove pinctrl define, Modify the default configuration parameters.

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
Signed-off-by: samin <samin.guo@starfivetech.com>
2 years agoriscv:defconfig: add SFCTEMP support.
samin [Wed, 18 May 2022 01:19:00 +0000 (09:19 +0800)]
riscv:defconfig: add SFCTEMP support.

SFCTEMP is a tempsensor for Starfive JH7100/7110 SOC.

Signed-off-by: samin <samin.guo@starfivetech.com>
2 years agodt-bindings: hwmon: add starfive,jh7110-temp bindings
samin [Thu, 12 May 2022 02:10:03 +0000 (10:10 +0800)]
dt-bindings: hwmon: add starfive,jh7110-temp bindings

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

Signed-off-by: samin <samin.guo@starfivetech.com>
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 agocrypto:starfive:fix clock diable error
william.qiu [Thu, 19 May 2022 03:00:53 +0000 (11:00 +0800)]
crypto:starfive:fix clock diable error

Cancel the state that the encrypted clock is disabled by default

Signed-off-by: william.qiu <william.qiu@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