Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
|
|
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
|
|
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
|
|
Enable CONFIG_ZRAM with ZSTD compression.
Change-Id: Ia21d71f8db87b4437d17183e9e82ad14898af76f
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
Sync with auto generated defconfig by savedefconfig.
Change-Id: I6b1dacf375f8c44c167026388defddb86f193d13
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
Enable starfive mailbox driver.
Change-Id: If6f44164c2261bd7d18387e617a522c3251564fa
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
|
|
Add mailbox driver node.
Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
[hoegeun.kwon: cherry-pick the commit 802f9261f654 from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel]
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Change-Id: I8a3cf94272404a94bdf2fef05ecfb399417914d1
|
|
add mailbox driver
Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
[hoegeun.kwon: cherry-pick the commit a070a8d2467d from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel]
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Change-Id: Iedb770bbdc8ec148c1b7eebf48df3b0e273063f6
|
|
Enable eeprom at24 driver.
Change-Id: I3485a08f72ee1b20147a98c33440a27c4978bf02
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
|
|
Add atmel eeprom driver node.
Apply the eeprom node by referring to the Vendor branch.
[https://github.com/starfive-tech/linux/blob/22e0315434b13cdde93ded101b567d5d1c4d5a2e/arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dtsi#L504]
Change-Id: I830acf5a0b6a226a4822dd00a278aea6aee827d5
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
|
|
Enable SPIDEV driver.
Change-Id: Ie5a938b7cda311350cb8b0a8f19e46b3c6384863
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
|
|
Add spidev driver node.
This spi and spi_dev node was applied to the mainline.
Refer to the patch below and apply it only to the spi_dev node.
[https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi?h=v6.6&id=74fb20c8f05df7a7ea5c98ca85a713758e0e59f6]
Change-Id: I05309739997f8bfbed61595e6fbc7e03e8944363
Signed-off-by: William Qiu <william.qiu@starfivetech.com>
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
|
|
Enable CONFIG_FUSE_FS configs and other missed configs.
Change-Id: I83c54355c8e7ad2ea95aadcab9bd6adad988d7eb
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Enable configurations relevant to F2FS.
Tizen is using F2FS filesystem on Headed image.
Change-Id: Ifb1eef43a774fd6f1424dc3eb14261d80cf850bb
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
If wave5_vpu_dec_open() is not called before calling
wave5_vpu_dec_clr_disp_flag(), there is null deference. Fix the
null deference by checking codec_info.
Change-Id: I1a4d9a75681df293e1f67dd4338c6f770d789223
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
To support video codec, set vdec_main and vdec_jpg clocks as
CLK_IGNORE_UNUSED.
Change-Id: I7df722cc20956d4cff68f856d0c7bf8c73fa36e7
Ref: https://github.com/starfive-tech/linux/blob/JH7110_VisionFive2_6.1.y_devel/drivers/clk/starfive/clk-starfive-jh7110-sys.c
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
Enable wave511 video codec driver as module and also enable all
depending configs.
Change-Id: I0aeb0dfc0a844a3cc17c5054df61454c3f88e5fb
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
To support video codec, wave vpu, enable related jpg, vpu_dec and
vpu_enc nodes in visionfive-2.
NOTE: Only wave511 vpu_dec is supported with wave video codec
driver because visionfive-2 vpu_enc wave420 is different from
currently supported wave521 by the driver.
Change-Id: Icdd828ce35c98eee9a90a82c69c13614e53bb970
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
Use DMA-Coherent to avoid DIRECT_REMAP when allocating DMA
buffers
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
[sw0312.kim: cherry-pick the commit dfb44f0122ba from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Ia0d3955010e963c0fb635e10081c1a2ab31155d4
|
|
Add vpu/jpu nodes for jh7110 SOC
Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
[sw0312.kim: port the commit e2d1cdfe5ff5 from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel
- Port upstream jh7110 clk and sys-reset controller macro name]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Iae673d805d9549ba96f3c08ee93ea69148f68e1e
|
|
File sifive_l2_cache.h is inexistent in sdk 6.1 version.
Signed-off-by: Som Qin <som.qin@starfivetech.com>
[sw0312.kim: cherry-pick the commit ed137a80cd88 from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel
- Change sifive cache flush function name properly]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Id9d63d72fab1ab0ddeecdb46aeaa19cb0045ed36
|
|
Signed-off-by: Som Qin <som.qin@starfivetech.com>
[sw0312.kim: cherry-pick the commit a95153b6cedf from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I526c47f67fa196e27d7e4ad5e685252e8a034989
|
|
Signed-off-by: Som Qin <som.qin@starfivetech.com>
[sw0312.kim: cherry-pick the commit 9aea96f91ea6 from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Ic2bf17247ed6ec08582d5b98b4e0be24d6a07ce0
|
|
Signed-off-by: Som Qin <som.qin@starfivetech.com>
[sw0312.kim: cherry-pick the commit b4e474a223e8 from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: If69aaf750c83daf21b57c459f576ee2200f9c40e
|
|
Signed-off-by: Som Qin <som.qin@starfivetech.com>
[sw0312.kim: cherry-pick the commit 5d74ac40d250 from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: If42384286243423071abcd9ab2107c0507bdc4e8
|
|
Signed-off-by: Som Qin <som.qin@starfivetech.com>
[sw0312.kim: cherry-pick the commit 80c6e7df80bd from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I4203a253b3c7577a5849ca2582099a2cf07985ea
|
|
Signed-off-by: Som Qin <som.qin@starfivetech.com>
[sw0312.kim: cherry-pick the commit 167fdf2d4c34 from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I31ecc8cb300d21ab95c231d14875dcac93e337a6
|
|
When bitstream format bitdepth > 8, stride of compressed frame map buffers shoule be recalculated.
Signed-off-by: Som Qin <som.qin@starfivetech.com>
[sw0312.kim: cherry-pick the commit a9830d5d01e9 from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I58b550e525c8dde7175d09c2934f4f81e08df3fc
|
|
Signed-off-by: Som Qin <som.qin@starfivetech.com>
[sw0312.kim: cherry-pick the commit 3f710b8fa137 from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel
- update sifive cache function name properly and add guard for its config option]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Ib264712e893c737a28c42a566607b7a55d7f7117
|
|
Signed-off-by: Som Qin <som.qin@starfivetech.com>
[sw0312.kim: cherry-pick the commit 6d80c00e9258 from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Ic0f74bf12580e72ba3209c766e8d167c204702c5
|
|
Signed-off-by: Som Qin <som.qin@starfivetech.com>
[sw0312.kim: cherry-pick the commit a76c4f273c26 from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I170dd61340d2da9155dda478e570828347c5bdaf
|
|
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>
[sw0312.kim: cherry-pick the commit c6cf2b7965b0 from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I4c08a4a6be0ea4f4b9900e58ad7522914f65246a
|
|
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>
[sw0312.kim: cherry-pick the commit cd9148ef1b14 from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I754cbc1e881b7ee8ff6a9c3da15cfc3f5900d1b0
|
|
Add a TODO file with remaining elements to be improved/added.
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>
Signed-off-by: Nas Chung <nas.chung@chipsnmedia.com>
[sw0312.kim: cherry-pick the commit b9ab65a219e6 from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I5249e0f04859224e17b3a1d7702093eedaf000ca
|
|
Add the decoder and encoder implementing the v4l2
API. This patch also adds the Makefile and the VIDEO_WAVE_VPU config
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>
Signed-off-by: Nas Chung <nas.chung@chipsnmedia.com>
[sw0312.kim: cherry-pick the commit 8f188e8db60e from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Ia41bd9e4afd79fb415fd69722f3c488575ea6958
|
|
Add the vpuapi layer of the wave5 codec driver.
This layer is used to configure the hardware according
to the parameters.
Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Signed-off-by: Robert Beckett <bob.beckett@collabora.com>
Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
Signed-off-by: Nas Chung <nas.chung@chipsnmedia.com>
[sw0312.kim: cherry-pick the commit 20c1678a8e65 from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I7e95e00738cc2176138c494c9929dcf5f1250eae
|
|
Prepare the folder structure for a second Chips&Media driver.
Move the Coda driver to a sub-directory.
Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com>
[sw0312.kim: cherry-pick the commit b98dc9cf7754 from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I27c82d2154c69aae68c423cc2d2a152ca6efa8b6
|
|
NBD may be used to mount root file system. To avoid problems with
delivering nbd.ko module to ramdisk, build the driver into the kernel.
Change-Id: I28002a736a8b9ecd06ed6d5ea964899d173bd30d
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Don't create ttyXX and ptyXX device nodes. Modern software uses /dev/ptmx
and /dev/pts/* nodes.
Change-Id: Ie0303e41ef4262642c59510027d134004385474b
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Enable CONFIG_MT7601U to support mediatek 7601 wireless dongle,
This driver requires the firmware, mt7601u.bin.
Change-Id: If1b07960f03afaad952af6efae8637b61e5cecd6
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
Restore onchip meory reservation of disable in_ep when hw
configuration is not done as a workaround.
Without restoring, disabling and re-enabling eps causes
check failure of onchip memory reseration size.
This fixes usb communication failure of ffs_func_set_alt()
calling usb_ep_disable() and usb_ep_enable() for all ep.
Note: for non workaround, it should calculate exact reservation
size from ep type and usb speed and should restore out_ep memory
reservation when there is no more enabled out_ep.
Change-Id: Ifca0052f96fd777036e01b9ddb7ae6af54bba911
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
To support mount fat partition without module, enable basic nls
codepages including iso8859-1, ascii, utf8.
Change-Id: Ib9c1318068c2d6d445ee592f1dc5cc3be70136cd
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
When the ffs daemons request transfer with large size buffer, the usb
subsystems below cannot filled the buffer at once and then the request
is stalled in f_fs_epfile_io function. In order to prevent this
situation, this limits maximum length of data as PAGE_SIZE.
Change-Id: Ib84b3493a56b21f33a07cf0533f8df71580b7540
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
|
|
Enable CONFIG_USB_CDNS3_STARFIVE_EXTCON to suuport usb gadget
functionality from Tizen.
Change-Id: I2b0cd4e6c34ec6a30d9d41100876ab27d5733de2
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
Add extcon usb gadget state and set usb gadget state as connected.
The cdns3-starfive usb c port in visionfive2 board only has usb
d-/d+ lines and vbus and ground lines are used for power supply.
Because of the H/W limitation, it is not possible to detect usb
c port connected state.
In Tizen, deviced configures usb gadget functions only with the
usb connected state, so, to support usb gadget functionality,
the usb state should be set.
Change-Id: I3e3a25a726c7205b3d9a5fd96d8557562bfda81f
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|
|
Change a default cpufreq governor from ondemand to schedutil.
Change-Id: I4d681ddbb0926e40fee8433f5f2924478c56fd0e
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Set PLL0 rate to 1.5GHz. Change the parent of cpu_root clock
and the divider of cpu_core before setting.
This patch is taken from patch that was posted on mailing.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Reviewed-by: Hal Feng <hal.feng@starfivetech.com>
Change-Id: Ib418a6321555c045effcb0580e0c91d80a7a2043
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
In UHD resolution, there are many cases where alloc fail due to lack
of CMA capacity. Increase CMA range to prevent cma_alloc failed.
Change-Id: I6b0c355b773b08d09381e738329b986113982768
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
|
|
Current is getting the memory size from devicetree node.
Until supporting eeprom, it needs to use the memory node.
After applied this patch, Visionfive2 is showing 8GiB.
Change-Id: Ic96c2a7d373b9fccee830f3e34bbd9a2d6a3d6c3
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Enable MEDIA_SUPPORT_FILTER to filter out unnecessary media
configs and enable only usb camera configs including gspca module.
Change-Id: Idcd217d10821467562a53a57c3783897b4363d5f
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
|