Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4792

Device Tree • Re: 5th sc16is752 causes kernel error

$
0
0
Hi all,

I patched the kernel at https://github.com/raspberrypi/linux/bl ... s7xx.c#L31 and increased it from 8 to 16. After reboot I can use all 5 Serial Expansion HATs. All expected serial ports /dev/ttySC* are present, gpiodetect shows all 5 new sets of GPIOs, and gpioinfo shows all the individual GPIO lines which are available.

I tested the first two GPIO ports on each HAT with a relay and can reliably enable/disable from each relay.

I tested each serial port with a simple [cat tesfile > /dev/ttySCX and the activity light on each UART turns on.

The questions that I have now are:
  • Is there any specific reason that the limit is set to 8?
  • should I submit this upstream so others can use it?

Statistics: Posted by pmelange — Mon Mar 18, 2024 11:52 am



Viewing all articles
Browse latest Browse all 4792

Trending Articles