platform/kernel/linux-starfive.git
2 years agoRISC-V: Add SBI HSM suspend related defines
mason.huo [Wed, 22 Jun 2022 02:31:05 +0000 (10:31 +0800)]
RISC-V: Add SBI HSM suspend related defines

We add defines related to SBI HSM suspend call and also
update HSM states naming as-per latest SBI specification.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agoRISC-V: Add arch functions for non-retentive suspend entry/exit
Anup Patel [Thu, 10 Feb 2022 05:49:42 +0000 (11:19 +0530)]
RISC-V: Add arch functions for non-retentive suspend entry/exit

The hart registers and CSRs are not preserved in non-retentative
suspend state so we provide arch specific helper functions which
will save/restore hart context upon entry/exit to non-retentive
suspend state. These helper functions can be used by cpuidle
drivers for non-retentive suspend entry/exit.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agoRISC-V: Rename relocate() and make it global
Anup Patel [Thu, 10 Feb 2022 05:49:41 +0000 (11:19 +0530)]
RISC-V: Rename relocate() and make it global

The low-level relocate() function enables mmu and relocates
execution to link-time addresses. We rename relocate() function
to relocate_enable_mmu() function which is more informative.

Also, the relocate_enable_mmu() function will be used in the
resume path when a CPU wakes-up from a non-retentive suspend
so we make it global symbol.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2 years agoRISC-V: Enable CPU_IDLE drivers
Anup Patel [Thu, 10 Feb 2022 05:49:40 +0000 (11:19 +0530)]
RISC-V: Enable CPU_IDLE drivers

We force select CPU_PM and provide asm/cpuidle.h so that we can
use CPU IDLE drivers for Linux RISC-V kernel.

Starfive: Add deconfig for starfive jh7110

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Anup Patel <apatel@vetanamicro.com>
Reviewed-by: Guo Ren <guoren@kernel.org>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agoMerge branch 'CR_1274_SEC_JIAJIE.HO' into 'jh7110-5.15.y-devel'
andy.hu [Mon, 4 Jul 2022 01:43:20 +0000 (01:43 +0000)]
Merge branch 'CR_1274_SEC_JIAJIE.HO' into 'jh7110-5.15.y-devel'

crypto:starfive: Enable CCM and GCM mode for AES

See merge request sdk/linux!234

2 years agocrypto:starfive: Enable CCM and GCM mode for AES
jiajie.ho [Sun, 3 Jul 2022 20:23:15 +0000 (04:23 +0800)]
crypto:starfive: Enable CCM and GCM mode for AES

Add CCM and GCM modes of operation for Starfive AES driver.

Signed-off-by: jiajie.ho <jiajie.ho@starfivetech.com>
2 years agoMerge branch 'CR_1337_GPU_shanlong.li' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 1 Jul 2022 12:18:53 +0000 (12:18 +0000)]
Merge branch 'CR_1337_GPU_shanlong.li' into 'jh7110-5.15.y-devel'

Cr 1337 gpu shanlong.li

See merge request sdk/linux!233

2 years agodriver:GPU: use pm runtime interface
shanlong.li [Fri, 1 Jul 2022 11:57:19 +0000 (04:57 -0700)]
driver:GPU: use pm runtime interface

use pm runtime interface

Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2 years agodts:GPU: add pmu signal define for GPU
shanlong.li [Fri, 1 Jul 2022 11:55:51 +0000 (04:55 -0700)]
dts:GPU: add pmu signal define for GPU

add pmu signal define for GPU

Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2 years agoMerge branch 'CR_877_Timer_Xingyu.Wu' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 1 Jul 2022 11:48:06 +0000 (11:48 +0000)]
Merge branch 'CR_877_Timer_Xingyu.Wu' into 'jh7110-5.15.y-devel'

Cr 877 timer xingyu.wu

See merge request sdk/linux!213

2 years agoMerge branch 'CR_1462_v4l2_pmu_changhuang.liang' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 1 Jul 2022 08:29:29 +0000 (08:29 +0000)]
Merge branch 'CR_1462_v4l2_pmu_changhuang.liang' into 'jh7110-5.15.y-devel'

v4l2: modify pmu interface

See merge request sdk/linux!222

2 years agoMerge branch 'CR_1467_vpu_update_pmu_api_samin.guo' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 1 Jul 2022 08:27:56 +0000 (08:27 +0000)]
Merge branch 'CR_1467_vpu_update_pmu_api_samin.guo' into 'jh7110-5.15.y-devel'

risdv:dts:jh7110: add pmu signal define for vpu/jpu

See merge request sdk/linux!226

2 years agov4l2: modify pmu interface
changhuang.liang [Fri, 1 Jul 2022 07:01:34 +0000 (15:01 +0800)]
v4l2: modify pmu interface

2 years agoMerge branch 'CR_1456_Reset_5.15_clivia.cai' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 1 Jul 2022 08:16:03 +0000 (08:16 +0000)]
Merge branch 'CR_1456_Reset_5.15_clivia.cai' into 'jh7110-5.15.y-devel'

reset:starfive:jh7110: update macro definition.

See merge request sdk/linux!219

2 years agoMerge branch 'CR_1464_7110_evb_5.15_vout_pmu_shengyang.chen' into 'jh7110-5.15.y...
andy.hu [Fri, 1 Jul 2022 08:15:29 +0000 (08:15 +0000)]
Merge branch 'CR_1464_7110_evb_5.15_vout_pmu_shengyang.chen' into 'jh7110-5.15.y-devel'

riscv:linux:driver:drm

See merge request sdk/linux!225

2 years agoMerge branch 'CR_1459_V4L2_515_mason.huo' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 1 Jul 2022 08:05:43 +0000 (08:05 +0000)]
Merge branch 'CR_1459_V4L2_515_mason.huo' into 'jh7110-5.15.y-devel'

Cr 1459 v4 l2 515 mason.huo

See merge request sdk/linux!224

2 years agoriscv:linux:driver:drm
shengyang.chen [Fri, 1 Jul 2022 08:00:57 +0000 (16:00 +0800)]
riscv:linux:driver:drm

remove some useless comment after review

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

2 years agoMerge branch 'CR_1454_SPDIF_update_515_curry.zhang' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 1 Jul 2022 08:00:20 +0000 (08:00 +0000)]
Merge branch 'CR_1454_SPDIF_update_515_curry.zhang' into 'jh7110-5.15.y-devel'

[Audio: SPDIF] Restore the spdif driver clock tree config

See merge request sdk/linux!227

2 years agoMerge branch 'CR_1454_SPDIF_dtb_515_curry.zhang' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 1 Jul 2022 07:57:26 +0000 (07:57 +0000)]
Merge branch 'CR_1454_SPDIF_dtb_515_curry.zhang' into 'jh7110-5.15.y-devel'

[Audio: SPDIF] Add the spdif driver to jh7110-evb-uart4-emmc-spdif.dts

See merge request sdk/linux!215

2 years ago[Audio: SPDIF] Restore the spdif driver clock tree config
curry.zhang [Fri, 1 Jul 2022 07:50:55 +0000 (00:50 -0700)]
[Audio: SPDIF] Restore the spdif driver clock tree config

Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
2 years agorisdv:dts:jh7110: add pmu signal define for vpu/jpu
samin [Fri, 1 Jul 2022 07:37:51 +0000 (15:37 +0800)]
risdv:dts:jh7110: add pmu signal define for vpu/jpu

Signed-off-by: samin <samin.guo@starfivetech.com>
2 years agoriscv:linux:driver:drm
shengyang.chen [Fri, 1 Jul 2022 07:28:16 +0000 (15:28 +0800)]
riscv:linux:driver:drm

replace standard pmu interface

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

2 years agoMerge branch 'CR_1465_add_pm_function_for_GPU_walker.chen' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 1 Jul 2022 07:06:09 +0000 (07:06 +0000)]
Merge branch 'CR_1465_add_pm_function_for_GPU_walker.chen' into 'jh7110-5.15.y-devel'

Add a pm function for GPU

See merge request sdk/linux!221

2 years agomedia: starfive: Map sensor format to ISP0RAW & SCD_Y as backup policy
Kevin.xie [Fri, 1 Jul 2022 02:29:28 +0000 (10:29 +0800)]
media: starfive: Map sensor format to ISP0RAW & SCD_Y as backup policy

Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2 years agomedia: starfive: Add compatible mbus format mapping for ISP0RAW & SCD_Y
Kevin.xie [Tue, 28 Jun 2022 11:54:29 +0000 (19:54 +0800)]
media: starfive: Add compatible mbus format mapping for ISP0RAW & SCD_Y

Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2 years agodts/starfive: modify sc2235 endpoint reg
changhuang.liang [Thu, 30 Jun 2022 09:32:55 +0000 (17:32 +0800)]
dts/starfive: modify sc2235 endpoint reg

Signed-off-by: changhuang.liang <changhuang.liang@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 agoV4L2: add imx219 support
changhuang.liang [Thu, 23 Jun 2022 05:49:41 +0000 (13:49 +0800)]
V4L2: add imx219 support

dts/starfive: add imx219 configure

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2 years agov4l2: add imx219 start-up log
changhuang.liang [Thu, 23 Jun 2022 06:13:32 +0000 (14:13 +0800)]
v4l2: add imx219 start-up log

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2 years agomedia: starfive: Support starfive platfrom driver build into module
liuxl0327 [Thu, 31 Mar 2022 03:05:45 +0000 (11:05 +0800)]
media: starfive: Support starfive platfrom driver build into module

To support ISP usr mode debugging, support starfive v4l2 driver for kernel
module.
The starfive v4l2 driver is built in kernel by default,
user needs to modify the kernel deconfig to support kernel module.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agoV4L2: add imx219 support
changhuang.liang [Thu, 23 Jun 2022 05:49:41 +0000 (13:49 +0800)]
V4L2: add imx219 support

dts/starfive: add imx219 configure

Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2 years agomedia: starfive: Remove isp id for single isp controller
mason.huo [Thu, 16 Jun 2022 07:50:19 +0000 (15:50 +0800)]
media: starfive: Remove isp id for single isp controller

The jh7110 only has one isp controller, but the driver
defines isp device IDs for multi isp controller.
Remove all isp IDs from the driver.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agomedia: starfive: Remove isp1 for jh7110
mason.huo [Wed, 8 Jun 2022 01:38:33 +0000 (09:38 +0800)]
media: starfive: Remove isp1 for jh7110

For jh7110 soc, there is only one isp controller.
To avoid the system errors when config to support
dual isp, remove the all isp1 related source code
from driver.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agomedia: starfive: Fix isp line cache coherence issue
mason.huo [Tue, 7 Jun 2022 02:51:31 +0000 (10:51 +0800)]
media: starfive: Fix isp line cache coherence issue

The isp app uses the mmap buffer mode which needs to
sync the cache before isp controller writes data into
the buffer.

Add L2 cache flushing before sending data to user space,
so that make sure the cache coherence.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agomedia: starfive: Change the default format of scd_y pad
mason.huo [Tue, 7 Jun 2022 03:05:52 +0000 (11:05 +0800)]
media: starfive: Change the default format of scd_y pad

2 years agomedia: starfive: Add set fmt for all ISP pads
liuxl0327 [Fri, 20 May 2022 02:37:55 +0000 (10:37 +0800)]
media: starfive: Add set fmt for all ISP pads

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agomedia: starfive: Fix the second run stuck issue
mason.huo [Mon, 30 May 2022 03:12:10 +0000 (11:12 +0800)]
media: starfive: Fix the second run stuck issue

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agomedia: starfive: Add dual isp config
mason.huo [Tue, 17 May 2022 08:23:41 +0000 (16:23 +0800)]
media: starfive: Add dual isp config

Add STF_DUAL_ISP Kconfig to config single isp
or dual isp.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agomedia: starfive: Sort isp1 definitions
mason.huo [Tue, 17 May 2022 05:08:24 +0000 (13:08 +0800)]
media: starfive: Sort isp1 definitions

To support isp0 & isp1 configuration, we should
sort the isp sequence firtly.

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agov4l2: modified sc buffer toggle conuter.
godspeed.kuo [Thu, 7 Apr 2022 02:17:05 +0000 (10:17 +0800)]
v4l2: modified sc buffer toggle conuter.

2 years agov4l2: ISP update init reg config
liuxl0327 [Mon, 21 Mar 2022 10:23:46 +0000 (18:23 +0800)]
v4l2: ISP update init reg config

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agov4l2: ISP add stream on event
liuxl0327 [Mon, 21 Mar 2022 10:19:18 +0000 (18:19 +0800)]
v4l2: ISP add stream on event

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agov4l2: ISP multi stream set format
liuxl0327 [Mon, 21 Mar 2022 10:17:05 +0000 (18:17 +0800)]
v4l2: ISP multi stream set format

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agov4l2: VIN add set dummy buffer
liuxl0327 [Mon, 21 Mar 2022 09:56:39 +0000 (17:56 +0800)]
v4l2: VIN add set dummy buffer

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agov4l2: ISP/VIN support multi stream
liuxl0327 [Mon, 21 Mar 2022 09:37:32 +0000 (17:37 +0800)]
v4l2: ISP/VIN support multi stream

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agov4l2: ISP update irq handler
liuxl0327 [Mon, 21 Mar 2022 08:08:04 +0000 (16:08 +0800)]
v4l2: ISP update irq handler

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agov4l2: Support imx219 multi stream on
liuxl0327 [Mon, 21 Mar 2022 07:20:57 +0000 (15:20 +0800)]
v4l2: Support imx219 multi stream on

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agov4l2: starfive ISP add private ioctl
liuxl0327 [Mon, 21 Mar 2022 07:20:43 +0000 (15:20 +0800)]
v4l2: starfive ISP add private ioctl

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agov4l2: starfive DVP support multi stream on
liuxl0327 [Mon, 21 Mar 2022 07:19:27 +0000 (15:19 +0800)]
v4l2: starfive DVP support multi stream on

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agov4l2: starfive CSIPHY support multi stream on
liuxl0327 [Mon, 21 Mar 2022 06:58:27 +0000 (14:58 +0800)]
v4l2: starfive CSIPHY support multi stream on

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agov4l2: starfive CSI support multi stream on
liuxl0327 [Mon, 21 Mar 2022 06:56:22 +0000 (14:56 +0800)]
v4l2: starfive CSI support multi stream on

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agov4l2: sc2235 support multi stream on and update reg params
liuxl0327 [Mon, 21 Mar 2022 05:59:53 +0000 (13:59 +0800)]
v4l2: sc2235 support multi stream on and update reg params

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agov4l2: ov5640 support multi stream on
liuxl0327 [Mon, 21 Mar 2022 05:58:07 +0000 (13:58 +0800)]
v4l2: ov5640 support multi stream on

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agov4l2: ov4689 support multi stream on
liuxl0327 [Mon, 21 Mar 2022 05:57:12 +0000 (13:57 +0800)]
v4l2: ov4689 support multi stream on

Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2 years agoAdd a pm function for GPU
Walker Chen [Fri, 1 Jul 2022 06:50:55 +0000 (14:50 +0800)]
Add a pm function for GPU

Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2 years agoreset:starfive:jh7110: update macro definition.
Clivia.Cai [Fri, 1 Jul 2022 06:26:47 +0000 (14:26 +0800)]
reset:starfive:jh7110: update macro definition.

remove all “si5“ keyword from reset header file.

Signed-off-by: Clivia.Cai <Clivia.Cai@starfivetech.com>
2 years agoMerge branch 'CR_1460_CLOCK_TREE_pmu_Xingyu.Wu' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 1 Jul 2022 06:33:50 +0000 (06:33 +0000)]
Merge branch 'CR_1460_CLOCK_TREE_pmu_Xingyu.Wu' into 'jh7110-5.15.y-devel'

clk:starfive:Update pmu Api

See merge request sdk/linux!218

2 years agoclk:starfive:Update pmu Api
xingyu.wu [Fri, 1 Jul 2022 06:24:43 +0000 (14:24 +0800)]
clk:starfive:Update pmu Api

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2 years agoMerge branch 'CR_1449_SEC_william.qiu' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 1 Jul 2022 02:54:10 +0000 (02:54 +0000)]
Merge branch 'CR_1449_SEC_william.qiu' into 'jh7110-5.15.y-devel'

crypto:starfive:fix clk enable error

See merge request sdk/linux!214

2 years agoMerge branch 'CR_679_PMU_walker.chen' into 'jh7110-5.15.y-devel'
andy.hu [Fri, 1 Jul 2022 02:53:52 +0000 (02:53 +0000)]
Merge branch 'CR_679_PMU_walker.chen' into 'jh7110-5.15.y-devel'

PMU: Power Domain Controller Driver for JH7110 SOC

See merge request sdk/linux!217

2 years agoPMU: Power Domain Controller Driver for JH7110 SOC
Walker Chen [Fri, 1 Jul 2022 01:49:32 +0000 (09:49 +0800)]
PMU: Power Domain Controller Driver for JH7110 SOC

Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2 years ago[Audio: SPDIF] Add the spdif driver to jh7110-evb-uart4-emmc-spdif.dts
curry.zhang [Fri, 1 Jul 2022 02:26:52 +0000 (19:26 -0700)]
[Audio: SPDIF] Add the spdif driver to jh7110-evb-uart4-emmc-spdif.dts

Signed-off-by: curry.zhang <curry.zhang@starfivetech.com>
2 years agoclocksource: starfive: Allocates struct starfive_clkevt in driver
xingyu.wu [Thu, 30 Jun 2022 14:09:05 +0000 (22:09 +0800)]
clocksource: starfive: Allocates struct starfive_clkevt in driver

Allocates struct starfive_clkevt in driver dynamically instead of global
struct to support more than one instance of IP.

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Signed-off-by: Ley Foon Tan <leyfoon.tan@linux.starfivetech.com>
2 years agodrivers:clocksource:Modify timer driver and add exit codes
xingyu.wu [Thu, 23 Jun 2022 01:48:12 +0000 (09:48 +0800)]
drivers:clocksource:Modify timer driver and add exit codes

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2 years agodrivers:clocksource:Modify timer driver format
xingyu.wu [Wed, 22 Jun 2022 08:05:55 +0000 (16:05 +0800)]
drivers:clocksource:Modify timer driver format

Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
2 years agoMerge branch 'CR_1291_PDM_PWMDAC_curry.zhang' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 30 Jun 2022 12:24:57 +0000 (12:24 +0000)]
Merge branch 'CR_1291_PDM_PWMDAC_curry.zhang' into 'jh7110-5.15.y-devel'

[Audio: Config] enable pdm driver to solve jh7110-evb-can-pdm-pwmdac.dtb

See merge request sdk/linux!196

2 years agoMerge branch 'CR_1411_SPI_overlay_Xingyu.Wu' into 'jh7110-5.15.y-devel'
andy.hu [Thu, 30 Jun 2022 12:24:38 +0000 (12:24 +0000)]
Merge branch 'CR_1411_SPI_overlay_Xingyu.Wu' into 'jh7110-5.15.y-devel'

Cr 1411 spi overlay xingyu.wu

See merge request sdk/linux!197

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>