Hi,

These are a few patches for using the EG20T UART on the Imagination
Technologies Boston development platform

2 quirks needed
- Pass a specific value for the prefetch register from DT instead of using
the hard-coded default.
- Add a quirk for using the internal 25MHz clock source for the UART block

The patches for Boston platform are inflight.
https://patchwork.kernel.org/patch/8200941/

So pasting a DT node snippet here.

+                                       eg20t_pch@2,0,0 {
+                                               compatible = "pci8086,8801";
+                                               reg = <0x00020000 0 0 0 0>;
+
+                                               intel,eg20t-prefetch = <0>;
+                                       };
+                                       eg20t_uart0@02,10,1 {
+                                               compatible = "pci8086,8811";
+                                               reg = <0x00025100 0 0 0 0>;
+
+                                               clock-frequency = <25000000>;
+                                       };

Marked as RFC due to the 2/3 patch for DT + PCI-E + board specific quirk
Suggestions and feedback welcome.

Based on v4.7-rc7

Regards,
ZubairLK

Zubair Lutfullah Kakakhel (3):
  misc: pch_phub: Read prefetch value from device tree if passed
  misc: pch_phub: Add UART_CLK quirk for Boston platform
  serial: pch_uart: Add support for reading clock-frequency from DT

 drivers/misc/pch_phub.c       | 19 ++++++++++++++++++-
 drivers/tty/serial/Kconfig    |  2 +-
 drivers/tty/serial/pch_uart.c |  4 ++++
 3 files changed, 23 insertions(+), 2 deletions(-)

-- 
1.9.1

Reply via email to