[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171116144321.hlp6em77t56e5nly@rob-hp-laptop>
Date: Thu, 16 Nov 2017 08:43:21 -0600
From: Rob Herring <robh@...nel.org>
To: Johan Hovold <johan@...nel.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Mark Rutland <mark.rutland@....com>,
Arnd Bergmann <arnd@...db.de>,
Alan Stern <stern@...land.harvard.edu>,
Peter Chen <peter.chen@....com>, linux-usb@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Rafał Miłecki <rafal@...ecki.pl>,
Florian Fainelli <f.fainelli@...il.com>
Subject: Re: [PATCH 0/8] USB: add device-tree support for interfaces
On Thu, Nov 09, 2017 at 06:07:15PM +0100, Johan Hovold wrote:
> This series adds support for representing USB interfaces in device tree
> by implementing support for "interface nodes" and "combined nodes" from
> the OF specification.
>
> This is needed to be able to describe non-discoverable properties of
> permanently attached USB devices and their interfaces such as any
> i2c-clients connected to a USB-i2c bridge (e.g. the dln2 mfd) or,
> eventually, devices connected to usb-serial converters (to be used with
> serdev).
In the original OF binding, the firmware dynamically generated the tree
for the active configuration AIUI. That doesn't really fit for the
(mostly) static FDT usage and why we stopped at the device level. So how
do we handle multiple configs? Or can we assume that if say the I2C bus
is used, then there's only one config and interface that can use it?
Rob
Powered by blists - more mailing lists