#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 anonymous):

 BTW:  In file  there seems to be this:

 {{{
         /* Set sys-control pin mux'ing as per power-on defaults */
         writel(0, SYS_CTRL_SECONDARY_SEL);
         writel(0, SYS_CTRL_TERTIARY_SEL);
         writel(0, SYS_CTRL_QUATERNARY_SEL);
         writel(0, SYS_CTRL_DEBUG_SEL);
         writel(0, SYS_CTRL_ALTERNATIVE_SEL);
         writel(0, SYS_CTRL_PULLUP_SEL);

         writel(0, SYS_CTRL_SECONDARY_SEL);
         writel(0, SYS_CTRL_TERTIARY_SEL);
         writel(0, SYS_CTRL_QUATERNARY_SEL);
         writel(0, SYS_CTRL_DEBUG_SEL);
         writel(0, SYS_CTRL_ALTERNATIVE_SEL);
         writel(0, SYS_CTRL_PULLUP_SEL);
 }}}

 I suppose the same instructions are not ment to be there twice but the
 other should set SEC_CTRLs.

 Fortunately this might explain why reading settings as a dump works for
 me.

--
Ticket URL: <https://dev.openwrt.org/ticket/21892#comment:16>
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