mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* LPC Bus Driver
@ 2020-03-02 22:44 Luis Tanica
  2020-03-03 10:13 ` John Garry
  0 siblings, 1 reply; 6+ messages in thread
From: Luis Tanica @ 2020-03-02 22:44 UTC (permalink / raw)
  To: john.garry; +Cc: linux-kernel

Hi John,

We have this board with our own SoC, which is connected to an external CPLD (FPGA) via LPC (low pin count) bus.
I've been doing some research to see what the best way of designing the drivers for it would be, and came across the Hisilicon LPC driver stuff (which I believe you're the maintainer for).

Just a little background. Let's say our host (ARM) has a custom LPC controller. The LPC controller let's us perform reads/writes of CPLD registers via LPC bus. This CPLD is the only slave device attached to that bus and we only use it for reading/writing certain
 registers (e.g., we use it to access some system information and for resetting the ARM during reboot).

I was looking at the regmap framework and that seemed a good way to go. But then I saw the logic_pio stuff as well and now I'm not sure what the best approach would be anymore

Would kindly ask for some advice here.

Kind regards,
Luis Tanica

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-03-04  9:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-02 22:44 LPC Bus Driver Luis Tanica
2020-03-03 10:13 ` John Garry
2020-03-03 15:45   ` Xu Yilun
2020-03-03 16:24     ` Arnd Bergmann
2020-03-03 18:07       ` Luis Tanica
2020-03-04  9:51         ` John Garry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®