SAMA5D2 pinctrl-at91-pio4 device tree configuration

This forum is for users of Atmel's SAM Series and who are interested in using Linux OS.

Moderator: nferre

Posts: 14
Joined: Tue Jun 21, 2016 12:03 am

SAMA5D2 pinctrl-at91-pio4 device tree configuration

Wed Dec 14, 2016 5:44 pm

Is there documentation somewhere about how to configure the pinctrl-at91-pio4 driver in the device tree? For example, I need to set up several GPIOs for software control (through sysfs or other). How do I set the drive strength bits for each GPIO? If not settable through the device tree, how can I do it from user space?
Location: USA
Posts: 1507
Joined: Thu Apr 19, 2007 10:15 pm

Re: SAMA5D2 pinctrl-at91-pio4 device tree configuration

Fri Dec 16, 2016 9:41 pm

If you can't find documentation, then there's always the source code.
"The code is the documentation."
BTW there's a Documentation subdirectory in the kernel source.

A quick review of the code indicates that some of the enhanced features of the SAMA5D2 (such as PIO drive strength) are not supported.


Return to “Linux”

Who is online

Users browsing this forum: No registered users and 1 guest