#21892: Oxnas pincontrol (GPIO) does not work
------------------------+-----------------------------------------
  Reporter:  anonymous  |      Owner:  developers
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:
 Component:  kernel     |    Version:  Trunk
Resolution:             |   Keywords:  oxnas ox820 gpio pincontrol
------------------------+-----------------------------------------

Comment (by dangole):

 It doesn't matter where they are being set, in the stock-U-Boot or stock-
 Firmware -- the idea is to dump the content of the GPIO registers in
 working-state and compare it to the non-working state after cold-boot.
 The registers are partially setup by the stock U-Boot to make things like
 Ethernet work, other board-specific setup is done by Linux -- in a hacky
 way included in drivers or board setup of the vendor/SDK-kernel used for
 the stock firmware. When using more recent kernel of OpenWrt, the pinctrl
 driver modifies the GPIO registers according to what it finds in the
 device tree. It also got a debugfs interface in `/sys/kernel/debug/`, so
 you can see what was supposedly set.

--
Ticket URL: <https://dev.openwrt.org/ticket/21892#comment:7>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to