platform/kernel/linux-starfive.git
2 years agoriscv:linux:driver:drm
shengyang.chen [Tue, 28 Jun 2022 09:38:35 +0000 (17:38 +0800)]
riscv:linux:driver:drm

remove printk of function update_fb() in vs_dc.c

Signed-off-by:shengyang.chen<shengyang.chen@starfivetech.com>

2 years agoMerge branch 'CR_1201_overlay_inte_jianlong' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 24 Jun 2022 11:04:02 +0000 (11:04 +0000)]
Merge branch 'CR_1201_overlay_inte_jianlong' into 'jh7110-5.15.y-devel'

CR_1201 dts: starfive: Add module dts and overlay dts

See merge request sdk/linux!170

2 years agodts: starfive: Add overlay dts and fix pin conflict
Jianlong Huang [Fri, 24 Jun 2022 10:30:07 +0000 (18:30 +0800)]
dts: starfive: Add overlay dts and fix pin conflict

Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2 years agoMerge branch 'CR_1339_HIFI4_henry.qin' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 24 Jun 2022 10:16:08 +0000 (10:16 +0000)]
Merge branch 'CR_1339_HIFI4_henry.qin' into 'jh7110-5.15.y-devel'

Cr 1339 hifi4 henry.qin

See merge request sdk/linux!168

2 years agoMerge branch 'CR_1334_v4l2_readme_changhuang.liang' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 24 Jun 2022 09:49:05 +0000 (09:49 +0000)]
Merge branch 'CR_1334_v4l2_readme_changhuang.liang' into 'jh7110-5.15.y-devel'

Cr 1334 v4l2 readme changhuang.liang

See merge request sdk/linux!159

2 years agov4l2: modify warning and readme
changhuang.liang [Fri, 24 Jun 2022 01:58:29 +0000 (09:58 +0800)]
v4l2: modify warning and readme

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2 years agoMerge branch 'CR_1274_SEC_JIAJIE.HO' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 24 Jun 2022 07:39:10 +0000 (07:39 +0000)]
Merge branch 'CR_1274_SEC_JIAJIE.HO' into 'jh7110-5.15.y-devel'

crypto:starfive:Fix SHA-HMAC driver

See merge request sdk/linux!163

2 years agoMerge branch 'CR_1333_USBHOST_mason.huo' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 24 Jun 2022 07:36:46 +0000 (07:36 +0000)]
Merge branch 'CR_1333_USBHOST_mason.huo' into 'jh7110-5.15.y-devel'

Cr 1333 usbhost mason.huo

See merge request sdk/linux!161

2 years agoHIFI4:Add xrp stg-syscon dts.
henry.qin [Fri, 24 Jun 2022 07:21:28 +0000 (15:21 +0800)]
HIFI4:Add xrp stg-syscon dts.

Signed-off-by: henry.qin <henry.qin@starfivetech.com>
2 years agocrypto:starfive:Fix SHA-HMAC driver
jiajie.ho [Fri, 24 Jun 2022 03:23:40 +0000 (11:23 +0800)]
crypto:starfive:Fix SHA-HMAC driver

Fix HMAC setkey function and interrupt handling for SHA-HMAC

Signed-off-by: jiajie.ho <jiajie.ho@starfivetech.com>
2 years agousb: cdns3: Optimize code style
mason.huo [Thu, 23 Jun 2022 11:07:03 +0000 (19:07 +0800)]
usb: cdns3: Optimize code style

2 years agousb: cdns3: Set the USB_125M clock explicitly
mason.huo [Thu, 23 Jun 2022 10:36:40 +0000 (18:36 +0800)]
usb: cdns3: Set the USB_125M clock explicitly

Since the USB_125M clock is divided from pll0 clock,
and the pll0 clock changes per the cpu frequency.
So, needs to set the clock explicitly.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agoriscv: dts: Add the USB 125M clock
mason.huo [Fri, 24 Jun 2022 01:44:36 +0000 (09:44 +0800)]
riscv: dts: Add the USB 125M clock

Add the JH7110_USB_125M clock in dt,
so that the usb controller driver can set the clock rate.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agoriscv: deconfig: Add usb camera support for JH7110
mason.huo [Mon, 20 Jun 2022 00:08:21 +0000 (08:08 +0800)]
riscv: deconfig: Add usb camera support for JH7110

2 years agov4l2: modify Readme.txt
changhuang.liang [Fri, 24 Jun 2022 01:47:45 +0000 (09:47 +0800)]
v4l2: modify Readme.txt

2 years agoMerge branch 'CR_1318_wm8960_5.15_curry.zhang' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 23 Jun 2022 07:20:52 +0000 (07:20 +0000)]
Merge branch 'CR_1318_wm8960_5.15_curry.zhang' into 'jh7110-5.15.y-devel'

[Audio: wm8960] Fixed wm8960 ether playing or recording

See merge request sdk/linux!150

2 years ago[Audio: wm8960] Fixed wm8960 ether playing or recording
curry.zhang [Thu, 23 Jun 2022 05:40:08 +0000 (22:40 -0700)]
[Audio: wm8960] Fixed wm8960 ether playing or recording

Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
2 years agoMerge branch 'CR_1279_I2S_wm8960_Curry.zhang' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 22 Jun 2022 09:55:03 +0000 (09:55 +0000)]
Merge branch 'CR_1279_I2S_wm8960_Curry.zhang' into 'jh7110-5.15.y-devel'

[Audio: PWMDAC] Add pwmdac config

See merge request sdk/linux!132

2 years agoMerge branch 'CR_1280_i2s_master_walker.chen' into 'jh7110-5.15.y-devel'
andy.hu [Tue, 21 Jun 2022 12:05:47 +0000 (12:05 +0000)]
Merge branch 'CR_1280_i2s_master_walker.chen' into 'jh7110-5.15.y-devel'

Fix the conflict between with i2s and pdm while using i2srx

See merge request sdk/linux!134

2 years agoFix the conflict between with i2s and pdm while using i2srx
Walker Chen [Tue, 21 Jun 2022 09:36:49 +0000 (17:36 +0800)]
Fix the conflict between with i2s and pdm while using i2srx

Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2 years ago[Audio: PWMDAC] Add pwmdac config
curry.zhang [Tue, 21 Jun 2022 08:43:25 +0000 (01:43 -0700)]
[Audio: PWMDAC] Add pwmdac config

Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
2 years agoMerge branch 'CR_1240_PWM_hal.feng' into 'jh7110-5.15.y-devel'
andy.hu [Tue, 21 Jun 2022 02:53:27 +0000 (02:53 +0000)]
Merge branch 'CR_1240_PWM_hal.feng' into 'jh7110-5.15.y-devel'

riscv: configs: starfive_jh7110_defconfig: Enable config 'PWM_STARFIVE_PTC'

See merge request sdk/linux!115

2 years agoMerge branch 'CR_1267_DMA_hal.feng' into 'jh7110-5.15.y-devel'
andy.hu [Tue, 21 Jun 2022 02:52:40 +0000 (02:52 +0000)]
Merge branch 'CR_1267_DMA_hal.feng' into 'jh7110-5.15.y-devel'

riscv: configs: starfive_jh7110_defconfig: Enable config 'DMATEST'

See merge request sdk/linux!122

2 years agoMerge branch 'CR_1279_I2S_wm8960_Curry.zhang' into 'jh7110-5.15.y-devel'
andy.hu [Tue, 21 Jun 2022 02:05:19 +0000 (02:05 +0000)]
Merge branch 'CR_1279_I2S_wm8960_Curry.zhang' into 'jh7110-5.15.y-devel'

[Audio: I2S & WM8960] Porting i2s to match wm8960 driver

See merge request sdk/linux!127

2 years ago[Audio: I2S & WM8960] Porting i2s to match wm8960 driver
curry.zhang [Mon, 20 Jun 2022 16:12:55 +0000 (09:12 -0700)]
[Audio: I2S & WM8960] Porting i2s to match wm8960 driver

Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
2 years agoMerge branch 'CR_1089_TDM_walker.chen' into 'jh7110-5.15.y-devel'
andy.hu [Mon, 20 Jun 2022 13:14:52 +0000 (13:14 +0000)]
Merge branch 'CR_1089_TDM_walker.chen' into 'jh7110-5.15.y-devel'

Implement TDM driver for JH7110 SoC

See merge request sdk/linux!126

2 years agoImplement TDM driver for JH7110 SoC
Walker Chen [Mon, 20 Jun 2022 12:54:16 +0000 (20:54 +0800)]
Implement TDM driver for JH7110 SoC

Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2 years agoriscv: configs: starfive_jh7110_defconfig: Enable config 'DMATEST'
Hal Feng [Mon, 20 Jun 2022 09:08:44 +0000 (17:08 +0800)]
riscv: configs: starfive_jh7110_defconfig: Enable config 'DMATEST'

Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2 years agoriscv: configs: starfive_jh7110_defconfig: Enable config 'PWM_STARFIVE_PTC'
Hal Feng [Fri, 17 Jun 2022 09:43:06 +0000 (17:43 +0800)]
riscv: configs: starfive_jh7110_defconfig: Enable config 'PWM_STARFIVE_PTC'

Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2 years agoMerge branch 'CR_1210_evb_drm_rgb2hdmi_shengyang.chen' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 17 Jun 2022 10:43:09 +0000 (10:43 +0000)]
Merge branch 'CR_1210_evb_drm_rgb2hdmi_shengyang.chen' into 'jh7110-5.15.y-devel'

riscv:linux:driver:drm:rgb2hdmi

See merge request sdk/linux!112

2 years agoriscv:linux:driver:drm:rgb2hdmi
shengyang.chen [Fri, 17 Jun 2022 08:45:58 +0000 (16:45 +0800)]
riscv:linux:driver:drm:rgb2hdmi

update README

Signed-off-by:shengyang.chenshengyang.chen@starfivetech.com

2 years agoriscv:linux:driver:drm:rgb2hdmi
shengyang.chen [Fri, 17 Jun 2022 07:04:44 +0000 (15:04 +0800)]
riscv:linux:driver:drm:rgb2hdmi

update rgb2hdmi driver support

Signed-off-by:shengyang.chenshengyang.chen@starfivetech.com

2 years agoMerge branch 'CR_1201_overlay_jianlong' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 16 Jun 2022 10:25:41 +0000 (10:25 +0000)]
Merge branch 'CR_1201_overlay_jianlong' into 'jh7110-5.15.y-devel'

Cr 1201 overlay jianlong

See merge request sdk/linux!107

2 years agoconfig: starfive: Enable configfs and overlay
Jianlong Huang [Thu, 16 Jun 2022 00:42:03 +0000 (08:42 +0800)]
config: starfive: Enable configfs and overlay

Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2 years agoof: configfs: Add configfs function
Jianlong Huang [Thu, 16 Jun 2022 09:13:57 +0000 (17:13 +0800)]
of: configfs: Add configfs function

Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2 years agopinctrl: starfive: Dynamic parse dtnode before consume
Jianlong Huang [Thu, 16 Jun 2022 09:10:34 +0000 (17:10 +0800)]
pinctrl: starfive: Dynamic parse dtnode before consume

Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2 years agoMerge branch 'CR_870_Reset_samin.guo' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 15 Jun 2022 10:02:39 +0000 (10:02 +0000)]
Merge branch 'CR_870_Reset_samin.guo' into 'jh7110-5.15.y-devel'

reset:starfive:jh7110: Delete redundant logic

See merge request sdk/linux!106

2 years agoreset:starfive:jh7110: Delete redundant logic
Clivia.Cai [Tue, 14 Jun 2022 09:11:47 +0000 (17:11 +0800)]
reset:starfive:jh7110: Delete redundant logic

In the hardware design, the IPs RESET signal of jh7110 is divided into two groups,
one group is active high, and the other group is active low.

However, the software does not need to distinguish whether the RESET signal is active high or active low,
Write 1 to be assert, and write 0 to deassert.

Therefore, the software does not need to add additional logic to distinguish these two sets of signals.

Signed-off-by: Clivia.Cai <Clivia.Cai@starfivetech.com>
2 years agoMerge branch 'CR_1172_evb_drm_mipi_dsi_shengyang.chen' into 'jh7110-5.15.y-devel'
andy.hu [Mon, 13 Jun 2022 10:03:09 +0000 (10:03 +0000)]
Merge branch 'CR_1172_evb_drm_mipi_dsi_shengyang.chen' into 'jh7110-5.15.y-devel'

riscv:linux:driver:drm:mipi-dsi

See merge request sdk/linux!105

2 years agoriscv:linux:driver:drm:mipi-dsi
shengyang.chen [Mon, 13 Jun 2022 07:46:58 +0000 (15:46 +0800)]
riscv:linux:driver:drm:mipi-dsi

update mipi-dsi driver support
improvement after reviewing

Signed-off-by:shengyang.chen<shengyang.chen@starfivetech.com>

2 years agoriscv:linux:driver:drm:mipi-dsi
shengyang.chen [Sun, 12 Jun 2022 15:12:24 +0000 (23:12 +0800)]
riscv:linux:driver:drm:mipi-dsi

update mipi-dsi driver support

Signed-off-by:shengyang.chen<shengyang.chen@starfivetech.com>

2 years agoMerge branch 'CR_1167_drm_david.li' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 10 Jun 2022 10:17:57 +0000 (10:17 +0000)]
Merge branch 'CR_1167_drm_david.li' into 'jh7110-5.15.y-devel'

riscv: dts: update hdmi pins

See merge request sdk/linux!104

2 years agoriscv: dts: update hdmi pins
david.li [Fri, 10 Jun 2022 07:46:44 +0000 (15:46 +0800)]
riscv: dts: update hdmi pins

Signed-off-by: david.li<david.li@starfivetech.com>
2 years agoMerge branch 'CR_1071_GPU_Display_shanlong.li' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 9 Jun 2022 09:46:56 +0000 (09:46 +0000)]
Merge branch 'CR_1071_GPU_Display_shanlong.li' into 'jh7110-5.15.y-devel'

Cr 1071 gpu display shanlong.li

See merge request sdk/linux!102

2 years agodriver:GPU: Using the GPU driver release version
shanlong.li [Wed, 8 Jun 2022 10:36:10 +0000 (03:36 -0700)]
driver:GPU: Using the GPU driver release version

Using the GPU driver release version

Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2 years agodriver:GPU: Disable apm to resolve pvrdebug -dd suspension error
shanlong.li [Wed, 8 Jun 2022 10:31:07 +0000 (03:31 -0700)]
driver:GPU: Disable apm to resolve pvrdebug -dd suspension  error

Disable apm to resolve pvrdebug -dd suspension  error

Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2 years agoMerge branch 'CR_1108_UART_yanhong.wang' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 8 Jun 2022 12:29:30 +0000 (12:29 +0000)]
Merge branch 'CR_1108_UART_yanhong.wang' into 'jh7110-5.15.y-devel'

Cr 1108 uart yanhong.wang

See merge request sdk/linux!101

2 years agodt-bindings:uart:jh7110: Add uart3-uart5 support
yanhong.wang [Wed, 8 Jun 2022 03:27:27 +0000 (11:27 +0800)]
dt-bindings:uart:jh7110: Add uart3-uart5 support

Add bindings for uart3-uart5 on the StarFive JH7100 SoC.

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2 years agoclk:starfive:jh7110: Change uart3-uart5 clk register info
yanhong.wang [Wed, 8 Jun 2022 03:08:16 +0000 (11:08 +0800)]
clk:starfive:jh7110: Change uart3-uart5 clk register info

The core_clk division register of uart3-uart5 include fractional and
integral parts,but now only use the integral part,so include shift
operation. The integral part include 8 bit,so the max value can be
configed is 255.In order to support 115200 bandrate,so limit the max
value to 10.

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2 years agoserial: 8250_dw: Support a list of reset
yanhong.wang [Wed, 8 Jun 2022 02:43:57 +0000 (10:43 +0800)]
serial: 8250_dw: Support a list of reset

Change devm_reset_control_get_optional_exclusive API to
devm_reset_control_array_get_exclusive, in order to support a list of
reset.

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2 years agoMerge branch 'CR_1138_SEC_william.qiu' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 8 Jun 2022 10:34:47 +0000 (10:34 +0000)]
Merge branch 'CR_1138_SEC_william.qiu' into 'jh7110-5.15.y-devel'

Cr 1138 sec william.qiu

See merge request sdk/linux!100

2 years agoMerge branch 'CR_1134_PMIC_mason.huo' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 8 Jun 2022 10:33:31 +0000 (10:33 +0000)]
Merge branch 'CR_1134_PMIC_mason.huo' into 'jh7110-5.15.y-devel'

Cr 1134 pmic mason.huo

See merge request sdk/linux!98

2 years agoMerge branch 'CR_1133_V4L2_changhuang.liang' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 8 Jun 2022 02:42:19 +0000 (02:42 +0000)]
Merge branch 'CR_1133_V4L2_changhuang.liang' into 'jh7110-5.15.y-devel'

v4l2: sc2235 use 30 fps output

See merge request sdk/linux!99

2 years agodts:crypto:jh7110: enable crypto for jh7110 soc.
william.qiu [Wed, 8 Jun 2022 01:59:32 +0000 (09:59 +0800)]
dts:crypto:jh7110: enable crypto for jh7110 soc.

enable crypto for jh7110 soc.

Signed-off-by: samin.guo <samin.guo@starfivetech.com>
2 years agoreset:starfive:trng/crypto:shares a reset signal
william.qiu [Wed, 8 Jun 2022 01:55:21 +0000 (09:55 +0800)]
reset:starfive:trng/crypto:shares a reset signal

Use devm_reset_control_get_shared to share a reset signal otherwise TRNG
and crypto will not work at the same time.

Signed-off-by: samin.guo <samin.guo@starfivetech.com>
2 years agov4l2: sc2235 use 30 fps output
changhuang.liang [Wed, 8 Jun 2022 01:47:07 +0000 (09:47 +0800)]
v4l2: sc2235 use 30 fps output

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2 years agoregulator: stf7110: Add regulator APIs for hdmi & csi driver
mason.huo [Tue, 7 Jun 2022 07:30:18 +0000 (15:30 +0800)]
regulator: stf7110: Add regulator APIs for hdmi & csi driver

The hdmi & csi driver use the legacy pmic driver APIs to
power on/off related LDOs.

After employed regulator framework for pmic,
add the regulator APIs to control the LDOs.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agoregulator: stf7110: Add regulator support for JH7110 evb
mason.huo [Fri, 25 Mar 2022 06:12:28 +0000 (14:12 +0800)]
regulator: stf7110: Add regulator support for JH7110 evb

Add 7 regulators base on regulator framework for
JH7110 evb HW design.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agosoc: starfive: Remove pmic driver
mason.huo [Tue, 7 Jun 2022 03:51:34 +0000 (11:51 +0800)]
soc: starfive: Remove pmic driver

The pmic driver should employ regulator framework,
rather than a driver in soc.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agoMerge branch 'CR_1131_PCIE_kevin.xie' into 'jh7110-5.15.y-devel'
andy.hu [Tue, 7 Jun 2022 10:14:13 +0000 (10:14 +0000)]
Merge branch 'CR_1131_PCIE_kevin.xie' into 'jh7110-5.15.y-devel'

Cr 1131 pcie kevin.xie

See merge request sdk/linux!97

2 years agoriscv: defconfig: Enable PCIe ASPM module in power save policy
Kevin.xie [Tue, 7 Jun 2022 08:04:57 +0000 (16:04 +0800)]
riscv: defconfig: Enable PCIe ASPM module in power save policy

Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2 years agodriver: pci: Fix kernel stuck caused by ASPM LTR
Kevin.xie [Tue, 7 Jun 2022 07:51:01 +0000 (15:51 +0800)]
driver: pci: Fix kernel stuck caused by ASPM LTR

Disable the LTR message forwarding of PCIe Message Reception,
which has been enabled & set a illegal destination address by
PLDA PCIe IP core as default.

Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2 years agoMerge branch 'CR_1071_GPU_Display_shanlong.li' into 'jh7110-5.15.y-devel'
andy.hu [Tue, 7 Jun 2022 08:53:47 +0000 (08:53 +0000)]
Merge branch 'CR_1071_GPU_Display_shanlong.li' into 'jh7110-5.15.y-devel'

driver:GPU: adjust ClockSpeed to 409.6MHz

See merge request sdk/linux!95

2 years agodriver:GPU: adjust ClockSpeed to 409.6MHz
shanlong.li [Mon, 6 Jun 2022 06:16:48 +0000 (23:16 -0700)]
driver:GPU: adjust ClockSpeed to 409.6MHz

adjust ClockSpeed to 409.6MHz

Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2 years agoMerge branch 'CR_1103_evb_drm_driver_keith.zhao' into 'jh7110-5.15.y-devel'
andy.hu [Mon, 6 Jun 2022 14:36:45 +0000 (14:36 +0000)]
Merge branch 'CR_1103_evb_drm_driver_keith.zhao' into 'jh7110-5.15.y-devel'

Cr 1103 evb drm driver keith.zhao

See merge request sdk/linux!94

2 years agoriscv:linux:driver:drm
keith.zhao [Sun, 5 Jun 2022 04:43:48 +0000 (21:43 -0700)]
riscv:linux:driver:drm

driver name "vs-drm" change to "starfive", gpu need name with no "-"

Signed-off-by: keith.zhao<keith.zhao@statfivetech.com>
2 years agoriscv:linux:driver:inno hdmi
keith.zhao [Sun, 5 Jun 2022 04:33:09 +0000 (21:33 -0700)]
riscv:linux:driver:inno hdmi

replace drm clock&pin api , add edid and HPD function

Signed-off-by: keith.zhao<keith.zhao@statfivetech.com>
2 years agoMerge branch 'CR_1051_CLOCK_TREE_Xingyu.Wu' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 2 Jun 2022 12:16:38 +0000 (12:16 +0000)]
Merge branch 'CR_1051_CLOCK_TREE_Xingyu.Wu' into 'jh7110-5.15.y-devel'

clk:starfive:Adjust clocks' flag

See merge request sdk/linux!89

2 years agoMerge branch 'CR_1058_SDBOOT_clivia.cai' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 2 Jun 2022 10:27:44 +0000 (10:27 +0000)]
Merge branch 'CR_1058_SDBOOT_clivia.cai' into 'jh7110-5.15.y-devel'

Cr 1058 sdboot clivia.cai

See merge request sdk/linux!93

2 years agoriscv:dts:jh7110: update sdio0 config
Clivia.Cai [Wed, 1 Jun 2022 01:58:05 +0000 (09:58 +0800)]
riscv:dts:jh7110: update sdio0 config

Modify the name of some attributes of the sdio0 node

Signed-off-by: Clivia.Cai <Clivia.Cai@starfivetech.com>
2 years agoriscv:dts:sd: update sd dt-bingings
Clivia.Cai [Fri, 27 May 2022 06:55:43 +0000 (14:55 +0800)]
riscv:dts:sd: update sd dt-bingings

modify sd card bus freq to 102.4M

Signed-off-by: Clivia.Cai <Clivia.Cai@starfivetech.com>
2 years agoMerge branch 'CR_1088_PDM_walker.chen' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 1 Jun 2022 06:24:19 +0000 (06:24 +0000)]
Merge branch 'CR_1088_PDM_walker.chen' into 'jh7110-5.15.y-devel'

Implement PDM driver for JH7110 SoC

Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
See merge request sdk/linux!92

2 years agoAdd PDM driver for JH7110 SoC
walker.chen [Wed, 1 Jun 2022 06:24:19 +0000 (02:24 -0400)]
Add PDM driver for JH7110 SoC

Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2 years agoMerge branch 'CR_1086_PCIE_kevin.xie' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 1 Jun 2022 03:06:38 +0000 (03:06 +0000)]
Merge branch 'CR_1086_PCIE_kevin.xie' into 'jh7110-5.15.y-devel'

Cr 1086 pcie kevin.xie

See merge request sdk/linux!91

2 years agoMerge branch 'CR_1062_V4L2_changhuang.liang' into 'jh7110-5.15.y-devel'
andy.hu [Tue, 31 May 2022 16:07:38 +0000 (16:07 +0000)]
Merge branch 'CR_1062_V4L2_changhuang.liang' into 'jh7110-5.15.y-devel'

v4l2: fixed sc2235->dvp->isp->ddr error

See merge request sdk/linux!90

2 years agoriscv: defconfig: Support WLAN card AX210 for StarFive JH7110.
Kevin.xie [Tue, 31 May 2022 08:46:58 +0000 (16:46 +0800)]
riscv: defconfig: Support WLAN card AX210 for StarFive JH7110.

The firmware of AX210 are set in linux/firmware as extra firmware,
whilch will be build into kernel.
That is one of the standard extra firmware solutioin, or we can
pack them into filesystem(lib/firmware).

Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2 years agoriscv: defconfig: Support pcie to sata driver for StarFive JH7110
Kevin.xie [Tue, 31 May 2022 08:45:49 +0000 (16:45 +0800)]
riscv: defconfig: Support pcie to sata driver for StarFive JH7110

Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2 years agoriscv: defconfig: Support pcie nvme driver for StarFive JH7110
Kevin.xie [Tue, 31 May 2022 08:45:02 +0000 (16:45 +0800)]
riscv: defconfig: Support pcie nvme driver for StarFive JH7110

Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2 years agoriscv: defconfig: Disable PCIE ASPM module
Kevin.xie [Tue, 31 May 2022 08:43:47 +0000 (16:43 +0800)]
riscv: defconfig: Disable PCIE ASPM module

FIXME: If we enable ASPM module, JH7110 evb will get stuck after
added some pcie devices that has relevant capability.

Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2 years agoclk:starfive:Adjust clocks' flag
xingyu.wu [Mon, 30 May 2022 08:49:46 +0000 (16:49 +0800)]
clk:starfive:Adjust clocks' flag

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2 years agoMerge branch 'CR_1049_watchdog_Xingyu.Wu' into 'jh7110-5.15.y-devel'
andy.hu [Mon, 30 May 2022 08:46:26 +0000 (08:46 +0000)]
Merge branch 'CR_1049_watchdog_Xingyu.Wu' into 'jh7110-5.15.y-devel'

watchdog:starfive:Modify real timeout sec setting and read

See merge request sdk/linux!88

2 years agowatchdog:starfive:Modify real timeout sec setting and read
xingyu.wu [Mon, 30 May 2022 03:42:04 +0000 (11:42 +0800)]
watchdog:starfive:Modify real timeout sec setting and read

According to watchdog reset after twice timeout in hardware,
adjust real timeout sec setting and read by divider.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2 years agov4l2: fixed sc2235->dvp->isp->ddr error
changhuang.liang [Mon, 30 May 2022 05:54:43 +0000 (13:54 +0800)]
v4l2: fixed sc2235->dvp->isp->ddr error

2 years agoMerge branch 'CR_1070_evb_hdmi_inno_keith.zhao' into 'jh7110-5.15.y-devel'
andy.hu [Sun, 29 May 2022 11:18:26 +0000 (11:18 +0000)]
Merge branch 'CR_1070_evb_hdmi_inno_keith.zhao' into 'jh7110-5.15.y-devel'

Cr 1070 evb hdmi inno keith.zhao

See merge request sdk/linux!87

2 years agoriscv:linux:driver:inno hdmi
keith.zhao [Sun, 29 May 2022 01:44:58 +0000 (18:44 -0700)]
riscv:linux:driver:inno hdmi

delete some clock ,DC8200 unuse but other module used (gpu.vpu..)

Signed-off-by: keith.zhao<keith.zhao@statfivetech.com>
2 years agodriver:drm:hdmi
keith.zhao [Sat, 28 May 2022 15:06:29 +0000 (08:06 -0700)]
driver:drm:hdmi
add inno hdmi driver,only support 1080P mode

Signed-off-by: keith.zhao <keith.zhao@starfivetech.com>
2 years agoMerge branch 'CR_868_USB-HOST_yanhong.wang' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 26 May 2022 12:27:27 +0000 (12:27 +0000)]
Merge branch 'CR_868_USB-HOST_yanhong.wang' into 'jh7110-5.15.y-devel'

Cr 868 usb host yanhong.wang

See merge request sdk/linux!84

2 years agoMerge branch 'CR_998_V4L2_evb_changhuang.liang' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 26 May 2022 10:11:01 +0000 (10:11 +0000)]
Merge branch 'CR_998_V4L2_evb_changhuang.liang' into 'jh7110-5.15.y-devel'

Cr 998 v4 l2 evb changhuang.liang

See merge request sdk/linux!85

2 years agodefconfig:starfive: add USB_CDNS3_STARFIVE to defconfig
yanhong.wang [Thu, 26 May 2022 06:02:07 +0000 (14:02 +0800)]
defconfig:starfive: add USB_CDNS3_STARFIVE to defconfig

Add CONFIG_USB_CDNS3_STARFIVE to defconfig for StarFive JH7110 SoC.

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2 years agoUSB:cdns3:starfive-jh7110: Update cdns3-starfive driver
yanhong.wang [Thu, 26 May 2022 05:53:50 +0000 (13:53 +0800)]
USB:cdns3:starfive-jh7110: Update cdns3-starfive driver

Update cdns3-starfive usb control driver, default support usb2.0 and
usb3.0.

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2 years agodt-bindings:usb:jh7110: Add usb support
yanhong.wang [Thu, 26 May 2022 05:48:19 +0000 (13:48 +0800)]
dt-bindings:usb:jh7110: Add usb support

Add bindings for usb control on the StarFive JH7100 SoC.

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
2 years agov4l2: modify coding style
changhuang.liang [Thu, 26 May 2022 05:47:37 +0000 (13:47 +0800)]
v4l2: modify coding style

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2 years agov4l2: open ov4689
changhuang.liang [Thu, 26 May 2022 03:16:43 +0000 (11:16 +0800)]
v4l2: open ov4689

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2 years agov4l2: vin add top clk and reset control support
changhuang.liang [Wed, 25 May 2022 12:43:25 +0000 (20:43 +0800)]
v4l2: vin add top clk and reset control support

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2 years agov4l2: add ov5640 configure
changhuang.liang [Mon, 23 May 2022 08:11:10 +0000 (16:11 +0800)]
v4l2: add ov5640 configure

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2 years agopmic: pmic use fs_initcall init
changhuang.liang [Sun, 22 May 2022 04:34:23 +0000 (12:34 +0800)]
pmic: pmic use fs_initcall init

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2 years agov4l2: fixed mipi -> vin pipeline image abnormal
changhuang.liang [Fri, 20 May 2022 16:54:15 +0000 (00:54 +0800)]
v4l2: fixed mipi -> vin pipeline image abnormal

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2 years agov4l2: add mipi pipeline support
changhuang.liang [Fri, 20 May 2022 15:58:44 +0000 (23:58 +0800)]
v4l2: add mipi pipeline support

2 years agov4l2: add macor and ov4689 4dlane configure
changhuang.liang [Fri, 20 May 2022 10:53:37 +0000 (18:53 +0800)]
v4l2: add macor and ov4689 4dlane configure

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2 years agopmic: modify pmic function
changhuang.liang [Fri, 20 May 2022 07:52:30 +0000 (15:52 +0800)]
pmic: modify pmic function

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>