[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170719152942.6202fdbb@crub>
Date: Wed, 19 Jul 2017 15:29:42 +0200
From: Anatolij Gustschin <agust@...x.de>
To: Bjørn Mork <bjorn@...k.no>
Cc: Johan Hovold <johan@...nel.org>, Lee Jones <lee.jones@...aro.org>,
Linus Walleij <linus.walleij@...aro.org>,
Alan Tull <atull@...nel.org>,
Moritz Fischer <moritz.fischer@...us.com>,
linux-gpio@...r.kernel.org, linux-fpga@...r.kernel.org,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] mfd: Add support for FTDI FT232H devices
On Wed, 12 Jul 2017 11:11:46 +0200
Bjørn Mork bjorn@...k.no wrote:
>Johan Hovold <johan@...nel.org> writes:
>> On Tue, Jul 11, 2017 at 08:52:37AM +0200, Anatolij Gustschin wrote:
>>
>>> For devices with connected EEPROM some modes (including UART) are
>>> configurable in the EEPROM. For devices without EEPROM the default
>>> mode is always UART, but FIFO-, Bitbang- and MPSSE-mode can be
>>> switched via commands to the the chip.
>>
>> IIRC we should be able read from the EEPROM, and I would at least expect
>> there to be a way to retrieve the current mode as well.
>
>Stupid question, I know, but I cannot help thinking: If you have an
>EEPROM then why the h... don't you use an application specific device
>ID?
It would make sense for adapter devices that you can buy and plug.
In my particular case the configuration device with FTDI chips is
internal part of embedded board, the configuration interface is
never exposed to end users. I doesn't make sense to register an
ID for such hardware.
Thanks,
Anatolij
Powered by blists - more mailing lists