On Wed 05 Sep 2018 19:42:18 NZST +1200, Alexander Graf wrote:

> You need to first make sure the pin is muxed properly as GPIO and not
> associated with a special function:
> 
>   /sys/kernel/debug/pinctrl/3f200000.gpio/pinmux-pins
> 
> Once that's clear, you can use the GPIO export to actually access the
> GPIO function.

Ahh, how obvious... ;-) Thanks! OK, makes sense.
grep gpio4 pinmux-pins says
  pin 4 (gpio4): (MUX UNCLAIMED) (GPIO UNCLAIMED)
and I guess it ought to not say "MUX UNCLAIMED".

But I can't find how to do that. All online instructions go straight to
exporting the pin (assuming a base of 0...).

Appending
  [all]
  gpio=4=op,dh
  gpio=462=op,dh
to /boot/efi/extraconfig.txt and rebooting makes no difference.

I'm stuck again :-(

Thanks,

Volker

-- 
Volker Kuhlmann
http://volker.top.geek.nz/      Please do not CC list postings to me.
-- 
To unsubscribe, e-mail: opensuse-arm+unsubscr...@opensuse.org
To contact the owner, e-mail: opensuse-arm+ow...@opensuse.org

Reply via email to