Home
last modified time | relevance | path

Searched refs:of_get_named_gpio (Results 1 – 25 of 61) sorted by relevance

123

/linux-6.1.9/drivers/nfc/s3fwrn5/
Di2c.c157 phy->common.gpio_en = of_get_named_gpio(np, "en-gpios", 0); in s3fwrn5_i2c_parse_dt()
160 phy->common.gpio_en = of_get_named_gpio(np, in s3fwrn5_i2c_parse_dt()
167 phy->common.gpio_fw_wake = of_get_named_gpio(np, "wake-gpios", 0); in s3fwrn5_i2c_parse_dt()
170 phy->common.gpio_fw_wake = of_get_named_gpio(np, in s3fwrn5_i2c_parse_dt()
Duart.c100 phy->common.gpio_en = of_get_named_gpio(np, "en-gpios", 0); in s3fwrn82_uart_parse_dt()
104 phy->common.gpio_fw_wake = of_get_named_gpio(np, "wake-gpios", 0); in s3fwrn82_uart_parse_dt()
/linux-6.1.9/drivers/rtc/
Drtc-moxart.c250 moxart_rtc->gpio_data = of_get_named_gpio(pdev->dev.of_node, in moxart_rtc_probe()
258 moxart_rtc->gpio_sclk = of_get_named_gpio(pdev->dev.of_node, in moxart_rtc_probe()
266 moxart_rtc->gpio_reset = of_get_named_gpio(pdev->dev.of_node, in moxart_rtc_probe()
/linux-6.1.9/sound/soc/
Dsoc-ac97.c335 gpio = of_get_named_gpio(dev->of_node, "ac97-gpios", 0); in snd_soc_ac97_parse_pinctl()
347 gpio = of_get_named_gpio(dev->of_node, "ac97-gpios", 1); in snd_soc_ac97_parse_pinctl()
359 gpio = of_get_named_gpio(dev->of_node, "ac97-gpios", 2); in snd_soc_ac97_parse_pinctl()
/linux-6.1.9/sound/soc/rockchip/
Drk3288_hdmi_analog.c185 machine->gpio_hp_det = of_get_named_gpio(np, in snd_rk_mc_probe()
190 machine->gpio_hp_en = of_get_named_gpio(np, in snd_rk_mc_probe()
/linux-6.1.9/include/linux/
Dof_gpio.h134 static inline int of_get_named_gpio(const struct device_node *np, in of_get_named_gpio() function
/linux-6.1.9/drivers/net/ieee802154/
Dcc2520.c931 pdata->fifo = of_get_named_gpio(np, "fifo-gpio", 0); in cc2520_get_platform_data()
934 pdata->fifop = of_get_named_gpio(np, "fifop-gpio", 0); in cc2520_get_platform_data()
936 pdata->sfd = of_get_named_gpio(np, "sfd-gpio", 0); in cc2520_get_platform_data()
937 pdata->cca = of_get_named_gpio(np, "cca-gpio", 0); in cc2520_get_platform_data()
938 pdata->vreg = of_get_named_gpio(np, "vreg-gpio", 0); in cc2520_get_platform_data()
939 pdata->reset = of_get_named_gpio(np, "reset-gpio", 0); in cc2520_get_platform_data()
/linux-6.1.9/arch/arm/mach-mvebu/
Dpm-board.c93 pic_gpios[i] = of_get_named_gpio(np, "ctrl-gpios", i); in mvebu_armada_pm_init()
/linux-6.1.9/sound/soc/tegra/
Dtegra20_ac97.c346 ac97->reset_gpio = of_get_named_gpio(pdev->dev.of_node, in tegra20_ac97_platform_probe()
361 ac97->sync_gpio = of_get_named_gpio(pdev->dev.of_node, in tegra20_ac97_platform_probe()
/linux-6.1.9/sound/soc/mediatek/mt2701/
Dmt2701-cs42448.c386 of_get_named_gpio(dev->of_node, "i2s1-in-sel-gpio1", 0); in mt2701_cs42448_machine_probe()
397 of_get_named_gpio(dev->of_node, "i2s1-in-sel-gpio2", 0); in mt2701_cs42448_machine_probe()
/linux-6.1.9/drivers/pci/controller/dwc/
Dpcie-kirin.c386 pcie->gpio_id_clkreq[i] = of_get_named_gpio(dev->of_node, in kirin_pcie_get_gpio_enable()
414 pcie->gpio_id_reset[i] = of_get_named_gpio(child, in kirin_pcie_parse_port()
470 kirin_pcie->gpio_id_dwc_perst = of_get_named_gpio(dev->of_node, in kirin_pcie_get_resource()
/linux-6.1.9/sound/soc/codecs/
Dak5386.c183 priv->reset_gpio = of_get_named_gpio(dev->of_node, in ak5386_probe()
Dtpa6130a2.c245 data->power_gpio = of_get_named_gpio(np, "power-gpio", 0); in tpa6130a2_probe()
/linux-6.1.9/drivers/video/backlight/
Dhx8357.c604 lcd->reset = of_get_named_gpio(spi->dev.of_node, "gpios-reset", 0); in hx8357_probe()
624 lcd->im_pins[i] = of_get_named_gpio(spi->dev.of_node, in hx8357_probe()
/linux-6.1.9/drivers/regulator/
Dmax8998.c548 gpio = of_get_named_gpio(pmic_np, "max8998,pmic-buck1-dvs-gpios", 0); in max8998_pmic_dt_parse_dvs_gpio()
555 gpio = of_get_named_gpio(pmic_np, "max8998,pmic-buck1-dvs-gpios", 1); in max8998_pmic_dt_parse_dvs_gpio()
562 gpio = of_get_named_gpio(pmic_np, "max8998,pmic-buck2-dvs-gpio", 0); in max8998_pmic_dt_parse_dvs_gpio()
/linux-6.1.9/drivers/input/keyboard/
Dmatrix_keypad.c453 ret = of_get_named_gpio(np, "row-gpios", i); in matrix_keypad_parse_dt()
460 ret = of_get_named_gpio(np, "col-gpios", i); in matrix_keypad_parse_dt()
/linux-6.1.9/drivers/char/tpm/st33zp24/
Di2c.c157 gpio = of_get_named_gpio(pp, "lpcpd-gpios", 0); in st33zp24_i2c_of_request_resources()
/linux-6.1.9/sound/soc/fsl/
Dimx-es8328.c160 data->jack_gpio = of_get_named_gpio(pdev->dev.of_node, "jack-gpio", 0); in imx_es8328_probe()
/linux-6.1.9/drivers/input/touchscreen/
Degalax_ts.c129 gpio = of_get_named_gpio(np, "wakeup-gpios", 0); in egalax_wake_up_device()
/linux-6.1.9/drivers/nfc/nfcmrvl/
Dmain.c256 reset_n_io = of_get_named_gpio(node, "reset-n-io", 0); in nfcmrvl_parse_dt()
/linux-6.1.9/sound/soc/ti/
Domap-twl4030.c282 priv->jack_detect = of_get_named_gpio(node, in omap_twl4030_probe()
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/displays/
Dconnector-hdmi.c208 gpio = of_get_named_gpio(node, "hpd-gpios", 0); in hdmic_probe_of()
Dencoder-tfp410.c172 gpio = of_get_named_gpio(node, "powerdown-gpios", 0); in tfp410_probe_of()
Dpanel-nec-nl8048hl11.c233 gpio = of_get_named_gpio(node, "reset-gpios", 0); in nec_8048_probe_of()
/linux-6.1.9/drivers/net/wireless/ti/wl1251/
Dspi.c264 wl->power_gpio = of_get_named_gpio(np, "ti,power-gpio", 0); in wl1251_spi_probe()

123