[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151008165540.GA2850@linux-rrhd.site>
Date: Thu, 8 Oct 2015 18:55:41 +0200
From: Andreas Werner <andy@...nerandy.de>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: Alexandre Courbot <gnurou@...il.com>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Johannes Thumshirn <morbidrsa@...il.com>
Subject: Re: [PATCH] gpio: Add driver for MEN 16Z127 GPIO controller
Hi,
i have an additional question regarding the Open Drain setting.
The register is currently impelemented as a read/write register
which means the pin mode is configurable by software to
Push Pull or Open Drain.
There is also the possiblity (normal way) that the HW (FPGA) configures
each pin to the correct mode.
Is there actually a way to set an output mode from userland or by the gpio API?
I did not find anything about that.
If there is no way, i will implement it without software control. I just
read out the mode configuration and handle the pins as PP or Open Drain.
Regards
Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists