platform/kernel/linux-starfive.git
21 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 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 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

22 months agosound:starfive:spdif:Remove apb0 clock controller
Xingyu Wu [Sat, 30 Jul 2022 10:29:12 +0000 (18:29 +0800)]
sound:starfive:spdif:Remove apb0 clock controller

apb0 is the parent of spdif-apb clock and it should
not be got and enabled. And audio_root and mclk_inner
is divider clock, they should not be enabled.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
22 months agosound:starfive:spdif:Add S24_3LE
Xingyu Wu [Fri, 29 Jul 2022 10:38:54 +0000 (18:38 +0800)]
sound:starfive:spdif:Add S24_3LE

support audio files of 24 bit in 3bytes.
To adapt S24_3LE and ALSA pass parameter of S24_LE.
Data operation of S24_LE should be same to S24_3LE.
So it would wrong when playback S24_LE file.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
22 months agortc: starfive: Moves RTC_DRV_STARFIVE to Platform RTC drivers category
Ley Foon Tan [Tue, 19 Jul 2022 02:20:49 +0000 (02:20 +0000)]
rtc: starfive: Moves RTC_DRV_STARFIVE to Platform RTC drivers category

Moves RTC_DRV_STARFIVE to "Platform RTC drivers" category from
"on-CPU RTC drivers".

Signed-off-by: Ley Foon Tan <leyfoon.tan@linux.starfivetech.com>
22 months agortc: starfive: Update depends on to SOC_STARFIVE
Ley Foon Tan [Tue, 19 Jul 2022 02:15:51 +0000 (02:15 +0000)]
rtc: starfive: Update depends on to SOC_STARFIVE

Change depends on to SOC_STARFIVE instead of RISCV.

Signed-off-by: Ley Foon Tan <leyfoon.tan@linux.starfivetech.com>
22 months agousb: gadget: add usb device mass storage and functinfs support
minda.chen [Fri, 29 Jul 2022 05:29:18 +0000 (13:29 +0800)]
usb: gadget: add usb device mass storage and functinfs support

USB mass storage and functionfs activated by configfs.
Support both 2.0 and 3.0.

Signed-off-by: minda.chen <minda.chen@starfivetech.com>
22 months agoMerge branch 'CR_1558_USBHost_515_mason.huo' into 'jh7110-5.15.y-devel'
Jason Zhou [Fri, 29 Jul 2022 08:40:16 +0000 (08:40 +0000)]
Merge branch 'CR_1558_USBHost_515_mason.huo' into 'jh7110-5.15.y-devel'

Cr 1558 usb host 515 mason.huo

See merge request sdk/linux!338

22 months agoriscv: dts: Add Naneng usb2 phy base
mason.huo [Fri, 29 Jul 2022 03:41:06 +0000 (11:41 +0800)]
riscv: dts: Add Naneng usb2 phy base

Add the  Naneng usb2 phy base config, so that
driver can access the Naneng usb phy registers.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
22 months agousb: cdns3: Enable LS keep-alive signal
mason.huo [Fri, 29 Jul 2022 02:44:45 +0000 (10:44 +0800)]
usb: cdns3: Enable LS keep-alive signal

The default naneng phy setting of LS keep-alive
is not enabled, that will cause some usb mouse
(Lenovo sm8823) does not work properly.
Also some usb keyboards can not enumerated.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
22 months agosound:starfive:spdif:Modify format
Xingyu Wu [Thu, 28 Jul 2022 06:54:32 +0000 (14:54 +0800)]
sound:starfive:spdif:Modify format

Modify files' format and remove capture.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
22 months agosound:starfive:spdif:Add single-channel
Xingyu Wu [Thu, 28 Jul 2022 06:03:20 +0000 (14:03 +0800)]
sound:starfive:spdif:Add single-channel

Spdif supports single-channel audio playback.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
22 months agoMerge branch 'CR_1715_USB_515_Kevin.xie' into 'jh7110-5.15.y-devel'
Jason Zhou [Thu, 28 Jul 2022 03:43:35 +0000 (03:43 +0000)]
Merge branch 'CR_1715_USB_515_Kevin.xie' into 'jh7110-5.15.y-devel'

CR_1715 dts: starfive: Modified vbus enable pin function to be GPO_HIGH

See merge request sdk/linux!327

22 months agoMerge branch 'CR_1735_TDM_32bit_Compatible_walker.chen' into 'jh7110-5.15.y-devel'
Jason Zhou [Thu, 28 Jul 2022 03:05:21 +0000 (03:05 +0000)]
Merge branch 'CR_1735_TDM_32bit_Compatible_walker.chen' into 'jh7110-5.15.y-devel'

CR_1735_TDM: meet compatible test

See merge request sdk/linux!334

22 months agoMerge branch 'CR_1278_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'
Jason Zhou [Thu, 28 Jul 2022 02:55:55 +0000 (02:55 +0000)]
Merge branch 'CR_1278_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'

CR_1278_v4l2: fixed imx219 date error at the first line

See merge request sdk/linux!330

22 months agoMerge branch 'CR_1662_SEC_jiajie.ho' into 'jh7110-5.15.y-devel'
Jason Zhou [Thu, 28 Jul 2022 02:44:46 +0000 (02:44 +0000)]
Merge branch 'CR_1662_SEC_jiajie.ho' into 'jh7110-5.15.y-devel'

CR_1662_crypto:starfive: Include bug fixes for hash/hmac found by Linux selftest.

See merge request sdk/linux!312

22 months agoCR_1735_TDM: meet compatible test
Walker Chen [Thu, 28 Jul 2022 02:07:51 +0000 (10:07 +0800)]
CR_1735_TDM: meet compatible test

1.Meeting compatible testing.
2.Supporting playback or record with 1 channel.

Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
22 months agoMerge branch 'CR_1725_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'
Jason Zhou [Thu, 28 Jul 2022 02:00:53 +0000 (02:00 +0000)]
Merge branch 'CR_1725_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'

CR_1725_v4l2: modify mipi sensor data third time run cause error

See merge request sdk/linux!332

22 months agov4l2: modify mipi sensor data third time run cause error
changhuang.liang [Wed, 27 Jul 2022 07:53:50 +0000 (15:53 +0800)]
v4l2: modify mipi sensor data third time run cause error

modify mipi sensor data third time run cause error

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
22 months agoMerge branch 'CR_1703_515_pinctrl_des_jianlong' into 'jh7110-5.15.y-devel'
Jason Zhou [Wed, 27 Jul 2022 02:41:53 +0000 (02:41 +0000)]
Merge branch 'CR_1703_515_pinctrl_des_jianlong' into 'jh7110-5.15.y-devel'

CR_1703 pinctrl: starfive: update config description

See merge request sdk/linux!322

22 months agoMerge branch 'CR_1708_TDM_32bit_515_walker.chen' into 'jh7110-5.15.y-devel'
Jason Zhou [Wed, 27 Jul 2022 02:38:39 +0000 (02:38 +0000)]
Merge branch 'CR_1708_TDM_32bit_515_walker.chen' into 'jh7110-5.15.y-devel'

CR_1708_TDM_515:fix 32bit only has 1 channel of data

See merge request sdk/linux!324

22 months agov4l2: fixed imx219 date error at the first line
changhuang.liang [Tue, 26 Jul 2022 12:56:07 +0000 (20:56 +0800)]
v4l2: fixed imx219 date error at the first line

fixed imx219 date error at the first line

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
22 months agodts: starfive: Modified vbus enable pin function to be GPO_HIGH
Kevin.xie [Tue, 26 Jul 2022 09:55:39 +0000 (17:55 +0800)]
dts: starfive: Modified vbus enable pin function to be GPO_HIGH

Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
22 months agopinctrl: starfive: update config description
Jianlong Huang [Mon, 25 Jul 2022 08:50:29 +0000 (16:50 +0800)]
pinctrl: starfive: update config description

update config desription and delete vic7100 description

Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
22 months agoriscv:linux:vout:inno hdmi
keith.zhao [Tue, 26 Jul 2022 03:31:21 +0000 (11:31 +0800)]
riscv:linux:vout:inno hdmi

delete unless function to reduce warning

Signed-off-by: keith <keith.zhao@starfivetech.com>
22 months agoTDM:fix 32bit only has 1 channel of data
Walker Chen [Tue, 26 Jul 2022 02:36:17 +0000 (10:36 +0800)]
TDM:fix 32bit only has 1 channel of data

TDM: playback or record with 32bit format, only has 1 channel of data.
This bug has been resolved.

Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
22 months agoriscv:linux:vout:inno hdmi
keith.zhao [Tue, 26 Jul 2022 02:35:15 +0000 (10:35 +0800)]
riscv:linux:vout:inno hdmi

Solve inno hdmi screen compatibility issue , include 4K display mode

Signed-off-by: keith <keith.zhao@starfivetech.com>
22 months agoMerge branch 'CR_1590_GPU_Enable_515_Andy.Hu' into 'jh7110-5.15.y-devel'
Jason Zhou [Fri, 22 Jul 2022 09:50:39 +0000 (09:50 +0000)]
Merge branch 'CR_1590_GPU_Enable_515_Andy.Hu' into 'jh7110-5.15.y-devel'

CR_1590: defconfig: enable GPU building

See merge request sdk/linux!320

22 months agodefconfig: enable GPU building
Andy Hu [Fri, 22 Jul 2022 08:36:20 +0000 (16:36 +0800)]
defconfig: enable GPU building

Enable CONFIG_DRM_IMG and CONFIG_DRM_IMG_ROGUE in jh7110 defconfig

Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
22 months agoMerge branch 'CR_1584_pwmdac_11025_compatible_issue_minda' into 'jh7110-5.15.y-devel'
Jason Zhou [Fri, 22 Jul 2022 05:36:36 +0000 (05:36 +0000)]
Merge branch 'CR_1584_pwmdac_11025_compatible_issue_minda' into 'jh7110-5.15.y-devel'

CR_1584 pwmdac:sound: support 11025hz sample rate.

See merge request sdk/linux!275

22 months agoMerge branch 'CR_1649_7110_evb_5.15_vout_retbug_shengyang.chen' into 'jh7110-5.15...
Jason Zhou [Fri, 22 Jul 2022 01:43:47 +0000 (01:43 +0000)]
Merge branch 'CR_1649_7110_evb_5.15_vout_retbug_shengyang.chen' into 'jh7110-5.15.y-devel'

CR_1649_5.15-evb_vout: fix failure problem of vout while startup

See merge request sdk/linux!299

23 months agopwmdac:sound: support 11025hz play mode.
minda.chen [Wed, 13 Jul 2022 06:04:54 +0000 (14:04 +0800)]
pwmdac:sound: support 11025hz play mode.

1. set the correct clock rate and sample cnt.
2. using aplay 11.025kz wave file can pass.
3. fix issue redmine 1584

Signed-off-by: minda.chen <minda.chen@starfivetech.com>
23 months agoMerge branch 'CR_1422_V4L2_515_mason.huo' into 'jh7110-5.15.y-devel'
Jason Zhou [Thu, 21 Jul 2022 10:46:04 +0000 (10:46 +0000)]
Merge branch 'CR_1422_V4L2_515_mason.huo' into 'jh7110-5.15.y-devel'

Cr 1422 v4 l2 515 mason.huo

See merge request sdk/linux!316

23 months agoMerge branch 'CR_1667_TDM_change_reset_interface_walker.chen' into 'jh7110-5.15.y...
Jason Zhou [Thu, 21 Jul 2022 10:43:22 +0000 (10:43 +0000)]
Merge branch 'CR_1667_TDM_change_reset_interface_walker.chen' into 'jh7110-5.15.y-devel'

CR_1667_TDM_change_reset_interface

See merge request sdk/linux!304

23 months agoMerge branch 'CR_1541_PDM_Increase_walker.chen' into 'jh7110-5.15.y-devel'
Jason Zhou [Thu, 21 Jul 2022 10:41:29 +0000 (10:41 +0000)]
Merge branch 'CR_1541_PDM_Increase_walker.chen' into 'jh7110-5.15.y-devel'

CR_1541_PDM: support more data width and sample rate

See merge request sdk/linux!310

23 months agoMerge branch 'CR_1661_Watchdog_api_Xingyu.Wu' into 'jh7110-5.15.y-devel'
Jason Zhou [Thu, 21 Jul 2022 10:40:44 +0000 (10:40 +0000)]
Merge branch 'CR_1661_Watchdog_api_Xingyu.Wu' into 'jh7110-5.15.y-devel'

CR_1661 watchdog:starfive:Update reset api

See merge request sdk/linux!308

23 months agoMerge branch 'CR_1600_v4l2_reset_515_changhuang.liang' into 'jh7110-5.15.y-devel'
Jason Zhou [Thu, 21 Jul 2022 10:39:37 +0000 (10:39 +0000)]
Merge branch 'CR_1600_v4l2_reset_515_changhuang.liang' into 'jh7110-5.15.y-devel'

CR_1600_v4l2_reset_515_changhuang.liang

See merge request sdk/linux!282

23 months agoMerge branch 'CR_1657_clock_tree_api_Xingyu.Wu' into 'jh7110-5.15.y-devel'
Jason Zhou [Thu, 21 Jul 2022 10:38:00 +0000 (10:38 +0000)]
Merge branch 'CR_1657_clock_tree_api_Xingyu.Wu' into 'jh7110-5.15.y-devel'

CR_1657 clock tree api xingyu.wu

See merge request sdk/linux!305

23 months agoMerge branch 'CR_1658_I2S_515_curry.zhang' into 'jh7110-5.15.y-devel'
Jason Zhou [Thu, 21 Jul 2022 10:36:57 +0000 (10:36 +0000)]
Merge branch 'CR_1658_I2S_515_curry.zhang' into 'jh7110-5.15.y-devel'

CR_1658_I2S [Audio: I2S] Updated the reset API

See merge request sdk/linux!301