summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-08-04Merge remote-tracking branch 'sdk/jh7110-5.15.y-devel' into vf2-515-develAndy Hu1-1/+1
2024-08-02Merge branch 'CR_13302_pincrtl_gpio_interrupt_5.15_ziv.xu' into ↵andy.hu1-1/+1
'jh7110-5.15.y-devel' CR_13302_pincrtl_gpio_interrupt_5.15_ziv.xu See merge request sdk/linux!1069
2024-07-30pinctrl: starfive: fix gpio level interrupt excetpionZiv Xu1-1/+1
fix gpio level interrupt excetpion Signed-off-by: Ziv Xu <ziv.xu@starfivetech.com>
2024-07-05Merge tag 'JH7110_SDK_515_v5.13.0' into vf2-515-develAndy Hu10-0/+2231
2024-07-05Merge branch 'CR_12285_E24_Driver_Andy.Hu' into 'jh7110-5.15.y-devel'andy.hu10-0/+2231
CR_12285: porting e24 driver See merge request sdk/linux!1064
2024-06-28driver:e24: change e24 reset vector to 0x6ce00000shanlong.li1-1/+1
change e24 reset vector to 0x6ce00000 Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2024-06-28driver:e24: correct the copyright of e24shanlong.li4-76/+8
correct the copyright of e24 Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2024-06-28drive:e24:add runtme pm opsys3-48/+128
add runtime pm ops Signed-off-by: ys <eason.xiong@starfivetech.com>
2024-06-28driver:e24: remove pm interfaceshanlong.li1-29/+5
remove pm interface because of no power module Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2024-06-28e24:driver: add e24 drever , use clk/rst api ,syscon spishanlong.li10-0/+2243
add e24 drever, use clk/rst api, syscon spi Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2024-05-31Merge tag 'JH7110_SDK_515_v5.12.2' into vf2-515-develAndy Hu1-6/+6
2024-05-31Merge branch 'CR_11038_cpu_vol_hal.feng' into 'jh7110-5.15.y-devel'andy.hu1-6/+6
CR_11038_cpu_vol_hal.feng See merge request sdk/linux!1054
2024-05-22riscv: dts: starfive: jh7110: Increase the voltage to 0.9V when cores ↵Hal Feng1-6/+6
running at low frequency For stability, increase the voltage from 0.8V to 0.9V when cores running at low frequency. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2024-05-13Merge remote-tracking branch 'sdk/jh7110-5.15.y-devel' into vf2-515-develAndy Hu2-2/+2
2024-05-11Merge branch 'CR_10779_sdk_5.15_Debian_gamma_enable_shengyang.chen' into ↵andy.hu1-1/+1
'jh7110-5.15.y-devel' CR_10779_sdk_5.15: drm/vs: enable debian gamma See merge request sdk/linux!1049
2024-05-11drm/vs: enable debian gammashengyang.chen1-1/+1
enable debian gamma process Signed-off-by: Shengyang Chen <shengyang.chen@starfivetech.com>
2024-05-10Merge branch 'CR_10779_sdk_5.15_Debian_gamma_color_shengyang.chen' into ↵andy.hu1-1/+1
'jh7110-5.15.y-devel' CR_10779_sdk_5.15: drm/vs: fix debian gamma color deviation problem See merge request sdk/linux!1046
2024-05-09drm/vs: fix debian gamma color deviation problemshengyang.chen1-1/+1
fix debian gamma color problem by changing left shift value from 12 to 16 Signed-off-by: Shengyang Chen <shengyang.chen@starfivetech.com>
2024-03-22Merge branch 'CR_9827_dts_hal.feng' into 'vf2-515-devel'JH7110_VF2_515_v5.12.0andy.hu8-12/+12
CR_9827_dts_hal.feng See merge request sbc/linux!200
2024-03-22Merge tag 'JH7110_SDK_515_v5.11.5' into vf2-515-develAndy Hu2-3/+5
2024-03-22Merge branch 'CR_9737_dts_hal.feng' into 'jh7110-5.15.y-devel'andy.hu1-3/+3
CR_9737_dts_hal.feng See merge request sdk/linux!1032
2024-03-22Merge branch 'CR_6978_pinctrl_hal.feng' into 'jh7110-5.15.y-devel'andy.hu1-0/+2
CR_6978_pinctrl_hal.feng See merge request sdk/linux!1030
2024-03-14riscv: dts: starfive: visionfive2: Rename jh7110-visionfive-v2-*.dts to ↵Hal Feng8-12/+12
jh7110-starfive-visionfive-2-*.dts Rename the dts file, for sync with Linux mainline. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2024-03-13riscv: dts: starfive: jh7110: Correct the base address of uboot-env partitionHal Feng1-3/+3
Change "uboot-env@100000" to "uboot-env@f0000". Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2024-03-08pinctrl: starfive: jh7110: Support clear ioconfig register bit 0Hal Feng1-0/+2
Support clear ioconfig register bit 0. Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2024-03-07Merge branch 'CR_9700_VF2_CAN_5.15_william.qiu' into 'vf2-515-devel'JH7110_VF2_515_v5.11.4andy.hu2-0/+24
CR_9700_5.15: riscv: dts: can: add dts for CAN See merge request sbc/linux!199
2024-03-07riscv: dts: can: add dts for CANWilliam Qiu2-0/+24
add dts for CAN. Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2024-03-01Merge branch 'CR_9594_Support_OpenVPN_Tailscale_515_Andy.Hu' into ↵JH7110_VF2_515_v5.11.3andy.hu1-0/+1
'vf2-515-devel' CR_9594: riscv: configs: enable CONFIG_TUN for OpenVPN/Tailscale See merge request sbc/linux!195
2024-03-01riscv: configs: enable CONFIG_TUN for OpenVPN/TailscaleAndy Hu1-0/+1
enable tun.ko for VF2 board, to fix github issue: https://github.com/starfive-tech/linux/issues/129 Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2024-03-01Merge tag 'JH7110_SDK_515_v5.11.3' into vf2-515-develAndy Hu1-5/+2
2024-03-01Merge branch 'CR_9543_VOUT_MIPI_Keith' into 'jh7110-5.15.y-devel'andy.hu1-2/+3
CR_9543 vout: mipi: update dphy config See merge request sdk/linux!1027
2024-02-28vout: mipi: update dphy configkeith.zhao1-2/+3
for history reason , the dphy bitrate always be 750M need fixup. Signed-off-by: keith.zhao <keith.zhao@starfivetech.com>
2024-02-02Merge tag 'JH7110_SDK_515_v5.11.1' into vf2-515-develAndy Hu1-3/+3
2024-02-02Merge branch 'CR_7926_gpu_515_sdk_shanlong.li' into 'jh7110-5.15.y-devel'andy.hu1-3/+3
CR_7926:driver:gpu: memset pagearray before use it by cacheable addr See merge request sdk/linux!1020
2024-02-01driver:gpu: memset pagearray before use it by cacheable addrshanlong.li1-3/+3
memset pageArray befor use it to fix up fw load error and grainy screen Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2024-01-26Merge tag 'JH7110_SDK_515_v5.11.0' into vf2-515-develAndy Hu21-3717/+2864
2024-01-26Merge branch 'CR_9096_wave5_v4l2_v14-5.15_Som.Qin' into 'jh7110-5.15.y-devel'andy.hu20-3715/+2863
CR 9096 porting wave5 v4l2 driver v14 See merge request sdk/linux!1017
2024-01-26Merge branch 'CR_8965_vin_515_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu1-2/+1
CR_8965_vin_515_changhuang.liang media: starfive: Lower the priority of print See merge request sdk/linux!1015
2024-01-23media: add wave511 v4l2 support for starfive jh 7110 platfromSom Qin10-82/+194
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2024-01-23media: chips-media: wave5: Fix panic on decoding DECODED_IDX_FLAG_SKIPMattijs Korpershoek1-1/+1
The display frame region information received from the vpu also contains the frame display index: info->index_frame_display. This index, being a s32, can be negative when a skip option is passed. In that case, its value is DECODED_IDX_FLAG_SKIP (-2). When disp_idx == -2, the following exception occurs: [ 1530.782246][ T1900] Hardware name: Texas Instruments AM62P5 SK (DT) [ 1530.788501][ T1900] pstate: a0400005 (NzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 1530.796144][ T1900] pc : wave5_vpu_dec_get_output_info+0x300/0x308 [wave5] [ 1530.803060][ T1900] lr : wave5_vpu_dec_get_output_info+0x80/0x308 [wave5] [ 1530.809873][ T1900] sp : ffffffc00b85bc00 [ 1530.813872][ T1900] x29: ffffffc00b85bc00 x28: 0000000000000000 x27: 0000000000000001 [ 1530.821695][ T1900] x26: 00000000fffffffd x25: 00000000ffffffff x24: ffffff8812820000 [ 1530.829516][ T1900] x23: ffffff88199f7840 x22: ffffff8873f5e000 x21: ffffffc00b85bc58 [ 1530.837336][ T1900] x20: 0000000000000000 x19: ffffff88199f7920 x18: ffffffc00a899030 [ 1530.845156][ T1900] x17: 00000000529c6ef0 x16: 00000000529c6ef0 x15: 0000000000198487 [ 1530.852975][ T1900] x14: ffffffc009f2b650 x13: 0000000000058016 x12: 0000000005000000 [ 1530.860795][ T1900] x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000 [ 1530.868615][ T1900] x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000004086 [ 1530.876434][ T1900] x5 : 0000000000000001 x4 : ffffffc001454b94 x3 : ffffffc001454d94 [ 1530.884256][ T1900] x2 : ffffffc00b8201d0 x1 : 0000000000000020 x0 : 0000000000000000 [ 1530.892087][ T1900] Call trace: [ 1530.895225][ T1900] wave5_vpu_dec_get_output_info+0x300/0x308 [wave5] [ 1530.901788][ T1900] wave5_vpu_dec_finish_decode+0x6c/0x3dc [wave5] [ 1530.908081][ T1900] wave5_vpu_irq_thread+0x140/0x168 [wave5] [ 1530.913856][ T1900] irq_thread_fn+0x44/0xa4 [ 1530.918154][ T1900] irq_thread+0x15c/0x288 [ 1530.922330][ T1900] kthread+0x104/0x1d4 [ 1530.926247][ T1900] ret_from_fork+0x10/0x20 [ 1530.930520][ T1900] Code: 2a1f03ea 2a1f03eb 35ffef2c 17ffff74 (d42aa240) [ 1530.937296][ T1900] ---[ end trace 0000000000000000 ]--- [ 1530.942596][ T1900] Kernel panic - not syncing: BRK handler: Fatal exception [ 1530.949629][ T1900] SMP: stopping secondary CPUs [ 1530.954244][ T1900] Kernel Offset: disabled [ 1530.958415][ T1900] CPU features: 0x00,00000000,00800184,0000421b [ 1530.964496][ T1900] Memory Limit: none Move the disp_info assignment after testing that the index is positive to avoid the exception. Fixes: 45d1a2b93277 ("media: chips-media: wave5: Add vpuapi layer") Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-01-23media: chips-media: wave5: Fix spelling mistake "bufferur" -> "buffer"Colin Ian King1-1/+1
There is a spelling mistake in a dev_dbg message. Fix it. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-01-23media: wave5: add OF and V4L_MEM2MEM_DRIVERS dependenciesDeborah Brouwer1-1/+2
Fix compile warning when CONFIG_OF=n: drivers/media/platform/chips-media/wave5/wave5-vpu.c:274:34: warning: 'wave5_dt_ids' defined but not used [-Wunused-const-variable=] 274 | static const struct of_device_id wave5_dt_ids[] = { | Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> [hverkuil: added commit log text]
2024-01-23media: chips-media: wave5: Add wave5 driver to maintainers fileRobert Beckett1-0/+8
Add the Chips&Media wave5 encoder/decoder driver to the maintainers file Signed-off-by: Robert Beckett <bob.beckett@collabora.com> Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
2024-01-23dt-bindings: media: wave5: add yaml devicetree bindingsRobert Beckett1-0/+61
Add bindings for the wave5 chips&media codec driver Signed-off-by: Robert Beckett <bob.beckett@collabora.com> Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com> Reviewed-by: Rob Herring <robh@kernel.org>
2024-01-23media: chips-media: wave5: Add the v4l2 layerNas Chung8-0/+4366
Add the decoder and encoder implementing the v4l2 API. This patch also adds the Makefile and the VIDEO_WAVE_VPU config Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Robert Beckett <bob.beckett@collabora.com> Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> Signed-off-by: Nas Chung <nas.chung@chipsnmedia.com>
2024-01-23media: chips-media: wave5: Add vpuapi layerNas Chung9-0/+5839
Add the vpuapi layer of the wave5 codec driver. This layer is used to configure the hardware according to the parameters. Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> Signed-off-by: Robert Beckett <bob.beckett@collabora.com> Signed-off-by: Nas Chung <nas.chung@chipsnmedia.com>
2024-01-23media: v4l2: Allow M2M job queuing w/o streaming CAP queueSebastian Fricke1-3/+6
Allow decoder drivers to enable set the ignore_streaming flag on their CAPTURE queue, to allow queuing jobs to the M2M ready queue and perform firmware sequence analysis with just a streaming OUTPUT queue and available bitstream data. Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
2024-01-23media: v4l2: Add ignore_streaming flagSebastian Fricke1-0/+7
Add a new flag to the `struct v4l2_m2m_dev` to toggle whether a queue must be streaming in order to allow queuing jobs to the ready queue. Currently, both queues (CAPTURE & OUTPUT) must be streaming in order to allow adding new jobs. This behavior limits the usability of M2M for some drivers, as these have to be able, to perform analysis of the sequence to ensure, that userspace prepares the CAPTURE queue correctly. Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
2024-01-23media: reverts old version wave5 driverSom Qin17-11249/+0
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2024-01-23media: starfive: Lower the priority of printChanghuang Liang1-2/+1
Lower the priority of print Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>