Boots to mountroot on Pandaoard, someone need to test on Beaglebone as I don't have one
Details
Details
- Reviewers
rpaulo loos - Group Reviewers
ARM - Commits
- rS273262: Rework the Ti GPIO code to allow for both the OMAP4 and AM335X attachments
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
sys/arm/ti/ti_gpio.c | ||
---|---|---|
644 | This should be removed completely. |
sys/arm/ti/am335x/am335x_gpio.c | ||
---|---|---|
61 | Linux used "ti,omap4-gpio" so I'd like to support it in a small attempt on supporting their dtb files. I can add "ti,am335x-gpio" to the list. |
Comment Actions
I have tested this on a beaglebone white, and using gpioctl I can set a pin to input and see changes on it, and set it to output and see it change when I use gpioctl to toggle it.
sys/arm/ti/omap4/omap4_gpio.c | ||
---|---|---|
83 | Interestingly, this doesn't handle the OUTPUT_PULLUP case and neither does the function below. I suppose that's not supported in OMAP4? |
sys/arm/ti/omap4/omap4_gpio.c | ||
---|---|---|
83 | Having a pullup on the output only makes sense if it's an open drain. If the line is driven high or low it will just increase the power draw. |
sys/arm/ti/am335x/am335x_gpio.c | ||
---|---|---|
61 | I thought i was a leftover from omap4 version. If it is intentional I'm fine with it. |