Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Enable TPS65086 restart interrupt #14

Closed
pdp7 opened this issue May 4, 2021 · 2 comments
Closed

Enable TPS65086 restart interrupt #14

pdp7 opened this issue May 4, 2021 · 2 comments

Comments

@pdp7
Copy link
Contributor

pdp7 commented May 4, 2021

@esmil worked on TPS65086 restart in their Linux 5.12 branch and noticed that it would work better if the interrupt line from the TPS65086 was connected.

@esmil could you describe in more detail?

We will try to fix in the next PCB spin.

@esmil
Copy link

esmil commented May 4, 2021

The TPS65086 has an output pin IRQB (open-drain, needs pull-up) to signal an interrupts. This should be routed to a GPIO pin on the SoC that can be set up to generate an interrupt when the TPS65086 pulls the line low.

Note however, that 7V is needed on IRQB when programming the OTP memory on the TPS65086, so if this might damage the SoC and the TPS65085 is programmed in-circuit some solution must be found.

(Btw. thanks for the consideration, but him/his is fine. I'm just a regular boring straight white nerd :P)

esmil added a commit to esmil/linux that referenced this issue May 8, 2021
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 added a commit to esmil/linux that referenced this issue May 10, 2021
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 added a commit to esmil/linux that referenced this issue May 11, 2021
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 added a commit to esmil/linux that referenced this issue May 11, 2021
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 added a commit to esmil/linux that referenced this issue May 12, 2021
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 added a commit to esmil/linux that referenced this issue May 12, 2021
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 added a commit to esmil/linux that referenced this issue May 14, 2021
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 added a commit to esmil/linux that referenced this issue May 14, 2021
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 added a commit to esmil/linux that referenced this issue May 17, 2021
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>
sarnold pushed a commit to VCTLabs/linux-starfive that referenced this issue May 18, 2021
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 added a commit to esmil/linux that referenced this issue May 18, 2021
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 added a commit to esmil/linux that referenced this issue May 19, 2021
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 added a commit to esmil/linux that referenced this issue May 22, 2021
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 added a commit to esmil/linux that referenced this issue May 23, 2021
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 added a commit to esmil/linux that referenced this issue May 24, 2021
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 added a commit to esmil/linux that referenced this issue May 26, 2021
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 added a commit to esmil/linux that referenced this issue May 30, 2021
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 added a commit to esmil/linux that referenced this issue May 30, 2021
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 added a commit to esmil/linux that referenced this issue Jun 3, 2021
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 added a commit to esmil/linux that referenced this issue Jun 6, 2021
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>
@pdp7
Copy link
Contributor Author

pdp7 commented Jun 8, 2021

@FionaYu20180326 This issue is about allowing the PMIC to signal Linux that the system is going to be reset. @esmil noticed that TPS65086 has an output pin IRQB (open-drain, needs pull-up) to signal an interrupt. This should be routed to a GPIO pin on the SoC that can be set up to generate an interrupt when the TPS65086 pulls the line low.   

esmil added a commit to esmil/linux that referenced this issue Jun 11, 2021
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 added a commit to esmil/linux that referenced this issue Jun 13, 2021
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 added a commit to esmil/linux that referenced this issue Jun 13, 2021
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 added a commit to esmil/linux that referenced this issue Jun 16, 2021
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 added a commit to esmil/linux that referenced this issue Jun 20, 2021
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>
@pdp7 pdp7 closed this as completed Jul 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants