• Marek Roszko's avatar
    pinctrl: at91: add drive strength configuration · 4334ac2d
    Marek Roszko authored
    The SAMA5 and SAM9x5 series both have drive strength
    options for the PIOs. This patch adds the ability to set
    one of three hardware options for drive strengths of low,
    medium or high for the each pin. The actual current output
    of the chip based on the setting is defined in the datasheets
    and varies per pins separate from banks and with supply
    voltage.
    
    This patch adds three new dt-bindings that allow setting the
    strength when configuring pins. By default, no change will
    be made to the drive strength of a pin from its reset value.
    Due to the difference between the register addresses of the
    SAMA5 and SAM9x5 series, a new sama5d3-pinctrl id was added.
    Signed-off-by: default avatarMarek Roszko <mark.roszko@gmail.com>
    Acked-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    4334ac2d
at91_pio.h 3.71 KB