OMAP gpio handling

2012-02-25 Thread Russell King - ARM Linux
Can someone explain to me this: #define GPIO_INDEX(bank, gpio) (gpio % bank-width) #define GPIO_BIT(bank, gpio) (1 GPIO_INDEX(bank, gpio)) static int _get_gpio_datain(struct gpio_bank *bank, int gpio) { void __iomem *reg = bank-base + bank-regs-datain; return (__raw_readl(reg)

tps65930 microphone fails in 3.0.17

2012-02-25 Thread Maxim Podbereznyy
Hi colleagues! I'm working with Angstrom Linux where the kernel 3.0.17-115c is currently used. I use a Beagleboard clone with TPS65930 installed instead of TPS65950 on Beagle. Recently I've been using 2.6.32 and a Microphone feature worked fine after applied patches for Devkit8000 to the