[PATCH 0/3] gpiolib: Initializing GPIOs using DT property gpio-initval

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Sep 7 02:47:39 PDT 2015


On Wed, Aug 19, 2015 at 12:18:29PM +0200, Markus Pargmann wrote:
> This series adds a gpio-initval property to the devicetree. It provides a way
> to initialize GPIOs to a defined value.

This is actually a good thing to have.  I know at least one SoC contains
a paragraph in its hardware spec:

General Purpose Pins (GPP)
Each individual pin can be defined as an input, output, or level interrupt
input. These pins can be used for indications retrieving or for peripherals
control. When not in use, program interface to GPIOs and set GPIOs as output.

-- 
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.



More information about the linux-arm-kernel mailing list