platform/kernel/linux-starfive.git
2 years agoMerge branch 'CR_1447_7110_evb_5.15_vout_shengyang.chen' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 30 Jun 2022 12:23:43 +0000 (12:23 +0000)]
Merge branch 'CR_1447_7110_evb_5.15_vout_shengyang.chen' into 'jh7110-5.15.y-devel'

Cr 1447 7110 evb 5.15 vout shengyang.chen

See merge request sdk/linux!210

2 years agoriscv:linux:driver:drm
shengyang.chen [Thu, 30 Jun 2022 12:08:57 +0000 (20:08 +0800)]
riscv:linux:driver:drm

remove some useless comment

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

2 years agoarch:configs:starfive_jh7110_defconfig
shengyang.chen [Thu, 30 Jun 2022 11:36:27 +0000 (19:36 +0800)]
arch:configs:starfive_jh7110_defconfig

add mipi display config

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

2 years agoriscv:linux:arch:dts:starfive
shengyang.chen [Thu, 30 Jun 2022 11:35:48 +0000 (19:35 +0800)]
riscv:linux:arch:dts:starfive

remove superfluous port

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

2 years agoriscv:linux:driver:drm
shengyang.chen [Thu, 30 Jun 2022 11:34:28 +0000 (19:34 +0800)]
riscv:linux:driver:drm

fix display problem of inno with mipi config opened
fix starup problem

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

2 years agocrypto:starfive:fix clk enable error
william.qiu [Thu, 30 Jun 2022 11:19:02 +0000 (19:19 +0800)]
crypto:starfive:fix clk enable error

fix clk enable error while choose CONFIG_PM

Signed-off-by: william.qiu <william.qiu@starfivetech.com>
2 years agoMerge branch 'CR_1287_FAT_MOUNT_FAILED_samin.guo' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 30 Jun 2022 11:03:53 +0000 (11:03 +0000)]
Merge branch 'CR_1287_FAT_MOUNT_FAILED_samin.guo' into 'jh7110-5.15.y-devel'

riscv:defconfig:jh7110: Fix the problem of failing to mount fat-fs

See merge request sdk/linux!193

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

V4L2: modify syscon interface

See merge request sdk/linux!208

2 years agoMerge branch 'CR_1429_sc2235_pinctrl_changhuang.liang' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 30 Jun 2022 08:58:52 +0000 (08:58 +0000)]
Merge branch 'CR_1429_sc2235_pinctrl_changhuang.liang' into 'jh7110-5.15.y-devel'

v4l2: sc2235 delete pinctrl configure

See merge request sdk/linux!203

2 years agoMerge branch 'CR_1440_sdio1config_jianlong' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 30 Jun 2022 08:57:06 +0000 (08:57 +0000)]
Merge branch 'CR_1440_sdio1config_jianlong' into 'jh7110-5.15.y-devel'

CR_1440 dts: starfive: Fix sdio1 config

See merge request sdk/linux!205

2 years agoMerge branch 'CR_1433_515_pwmoverlay_jianlong' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 30 Jun 2022 08:55:48 +0000 (08:55 +0000)]
Merge branch 'CR_1433_515_pwmoverlay_jianlong' into 'jh7110-5.15.y-devel'

CR_1433 dts: starfive: Fix fail to load overlay pwm

See merge request sdk/linux!201

2 years agoV4L2: modify syscon interface
changhuang.liang [Thu, 30 Jun 2022 08:53:08 +0000 (16:53 +0800)]
V4L2: modify syscon interface

dts/starfive: vin add syscon node

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2 years agospi:Modify pl022 driver format
xingyu.wu [Thu, 23 Jun 2022 07:47:49 +0000 (15:47 +0800)]
spi:Modify pl022 driver format

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2 years agodts:overlay:Modify spi nodes about 'compatible' and 'status'
xingyu.wu [Wed, 29 Jun 2022 08:08:24 +0000 (16:08 +0800)]
dts:overlay:Modify spi nodes about 'compatible' and 'status'

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2 years agospi-pl022:starfive:Add platform bus register to adapt overlay
xingyu.wu [Tue, 28 Jun 2022 14:48:15 +0000 (22:48 +0800)]
spi-pl022:starfive:Add platform bus register to adapt overlay

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2 years agodts: starfive: Fix sdio1 config
Jianlong Huang [Thu, 30 Jun 2022 07:03:27 +0000 (15:03 +0800)]
dts: starfive: Fix sdio1 config

Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2 years agodeconfig:Add spi driver for starfive
xingyu.wu [Thu, 30 Jun 2022 07:17:45 +0000 (15:17 +0800)]
deconfig:Add spi driver for starfive

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2 years agospi-pl022:starfive:Add spi driver for StarFive SoC platform
xingyu.wu [Thu, 30 Jun 2022 06:45:38 +0000 (14:45 +0800)]
spi-pl022:starfive:Add spi driver for StarFive SoC platform

Modified based on spi-pl022.c

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2 years agospi:pl022:revert commit
xingyu.wu [Thu, 30 Jun 2022 06:10:50 +0000 (14:10 +0800)]
spi:pl022:revert commit

commit ID:
940582b82915ee234594afff1a0290cead49a290
2e334ea5dc9637799177f672f2dd5c04c1b567e4

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2 years agov4l2: sc2235 delete pinctrl configure
changhuang.liang [Thu, 30 Jun 2022 01:47:30 +0000 (09:47 +0800)]
v4l2: sc2235 delete pinctrl configure

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2 years agoMerge branch 'CR_1266_Watchdog_sysfs_Xingyu.Wu' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 30 Jun 2022 02:20:33 +0000 (02:20 +0000)]
Merge branch 'CR_1266_Watchdog_sysfs_Xingyu.Wu' into 'jh7110-5.15.y-devel'

deconfig:Add watchdog_sysfs

See merge request sdk/linux!199

2 years agodts: starfive: Fix fail to load overlay pwm
Jianlong Huang [Thu, 30 Jun 2022 01:46:49 +0000 (09:46 +0800)]
dts: starfive: Fix fail to load overlay pwm

Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2 years ago[Audio: Config] enable pdm driver to solve jh7110-evb-can-pdm-pwmdac.dtb
curry.zhang [Thu, 30 Jun 2022 01:12:32 +0000 (18:12 -0700)]
[Audio: Config] enable pdm driver to solve jh7110-evb-can-pdm-pwmdac.dtb
couldn't work

Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
2 years agoMerge branch 'CR_1418_Input_515_mason.huo' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 29 Jun 2022 08:33:11 +0000 (08:33 +0000)]
Merge branch 'CR_1418_Input_515_mason.huo' into 'jh7110-5.15.y-devel'

riscv: defconfig: Add input event interface

See merge request sdk/linux!191

2 years agoriscv: defconfig: Add input event interface
mason.huo [Wed, 29 Jun 2022 06:56:01 +0000 (14:56 +0800)]
riscv: defconfig: Add input event interface

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agoMerge branch 'CR_1403_SPDIF_curry.zhang' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 29 Jun 2022 06:48:50 +0000 (06:48 +0000)]
Merge branch 'CR_1403_SPDIF_curry.zhang' into 'jh7110-5.15.y-devel'

[Audio: SPDIF] Fixed spdif function driver in linux 5.15

Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
See merge request sdk/linux!184

2 years ago[Audio: SPDIF] Fixed spdif function driver in linux 5.15
curry.zhang [Wed, 29 Jun 2022 06:48:50 +0000 (02:48 -0400)]
[Audio: SPDIF] Fixed spdif function driver in linux 5.15

Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
2 years agodeconfig:Add watchdog_sysfs
xingyu.wu [Tue, 28 Jun 2022 16:29:14 +0000 (00:29 +0800)]
deconfig:Add watchdog_sysfs

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2 years agoMerge branch 'CR_1404_gpioconflict_jianlong' into 'jh7110-5.15.y-devel'
andy.hu [Tue, 28 Jun 2022 10:34:16 +0000 (10:34 +0000)]
Merge branch 'CR_1404_gpioconflict_jianlong' into 'jh7110-5.15.y-devel'

CR_1404 dts: starfive: Fix overlay-rgb2hdmi gpio conflict

See merge request sdk/linux!180

2 years agoMerge branch 'CR_1401_V4L2_changhuang.liang' into 'jh7110-5.15.y-devel'
andy.hu [Tue, 28 Jun 2022 10:33:03 +0000 (10:33 +0000)]
Merge branch 'CR_1401_V4L2_changhuang.liang' into 'jh7110-5.15.y-devel'

v4l2: fixed enum frame intercal error

See merge request sdk/linux!181

2 years agoMerge branch 'CR_1407_7110evb_5.10_vout_shengyang.chen' into 'jh7110-5.15.y-devel'
andy.hu [Tue, 28 Jun 2022 10:31:04 +0000 (10:31 +0000)]
Merge branch 'CR_1407_7110evb_5.10_vout_shengyang.chen' into 'jh7110-5.15.y-devel'

riscv:linux:driver:drm

See merge request sdk/linux!183

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 agov4l2: fixed enum frame intercal error
changhuang.liang [Tue, 28 Jun 2022 09:09:53 +0000 (17:09 +0800)]
v4l2: fixed enum frame intercal error

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2 years agodts: starfive: Fix overlay-rgb2hdmi gpio conflict
Jianlong Huang [Tue, 28 Jun 2022 08:30:08 +0000 (16:30 +0800)]
dts: starfive: Fix overlay-rgb2hdmi gpio conflict

Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
2 years agoMerge branch 'CR_1335_DRM_inno_driver_keith.zhao' into 'jh7110-5.15.y-devel'
andy.hu [Tue, 28 Jun 2022 05:47:56 +0000 (05:47 +0000)]
Merge branch 'CR_1335_DRM_inno_driver_keith.zhao' into 'jh7110-5.15.y-devel'

riscv:driver:drm:inno

See merge request sdk/linux!177

2 years agoriscv:driver:drm:inno
keith.zhao [Tue, 28 Jun 2022 02:44:32 +0000 (10:44 +0800)]
riscv:driver:drm:inno

delete some unnecessary comments
fix bug about Dynamic switching resolution

Signed-off-by:keith.zhao <keith.zhao@statfivetech.com>

2 years agoMerge branch 'CR_1335_DRM_inno_driver_keith.zhao' into 'jh7110-5.15.y-devel'
andy.hu [Mon, 27 Jun 2022 10:34:30 +0000 (10:34 +0000)]
Merge branch 'CR_1335_DRM_inno_driver_keith.zhao' into 'jh7110-5.15.y-devel'

Cr 1335 drm inno driver keith.zhao

See merge request sdk/linux!173

2 years agoMerge branch 'CR_1387_pdm_dma_crash_walker.chen' into 'jh7110-5.15.y-devel'
andy.hu [Mon, 27 Jun 2022 08:48:57 +0000 (08:48 +0000)]
Merge branch 'CR_1387_pdm_dma_crash_walker.chen' into 'jh7110-5.15.y-devel'

[PDM] Fix the bug that dma crash when recording repeatly

See merge request sdk/linux!172

2 years agofix build warning
keith.zhao [Fri, 24 Jun 2022 14:16:19 +0000 (22:16 +0800)]
fix build warning

Signed-off-by:keith.zhao <keith.zhao@statfivetech.com>

2 years agoriscv:driver:drm:DC8200
keith.zhao [Fri, 24 Jun 2022 13:55:26 +0000 (21:55 +0800)]
riscv:driver:drm:DC8200

1、update dts for vout driver code

Signed-off-by:keith.zhao <keith.zhao@statfivetech.com>

2 years agoriscv:driver:drm:DC8200
keith.zhao [Fri, 24 Jun 2022 13:51:16 +0000 (21:51 +0800)]
riscv:driver:drm:DC8200

1、support 1080P 720P 480P display mode
2、replace some FW interface by using system api

Signed-off-by:keith.zhao <keith.zhao@statfivetech.com>

2 years agoFix the bug that dma crash when recording repeatly
Walker Chen [Mon, 27 Jun 2022 08:26:55 +0000 (16:26 +0800)]
Fix the bug that dma crash when recording repeatly

Signed-off-by: Walker Chen <walker.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 agoriscv:defconfig:jh7110: Fix the problem of failing to mount fat-fs
samin [Fri, 17 Jun 2022 06:42:12 +0000 (14:42 +0800)]
riscv:defconfig:jh7110: Fix the problem of failing to mount fat-fs

Mounting fat-fs gives the following error:
1)FAT-fs (mmcblk0p4): codepage cp437 not found
2)FAT-fs (mmcblk0p4): IO charset iso8859-1 not found

Signed-off-by: samin <samin.guo@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>