summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-08-07Media:Wave5: Fix driver compile warningSom Qin1-1/+0
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-07Merge branch 'CR_6852_wave5_v4l2_Som.Qin' into 'jh7110-5.15.y-devel'andy.hu22-0/+11280
CR 6852 media: add wave5 v4l2 driver from mail list See merge request sdk/linux!937
2023-08-07Merge branch 'CR_6414_gpu_shanlong.li' into 'jh7110-5.15.y-devel'andy.hu1-1/+1
CR_6414: driver:gpu: remove the condition check of fences See merge request sdk/linux!933
2023-08-07driver:gpu: remove the condition check of fencesshanlong.li1-1/+1
run gl-marke-es2-wayland will trigger warning, to fix up it, we remove fences check Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2023-08-03Media:Wave5: Vpu driver in jh7110deconfig builded as module, not buildin.Som Qin1-1/+1
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-03Media:Wave5: Add contiguous planes format support (YUV420/NV12/NV21)Som Qin2-9/+9
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-03Media:wave5: Driver get clks from DTS instead of hard coding.Som Qin1-30/+8
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-03Media:wave5: Fix stride mismatching of decoding frame buffersSom Qin1-1/+8
When bitstream format bitdepth > 8, stride of compressed frame map buffers shoule be recalculated. Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-03Media:wave5: wave5 v4l2 driver support gst/ffmpegSom Qin5-64/+169
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-03Media:wave5: set default format for display_fmtSom Qin1-0/+1
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-03media: add wave511 v4l2 support for starfive platfromSom Qin9-49/+163
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-03media: add wave5 v4l2 driver from mail listSom Qin22-0/+11075
Signed-off-by: Som Qin <som.qin@starfivetech.com>
2023-08-03Merge branch 'CR_6864_SD_515_william.qiu' into 'vf2-515-devel'VF2_v3.4.5andy.hu1-0/+1
CR_6864: riscv: dts: starfive: change sd speed mode to highspeed See merge request sbc/linux!148
2023-08-03Merge tag 'JH7110_515_SDK_v5.4.4' into vf2-515-develAndy Hu2-0/+66
2023-08-02Merge branch 'CR_6781_MMC_515_william.qiu' into 'jh7110-5.15.y-devel'andy.hu2-9/+47
CR_6781:mmc: starfive: Unify the MMC code on evb/vf2/devkits See merge request sdk/linux!934
2023-08-02riscv: dts: starfive: change sd speed mode to highspeedWilliam Qiu1-0/+1
change sd speed mode to highspeed Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2023-08-02riscv: dts: starfive: add property to divide boardWilliam Qiu1-0/+1
add property to divide board Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2023-08-02mmc: starfive: Unify the MMC code on evb/vf2/devkitsWilliam Qiu1-9/+46
Unify the MMC code on evb/vf2/devkits to resolve conflicts when merging the code. Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2023-07-27Merge tag 'JH7110_515_SDK_v5.4.2' into vf2-515-develAndy Hu13-98/+64
2023-07-27Merge branch 'CR_6570_SDBOOT_william' into 'vf2-515-devel'andy.hu1-1/+5
CR_6570: mmc: starfive: change the tuning method See merge request sbc/linux!139
2023-07-26Merge branch 'CR_6570_SDBOOT_william.qiu' into 'jh7110-5.15.y-devel'andy.hu12-92/+58
CR_6570: mmc: starfive: change the tuning method See merge request sdk/linux!928
2023-07-26riscv: dts: starfive: limit cclk in frequencyWilliam Qiu1-1/+5
The frequency of cclk_in is limited to 50M, so that it does not do internal part frequency and goes by-pass mode. Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2023-07-26Merge branch 'CR_6097_CAN_515_william.qiu' into 'jh7110-5.15.y-devel'andy.hu1-6/+6
CR_6097_515: ipms: can: modify the range of tseg1/tseg2 See merge request sdk/linux!929
2023-07-26ipms: can: modify the range of tseg1/tseg2William Qiu1-6/+6
modify the range of tseg1/tseg2 Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2023-07-26riscv: dts: starfive: limit cclk in frequencyWilliam Qiu11-16/+21
The frequency of cclk_in is limited to 50M, so that it does not do internal part frequency and goes by-pass mode. And delete syscon node. Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2023-07-26mmc: starfive: change the tuning methodWilliam Qiu1-76/+37
Previously, the system controller register was used to do tuning, but it was only useful for HS200, so now change the tuning mode to use the UHS_REG_EXT register, and delete the previous code about syscon Signed-off-by: William Qiu <william.qiu@starfivetech.com>
2023-07-20Merge tag 'JH7110_515_SDK_v5.4.1' into vf2-515-develAndy Hu2-17/+7
2023-07-20Merge branch 'CR_6485_hifi_vf2_dts_515_carter.li' into 'vf2-515-devel'andy.hu1-4/+5
CR_6485: dts:hifi4: change hifi4 firmware memory space in jh7110-visionfive-v2.dtsi See merge request sbc/linux!135
2023-07-20Merge branch 'CR_6548_e24_5.15_shanlong.li' into 'vf2-515-devel'andy.hu1-2/+2
CR_6548: dts: e24: update e24 dts in vf2 See merge request sbc/linux!136
2023-07-20Merge branch 'CR_6590_mailbox_5.15_shanlong.li' into 'jh7110-5.15.y-devel'andy.hu1-6/+7
CR_6590 :dts:mailbox: update mailbox test dts See merge request sdk/linux!926
2023-07-19Merge branch 'CR_6523_5.15_mailbox_shanlong.li' into 'jh7110-5.15.y-devel'andy.hu1-11/+0
CR_6523: driver:mailbox:fix up compile warning See merge request sdk/linux!921
2023-07-19dts: e24: update e24 dts in vf2shanlong.li1-2/+2
update e24 dts in vf2 Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2023-07-18dts:mailbox: update mailbox test dtsshanlong.li1-6/+7
update mailbox test dts Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2023-07-17CR_6485: dts:hifi4: change hifi4 firmware memory space in ↵carter.li1-4/+5
jh7110-visionfive-v2.dtsi dts patch didn's apply fully, add this commit for other part of dts patch. Signed-off-by: carter.li <carter.li@starfivetech.com>
2023-07-13driver:mailbox:fix up compile warningshanlong.li1-11/+0
remove unused function Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
2023-07-13Merge branch 'CR_5623_1GDDR_samin.guo' into 'vf2-515-devel'andy.hu1-1/+1
CR5623: dts: starfive: vf2: Adjust the CMA start address See merge request sbc/linux!134
2023-07-13Merge tag 'JH7110_515_SDK_v5.4.0' into vf2-515-develAndy Hu7-19/+20
2023-07-12Merge branch 'CR_6485_hifi4_evb_dts_5.15_carter.li' into 'jh7110-5.15.y-devel'andy.hu2-6/+6
CR_6485: dts:hifi4: change hifi4 firmware memory space See merge request sdk/linux!916
2023-07-12dts:hifi4: change hifi4 firmware memory spacecarter.li2-6/+6
change hifi4 firmware memory space according to 5623. Signed-off-by: carter.li <carter.li@starfivetech.com>
2023-07-12Merge branch 'CR_6469_Fix_kernel_warning_mason.huo' into 'jh7110-5.15.y-devel'andy.hu2-4/+3
CR_6469 Fix_kernel_warning See merge request sdk/linux!910
2023-07-12Merge branch 'CR_6468_vin_515_changhuang.liang' into 'jh7110-5.15.y-devel'andy.hu1-1/+1
CR_6468_vin_515_changhuang.liang media: starfive: Fix vin warning See merge request sdk/linux!917
2023-07-12Merge branch 'CR_6472_evb_5.15_vout_shengyang.chen' into 'jh7110-5.15.y-devel'andy.hu1-0/+2
CR_6472_5.15: vout:riscv:driver fix vout compile warning See merge request sdk/linux!912
2023-07-12Merge branch 'CR_6466_fix_dma_warning_smain.guo' into 'jh7110-5.15.y-devel'andy.hu2-2/+2
CR6466: dmaengine: dw-axi-dmac-starfive-misc: Fix incorrect parameters See merge request sdk/linux!908
2023-07-12Merge branch 'CR_5623_1GDDR_samin.guo' into 'jh7110-5.15.y-devel'andy.hu1-1/+1
CR5623:Adjust the CMA start address See merge request sdk/linux!905
2023-07-12Merge branch 'CR_6409_e24_evb_dts5.15_shanlong.li' into 'jh7110-5.15.y-devel'andy.hu2-5/+5
CR_6409: dts:e24: update e24 dts config See merge request sdk/linux!904
2023-07-10vout:riscv:driver fix vout compile warningshengyang.chen1-0/+2
fix vout compile warning Signed-off-by: Shengyang Chen <shengyang.chen@starfivetech.com>
2023-07-10media: starfive: Fix vin warningChanghuang Liang1-1/+1
Fix vin warning. Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com>
2023-07-10etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overeadKees Cook1-3/+2
With GCC 12, -Wstringop-overread was warning about an implicit cast from char[6] to char[8]. However, the extra 2 bytes are always thrown away, alignment doesn't matter, and the risk of hitting the edge of unallocated memory has been accepted, so this prototype can just be converted to a regular char *. Silences: net/core/dev.c: In function ‘bpf_prog_run_generic_xdp’: net/core/dev.c:4618:21: warning: ‘ether_addr_equal_64bits’ reading 8 bytes from a region of size 6 [-Wstringop-overread] 4618 | orig_host = ether_addr_equal_64bits(eth->h_dest, > skb->dev->dev_addr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net/core/dev.c:4618:21: note: referencing argument 1 of type ‘const u8[8]’ {aka ‘const unsigned char[8]’} net/core/dev.c:4618:21: note: referencing argument 2 of type ‘const u8[8]’ {aka ‘const unsigned char[8]’} In file included from net/core/dev.c:91: include/linux/etherdevice.h:375:20: note: in a call to function ‘ether_addr_equal_64bits’ 375 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2], | ^~~~~~~~~~~~~~~~~~~~~~~ Reported-by: Marc Kleine-Budde <mkl@pengutronix.de> Tested-by: Marc Kleine-Budde <mkl@pengutronix.de> Link: https://lore.kernel.org/netdev/20220212090811.uuzk6d76agw2vv73@pengutronix.de Cc: Jakub Kicinski <kuba@kernel.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: netdev@vger.kernel.org Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
2023-07-10mm: page_alloc: fix building error on -Werror=array-compareXiongwei Song1-1/+1
Arthur Marsh reported we would hit the error below when building kernel with gcc-12: CC mm/page_alloc.o mm/page_alloc.c: In function `mem_init_print_info': mm/page_alloc.c:8173:27: error: comparison between two arrays [-Werror=array-compare] 8173 | if (start <= pos && pos < end && size > adj) \ | In C++20, the comparision between arrays should be warned. Link: https://lkml.kernel.org/r/20211125130928.32465-1-sxwjean@me.com Signed-off-by: Xiongwei Song <sxwjean@gmail.com> Reported-by: Arthur Marsh <arthur.marsh@internode.on.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2023-07-10riscv: jh7110: Fix dwmac max-burst-lenSamin Guo1-1/+1
If DMA uses Sysport transport, the maximum burst-len is 15. Signed-off-by: Samin Guo <samin.guo@starfivetech.com>