platform/kernel/linux-starfive.git
21 months agoMerge branch 'CR_2004_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 7 Sep 2022 03:33:41 +0000 (03:33 +0000)]
Merge branch 'CR_2004_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'

CR_2004_v4l2_515_changhuang.liang v4l2: modify v4l2 compatible name

See merge request sdk/linux!428

21 months agoMerge branch 'CR_2002_SDIO.CAN.SEC_515_william.qiu' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 7 Sep 2022 03:29:08 +0000 (03:29 +0000)]
Merge branch 'CR_2002_SDIO.CAN.SEC_515_william.qiu' into 'jh7110-5.15.y-devel'

CR_2002_515:dt-bindings:william:modify sdio\can\sec compatible

See merge request sdk/linux!425

21 months agoMerge branch 'CR_1962_515_pinctrl_sf_jianlong' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 7 Sep 2022 03:26:42 +0000 (03:26 +0000)]
Merge branch 'CR_1962_515_pinctrl_sf_jianlong' into 'jh7110-5.15.y-devel'

CR_1962 pinctrl: starfive: replace sf to starfive

See merge request sdk/linux!418

21 months agoMerge branch 'CR_2014_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 31 Aug 2022 08:36:27 +0000 (08:36 +0000)]
Merge branch 'CR_2014_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'

CR_2014_v4l2_515_changhuang.liang v4l2: modify reset cause failed

See merge request sdk/linux!438

21 months agoMerge branch 'CR_2018_TDM_515_walker.chen' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 31 Aug 2022 08:05:04 +0000 (08:05 +0000)]
Merge branch 'CR_2018_TDM_515_walker.chen' into 'jh7110-5.15.y-devel'

CR_2018_TDM_Playback_and_Record_Simultaneously

See merge request sdk/linux!436

21 months agoMerge branch 'CR_2031_evb_515_DRM_hdmi_720x480_keith.zhao' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 31 Aug 2022 07:51:24 +0000 (07:51 +0000)]
Merge branch 'CR_2031_evb_515_DRM_hdmi_720x480_keith.zhao' into 'jh7110-5.15.y-devel'

CR_2031: riscv:driver:drm: HDMI display

See merge request sdk/linux!440

21 months agoMerge branch 'CR_1941_515_I2S_16b_Xingyu.Wu' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 31 Aug 2022 07:42:35 +0000 (07:42 +0000)]
Merge branch 'CR_1941_515_I2S_16b_Xingyu.Wu' into 'jh7110-5.15.y-devel'

CR_1941_515_i2s_16b xingyu.wu

See merge request sdk/linux!434

21 months agoMerge branch 'CR_1978_CAN_515_william.qiu' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 31 Aug 2022 07:34:33 +0000 (07:34 +0000)]
Merge branch 'CR_1978_CAN_515_william.qiu' into 'jh7110-5.15.y-devel'

CR_1978_515:dtb:canfd:add a dtb file for canfd

See merge request sdk/linux!430

21 months agoriscv:driver:drm: HDMI display
keith.zhao [Wed, 31 Aug 2022 06:06:24 +0000 (14:06 +0800)]
riscv:driver:drm: HDMI display

1、fix 720x480 display mode hung

Signed-off-by: keith <keith.zhao@starfivetech.com>
21 months agoMerge branch 'CR_1984_5.15_evb_mipidsi_atomic_shengyang.chen' into 'jh7110-5.15.y...
andy.hu [Wed, 31 Aug 2022 01:29:50 +0000 (01:29 +0000)]
Merge branch 'CR_1984_5.15_evb_mipidsi_atomic_shengyang.chen' into 'jh7110-5.15.y-devel'

CR_1984_5.15_riscv:linux:drm

See merge request sdk/linux!432

21 months agov4l2: modify v4l2 compatible name
changhuang.liang [Mon, 29 Aug 2022 08:01:55 +0000 (16:01 +0800)]
v4l2: modify v4l2 compatible name

dts/starfive: modify v4l2 compatible name

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
21 months agoCR_2018_TDM_Playback_and_Record_Simultaneously
Walker Chen [Tue, 30 Aug 2022 13:26:52 +0000 (21:26 +0800)]
CR_2018_TDM_Playback_and_Record_Simultaneously

1.Resolved redmine #2018, playback and record simultaneously with 11.025k, 22.05k or 44.1k sample rate.

Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
21 months agosound:wm8960:Adjust msleep value
Xingyu Wu [Tue, 30 Aug 2022 13:08:08 +0000 (21:08 +0800)]
sound:wm8960:Adjust msleep value

Shorten delay time.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
21 months agosound:i2s:wm8960:Support mono
Xingyu Wu [Mon, 29 Aug 2022 03:25:31 +0000 (11:25 +0800)]
sound:i2s:wm8960:Support mono

16bit mono:support rate from 16k to 48k.
32bit mono:supoort rate from 22k to 48k.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
21 months agosound:dwc:i2s:Support 16bit playback and capture
Xingyu Wu [Thu, 25 Aug 2022 02:36:50 +0000 (10:36 +0800)]
sound:dwc:i2s:Support 16bit playback and capture

Add 16bit playing and record but unsupport 8k rate.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
21 months agoriscv:linux:drm
shengyang.chen [Tue, 30 Aug 2022 11:01:21 +0000 (19:01 +0800)]
riscv:linux:drm

fix mipi_dsi atomic supporting problem

Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
21 months agodtb:canfd:add a dtb file for canfd
William Qiu [Tue, 30 Aug 2022 07:09:31 +0000 (15:09 +0800)]
dtb:canfd:add a dtb file for canfd

add a dtb file for canfd

Signed-off-by: William Qiu <william.qiu@starfivetech.com>
22 months agov4l2: modify reset cause failed
changhuang.liang [Mon, 29 Aug 2022 07:03:22 +0000 (15:03 +0800)]
v4l2: modify reset cause failed

modify reset and clk configure fixed reset signal failed

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
22 months agodt-bindings:william:modify sdio\can\sec compatible
William Qiu [Mon, 29 Aug 2022 07:31:21 +0000 (15:31 +0800)]
dt-bindings:william:modify sdio\can\sec compatible

modify sdio\can\sec compatible

Signed-off-by: William Qiu <william.qiu@starfivetech.com>
22 months agoMerge branch 'CR_1560_v4l2_changhuang.liang' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 26 Aug 2022 07:40:03 +0000 (07:40 +0000)]
Merge branch 'CR_1560_v4l2_changhuang.liang' into 'jh7110-5.15.y-devel'

CR_1560_v4l2_changhuang.liang  v4l2: use axi wr reset

See merge request sdk/linux!423

22 months agov4l2: use axi wr reset
changhuang.liang [Fri, 26 Aug 2022 03:43:19 +0000 (11:43 +0800)]
v4l2: use axi wr reset

use axi wr reset avoid stream off not clean

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
22 months agoMerge branch 'CR_1827_cannot_record_play_simultaneously_515_walker.chen' into 'jh7110...
andy.hu [Fri, 26 Aug 2022 04:09:00 +0000 (04:09 +0000)]
Merge branch 'CR_1827_cannot_record_play_simultaneously_515_walker.chen' into 'jh7110-5.15.y-devel'

CR_1827_cannot_record_play_simultaneously_515_walker.chen

See merge request sdk/linux!421

22 months agoCR_1827_cannot_record_play_simultaneously
Walker Chen [Fri, 26 Aug 2022 03:21:41 +0000 (11:21 +0800)]
CR_1827_cannot_record_play_simultaneously

1.Resolved playback and record can work simultaneously.
2.Rearrange audio configuration in kernel menu.

Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
22 months agoMerge branch 'CR_1929_CAN_william.qiu' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 26 Aug 2022 02:54:18 +0000 (02:54 +0000)]
Merge branch 'CR_1929_CAN_william.qiu' into 'jh7110-5.15.y-devel'

CR_1929_can:ipms_can: Added return values for other cases

See merge request sdk/linux!420

22 months agocan:ipms_can: Added return values for other cases
William Qiu [Fri, 26 Aug 2022 02:38:21 +0000 (10:38 +0800)]
can:ipms_can: Added return values for other cases

Added return values for other cases.

Signed-off-by: William Qiu <william.qiu@starfivetech.com>
22 months agoMerge branch 'CR_1874_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 26 Aug 2022 02:24:31 +0000 (02:24 +0000)]
Merge branch 'CR_1874_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'

CR_1874_v4l2_515_changhuang.liang

See merge request sdk/linux!406

22 months agoMerge branch 'CR_1850_515_I2S_play_record_Xingyu.Wu' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 26 Aug 2022 02:22:55 +0000 (02:22 +0000)]
Merge branch 'CR_1850_515_I2S_play_record_Xingyu.Wu' into 'jh7110-5.15.y-devel'

CR_1850_515_I2S_play_record_Xingyu.Wu

See merge request sdk/linux!411

22 months agoMerge branch 'CR_1831_SEC_jiajie.ho' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 26 Aug 2022 02:20:28 +0000 (02:20 +0000)]
Merge branch 'CR_1831_SEC_jiajie.ho' into 'jh7110-5.15.y-devel'

CR_1831:crypto:starfive: Add fallback algo for crypto drivers

See merge request sdk/linux!414

22 months agoMerge branch 'CR_1554_515_I2S_Xingyu.Wu' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 26 Aug 2022 02:17:04 +0000 (02:17 +0000)]
Merge branch 'CR_1554_515_I2S_Xingyu.Wu' into 'jh7110-5.15.y-devel'

CR_1554-5.15 i2s xingyu.wu

See merge request sdk/linux!407

22 months agoMerge branch 'CR_1900_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 26 Aug 2022 02:13:23 +0000 (02:13 +0000)]
Merge branch 'CR_1900_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'

CR_1900_v4l2_515_changhuang.liang

See merge request sdk/linux!404

22 months agodt-bindings: pinctrl: Add bindings for StarFive JH7110 pinctrl
Jianlong Huang [Thu, 25 Aug 2022 08:30:11 +0000 (16:30 +0800)]
dt-bindings: pinctrl: Add bindings for StarFive JH7110 pinctrl

Add bindings for StarFive JH7110 pinctrl

Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
22 months agopinctrl: starfive: replace sf to starfive
Jianlong Huang [Thu, 25 Aug 2022 03:31:56 +0000 (11:31 +0800)]
pinctrl: starfive: replace sf to starfive

for upstream, sf in dts should replace to starfive

Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
22 months agoCR_1831:crypto:starfive: Add fallback algo for crypto drivers
jiajie.ho [Tue, 23 Aug 2022 02:48:11 +0000 (10:48 +0800)]
CR_1831:crypto:starfive: Add fallback algo for crypto drivers

Add software fallback for RSA driver to support key sizes > 2Kb.
Add software fallback for Hash driver for smaller input data
blocksize to improve overall hash module efficiency.

Signed-off-by: jiajie.ho <jiajie.ho@starfivetech.com>
22 months agosound:wm8960:Supports simultaneous recording and playback
Xingyu Wu [Tue, 23 Aug 2022 10:00:25 +0000 (18:00 +0800)]
sound:wm8960:Supports simultaneous recording and playback

Playback would be failed by changing ADCDIV register when
recording. So do not change ADCDIV register can make
simultaneous recording and playback.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
22 months agosound:dwc:i2s:Enable 'stop_dma_first' flag
Xingyu Wu [Mon, 22 Aug 2022 06:09:17 +0000 (14:09 +0800)]
sound:dwc:i2s:Enable 'stop_dma_first' flag

Enable the flag and can remove the noise before playing.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
22 months agosound:wm8960:Supports playback at different sampling rates
Xingyu Wu [Mon, 22 Aug 2022 03:57:47 +0000 (11:57 +0800)]
sound:wm8960:Supports playback at different sampling rates

Fixed I2S and wm8960 cannot continuous playback at
different sampling rates in 5 seconds.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
22 months agoMerge branch 'CR_1843_515_I2S_vol_Xingyu.Wu' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 19 Aug 2022 08:09:26 +0000 (08:09 +0000)]
Merge branch 'CR_1843_515_I2S_vol_Xingyu.Wu' into 'jh7110-5.15.y-devel'

CR_1843 515 i2 s vol xingyu.wu

See merge request sdk/linux!400

22 months agoMerge branch 'CR_1867_V4L2_mason.huo' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 19 Aug 2022 08:01:31 +0000 (08:01 +0000)]
Merge branch 'CR_1867_V4L2_mason.huo' into 'jh7110-5.15.y-devel'

CR_1867 media: starfive: Enable the ss0 & ss1 output lines

See merge request sdk/linux!385

22 months agoMerge branch 'CR_1875_5.15_evb_vout_shengyang.chen' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 19 Aug 2022 07:57:19 +0000 (07:57 +0000)]
Merge branch 'CR_1875_5.15_evb_vout_shengyang.chen' into 'jh7110-5.15.y-devel'

CR_1875_riscv:linux:drm:dc8200

See merge request sdk/linux!398

22 months agoMerge branch 'CR_1868_V4L2_mason.huo' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 19 Aug 2022 07:51:04 +0000 (07:51 +0000)]
Merge branch 'CR_1868_V4L2_mason.huo' into 'jh7110-5.15.y-devel'

CR_1868 media: starfive: Deprecated the itir & itiw output lines

See merge request sdk/linux!387

22 months agoMerge branch 'CR_1292_CPUFreq_515_mason.huo' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 19 Aug 2022 07:23:06 +0000 (07:23 +0000)]
Merge branch 'CR_1292_CPUFreq_515_mason.huo' into 'jh7110-5.15.y-devel'

Cr 1292 cpu freq 515 mason.huo

See merge request sdk/linux!395

22 months agoMerge branch 'CR_1854_5.15_evb_hdmi_shengyang.chen' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 19 Aug 2022 07:13:35 +0000 (07:13 +0000)]
Merge branch 'CR_1854_5.15_evb_hdmi_shengyang.chen' into 'jh7110-5.15.y-devel'

CR_1854_5.15: riscv:linux:drm:hdmi

See merge request sdk/linux!390

22 months agoclk:starfive:Modify 'stg_apb' clock
Xingyu Wu [Mon, 15 Aug 2022 07:05:05 +0000 (15:05 +0800)]
clk:starfive:Modify 'stg_apb' clock

Change 'stg_apb' clock from external clock to
internal clock.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
22 months agosound:wm8960:Fixed record bug after adjusting volume
Xingyu Wu [Tue, 16 Aug 2022 13:03:31 +0000 (21:03 +0800)]
sound:wm8960:Fixed record bug after adjusting volume

Fixed a bug with adjusting the volume before recording
and the volume will change back to the fixed value.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
22 months agoriscv:linux:drm:dc8200
shengyang.chen [Fri, 19 Aug 2022 02:47:25 +0000 (10:47 +0800)]
riscv:linux:drm:dc8200

fix audio noise problem caused by display module

Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
22 months agoMerge branch 'CR_1832_515_usbdevice_dts_jianlong' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 18 Aug 2022 12:50:12 +0000 (12:50 +0000)]
Merge branch 'CR_1832_515_usbdevice_dts_jianlong' into 'jh7110-5.15.y-devel'

CR_1832 dts: starfive: Add usb device dts

See merge request sdk/linux!377

22 months agoMerge branch 'CR_1662_SEC_jiajie.ho' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 18 Aug 2022 12:46:03 +0000 (12:46 +0000)]
Merge branch 'CR_1662_SEC_jiajie.ho' into 'jh7110-5.15.y-devel'

CR_1662:crypto:starfive: Add delay for each CPU data write to engine

See merge request sdk/linux!392

22 months agov4l2: delete print info in interrupt
changhuang.liang [Thu, 18 Aug 2022 12:12:29 +0000 (20:12 +0800)]
v4l2: delete print info in interrupt

dont use the print info in interrupt.

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
22 months agoriscv: dts: Add cpufreq for JH7110
mason.huo [Tue, 21 Jun 2022 10:33:46 +0000 (18:33 +0800)]
riscv: dts: Add cpufreq for JH7110

Add the opps dt node based on operating-points-v2,
config platfort device for the cpufreq driver.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
22 months agocpufreq: starfive: Add cpufreq support for Starfive SOC
mason.huo [Mon, 20 Jun 2022 03:35:51 +0000 (11:35 +0800)]
cpufreq: starfive: Add cpufreq support for Starfive SOC

Introduce cpufreq driver which can support
CPU frequency adjust in JH7110 soc.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
22 months agov4l2: aon_syscon use bit set
changhuang.liang [Wed, 17 Aug 2022 08:00:18 +0000 (16:00 +0800)]
v4l2: aon_syscon use bit set

mipi csi just use bit 31, would not change other bit value

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
22 months agoCR_1662:crypto:starfive: Add delay for each CPU data write to engine
jiajie.ho [Tue, 16 Aug 2022 09:59:22 +0000 (17:59 +0800)]
CR_1662:crypto:starfive: Add delay for each CPU data write to engine

Add a short delay to allow computations for previous
block of data to complete before writing the next block
of data to hw engine.

Signed-off-by: jiajie.ho <jiajie.ho@starfivetech.com>
22 months agoriscv:linux:drm:hdmi
shengyang.chen [Tue, 16 Aug 2022 09:18:21 +0000 (17:18 +0800)]
riscv:linux:drm:hdmi

fix display resolution problem of 720P@60 and 480P@59.94FPS

Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
22 months agomedia: starfive: Deprecated the itir & itiw output lines
mason.huo [Tue, 16 Aug 2022 02:13:10 +0000 (10:13 +0800)]
media: starfive: Deprecated the itir & itiw output lines

As the itir & itiw isp lines are just for internal debugging,
and isp team don't need them to debug issue.
Deprecated the two output lines from v4l2 driver.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
22 months agomedia: starfive: Enable the ss0 & ss1 output lines
mason.huo [Tue, 16 Aug 2022 02:07:55 +0000 (10:07 +0800)]
media: starfive: Enable the ss0 & ss1 output lines

Enable the ss0 & ss1 isp lines, which are not enabled
with scaling yet.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
22 months agoMerge branch 'CR_1553_GPU_shanlong.li' into 'jh7110-5.15.y-devel'
andy.hu [Mon, 15 Aug 2022 08:35:49 +0000 (08:35 +0000)]
Merge branch 'CR_1553_GPU_shanlong.li' into 'jh7110-5.15.y-devel'

driver:gpu: gpu driver upgrade to 1.17

See merge request sdk/linux!384

22 months agodriver:gpu: gpu driver upgrade to 1.17
shanlong.li [Fri, 12 Aug 2022 09:55:42 +0000 (02:55 -0700)]
driver:gpu: gpu driver upgrade to 1.17

gpu driver upgrade to 1.17

Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
22 months agoMerge branch 'CR_1754_I2S_515_curry.zhang' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 12 Aug 2022 07:47:33 +0000 (07:47 +0000)]
Merge branch 'CR_1754_I2S_515_curry.zhang' into 'jh7110-5.15.y-devel'

CR_1754_I2S [Audio: I2S] Support WM8960 one channel play and captrue

See merge request sdk/linux!380

22 months agoMerge branch 'CR_1824_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 11 Aug 2022 15:16:15 +0000 (15:16 +0000)]
Merge branch 'CR_1824_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'

CR_1824_v4l2_515_changhuang.liang

See merge request sdk/linux!381

22 months agoMerge branch 'CR_1635_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 11 Aug 2022 15:09:42 +0000 (15:09 +0000)]
Merge branch 'CR_1635_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'

CR_1635_v4l2_515_changhuang.liang

See merge request sdk/linux!364

22 months agoMerge branch 'CR_1675_SEC_jiajie.ho' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 11 Aug 2022 15:03:16 +0000 (15:03 +0000)]
Merge branch 'CR_1675_SEC_jiajie.ho' into 'jh7110-5.15.y-devel'

CR_1675:crypto:starfive: Add iv_out read after encryption

See merge request sdk/linux!375

22 months agoMerge branch 'CR_1582_515_evb_drm_RGB_offset_lastline_color_bar_keith.zhao' into...
andy.hu [Thu, 11 Aug 2022 14:57:11 +0000 (14:57 +0000)]
Merge branch 'CR_1582_515_evb_drm_RGB_offset_lastline_color_bar_keith.zhao' into 'jh7110-5.15.y-devel'

Driver:DRM:RGB

See merge request sdk/linux!373

22 months agoMerge branch 'CR_1767_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 11 Aug 2022 14:52:04 +0000 (14:52 +0000)]
Merge branch 'CR_1767_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'

CR_1767_v4l2_515_changhuang.liang

See merge request sdk/linux!369

22 months agoMerge branch 'CR_1776_RTC_hal.feng' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 11 Aug 2022 14:35:28 +0000 (14:35 +0000)]
Merge branch 'CR_1776_RTC_hal.feng' into 'jh7110-5.15.y-devel'

Cr 1776 rtc hal.feng

See merge request sdk/linux!370

22 months agoMerge branch 'CR_1779_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 11 Aug 2022 14:26:53 +0000 (14:26 +0000)]
Merge branch 'CR_1779_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'

CR_1779_v4l2_515_changhuang.liang

See merge request sdk/linux!361

22 months agoMerge branch 'CR_1789_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 11 Aug 2022 14:17:14 +0000 (14:17 +0000)]
Merge branch 'CR_1789_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'

CR_1789_v4l2_515_changhuang.liang

See merge request sdk/linux!367

22 months agodt-bindings: riscv: Add starfive-jh7110 bindings
Jianlong Huang [Thu, 11 Aug 2022 12:49:09 +0000 (20:49 +0800)]
dt-bindings: riscv: Add starfive-jh7110 bindings

Add starfive-jh7110 bindings

Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
22 months agodts: starfive: Add usb device dts
Jianlong Huang [Wed, 10 Aug 2022 10:34:30 +0000 (18:34 +0800)]
dts: starfive: Add usb device dts

Add usb device dts to test usb device function

Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
22 months ago[Audio: I2S] Support WM8960 one channel play and captrue
curry.zhang [Thu, 11 Aug 2022 09:37:26 +0000 (02:37 -0700)]
[Audio: I2S] Support WM8960 one channel play and captrue

Fixed BUG 1754

Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
22 months agov4l2: imx219 use pinctrl
changhuang.liang [Thu, 11 Aug 2022 06:10:08 +0000 (14:10 +0800)]
v4l2: imx219 use pinctrl

dts/starfive: add imx219 pinctrl configure

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
22 months agoCR_1675:crypto:starfive: Add iv_out read after encryption
jiajie.ho [Wed, 10 Aug 2022 07:39:41 +0000 (15:39 +0800)]
CR_1675:crypto:starfive: Add iv_out read after encryption

Add iv_out read required by Linux Self Test from hw engine
after AES encryption has been completed.

Signed-off-by: jiajie.ho <jiajie.ho@starfivetech.com>
22 months agoDriver:DRM:RGB
keith.zhao [Wed, 10 Aug 2022 03:30:06 +0000 (20:30 -0700)]
Driver:DRM:RGB

fix tda display issue : offset , last line , colorbar

Signed-off-by: keith <keith.zhao@statfivetech.com>
22 months agortc: starfive: Fix time may be not updated when date updated
Hal Feng [Sat, 6 Aug 2022 11:02:08 +0000 (19:02 +0800)]
rtc: starfive: Fix time may be not updated when date updated

Register RTC_TIME/DATE updates when bit IRQ_STATUS.IRQ_1SEC rises.
If RTC_TIME is read when IRQ_STATUS.IRQ_1SEC is low and RTC_DATE is
read when IRQ_STATUS.IRQ_1SEC is high, the mismatched problem happens.

Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
22 months agortc: starfive: Fix command 'hwclock' can't work in rootfs
Hal Feng [Thu, 4 Aug 2022 01:19:07 +0000 (09:19 +0800)]
rtc: starfive: Fix command 'hwclock' can't work in rootfs

Read time from register RTC_TIME/RTC_DATE (0x3C/0x40) instead
of RTC_TIME_LATCH/RTC_DATE_LATCH (0x44/0x48)

Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
22 months agov4l2: fixed imx219 set 720p error
changhuang.liang [Mon, 8 Aug 2022 08:27:39 +0000 (16:27 +0800)]
v4l2: fixed imx219 set 720p error

imx219 add 720p and delete greater than 1080p frame size

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
22 months agov4l2: modify flush cache opportunity
changhuang.liang [Mon, 8 Aug 2022 02:10:33 +0000 (10:10 +0800)]
v4l2: modify flush cache opportunity

modify flush cache opportunity

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
22 months agoMerge branch 'CR_1286_add_wayland_with_gpu_support_Windsome.Zeng' into 'jh7110-5...
Jason Zhou [Fri, 5 Aug 2022 10:08:40 +0000 (10:08 +0000)]
Merge branch 'CR_1286_add_wayland_with_gpu_support_Windsome.Zeng' into 'jh7110-5.15.y-devel'

CR_1286_1793: Add Wayland with GPU support

See merge request sdk/linux!358

22 months agov4l2: modify ov4689 stream on process
changhuang.liang [Fri, 5 Aug 2022 09:48:27 +0000 (17:48 +0800)]
v4l2: modify ov4689 stream on process

ov4689 stream on dont need mdalay

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
22 months agoMerge branch 'CR_1314_DRM_INNO_Screen_compatibility_Keith.zhao' into 'jh7110-5.15...
Jason Zhou [Fri, 5 Aug 2022 09:38:10 +0000 (09:38 +0000)]
Merge branch 'CR_1314_DRM_INNO_Screen_compatibility_Keith.zhao' into 'jh7110-5.15.y-devel'

Cr 1314 drm inno screen compatibility keith.zhao

See merge request sdk/linux!357

22 months agoAdd Wayland with GPU support.
Windsome Zeng [Tue, 21 Jun 2022 06:02:33 +0000 (14:02 +0800)]
Add Wayland with GPU support.

use lws-generic to support wayland

Signed-off-by: Windsome Zeng <Windsome.Zeng@starfivetech.com>
22 months agoMerge branch 'CR_1797_PCIe_Kevin.xie' into 'jh7110-5.15.y-devel'
Jason Zhou [Fri, 5 Aug 2022 04:20:43 +0000 (04:20 +0000)]
Merge branch 'CR_1797_PCIe_Kevin.xie' into 'jh7110-5.15.y-devel'

CR_1797 riscv: configs: Disable PCIe ASPM mode

See merge request sdk/linux!355

22 months agoMerge branch 'CR_1754_usb_device_mass_storage_minda' into 'jh7110-5.15.y-devel'
Jason Zhou [Fri, 5 Aug 2022 03:00:23 +0000 (03:00 +0000)]
Merge branch 'CR_1754_usb_device_mass_storage_minda' into 'jh7110-5.15.y-devel'

CR_1754 usb: gadget: add usb device mass storage support

See merge request sdk/linux!341

22 months agoMerge branch 'CR_984_AC108_515_curry.zhang' into 'jh7110-5.15.y-devel'
Jason Zhou [Fri, 5 Aug 2022 02:52:41 +0000 (02:52 +0000)]
Merge branch 'CR_984_AC108_515_curry.zhang' into 'jh7110-5.15.y-devel'

CR_984_AC108 [Audio: I2S] Porting I2S interface audio codec AC108

See merge request sdk/linux!346

22 months agoMerge branch 'CR_1314_DRM_INNO_Screen_compatibility_Keith.zhao' into 'jh7110-5.15...
Jason Zhou [Fri, 5 Aug 2022 02:50:58 +0000 (02:50 +0000)]
Merge branch 'CR_1314_DRM_INNO_Screen_compatibility_Keith.zhao' into 'jh7110-5.15.y-devel'

Cr 1314 drm inno screen compatibility keith.zhao

See merge request sdk/linux!339

22 months agoriscv: configs: Disable PCIe ASPM mode
Kevin.xie [Fri, 5 Aug 2022 02:00:53 +0000 (10:00 +0800)]
riscv: configs: Disable PCIe ASPM mode

Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
22 months agoMerge branch 'CR_1781_515_USB20_jianlong' into 'jh7110-5.15.y-devel'
Jason Zhou [Thu, 4 Aug 2022 10:50:36 +0000 (10:50 +0000)]
Merge branch 'CR_1781_515_USB20_jianlong' into 'jh7110-5.15.y-devel'

CR_1781 dts: starfive: enable usb2.0 when use pcie0

See merge request sdk/linux!352

22 months agoMerge branch 'CR_1687_GMAC_515_yanhong.wang' into 'jh7110-5.15.y-devel'
Jason Zhou [Thu, 4 Aug 2022 10:48:32 +0000 (10:48 +0000)]
Merge branch 'CR_1687_GMAC_515_yanhong.wang' into 'jh7110-5.15.y-devel'

Cr 1687 gmac 515 yanhong.wang

See merge request sdk/linux!351

22 months agoMerge branch 'CR_1705_TDM_32bit_48k_NotWork_walker.chen' into 'jh7110-5.15.y-devel'
Jason Zhou [Thu, 4 Aug 2022 10:45:38 +0000 (10:45 +0000)]
Merge branch 'CR_1705_TDM_32bit_48k_NotWork_walker.chen' into 'jh7110-5.15.y-devel'

CR_1705_TDM_32bit: fix 48k not work and can support 8k sample rate

See merge request sdk/linux!347

22 months agoMerge branch 'CR_1764_RTC_hal.feng' into 'jh7110-5.15.y-devel'
Jason Zhou [Thu, 4 Aug 2022 10:40:08 +0000 (10:40 +0000)]
Merge branch 'CR_1764_RTC_hal.feng' into 'jh7110-5.15.y-devel'

Cr 1764 rtc hal.feng

See merge request sdk/linux!343

22 months agoMerge branch 'CR_1734_5.15_SPDIF_singlechannel_Xingyu.Wu' into 'jh7110-5.15.y-devel'
Jason Zhou [Thu, 4 Aug 2022 10:36:14 +0000 (10:36 +0000)]
Merge branch 'CR_1734_5.15_SPDIF_singlechannel_Xingyu.Wu' into 'jh7110-5.15.y-devel'

CR_1734 & CR_1571 :5.15:spdif: Add single-channel and fix 24bit

See merge request sdk/linux!335

22 months ago[Audio: I2S] Porting I2S interface audio codec AC108
curry.zhang [Mon, 1 Aug 2022 08:16:31 +0000 (01:16 -0700)]
[Audio: I2S] Porting I2S interface audio codec AC108

1. porting I2S interface audio codec AC108
2. change clock api in dw_i2s_hw_params function

Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
22 months agodts: starfive: enable usb2.0 when use pcie0
Jianlong Huang [Wed, 3 Aug 2022 08:11:40 +0000 (16:11 +0800)]
dts: starfive: enable usb2.0 when use pcie0

Enable usb2.0

Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
22 months agosound:starfive:spdif:Adjust mclk rate under 22.05k sample rate
Xingyu Wu [Mon, 1 Aug 2022 07:59:36 +0000 (15:59 +0800)]
sound:starfive:spdif:Adjust mclk rate under 22.05k sample rate

Change audio_root clock's rate and make spdif_core clock
close to the required frequency of 22.05k.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
22 months agov4l2: modify enum framesize error
changhuang.liang [Wed, 3 Aug 2022 06:40:54 +0000 (14:40 +0800)]
v4l2: modify enum framesize error

modify enum framesize error

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
22 months agoriscv:dts:jh7110: Add YT8521 phy delay_chain configuration
yanhong.wang [Wed, 3 Aug 2022 01:58:37 +0000 (09:58 +0800)]
riscv:dts:jh7110: Add YT8521 phy delay_chain configuration

Some gmac is not working with YT8521 PHY default delay configuration, so
add phy node to set delay config..

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
22 months agonet:phy:YUTAI: Update YUTAI PHY driver
yanhong.wang [Wed, 3 Aug 2022 02:40:40 +0000 (10:40 +0800)]
net:phy:YUTAI: Update YUTAI PHY driver

Update YUTAI phy driver to support more type, such as YT8531,YT8510 etc.

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
22 months agoriscv:linux:vout:inno hdmi
keith.zhao [Tue, 2 Aug 2022 19:16:30 +0000 (03:16 +0800)]
riscv:linux:vout:inno hdmi

1 Solve inno hdmi screen compatibility issue , roll back last commit, turn off bist mode
2 solve rgb gradient color bar issue

Signed-off-by: keith <keith.zhao@starfivetech.com>
22 months agorgb offset issue fixed
keith.zhao [Tue, 2 Aug 2022 18:06:01 +0000 (02:06 +0800)]
rgb offset issue fixed

22 months agoCR_1705_TDM_32bit: fix 48k not work and can support 8k sample rate
Walker Chen [Mon, 1 Aug 2022 15:12:21 +0000 (23:12 +0800)]
CR_1705_TDM_32bit: fix 48k not work and can support 8k sample rate

1. Fix 48k sample rate not work.
2. Support 8k sample rate when using 32bit.

Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
22 months agoreplace func interface
keith.zhao [Mon, 1 Aug 2022 14:25:44 +0000 (22:25 +0800)]
replace func interface