Skip to content

support TPS65086 restart #8

Closed
Closed

Description

@pdp7

@esmil has gotten TPS65086 restart working in their Linux 5.12 starlight branch working by configuring CONFIG_MFD_TPS65086 and CONFIG_POWER_RESET_TPS65086 along with:

Activity

  1. pdp7 commented on May 4, 2021

    @pdp7
    CollaboratorAuthor

    @esmil I would like to get reset working in the Fedora (v5.10) branch in this repo that Wei Fu (@tekkamanninja) created. Do you think it would make sense to cherry pick those commits from your v5.12 starlight branch?

  2. esmil commented on May 4, 2021

    @esmil
    Collaborator

    Sure. That should work fine. Just remember that you'll need to generate and use the arch/riscv/boot/dtb/starfive/jh7100-starlight.dtb. Eg. add fdt /path/to/jh7100-starlight.dtb to the entry in /boot/extlinux/extlinux.conf.

  3. macpijan commented on May 5, 2021

    @macpijan

    Commits picked on Fedora branch if anyone is interested: https://github.com/3mdeb/linux/commits/linux-starfive/Fedora%2Bbeaglev

  4. pdp7 commented on May 7, 2021

    @pdp7
    CollaboratorAuthor

    Commits picked on Fedora branch if anyone is interested: https://github.com/3mdeb/linux/commits/linux-starfive/Fedora%2Bbeaglev

    @tekkamanninja please take a look at this about adding restart driver to fedora

    @macpijan are you part of 3mdeb? this should be very helpful for Wei Fu @tekkamanninja

  5. kraj commented on May 12, 2021

    @kraj
    Contributor

    I have pushed the patches to meta-riscv and I can confirm that reboot cmd is working fine now

    riscv/meta-riscv@a680163
    riscv/meta-riscv@4d48df9

  6. pdp7 commented on May 12, 2021

    @pdp7
    CollaboratorAuthor

    @tekkamanninja can you pull this into the Fedora branch?

  7. esmil commented on May 12, 2021

    @esmil
    Collaborator

    @tekkamanninja Consider cherry-picking at least the device tree directly from my starlight branch instead. In the meantime the device tree has been cleaned up further and an entry for the LED has been added.

  8. mcd500 commented on May 13, 2021

    @mcd500
    Contributor

    @esmil has gotten TPS65086 restart working in their Linux 5.12 starlight branch working by configuring CONFIG_MFD_TPS65086 and CONFIG_POWER_RESET_TPS65086 along with:

    * [riscv: dts: Add JH7100 and BeagleV Starlight support](https://github.com/esmil/linux/commit/792f73e655d52fd4db8041c94e59b6d11f8dab34)
    
    * [power: reset: Add TPS65086 restart driver](https://github.com/esmil/linux/commit/4c4c1f23156d166d2eef87eec1b67e0a83a00eee)
    
    * [[HACK] mfd: tps65086: make interrupt line optional](https://github.com/esmil/linux/commit/d3a76b14d14402a1b28e3a01b3c0b884c114bc68)
    

    It also require the new dts for the reboot working
    riscv: dts: Add JH7100 and BeagleV Starlight support

  9. tekkamanninja commented on May 13, 2021

    @tekkamanninja
    Collaborator

    @pdp7 Great thanks to all, sure , we will push it soon

  10. 102 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions