summaryrefslogtreecommitdiff
path: root/drivers/media/platform
AgeCommit message (Collapse)AuthorFilesLines
2022-11-19Merge tag 'JH7110_515_SDK_v3.1.0' into vf2-515-develJianlong Huang2-4/+29
version JH7110_515_SDK_v3.1.0 for JH7110 EVB board
2022-11-17Merge branch 'CR_2661_V4L2_Kevin.xie' into 'jh7110-5.15.y-devel'andy.hu1-2/+25
CR 2661 v4l2_driver: vin: Add skip frames for isp control. See merge request sdk/linux!610
2022-11-15v4l2_driver: vin: Add skip frames for isp control.Kevin.xie1-2/+25
The duration of extra isp control skip frames are fixed to 1 second. Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-11-09media: v4l2_driver: Supplement the missing runtime pm get ops on more than ↵Kevin.xie1-2/+4
once stream_on cases. For example, if we run stf_isp_ctrl & v4l2test at the same time, s_stream for sensor will be called twice, so that rpm should be got twice too. Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
2022-11-03Revert "v4l2: imx219 use pinctrl"Jianlong Huang1-66/+4
This patch just for evb This reverts commit 8d7c702d7bc0fef9ee5882db660390801bbccaa7.
2022-11-03v4l2: add imx219 supportchanghuang.liang6-33/+11
dts: add imx219 configure Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27media: starfive: Remove hardware operations in vin initchanghuang.liang1-3/+0
Remove hardware operations in vin init, hardware operation need turn on power domain. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27media: starfive: Delete isp noc bus clockchanghuang.liang2-8/+0
Delete operate isp noc bus clock in vin module. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27media: starfive: Vin module get reset use sharechanghuang.liang1-1/+1
Vin module get reset use share due to the same reset single with isp clock module. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27v4l2: Fixed vin line stream_out not change except WR.changhuang.liang1-9/+11
Fixed vin line stream_out not change except WR. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27v4l2: VIN driver use pmchanghuang.liang5-78/+153
VIN driver use pm save power, delete turn on pmu multiple times and modify isp clk and reset after turn on pmu. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27ov4689: Correct some codechanghuang.liang1-32/+10
Correct some code. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27sc2235: Delete the control direct control registerchanghuang.liang1-71/+15
Delete the control direct control register and correct some code. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27sc2235: Use runtime/system pmchanghuang.liang1-42/+62
Use runtime/system pm save power. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27imx219: Separate set stream and runtime PMchanghuang.liang1-47/+14
Separate set stream and runtime PM, use runtime PM. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27ov4689: Use runtime PMchanghuang.liang1-84/+66
Switch to using runtime PM for power management. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-10-27ov4689: delete read chip id in set powerchanghuang.liang1-19/+0
delete read chip id in set power on. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-09-23Merge branch 'CR_2156_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu3-6/+6
CR_2156_v4l2_515_changhuang.liang v4l2: modify vin clk base on pll2 change See merge request sdk/linux!491
2022-09-15v4l2: modify imx219 vertical crop valuechanghuang.liang1-1/+1
modify imx219 vertical crop value Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-09-15v4l2: modify vin clk base on pll2 changechanghuang.liang3-6/+6
pll2 frequency change to 1188M so vin clock will change. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-09-07Merge branch 'CR_2004_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu4-5/+5
CR_2004_v4l2_515_changhuang.liang v4l2: modify v4l2 compatible name See merge request sdk/linux!428
2022-08-31v4l2: modify v4l2 compatible namechanghuang.liang4-5/+5
dts/starfive: modify v4l2 compatible name Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-08-30v4l2: modify reset cause failedchanghuang.liang4-26/+35
modify reset and clk configure fixed reset signal failed Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-08-26Merge branch 'CR_1560_v4l2_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu4-15/+35
CR_1560_v4l2_changhuang.liang v4l2: use axi wr reset See merge request sdk/linux!423
2022-08-26v4l2: use axi wr resetchanghuang.liang4-15/+35
use axi wr reset avoid stream off not clean Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-08-26Merge branch 'CR_1874_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu1-1/+2
CR_1874_v4l2_515_changhuang.liang See merge request sdk/linux!406
2022-08-26Merge branch 'CR_1900_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu1-5/+1
CR_1900_v4l2_515_changhuang.liang See merge request sdk/linux!404
2022-08-19Merge branch 'CR_1867_V4L2_mason.huo' into 'jh7110-5.15.y-devel'andy.hu1-1/+1
CR_1867 media: starfive: Enable the ss0 & ss1 output lines See merge request sdk/linux!385
2022-08-18v4l2: delete print info in interruptchanghuang.liang1-5/+1
dont use the print info in interrupt. Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-08-17v4l2: aon_syscon use bit setchanghuang.liang1-1/+2
mipi csi just use bit 31, would not change other bit value Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-08-16media: starfive: Deprecated the itir & itiw output linesmason.huo4-1/+10
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>
2022-08-16media: starfive: Enable the ss0 & ss1 output linesmason.huo1-1/+1
Enable the ss0 & ss1 isp lines, which are not enabled with scaling yet. Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-08-11Merge branch 'CR_1824_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu1-4/+66
CR_1824_v4l2_515_changhuang.liang See merge request sdk/linux!381
2022-08-11Merge branch 'CR_1635_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu5-8/+18
CR_1635_v4l2_515_changhuang.liang See merge request sdk/linux!364
2022-08-11Merge branch 'CR_1767_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu1-97/+25
CR_1767_v4l2_515_changhuang.liang See merge request sdk/linux!369
2022-08-11Merge branch 'CR_1779_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu1-1/+1
CR_1779_v4l2_515_changhuang.liang See merge request sdk/linux!361
2022-08-11v4l2: imx219 use pinctrlchanghuang.liang1-4/+66
dts/starfive: add imx219 pinctrl configure Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-08-08v4l2: fixed imx219 set 720p errorchanghuang.liang1-97/+25
imx219 add 720p and delete greater than 1080p frame size Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-08-08v4l2: modify flush cache opportunitychanghuang.liang5-8/+18
modify flush cache opportunity Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-08-05v4l2: modify ov4689 stream on processchanghuang.liang1-6/+1
ov4689 stream on dont need mdalay Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-08-03v4l2: modify enum framesize errorchanghuang.liang1-1/+1
modify enum framesize error Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-07-28Merge branch 'CR_1278_v4l2_515_changhuang.liang' into 'jh7110-5.15.y-devel'Jason Zhou3-41/+39
CR_1278_v4l2: fixed imx219 date error at the first line See merge request sdk/linux!330
2022-07-27v4l2: modify mipi sensor data third time run cause errorchanghuang.liang6-17/+85
modify mipi sensor data third time run cause error Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-07-26v4l2: fixed imx219 date error at the first linechanghuang.liang3-41/+39
fixed imx219 date error at the first line Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-07-21Merge branch 'CR_1422_V4L2_515_mason.huo' into 'jh7110-5.15.y-devel'Jason Zhou7-55/+242
Cr 1422 v4 l2 515 mason.huo See merge request sdk/linux!316
2022-07-21media: starfive: Fix v4l2 compliance test issuesmason.huo6-20/+96
To get the v4l2 compliance test passed: Add some v4l2 operations which are needed. Improve the ioctl operations of sensor too. Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-21media: starfive: Add video format debug informationmason.huo3-6/+20
Add some debug log for set/get video format, so that we can check if the v4l2 driver accepts or not the format set by user. Signed-off-by: mason.huo <mason.huo@starfivetech.com>
2022-07-21v4l2: fixed v4l2 compliance issuechanghuang.liang3-31/+128
imx219 add set/get frameintervals Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-07-20v4l2: modify reset apichanghuang.liang6-86/+19
modify reset api Signed-off-by: changhuang.liang <changhuang.liang@starfivetech.com>
2022-07-20Merge branch 'CR_1560_v4l2_changhuang.liang' into 'jh7110-5.15.y-devel'Jason Zhou1-6/+1
CR_1560_v4l2_changhuang.liang See merge request sdk/linux!294