Re: [PATCH v4 01/12] drivers: base: Unified device connection lookup

2018-02-28 Thread Hans de Goede
Hi, On 26-02-18 20:34, Randy Dunlap wrote: On 02/26/2018 10:39 AM, Hans de Goede wrote: diff --git a/include/linux/connection.h b/include/linux/connection.h new file mode 100644 index ..0b4430eae53a --- /dev/null +++ b/include/linux/connection.h @@ -0,0 +1,33 @@ +//

Re: [PATCH v4 01/12] drivers: base: Unified device connection lookup

2018-02-26 Thread Randy Dunlap
On 02/26/2018 10:39 AM, Hans de Goede wrote: > diff --git a/include/linux/connection.h b/include/linux/connection.h > new file mode 100644 > index ..0b4430eae53a > --- /dev/null > +++ b/include/linux/connection.h > @@ -0,0 +1,33 @@ > +// SPDX-License-Identifier: GPL-2.0 > + > +#ifndef

[PATCH v4 01/12] drivers: base: Unified device connection lookup

2018-02-26 Thread Hans de Goede
From: Heikki Krogerus Several frameworks - clk, gpio, phy, pmw, etc. - maintain lookup tables for describing connections and provide custom API for handling them. This introduces a single generic lookup table and API for the connections. The motivation for this