Two questions with that method:

   1. I can clearly see how gpio-hog works to define pins that are going to
   be used as GPIOs.
   *Is gpio-hog applicable to pins that need to get their MUX switched over
   to be used as PRU pins ?*

   2. One of the tests I've done was delaying loading the device tree until
   after we're well past the boot sequence (run a script that echoes our cape
   name into capemgr.9/slots and then immediately executes code to activate
   the PRU and clear the outputs) and see the same behavior of the pin - it's
   pleasantly low through the boot sequence where the HDMI overlays are
   commented out to free up the pins but as soon as my cape overlay is loaded
   the PRU outputs go high.
   *Since we're well past the u-boot/kernel handoff and well past any
   initialization at that point, how applicable is gpio-hog (assuming it can
   be used on PRU pins) at that moment?*


On Wed, Mar 30, 2016 at 9:32 AM Robert Nelson <[email protected]>
wrote:

> On Wed, Mar 30, 2016 at 10:27 AM, Phil Mills <[email protected]> wrote:
> > Board spins eat up weeks of project - software / firmware changes are
> > "free".  ;-)
> >
> > ...so the powers that be would rather see this solved at the Beaglebone
> > rather than on our outboard hardware.  And that's kind of a legitimate
> > request, too - nobody in their right mind would design a system where
> > Outputs go HOT without any interaction to request that state.
>
> gpio-hog:
>
>
> https://github.com/RobertCNelson/dtb-rebuilder/blob/4.1-ti/src/arm/am335x-bone-emmc-in-reset.dtsi#L13
>
> There's still an issue between u-boot -> kernel, but atleast the
> kernel won't touch the pin during init...
>
> Regards,
>
> --
> Robert Nelson
> https://rcn-ee.com/
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/PuhAb5Y0fd4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to