summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)AuthorFilesLines
2022-05-13v4l2: fix the building issue for previous CR896 PRAndy Hu1-3/+2
Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2022-05-13Merge branch 'CR_896_v4l2_Xiulin.Liu' into 'visionfive-5.15.y-devel'jianlong.huang7-87/+72
Cr 896 v4l2 xiulin.liu See merge request jh7100/linux!26
2022-05-13Update stf_vin_hw_ops.cthundersoft021-1/+0
2022-05-13Update stfcamss.cthundersoft021-2/+0
2022-05-13Update stfcamss.cthundersoft021-27/+0
2022-05-13Merge branch 'CR_758_sd-kernelpanic_jianlong' into 'visionfive-5.15.y-devel'jianlong.huang1-0/+6
add spin lock about pinctrl dt_node_to_map and fix sdio0 as mmc0 See merge request jh7100/linux!21
2022-05-13pinctrl/pinctrl-starfive.c: add mutex to lockjianlong.huang1-0/+6
Signed-off-by: jianlong.huang <jianlong.huang@starfivetech.com>
2022-05-11driver:drm:mipikeith.zhao2-1/+13
fix mipi screen color display exception Signed-off-by: keith.zhao <keith.zhao@starfivetech.com>
2022-05-11v4l2: starfive v4l2 driver support module load/unloadliuxl03277-82/+92
2022-05-06v4l2: media device add some mesg infoliuxl03271-0/+5
2022-04-18riscv: linux: drm: update mipi screen parametershengyang.chen3-14/+13
fix mipi screen dithering problem Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
2022-03-24Merge branch 'CR_760_dtoverlay_jianlong' into 'visionfive-5.15.y-devel'jianlong.huang3-0/+285
add configfs driver See merge request jh7100/linux!11
2022-03-24Merge branch 'CR_644_PWM_hal.feng' into 'visionfive-5.15.y-devel'jianlong.huang1-1/+3
pwm: pwm-sifive-ptc: Use actual clock rate See merge request jh7100/linux!8
2022-03-24Merge branch 'CR_702_V4L2_Changhuang.Liang' into 'visionfive-5.15.y-devel'jianlong.huang20-24/+49
V4L2: fixed v4l2 warning See merge request jh7100/linux!5
2022-03-23add configfs driverjianlonghuang3-0/+285
Signed-off-by: jianlonghuang <jianlong.huang@starfivetech.com>
2022-03-14linux:driver:gpu:drm:starfiveyang1-2/+1
fix startup problem without mipi screen Signed-off-by:shengyang.chen<shengyang.chen@starfivetech.com>
2022-03-14pwm: pwm-sifive-ptc: Use actual clock rateHal Feng1-1/+3
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
2022-03-12Merge branch 'CR_701_DRM_shengyang.chen' into 'visionfive-5.15.y-devel'jianlong.huang3-31/+1
linux:arch:riscv:boot:dts:starfive & linux:driver:gpu:drm:starfive See merge request jh7100/linux!1
2022-03-11V4L2: fixed v4l2 warningchanghuang.liang20-24/+49
2022-03-09linux:arch:riscv:boot:dts:starfiveyang3-31/+1
linux:driver:gpu:drm:starfive fix vout compile warning Signed-off-by:shengyang.chen<shengyang.chen@starfivetech.com>
2022-03-06Audio: Add the new sampling rate for pwmdac drivercurry.zhang2-101/+59
Signed-off-by: curry.zhang <curry.zhang@starfivetech.com> Author: curry.zhang <curry.zhang@starfivetech.com>
2022-02-25linux:driver:gpu:drm:starfiveSDK_v2.1.1SDK_v2.1.0yang1-0/+1
fix color problem of nv21 Signed-off-by: shengyang.chen<shengyang.chen@starfivetech.com>
2022-02-10drm: Fix the crash issue when user space drm application use ↵andy.hu1-2/+1
drmPrimeFDToHandle method to import dmabuf from other module Signed-off-by: Andy Hu <andy.hu@starfivetech.com>
2022-01-18Merge branch 'visionfive-5.15.y-devel' of ↵WalkerChenL1-23/+2
https://github.com/starfive-tech/linux into visionfive-5.15.y-devel
2022-01-18riscv: dts: starfive: Support AC108 daughter boardWalkerChenL2-1/+2
Add device tree support for AC108 daughter board, using the clock generated by Clock Tree. Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2022-01-17riscv:linux:drivers:gpu:drm:starfiveshengyang.chen1-23/+2
DRM: Update README for configuring drm Signed-off-by: shengyang.chen <shengyang.chen@starfivetech.com>
2022-01-06riscv:driver:drm:starfive:mipi driverkJugg12-46/+1903
1. add mipi driver support in starfive drm 2. support build starfive drm as ko module Signed-off-by:kzhao<keith.zhao@statfivetech.com>
2022-01-04media/starfive: use clock and reset apiHal Feng12-82/+460
Signed-off-by: Hal Feng <hal.feng@starfivetech.com> Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
2022-01-04media/starfive: add starfive v4l2 driver frameworkHal Feng56-1/+27715
1. Add starfive video v4l2 driver framework 2. Support DVP sensor and MIPI csi sensor, eg: imx219, ov4689, dvp ov5640, sc2235 Signed-off-by: sw.multimedia <sw.multimedia@starfivetech.com> Signed-off-by: david.li <david.li@starfivetech.com> Signed-off-by: jack.zhu <jack.zhu@starfivetech.com> Signed-off-by: keithzhao <keith.zhao@starfivetech.com> Signed-off-by: andy.hu <andy.hu@starfivetech.com> Signed-off-by: Curry Zhang <curry.zhang@starfivetech.com>
2021-12-30drm/starfive: update clk configuration for lcdcMichaelZhuxx1-56/+5
Remove this part of the code that was originally intended for screen adaptation under the framebuffer framework, meanwhile, fix the problem that switching to some resolutions is not successful. Signed-off-by: keith.zhao <keith.zhao@starfivetech.com>
2021-12-29modify clock tree and support i2s audioWalker Chen3-14/+65
2021-12-26RISC-V: Enable SIFIVE_L2_FLUSH for StarFive SoCsEmil Renner Berthing2-2/+2
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
2021-12-26spi: cadence-quadspi: Allow compilation on RISC-VEmil Renner Berthing1-1/+1
This IP is also used on the StarFive JH7100 riscv64 SoC and presumably also the upcoming JH7110 SoC. Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
2021-12-26nvdla: Support compilation as moduleEmil Renner Berthing2-19/+20
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
2021-12-26nvdla: add NVDLA driverFarzad Farshchi33-0/+32586
Additional update from Prashant Gaikwad <pgaikwad@nvidia.com> Adapted for Linux 5.13 and the BeagleV Starlight board by <cybergaszcz@gmail.com>
2021-12-26drm/starfive: Propagate bridge error properlyEmil Renner Berthing1-2/+4
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
2021-12-26[WIP] drm/starfive: Support DRM_FORMAT_XRGB8888Emil Renner Berthing2-0/+2
When creating dumb buffers with 32bpp and 24bit colour depth this is default mode return by drm_mode_legacy_fb_format. So we need to support this for common dumb buffers to just work. Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
2021-12-26drm/starfive: Use actual clock rateEmil Renner Berthing1-1/+3
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
2021-12-26drm/starfive: Use reset apiEmil Renner Berthing4-35/+30
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
2021-12-26drm/starfive: Use clock apiEmil Renner Berthing4-13/+27
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
2021-12-26drm/starfive: crtc: Use devm_platform_ioremap_resource_bynameEmil Renner Berthing3-33/+9
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
2021-12-26drm/i2c/tda998x: Hardcode register values for Starlightsw.multimedia1-2/+5
A proper solution to this hack should be found. Signed-off-by: jack.zhu <jack.zhu@starfivetech.com> Signed-off-by: keith.zhao <keith.zhao@starfivetech.com>
2021-12-26drm/starfive: Add StarFive drm driversw.multimedia19-0/+3469
1. Add starfive DRM Display driver framework 2. Support M31 Phy and tda998x Signed-off-by: jack.zhu <jack.zhu@starfivetech.com> Signed-off-by: keith.zhao <keith.zhao@starfivetech.com> Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
2021-12-26net: stmmac: use GFP_DMA32Matteo Croce1-4/+8
Signed-off-by: Matteo Croce <mcroce@microsoft.com>
2021-12-26net: stmmac: Configure gtxclk based on speedTom1-0/+47
2021-12-26net: phy: motorcomm: Support the YT8521 gigabit PHYWalker Chen2-1/+449
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
2021-12-26dmaengine: dw-axi-dmac-starfive: Remove calls specific to ARM64 ACPIGeert Uytterhoeven1-18/+2
iort_dma_setup() is being removed by commit db59e1b6e49201be ("ACPI: arm64: Move DMA setup operations out of IORT") in iommu/next: drivers/dma/dw-axi-dmac-starfive/starfive_dmaengine_memcpy.c: In function ‘dw_dma_async_ do_memcpy’: drivers/dma/dw-axi-dmac-starfive/starfive_dmaengine_memcpy.c:152:2: error: implicit decl aration of function ‘iort_dma_setup’ [-Werror=implicit-function-declaration] 152 | iort_dma_setup(dma_dev, &dma_addr, &dma_size); | ^~~~~~~~~~~~~~ drivers/dma/dw-axi-dmac-starfive/starfive_dmaengine_memcpy.c:153:8: warning: assignment to ‘const struct iommu_ops *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 153 | iommu = iort_iommu_configure_id(dma_dev, NULL); | ^ drivers/dma/dw-axi-dmac-starfive/starfive_dmaengine_memcpy.c: In function ‘dw_dma_memcpy_raw’: drivers/dma/dw-axi-dmac-starfive/starfive_dmaengine_memcpy.c:223:8: warning: assignment to ‘const struct iommu_ops *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 223 | iommu = iort_iommu_configure_id(dma_dev, NULL); | ^ iort_dma_setup() and iort_iommu_configure_id() are part of the ARM64 ACPI implementation. As CONFIG_ACPI_IORT cannot be enabled on RISC-V, they were dummies anyway, so these calls can just be removed. [Emil: remove unused local variables too] Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Emil Renner Berthing <kernel@esmil.dk> --- Boot-tested, but the affected code paths were not exercised.
2021-12-26dmaengine: Add dw-axi-dmac-starfive driver for JH7100Tom5-0/+621
2021-12-26dmaengine: dw-axi-dmac: Add StarFive JH7100 supportSamin Guo2-1/+35
Signed-off-by: Samin Guo <samin.guo@starfivetech.com> Signed-off-by: Michael Scott <mike@foundries.io> Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
2021-12-26dmaengine: dw-axi-dmac: Handle xfer start while non-idleSamin Guo2-1/+13
Signed-off-by: Samin Guo <samin.guo@starfivetech.com> Signed-off-by: Curry Zhang <curry.zhang@starfivetech.com>