Re: WM9712 GPIO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 12, 2010 at 2:30 PM, Mark Brown
<broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Wed, May 12, 2010 at 01:47:12PM +0200, Manuel Lauss wrote:
>
>> I'm playing with the GPIO interface on a WM9712G, specifically GPIO1
>> and 2 of the chip.
>> However I'm unable to get the chip to toggle any of these pins.
>
>> Setting a pin with
>> wm97xx_set_gpio(wm, WM97XX_GPIO_1, WM97XX_GPIO_HIGH);
>
>> reads back 0x0820 from GPIO status reg, sets bit 1,writes back 0x1044 (<<1),
>> but a read following immediately after yields 0x0820 again, and the pin
>> never changes.
>
>> Am I missing something?
>
> The WM9712 does not support this feature.  It only supports setting the
> GPIO status by use of AC'97 slot 12 for which there's currently no
> standard glue on Linux.  Setting slot 12 needs to be done in the AC'97
> controller.

Wonderful.  Thanks for the info.


      Manuel Lauss
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux