> - bgc->gc.to_irq = ep93xx_gpio_to_irq; > + gc->set_debounce = ep93xx_gpio_set_debounce; > + gc->to_irq = ep93xx_gpio_to_irq; > } > > - return gpiochip_add(&bgc->gc); > + return gpiochip_add_data(gc, NULL); > } > > static int ep93xx_gpio_probe(struct pl...
The separate struct bgpio_chip has been a pain to handle, both by being confusingly similar in name to struct gpio_chip and for being contained inside a struct so that struct gpio_chip is contained in a struct contained in a struct, making several steps of dereferencing necessary. Make thi...
Linux下GPIO驱动(三) ---gpio_desc()的分析 2013-08-24 15:46 −上篇最后提出的疑问是结构体gpio_chip中的成员函数set等是怎么实现的,在回答之前先介绍下gpio_desc这个结构体。 如上图所示,右上方部分为GPIO驱动对其它驱动提供的... 熊猫酒仙是也 0...
(void) gpio_pin_configure(gpio_dev, CONFIG_UART_NRF5_GPIO_TX_PIN, (GPIO_DIR_OUT | GPIO_PUD_PULL_UP)); (void) gpio_pin_configure(gpio_dev, CONFIG_UART_NRF5_GPIO_RX_PIN, (GPIO_DIR_IN)); uart->PSELTXD = CONFIG_UART_NRF5_GPIO_TX_PIN; uart->PSELRXD = CONFIG_UART_NRF5_GPIO...
S2 =SCLK // In ESP8266 overlap mode the following must be defined //#define TFT_SPI_OVERLAP // In ESP8266 overlap mode the TFT chip select MUST connect to pin D3 //#define TFT_CS PIN_D3 //#define TFT_DC PIN_D5 // Data Command control pin //#define TFT_RST PIN_D4 // Rese...
gpio_if.h graphic_assert.h graphic_math.h graphic_types.h grid_layout.h hdf_base.h hdf_device_desc.h hdf_dlist.h hdf_io_service_if.h hdf_log.h hdf_netbuf.h hdf_object.h hdf_platform.h hdf_sbuf.h hdf_wifi_event.h hdf_wifi_product.h hdf_wlan_chi...
gpio_if.h graphic_assert.h graphic_math.h graphic_types.h grid_layout.h hdf_base.h hdf_device_desc.h hdf_dlist.h hdf_io_service_if.h hdf_log.h hdf_netbuf.h hdf_object.h hdf_platform.h hdf_sbuf.h hdf_wifi_event.h hdf_wifi_product.h hdf_wlan_chipdr...
chip->regs = regs; mmc->priv = chip; sprintf(mmc->name, "ftsdc010"); mmc->name = "ftsdc010"; mmc->ops = &ftsdc010_ops; mmc->host_caps = MMC_MODE_HS | MMC_MODE_HS_52MHz; switch (readl(®s->bwr) & FTSDC010_BWR_CAPS_MASK) {2...
> From: Wei Yongjun <yongjun_...@trendmicro.com.cn> > > Add missing .owner of struct gpio_chip. This prevents the > module from being removed from underneath its users. > > Signed-off-by: Wei Yongjun <yongjun_...@trendmicro.com.cn> Same comments as the other patch, rebase include...
I explicitly left text string updates aside, I am anyways going to have to go over all drivers for a second refactoring with gpiodev_alloc() etc. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vge...