[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+HBbNHCnpg9qCzZbT9KVNqX-daC68iaJKNdyEf7do3w98miWw@mail.gmail.com>
Date: Wed, 19 May 2021 13:53:25 +0200
From: Robert Marko <robert.marko@...tura.hr>
To: Michael Walle <michael@...le.cc>
Cc: Lee Jones <lee.jones@...aro.org>, robh+dt@...nel.org,
Linus Walleij <linus.walleij@...aro.org>,
bgolaszewski@...libre.com, jdelvare@...e.com,
Guenter Roeck <linux@...ck-us.net>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-gpio@...r.kernel.org,
linux-hwmon@...r.kernel.org, Luka Perkov <luka.perkov@...tura.hr>,
jmp@...phyte.org, Paul Menzel <pmenzel@...gen.mpg.de>,
Donald Buczek <buczek@...gen.mpg.de>
Subject: Re: [PATCH 1/6] mfd: Add Delta TN48M CPLD driver
On Thu, May 6, 2021 at 6:34 PM Michael Walle <michael@...le.cc> wrote:
>
> Hi Robert,
>
> Am 2021-04-30 14:35, schrieb Robert Marko:
> > Delta TN48M switches have a Lattice CPLD that serves
> > multiple purposes including being a GPIO expander.
> > So lets add the MFD core driver for it.
>
> Did you have a look at mfd/simple-mfd-i2c.c?
Hi Michael,
Yes, that was my first idea but we have a requirement to expose CPLD
information via debugfs as there are userspace applications using it.
And simple-mfd-i2c does not allow us to do so.
Regards,
Robert
>
> -michael
--
Robert Marko
Staff Embedded Linux Engineer
Sartura Ltd.
Lendavska ulica 16a
10000 Zagreb, Croatia
Email: robert.marko@...tura.hr
Web: www.sartura.hr
Powered by blists - more mailing lists