platform/kernel/linux-starfive.git
21 months agosound:starfive:spdif:Use extrenal mclk
Xingyu Wu [Thu, 8 Sep 2022 08:40:21 +0000 (16:40 +0800)]
sound:starfive:spdif:Use extrenal mclk

Use extrenal mclk_ext instead of mclk_inner.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
21 months agodts:starfive:pinctrl:Add mclk_ext pin
Xingyu Wu [Thu, 8 Sep 2022 08:34:21 +0000 (16:34 +0800)]
dts:starfive:pinctrl:Add mclk_ext pin

Add mclk_ext pin and it's rate is 12.288m.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
21 months agoMerge branch 'CR_2015_SEC_jiajie.ho' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 7 Sep 2022 07:49:23 +0000 (07:49 +0000)]
Merge branch 'CR_2015_SEC_jiajie.ho' into 'jh7110-5.15.y-devel'

CR_2015:crypto:starfive: Remove DES/TDES support

See merge request sdk/linux!427

21 months agoMerge branch 'CR_1946_515_GMAC_yanhong.wang' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 7 Sep 2022 07:31:30 +0000 (07:31 +0000)]
Merge branch 'CR_1946_515_GMAC_yanhong.wang' into 'jh7110-5.15.y-devel'

Cr 1946 515 gmac yanhong.wang

See merge request sdk/linux!416

21 months agoMerge branch 'CR_2084_CAN_515_william.qiu' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 7 Sep 2022 07:22:30 +0000 (07:22 +0000)]
Merge branch 'CR_2084_CAN_515_william.qiu' into 'jh7110-5.15.y-devel'

CR_2084_515:dt-blinding:canfd:set can1 to canfd

See merge request sdk/linux!465

21 months agoMerge branch 'CR_1984_5.15_evb_mipidsi_atomic_shengyang.chen' into 'jh7110-5.15.y...
andy.hu [Wed, 7 Sep 2022 06:59:23 +0000 (06:59 +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!447

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

CR_2042:riscv:driver:drm:Debian

See merge request sdk/linux!462

21 months agoMerge branch 'CR_2076_515_I2S_AC108_Xingyu.Wu' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 7 Sep 2022 06:04:54 +0000 (06:04 +0000)]
Merge branch 'CR_2076_515_I2S_AC108_Xingyu.Wu' into 'jh7110-5.15.y-devel'

CR_2076 & 2077 & 2078 & 2075 :I2S and AC108

See merge request sdk/linux!469

21 months agoMerge branch 'CR_2021_dts_hal.feng' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 7 Sep 2022 06:02:24 +0000 (06:02 +0000)]
Merge branch 'CR_2021_dts_hal.feng' into 'jh7110-5.15.y-devel'

Cr 2021 dts hal.feng

See merge request sdk/linux!442

21 months agoMerge branch 'CR_2030_5.15_evb_vout_shengyang.chen' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 7 Sep 2022 05:57:40 +0000 (05:57 +0000)]
Merge branch 'CR_2030_5.15_evb_vout_shengyang.chen' into 'jh7110-5.15.y-devel'

Cr 2030 5.15 evb vout shengyang.chen

See merge request sdk/linux!444

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

CR_2102_515_Clocktree_1188m_Xingyu.Wu

See merge request sdk/linux!466

21 months agoMerge branch 'CR_2026_compatible_5.15_ziv.xu' into 'jh7110-5.15.y-devel'
andy.hu [Wed, 7 Sep 2022 03:43:01 +0000 (03:43 +0000)]
Merge branch 'CR_2026_compatible_5.15_ziv.xu' into 'jh7110-5.15.y-devel'

CR_2026_compatible_standard_515

See merge request sdk/linux!459

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

CR_2071_audio_compatible_standard_515

See merge request sdk/linux!450

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

CR_2034_515 compatible xingyu.wu

See merge request sdk/linux!448

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 agoclk:starfive:Set pll2 default rate to 1188m
Xingyu Wu [Mon, 5 Sep 2022 09:31:08 +0000 (17:31 +0800)]
clk:starfive:Set pll2 default rate to 1188m

Change pll2_out default rate from 1228.8m to 1188m.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
21 months agosound:wm8960:pdm:Fix some noise with first capture
Xingyu Wu [Tue, 6 Sep 2022 14:04:49 +0000 (22:04 +0800)]
sound:wm8960:pdm:Fix some noise with first capture

Use delay to fix some noise with first capture.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
21 months agodts:starfive:Set can1 to canfd
William Qiu [Tue, 6 Sep 2022 08:47:35 +0000 (16:47 +0800)]
dts:starfive:Set can1 to canfd

Set can0 to can and set can1 to canfd

Signed-off-by: William Qiu <william.qiu@starfivetech.com>
21 months agosound:codecs:ac108:Support 32k sampling rate
Xingyu Wu [Mon, 5 Sep 2022 09:25:15 +0000 (17:25 +0800)]
sound:codecs:ac108:Support 32k sampling rate

ac108:Support 32k sampling rate.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
21 months agolinux:drivers: revise 'stf' to 'starfive'
Ziv.Xu [Mon, 5 Sep 2022 05:33:47 +0000 (13:33 +0800)]
linux:drivers: revise 'stf' to 'starfive'

revise "stf" to "starfive" for PCIE, CPUfreq, CPUidle, PMIC driver.

Signed-off-by: Ziv.Xu <Ziv.Xu@starfivetech.com>
21 months agoriscv:driver:drm:Debian
keith.zhao [Mon, 5 Sep 2022 07:54:17 +0000 (15:54 +0800)]
riscv:driver:drm:Debian

1. fix issue: Debian enter sleep ,cause drm hung

Signed-off-by: keith <keith.zhao@starfivetech.com>
21 months agosound:codecs:ac108:Change default volume
Xingyu Wu [Mon, 5 Sep 2022 06:34:47 +0000 (14:34 +0800)]
sound:codecs:ac108:Change default volume

ac108:Change default volume and make it louder.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
21 months agoriscv:dts: revise compatible value for PCIE/CPUfreq/idle/PMIC
Ziv.Xu [Mon, 5 Sep 2022 05:19:06 +0000 (13:19 +0800)]
riscv:dts: revise compatible value for PCIE/CPUfreq/idle/PMIC

revise compatible values for PCIE/CPUfreq/idle/PMIC

Signed-off-by: Ziv.Xu <Ziv.Xu@starfivetech.com>
21 months agosound:codecs:ac108:Support 16bit format
Xingyu Wu [Mon, 5 Sep 2022 05:59:34 +0000 (13:59 +0800)]
sound:codecs:ac108:Support 16bit format

ac108:Support 16bit format with capture.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
21 months agoriscv:linux:drm
shengyang.chen [Fri, 2 Sep 2022 02:35:30 +0000 (10:35 +0800)]
riscv:linux:drm

remove some useless process after review

Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
21 months agoCR_2071_audio_compatible_standard_515
Walker Chen [Thu, 1 Sep 2022 14:01:03 +0000 (22:01 +0800)]
CR_2071_audio_compatible_standard_515

Standardization naming of compatible for device id and dts

Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
21 months agoriscv:linux:drm
shengyang.chen [Thu, 1 Sep 2022 10:36:18 +0000 (18:36 +0800)]
riscv:linux:drm

fix mipi color problem
ensure stability of modetest

Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
21 months agospi:starfive:Modify compatible name
Xingyu Wu [Thu, 1 Sep 2022 07:13:04 +0000 (15:13 +0800)]
spi:starfive:Modify compatible name

Modify compatible name to 'starfive,jh7110-spi-pl022'.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
21 months agosound:i2s:Modify compatible name
Xingyu Wu [Thu, 1 Sep 2022 06:13:53 +0000 (14:13 +0800)]
sound:i2s:Modify compatible name

Modify compatible name to 'starfive,jh7110-i2stx-4ch1'.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
21 months agowatchdog:starfive:Modify compattible name
Xingyu Wu [Thu, 1 Sep 2022 02:54:07 +0000 (10:54 +0800)]
watchdog:starfive:Modify compattible name

Modify compatible name to 'starfive,jh7110-wdt'.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
21 months agosound:starfive:spdif:Modify compatible name
Xingyu Wu [Thu, 1 Sep 2022 01:58:15 +0000 (09:58 +0800)]
sound:starfive:spdif:Modify compatible name

1.Modify compatible name to 'starfive,jh7110-spdif'.
2.Remove spdif-receiver node.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
21 months agosound:starfive:pwmdac:Modify compatible name
Xingyu Wu [Wed, 31 Aug 2022 09:49:03 +0000 (17:49 +0800)]
sound:starfive:pwmdac:Modify compatible name

Modify compatible name to 'starfive,jh7110-pwmdac'.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
21 months agoclocksource:timer:Modify compatible name
Xingyu Wu [Wed, 31 Aug 2022 08:31:41 +0000 (16:31 +0800)]
clocksource:timer:Modify compatible name

Modify compatible name to 'starfive,jh7110-timers'.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
21 months agoriscv:linux:drm
shengyang.chen [Wed, 31 Aug 2022 10:02:31 +0000 (18:02 +0800)]
riscv:linux:drm

code logic rollback for stable problem

Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
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 agoriscv:linux:drm
shengyang.chen [Wed, 31 Aug 2022 08:17:32 +0000 (16:17 +0800)]
riscv:linux:drm

replace driver compatible value for vout

Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
21 months agoriscv:dts:drm
shengyang.chen [Wed, 31 Aug 2022 08:14:50 +0000 (16:14 +0800)]
riscv:dts:drm

replace dts compatible value for vout

Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
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 agodma: dw-axi-dmac: Standardize property "compatible"
Hal Feng [Tue, 30 Aug 2022 12:40:37 +0000 (20:40 +0800)]
dma: dw-axi-dmac: Standardize property "compatible"

Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
21 months agoi2c: designware: Delete redundant code
Hal Feng [Tue, 30 Aug 2022 12:34:22 +0000 (20:34 +0800)]
i2c: designware: Delete redundant code

Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
21 months agopwm: pwm-starfive-ptc: Standardize property "compatible"
Hal Feng [Tue, 30 Aug 2022 11:55:32 +0000 (19:55 +0800)]
pwm: pwm-starfive-ptc: Standardize property "compatible"

Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
21 months agohw_random: starfive-trng: Standardize the code and annotation
Hal Feng [Tue, 30 Aug 2022 09:54:59 +0000 (17:54 +0800)]
hw_random: starfive-trng: Standardize the code and annotation

Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
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 agohw_random: starfive-trng: Standardize property "compatible"
Hal Feng [Tue, 30 Aug 2022 09:34:12 +0000 (17:34 +0800)]
hw_random: starfive-trng: Standardize property "compatible"

Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
21 months agortc: starfive: Standardize property "compatible"
Hal Feng [Tue, 30 Aug 2022 09:24:11 +0000 (17:24 +0800)]
rtc: starfive: Standardize property "compatible"

Signed-off-by: Hal Feng <hal.feng@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>
21 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>
21 months agoCR_2015:crypto:starfive: Remove DES/TDES support
jiajie.ho [Mon, 29 Aug 2022 19:27:05 +0000 (03:27 +0800)]
CR_2015:crypto:starfive: Remove DES/TDES support

Removing DES and TDES support from Starfive crypto driver
as these 2 algorithms have been deprecated by NIST.

Signed-off-by: jiajie.ho <jiajie.ho@starfivetech.com>
21 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>
21 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

21 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>
21 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

21 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>
21 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

21 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>
21 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

21 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

21 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

21 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

21 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

21 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>
21 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>
21 months agoriscv: configs: jh7110: Enable StarFive dwmac
yanhong.wang [Wed, 24 Aug 2022 10:27:01 +0000 (18:27 +0800)]
riscv: configs: jh7110: Enable StarFive dwmac

Enable StarFive dwmacriscv: configs: jh7110: Enable StarFive dwmac  Enable StarFive dwmac.

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
21 months agoriscv: dts: starfive: jh7110: Rename starfive dwmac compatible name
yanhong.wang [Wed, 24 Aug 2022 10:26:10 +0000 (18:26 +0800)]
riscv: dts: starfive: jh7110: Rename starfive dwmac compatible name

Rename the compatible name in ethernet node to adapted the  StarFive  dwmac driver.

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
21 months agodt-bindings: net: Add bindings for StarFive dwmac
yanhong.wang [Wed, 24 Aug 2022 10:25:01 +0000 (18:25 +0800)]
dt-bindings: net: Add bindings for StarFive dwmac

Add starfive,dwmac-plat.yaml for StarFive dwmac.

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
21 months agonet: stmmac: Add StarFive dwmac support
yanhong.wang [Wed, 24 Aug 2022 10:23:42 +0000 (18:23 +0800)]
net: stmmac: Add StarFive dwmac support

 Remove the gmac driver in dwmac-dwc-qos-eth.c for JH7110 SoC, and add
 StarFive dwmac driver to replace.

Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
21 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>
21 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>
21 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>
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 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>