Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

riscv: dts: rename dts for BeagleV Starlight JH7100 #24

Closed
wants to merge 54 commits into from

Commits on May 30, 2021

  1. dt-bindings: usb: cdns,usb3: Fix interrupts order

    Correct the order of the descriptions for the "interrupts" property to
    match the order of the "interrupt-names" property.
    
    Fixes: 68989fe ("dt-bindings: usb: Convert cdns-usb3.txt to YAML schema")
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    geertu authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    7df4a91 View commit details
    Browse the repository at this point in the history
  2. mmc: dw_mmc-pltfm: Remove unused <linux/clk.h>

    As of commit 4cdc2ec ("mmc: dw_mmc: move rockchip related code
    to a separate file"), dw_mmc-pltfm.c no longer uses the clock API.
    
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    geertu authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    b6e4694 View commit details
    Browse the repository at this point in the history
  3. riscv: mm: Fix W+X mappings at boot

    When the kernel mapping was moved the last 2GB of the address space,
    (__va(PFN_PHYS(max_low_pfn))) is much smaller than the .data section
    start address, the last set_memory_nx() in protect_kernel_text_data()
    will fail, thus the .data section is still mapped as W+X. This results
    in below W+X mapping waring at boot. Fix it by passing the correct
    .data section page num to the set_memory_nx().
    
    [    0.396516] ------------[ cut here ]------------
    [    0.396889] riscv/mm: Found insecure W+X mapping at address (____ptrval____)/0xffffffff80c00000
    [    0.398347] WARNING: CPU: 0 PID: 1 at arch/riscv/mm/ptdump.c:258 note_page+0x244/0x24a
    [    0.398964] Modules linked in:
    [    0.399459] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.13.0-rc1+ #14
    [    0.400003] Hardware name: riscv-virtio,qemu (DT)
    [    0.400591] epc : note_page+0x244/0x24a
    [    0.401368]  ra : note_page+0x244/0x24a
    [    0.401772] epc : ffffffff80007c86 ra : ffffffff80007c86 sp : ffffffe000e7bc30
    [    0.402304]  gp : ffffffff80caae88 tp : ffffffe000e70000 t0 : ffffffff80cb80cf
    [    0.402800]  t1 : ffffffff80cb80c0 t2 : 0000000000000000 s0 : ffffffe000e7bc80
    [    0.403310]  s1 : ffffffe000e7bde8 a0 : 0000000000000053 a1 : ffffffff80c83ff0
    [    0.403805]  a2 : 0000000000000010 a3 : 0000000000000000 a4 : 6c7e7a5137233100
    [    0.404298]  a5 : 6c7e7a5137233100 a6 : 0000000000000030 a7 : ffffffffffffffff
    [    0.404849]  s2 : ffffffff80e00000 s3 : 0000000040000000 s4 : 0000000000000000
    [    0.405393]  s5 : 0000000000000000 s6 : 0000000000000003 s7 : ffffffe000e7bd48
    [    0.405935]  s8 : ffffffff81000000 s9 : ffffffffc0000000 s10: ffffffe000e7bd48
    [    0.406476]  s11: 0000000000001000 t3 : 0000000000000072 t4 : ffffffffffffffff
    [    0.407016]  t5 : 0000000000000002 t6 : ffffffe000e7b978
    [    0.407435] status: 0000000000000120 badaddr: 0000000000000000 cause: 0000000000000003
    [    0.408052] Call Trace:
    [    0.408343] [<ffffffff80007c86>] note_page+0x244/0x24a
    [    0.408855] [<ffffffff8010c5a6>] ptdump_hole+0x14/0x1e
    [    0.409263] [<ffffffff800f65c6>] walk_pgd_range+0x2a0/0x376
    [    0.409690] [<ffffffff800f6828>] walk_page_range_novma+0x4e/0x6e
    [    0.410146] [<ffffffff8010c5f8>] ptdump_walk_pgd+0x48/0x78
    [    0.410570] [<ffffffff80007d66>] ptdump_check_wx+0xb4/0xf8
    [    0.410990] [<ffffffff80006738>] mark_rodata_ro+0x26/0x2e
    [    0.411407] [<ffffffff8031961e>] kernel_init+0x44/0x108
    [    0.411814] [<ffffffff80002312>] ret_from_exception+0x0/0xc
    [    0.412309] ---[ end trace 7ec3459f2547ea83 ]---
    [    0.413141] Checked W+X mappings: failed, 512 W+X pages found
    
    Fixes: 2bfc6cd ("riscv: Move kernel mapping outside of linear mapping")
    Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
    xhackerustc authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    2302a75 View commit details
    Browse the repository at this point in the history
  4. mm: add a signature in struct page

    This is needed by the page_pool to avoid recycling a page not allocated
    via page_pool.
    
    The page->signature field is aliased to page->lru.next and
    page->compound_head, but it can't be set by mistake because the
    signature value is a bad pointer, and can't trigger a false positive
    in PageTail() because the last bit is 0.
    
    Co-developed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
    Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
    Signed-off-by: Matteo Croce <mcroce@microsoft.com>
    teknoraver authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    0d8671d View commit details
    Browse the repository at this point in the history
  5. skbuff: add a parameter to __skb_frag_unref

    This is a prerequisite patch, the next one is enabling recycling of
    skbs and fragments. Add an extra argument on __skb_frag_unref() to
    handle recycling, and update the current users of the function with that.
    
    Signed-off-by: Matteo Croce <mcroce@microsoft.com>
    teknoraver authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    f9193c9 View commit details
    Browse the repository at this point in the history
  6. page_pool: Allow drivers to hint on SKB recycling

    Up to now several high speed NICs have custom mechanisms of recycling
    the allocated memory they use for their payloads.
    Our page_pool API already has recycling capabilities that are always
    used when we are running in 'XDP mode'. So let's tweak the API and the
    kernel network stack slightly and allow the recycling to happen even
    during the standard operation.
    The API doesn't take into account 'split page' policies used by those
    drivers currently, but can be extended once we have users for that.
    
    The idea is to be able to intercept the packet on skb_release_data().
    If it's a buffer coming from our page_pool API recycle it back to the
    pool for further usage or just release the packet entirely.
    
    To achieve that we introduce a bit in struct sk_buff (pp_recycle:1) and
    a field in struct page (page->pp) to store the page_pool pointer.
    Storing the information in page->pp allows us to recycle both SKBs and
    their fragments.
    We could have skipped the skb bit entirely, since identical information
    can bederived from struct page. However, in an effort to affect the free path
    as less as possible, reading a single bit in the skb which is already
    in cache, is better that trying to derive identical information for the
    page stored data.
    
    The driver or page_pool has to take care of the sync operations on it's own
    during the buffer recycling since the buffer is, after opting-in to the
    recycling, never unmapped.
    
    Since the gain on the drivers depends on the architecture, we are not
    enabling recycling by default if the page_pool API is used on a driver.
    In order to enable recycling the driver must call skb_mark_for_recycle()
    to store the information we need for recycling in page->pp and
    enabling the recycling bit, or page_pool_store_mem_info() for a fragment.
    
    Co-developed-by: Jesper Dangaard Brouer <brouer@redhat.com>
    Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
    Co-developed-by: Matteo Croce <mcroce@microsoft.com>
    Signed-off-by: Matteo Croce <mcroce@microsoft.com>
    Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
    apalos authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    dc06f56 View commit details
    Browse the repository at this point in the history
  7. stmmac: recycle buffers

    Signed-off-by: Matteo Croce <mcroce@microsoft.com>
    teknoraver authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    0bed5fc View commit details
    Browse the repository at this point in the history
  8. stmmac: use GFP_DMA32

    Signed-off-by: Matteo Croce <mcroce@microsoft.com>
    teknoraver authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    20f3678 View commit details
    Browse the repository at this point in the history
  9. gpio: starfive-vic: Add StarFive VIC GPIO driver

    Note: include Update GPIO driver[v0.9->v1.0]
          improves the module init and exit function to make sure that the
          driver can be initialized earlier than other drivers which need to
          use GPIO.
    
    Signed-off-by: Huan Feng <huan.feng@starfivetech.com>
    Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
    huanfeng-sf authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    76ffc62 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    fcf3721 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    453d751 View commit details
    Browse the repository at this point in the history
  12. hwmon: (sfctemp) Add Starfive JH7100 temperature sensor

    Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
    SaminGuo authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    ff732cb View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    4ea4f7a View commit details
    Browse the repository at this point in the history
  14. sifive/sifive_l2_cache: Add Starfive support

    Tom authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    841ff8c View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    a9e2805 View commit details
    Browse the repository at this point in the history
  16. sifive/sifive_l2_cache: Print a backtrace on out-of-range flushes

    This makes it easier to find out which driver passes a wrong address
    range.
    
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    geertu authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    b71b73f View commit details
    Browse the repository at this point in the history
  17. drivers/pwm: Add SiFive PWM PTC driver

    Chenjieqin authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    9c32e9e View commit details
    Browse the repository at this point in the history
  18. drivers/pwm/pwm-sifive-ptc: Clear PWM CNTR

    Clear CNTR of PWM after setting period & duty_cycle
    yiming.li authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    e224415 View commit details
    Browse the repository at this point in the history
  19. drivers/dma: Add dw-axi-dmac-starfive driver for VIC7100

    Tom authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    80969dd View commit details
    Browse the repository at this point in the history
  20. drivers/i2c: Improve Synopsys DesignWare I2C adapter driver for StarF…

    …ive VIC7100
    Tom authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    a776666 View commit details
    Browse the repository at this point in the history
  21. drivers/i2c: Add GPIO configuration for VIC7100.

    [FIXME] why we can not do it in U-boot?
    
    [geert: Rebase to v5.13-rc1]
    Tom authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    1586e04 View commit details
    Browse the repository at this point in the history
  22. net: stmmac: Add dcache flush functions for JH7100

    Note: including uSDK v0.9->v1.0 patch
    
    [geert: Rebase to v5.13-rc1]
    Warnings fixed by Matteo.
    
    Signed-off-by: Matteo Croce <mcroce@microsoft.com>
    Tom authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    e2418d1 View commit details
    Browse the repository at this point in the history
  23. net: stmmac: Configure gtxclk based on speed

    Tom authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    abe43ef View commit details
    Browse the repository at this point in the history
  24. drivers/mmc/host/dw_mmc: Add dcache flush(VIC7100 ONLY).

    Tom authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    3d848a5 View commit details
    Browse the repository at this point in the history
  25. drivers/usb: Add dcache flush(VIC7100 ONLY)

    drivers/usb/cdns3/
    drivers/usb/core/
    drivers/usb/host/
    include/linux/usb.h
    
    [geert: Rebase to v5.13-rc1]
    Tom authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    4442499 View commit details
    Browse the repository at this point in the history
  26. drivers/usb: Don't flush NULL values

    When plugging in USB storage we get many warning reports such as:
    
        L2CACHE: flush64 out of range: 2080200000(20000), skip flush
        L2CACHE: flush64 out of range: 2080200000(20000), skip flush
    
    Adding some debug statements points to the following stack trace:
    
        Call Trace:
        [<ffffffff803a2c36>] sifive_l2_flush64_range+0x8e/0xaa
        [<ffffffff804ea6f4>] uas_alloc_data_urb.constprop.0+0x72/0xb2
        [<ffffffff804ea876>] uas_submit_urbs+0x142/0x3ce
        [<ffffffff804eacb6>] uas_queuecommand+0xe2/0x1f6
        [<ffffffff80437352>] scsi_queue_rq+0x2f2/0x7de
        [<ffffffff802f8572>] blk_mq_dispatch_rq_list+0xd8/0x6fa
        [<ffffffff802fd998>] __blk_mq_sched_dispatch_requests+0xd4/0x146
        [<ffffffff802fdb2a>] blk_mq_sched_dispatch_requests+0x2c/0x56
        [<ffffffff802f700e>] __blk_mq_run_hw_queue+0x4c/0x74
        [<ffffffff802f71be>] __blk_mq_delay_run_hw_queue+0x188/0x18e
        [<ffffffff802f845e>] blk_mq_run_hw_queue+0x6c/0xa8
        ...
    
    The issue is that uas_alloc_data_urb() calls usb_fill_bulk_urb() with a
    NULL buffer pointer and the dcache flush code tries to flush it causing
    the above warnings.
    
    This patch adds a check to ignore flush requests for NULL and 0 values.
    
    Fixes: 1ab9c4c ("drivers/usb: Add dcache flush(VIC7100 ONLY)")
    Signed-off-by: Stafford Horne <shorne@gmail.com>
    stffrdhrn authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    cd9bd81 View commit details
    Browse the repository at this point in the history
  27. riscv/starfive: Add VIC7100 support

    Tom authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    9881824 View commit details
    Browse the repository at this point in the history
  28. drivers/video/fbdev and drivers/media/platform: starfive drivers added

    1, add ov5640&sc2235 drivers, update stf_isp
    2, add MIPI/CSI/DSI drivers for VIC7100
    jackzhustf authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    e7a711e View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    ee35b16 View commit details
    Browse the repository at this point in the history
  30. video: fbdev: starfive: workaround for unavailable pointer of dtb

    Fix sf_fb_map_video_memory in starfive_fb.c
    jackzhustf authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    c179d3f View commit details
    Browse the repository at this point in the history
  31. video: fbdev: starfive: fix compiler warnings

    Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
    esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    5b7437a View commit details
    Browse the repository at this point in the history
  32. video: fbdev: starfive: improve error handling

    Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
    esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    487773d View commit details
    Browse the repository at this point in the history
  33. video: fbdev: starfive: fix modpost build error (missing license)

    Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
    sarnold authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    f888440 View commit details
    Browse the repository at this point in the history
  34. video: fbdev: starfive: fix fb bug about HDMI display

    Qing Zhao authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    d7781c4 View commit details
    Browse the repository at this point in the history
  35. video: fbdev: starfive: FB_STARFIVE_HDMI_TDA998X depends on DRM_FBDEV…

    …_EMULATION
    
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L0 ':
    tda998x.c:(.text+0x51c): undefined reference to `drm_encoder_cleanup'
    riscv64-linux-gnu-ld: tda998x.c:(.text+0x534): undefined reference to `drm_encoder_cleanup'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L75':
    tda998x.c:(.text+0x564): undefined reference to `drm_of_find_possible_crtcs'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `tda998x_encoder_destroy':
    tda998x.c:(.text+0x58a): undefined reference to `drm_encoder_init'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `tda998x_bind':
    tda998x.c:(.text+0x5b2): undefined reference to `drm_bridge_attach'
    riscv64-linux-gnu-ld: tda998x.c:(.text+0x5c0): undefined reference to `drm_encoder_cleanup'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L0 ':
    tda998x.c:(.text+0x692): undefined reference to `drm_bridge_remove'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L124':
    tda998x.c:(.text+0x904): undefined reference to `hdmi_infoframe_pack'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L135':
    tda998x.c:(.text+0x9e8): undefined reference to `drm_connector_cleanup'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L0 ':
    tda998x.c:(.text+0xa00): undefined reference to `drm_connector_cleanup'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L143':
    tda998x.c:(.text+0xa56): undefined reference to `drm_connector_init'
    riscv64-linux-gnu-ld: tda998x.c:(.text+0xa66): undefined reference to `drm_connector_attach_encoder'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `tda998x_bridge_detach':
    tda998x.c:(.text+0xa8a): undefined reference to `__drm_err'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L189':
    tda998x.c:(.text+0xd16): undefined reference to `drm_do_get_edid'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L0 ':
    tda998x.c:(.text+0xd34): undefined reference to `drm_connector_update_edid_property'
    riscv64-linux-gnu-ld: tda998x.c:(.text+0xd4e): undefined reference to `drm_add_edid_modes'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L165':
    tda998x.c:(.text+0xd5a): undefined reference to `drm_detect_monitor_audio'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L0 ':
    tda998x.c:(.text+0xfb0): undefined reference to `__drm_dbg'
    riscv64-linux-gnu-ld: tda998x.c:(.text+0x108a): undefined reference to `drm_kms_helper_hotplug_event'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L283':
    tda998x.c:(.text+0x1844): undefined reference to `drm_hdmi_avi_infoframe_from_display_mode'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.L361':
    tda998x.c:(.text+0x2078): undefined reference to `drm_bridge_add'
    riscv64-linux-gnu-ld: drivers/video/fbdev/starfive/tda998x.o: in function `.LANCHOR0':
    tda998x.c:(.rodata+0x90): undefined reference to `drm_helper_connector_dpms'
    riscv64-linux-gnu-ld: tda998x.c:(.rodata+0x98): undefined reference to `drm_atomic_helper_connector_reset'
    riscv64-linux-gnu-ld: tda998x.c:(.rodata+0xb0): undefined reference to `drm_helper_probe_single_connector_modes'
    riscv64-linux-gnu-ld: tda998x.c:(.rodata+0xd8): undefined reference to `drm_atomic_helper_connector_duplicate_state'
    riscv64-linux-gnu-ld: tda998x.c:(.rodata+0xe0): undefined reference to `drm_atomic_helper_connector_destroy_state'
    
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    geertu authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    54217f2 View commit details
    Browse the repository at this point in the history
  36. video: fbdev: starfive: Fix frame buffer reserved memory resource con…

    …flict
    
        starfive,vpp-lcdc 12000000.sfivefb: can't request region for resource [mem 0xfb000000-0xfcffffff]
        starfive,vpp-lcdc 12000000.sfivefb: Fail to allocate video RAM
        starfive,vpp-lcdc 12000000.sfivefb: starfive fb init fail
        starfive,vpp-lcdc 12000000.sfivefb: fb info init FAIL
        starfive,vpp-lcdc: probe of 12000000.sfivefb failed with error -16
    
    devm_ioremap_resource() calls devm_request_mem_region(), which fails as
    the reserved memory for the frame buffer is already present in the
    resource list, cfr. /proc/iomem:
    
        fb000000-fcffffff : Reserved
    
    Fix this by mapping the frame buffer memory using devm_ioremap().
    
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    geertu authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    1d075fe View commit details
    Browse the repository at this point in the history
  37. spi: cadence-quadspi: Allow compilation on RISC-V

    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>
    esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    73edad7 View commit details
    Browse the repository at this point in the history
  38. drivers/dma: Fix VIC7100 dw-axi-dmac-platform driver addition

    Descriptor management was simplified with commit:
    https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ef6fb2d6f1abd56cc067c694253ea362159b5ac3
    
    Code added to dw-axi-dmac-platform driver due to VIC7100 Cache Coherency
    issues needed follow those changes.
    
    Signed-off-by: Michael Scott <mike@foundries.io>
    mike-scott authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    41616ec View commit details
    Browse the repository at this point in the history
  39. [HACK] mfd: tps65086: make interrupt line optional

    The BeagleV Starlight v0.9 board doesn't have the IRQB line from the
    pmic routed to the SoC, so this hack is needed to allow the driver
    to be loaded without it. See
    beagleboard/beaglev-starlight#14
    
    Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
    esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    53498cf View commit details
    Browse the repository at this point in the history
  40. power: reset: Add TPS65086 restart driver

    Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
    esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    1d8c8ef View commit details
    Browse the repository at this point in the history
  41. [WIP] dt-bindings: dma: dw-axi-dmac: Increase DMA channel limit to 16

    The first DMAC instance in the StarFive JH7100 SoC supports 16 DMA
    channels.
    
    FIXME Given there are more changes to the driver than just increasing
          DMAC_MAX_CHANNELS, we probably need a new compatible value, too.
    
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    geertu authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    460b4e7 View commit details
    Browse the repository at this point in the history
  42. riscv: dts: Add JH7100 and BeagleV Starlight support

    This is the device tree from https://github.com/starfive-tech/u-boot/
    Rearranged, cleanups, fixes and TPS65086 added by Emil.
    Cleanups, fixes and LED added by Geert.
    Thermal zone added by Stephen.
    
    Signed-off-by: yanhong.wang <yanhong.wang@starfivetech.com>
    Signed-off-by: Huan.Feng <huan.feng@starfivetech.com>
    Signed-off-by: ke.zhu <ke.zhu@starfivetech.com>
    Signed-off-by: yiming.li <yiming.li@starfivetech.com>
    Signed-off-by: jack.zhu <jack.zhu@starfivetech.com>
    Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
    Signed-off-by: Chenjieqin <Jessica.Chen@starfivetech.com>
    Signed-off-by: bo.li <bo.li@starfivetech.com>
    Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
    TekkamanV authored and esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    6e5931d View commit details
    Browse the repository at this point in the history
  43. [Not for upstream] Add build instructions

    For convenience this also adds a small starlight_defconfig and the
    firmware needed for the brcmfmac driver along with the signed regulatory
    database.
    
    The firmware is from the linux-firmware repo and the regulatory database
    from the wireless-regdb Fedora package.
    
    Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
    Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
    esmil committed May 30, 2021
    Configuration menu
    Copy the full SHA
    d6cc5db View commit details
    Browse the repository at this point in the history

Commits on May 31, 2021

  1. dt-bindings: add StarFive Technology Co. Ltd.

    Add vendor prefix for StarFive Technology Co. Ltd [1]. StarFive was
    formed in 2018 and has now produced their first SoC, the JH7100, which
    contains 64-bit RISC-V cores [2]. It used in the BeagleV Starlight [3].
    
    [1] https://starfivetech.com/site/company
    [2] https://github.com/beagleboard/beaglev-starlight
    [3] https://github.com/starfive-tech/beaglev_doc
    
    Signed-off-by: Drew Fustini <drew@beagleboard.org>
    pdp7 committed May 31, 2021
    Configuration menu
    Copy the full SHA
    ef95a87 View commit details
    Browse the repository at this point in the history
  2. dt-bindings: gpio: add starfive,jh7100-gpio bindings

    Add bindings for the GPIO controller in the StarFive JH7100 SoC [1].
    
    [1] https://github.com/starfive-tech/beaglev_doc
    
    Signed-off-by: Drew Fustini <drew@beagleboard.org>
    pdp7 committed May 31, 2021
    Configuration menu
    Copy the full SHA
    a6d9548 View commit details
    Browse the repository at this point in the history
  3. gpio: starfive-jh7100: rename from VIC to JH7100

    VIC was a StarFive internal project name, thus rename to JH7100 which is
    the public SoC name [1]. This is SoC is used on the BeagleV Starlight
    JH7100 board [2].
    
    [1] https://github.com/starfive-tech/beaglev_doc
    [2] https://github.com/beagleboard/beaglev-starlight
    
    Signed-off-by: Drew Fustini <drew@beagleboard.org>
    pdp7 committed May 31, 2021
    Configuration menu
    Copy the full SHA
    58cfdc8 View commit details
    Browse the repository at this point in the history
  4. gpio: starfive-jh7100: fix checkpatch warnings

    Signed-off-by: Drew Fustini <drew@beagleboard.org>
    pdp7 committed May 31, 2021
    Configuration menu
    Copy the full SHA
    1286ba3 View commit details
    Browse the repository at this point in the history
  5. gpio: starfive-jh7100: add SPDX-License-Identifier

    Add SPDX-License-Identifier and reformat copyright information
    
    Signed-off-by: Drew Fustini <drew@beagleboard.org>
    pdp7 committed May 31, 2021
    Configuration menu
    Copy the full SHA
    6597905 View commit details
    Browse the repository at this point in the history
  6. gpio: starfive-jh7100: rename gpio compatible

    Rename gpio controller compatible from "starfive,gpio0" to
    "starfive,jh7100"
    
    Signed-off-by: Drew Fustini <drew@beagleboard.org>
    pdp7 committed May 31, 2021
    Configuration menu
    Copy the full SHA
    8590af8 View commit details
    Browse the repository at this point in the history
  7. riscv: dts: starfive-jh7100: rename gpio compatible

    Rename gpio controller compatible from "starfive,gpio0" to
    "starfive,jh7100"
    
    Signed-off-by: Drew Fustini <drew@beagleboard.org>
    pdp7 committed May 31, 2021
    Configuration menu
    Copy the full SHA
    d567ae8 View commit details
    Browse the repository at this point in the history
  8. riscv: dts: starfive-jh7100: add SPDX-License-Identifier

    Add SPDX-License-Identifier and copyright information
    
    Signed-off-by: Drew Fustini <drew@beagleboard.org>
    pdp7 committed May 31, 2021
    Configuration menu
    Copy the full SHA
    7ed9759 View commit details
    Browse the repository at this point in the history
  9. riscv: dts: starfive-jh7100: remove reg-names from gpio node

    Remove the uneeded reg-names property from the gpio controller node.
    
    Signed-off-by: Drew Fustini <drew@beagleboard.org>
    pdp7 committed May 31, 2021
    Configuration menu
    Copy the full SHA
    76e4a97 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2021

  1. riscv: dts: rename dts for BeagleV Starlight JH7100

    Rename the dts file from jh7100-starlight.dts to the more accurate name
    of jh7100-beaglev-starlight.dts
    
    Signed-off-by: Drew Fustini <drew@beagleboard.org>
    pdp7 committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    b6f42e2 View commit details
    Browse the repository at this point in the history
  2. [Not for upstream] update instructions for dtb rename

    Update the build instructions to use jh7100-beaglev-starlight.dtb
    
    Signed-off-by: Drew Fustini <drew@beagleboard.org>
    pdp7 committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    a39b698 View commit details
    Browse the repository at this point in the history