Re: GPIO on Octeon

2023-09-19 Thread Theo de Raadt
Alex Frolkin  wrote:

> Hi all,
> 
> I see that the Octeon kernel provides an octgpio0 device, but there's no
> gpio0 at octgpio0 device (and I've tried to compile a kernel that has
> it, but it fails to configure), and the gpioctl binary is missing.
> 
> Is GPIO support on this platform just incomplete?  Or am I
> misunderstanding how things are supposed to work?

Where is the _documentation_ that says where those gpio pins go to?

Does one of them melt the machine?

I'm not joking.  Where's the complete authoritative documentation that
will make it a good idea to export these pins to _a userland program_.





GPIO on Octeon

2023-09-19 Thread Alex Frolkin
Hi all,

I see that the Octeon kernel provides an octgpio0 device, but there's no
gpio0 at octgpio0 device (and I've tried to compile a kernel that has
it, but it fails to configure), and the gpioctl binary is missing.

Is GPIO support on this platform just incomplete?  Or am I
misunderstanding how things are supposed to work?


Thanks,
Alex