Home
last modified time | relevance | path

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

1234

/Linux-v5.4/drivers/power/supply/
Dmax8903_charger.c187 pdata->cen = of_get_named_gpio(np, "cen-gpios", 0); in max8903_parse_dt_data()
191 pdata->chg = of_get_named_gpio(np, "chg-gpios", 0); in max8903_parse_dt_data()
195 pdata->flt = of_get_named_gpio(np, "flt-gpios", 0); in max8903_parse_dt_data()
199 pdata->usus = of_get_named_gpio(np, "usus-gpios", 0); in max8903_parse_dt_data()
203 pdata->dcm = of_get_named_gpio(np, "dcm-gpios", 0); in max8903_parse_dt_data()
207 pdata->dok = of_get_named_gpio(np, "dok-gpios", 0); in max8903_parse_dt_data()
213 pdata->uok = of_get_named_gpio(np, "uok-gpios", 0); in max8903_parse_dt_data()
/Linux-v5.4/sound/soc/tegra/
Dtegra_wm8903.c242 machine->gpio_spkr_en = of_get_named_gpio(np, "nvidia,spkr-en-gpios", in tegra_wm8903_driver_probe()
255 machine->gpio_hp_mute = of_get_named_gpio(np, "nvidia,hp-mute-gpios", in tegra_wm8903_driver_probe()
268 machine->gpio_hp_det = of_get_named_gpio(np, "nvidia,hp-det-gpios", 0); in tegra_wm8903_driver_probe()
272 machine->gpio_int_mic_en = of_get_named_gpio(np, in tegra_wm8903_driver_probe()
287 machine->gpio_ext_mic_en = of_get_named_gpio(np, in tegra_wm8903_driver_probe()
Dtegra_rt5677.c203 machine->gpio_hp_det = of_get_named_gpio(np, "nvidia,hp-det-gpios", 0); in tegra_rt5677_probe()
207 machine->gpio_mic_present = of_get_named_gpio(np, in tegra_rt5677_probe()
212 machine->gpio_hp_en = of_get_named_gpio(np, "nvidia,hp-en-gpios", 0); in tegra_rt5677_probe()
224 machine->gpio_dmic_clk_en = of_get_named_gpio(np, in tegra_rt5677_probe()
Dtegra_max98090.c210 machine->gpio_hp_det = of_get_named_gpio(np, "nvidia,hp-det-gpios", 0); in tegra_max98090_probe()
215 of_get_named_gpio(np, "nvidia,mic-det-gpios", 0); in tegra_max98090_probe()
Dtegra20_ac97.c339 ac97->reset_gpio = of_get_named_gpio(pdev->dev.of_node, in tegra20_ac97_platform_probe()
353 ac97->sync_gpio = of_get_named_gpio(pdev->dev.of_node, in tegra20_ac97_platform_probe()
/Linux-v5.4/sound/soc/sirf/
Dsirf-audio.c105 sirf_audio_card->gpio_spk_pa = of_get_named_gpio(pdev->dev.of_node, in sirf_audio_probe()
107 sirf_audio_card->gpio_hp_pa = of_get_named_gpio(pdev->dev.of_node, in sirf_audio_probe()
/Linux-v5.4/drivers/rtc/
Drtc-moxart.c253 moxart_rtc->gpio_data = of_get_named_gpio(pdev->dev.of_node, in moxart_rtc_probe()
261 moxart_rtc->gpio_sclk = of_get_named_gpio(pdev->dev.of_node, in moxart_rtc_probe()
269 moxart_rtc->gpio_reset = of_get_named_gpio(pdev->dev.of_node, in moxart_rtc_probe()
/Linux-v5.4/sound/soc/
Dsoc-ac97.c338 gpio = of_get_named_gpio(dev->of_node, "ac97-gpios", 0); in snd_soc_ac97_parse_pinctl()
350 gpio = of_get_named_gpio(dev->of_node, "ac97-gpios", 1); in snd_soc_ac97_parse_pinctl()
362 gpio = of_get_named_gpio(dev->of_node, "ac97-gpios", 2); in snd_soc_ac97_parse_pinctl()
/Linux-v5.4/drivers/usb/misc/
Dusb3503.c233 hub->gpio_intn = of_get_named_gpio(np, "intn-gpios", 0); in usb3503_probe()
236 hub->gpio_connect = of_get_named_gpio(np, "connect-gpios", 0); in usb3503_probe()
239 hub->gpio_reset = of_get_named_gpio(np, "reset-gpios", 0); in usb3503_probe()
/Linux-v5.4/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-v5.4/include/linux/
Dof_gpio.h129 static inline int of_get_named_gpio(struct device_node *np, in of_get_named_gpio() function
/Linux-v5.4/drivers/nfc/s3fwrn5/
Di2c.c203 phy->gpio_en = of_get_named_gpio(np, "s3fwrn5,en-gpios", 0); in s3fwrn5_i2c_parse_dt()
207 phy->gpio_fw_wake = of_get_named_gpio(np, "s3fwrn5,fw-gpios", 0); in s3fwrn5_i2c_parse_dt()
/Linux-v5.4/drivers/net/ieee802154/
Dcc2520.c933 pdata->fifo = of_get_named_gpio(np, "fifo-gpio", 0); in cc2520_get_platform_data()
936 pdata->fifop = of_get_named_gpio(np, "fifop-gpio", 0); in cc2520_get_platform_data()
938 pdata->sfd = of_get_named_gpio(np, "sfd-gpio", 0); in cc2520_get_platform_data()
939 pdata->cca = of_get_named_gpio(np, "cca-gpio", 0); in cc2520_get_platform_data()
940 pdata->vreg = of_get_named_gpio(np, "vreg-gpio", 0); in cc2520_get_platform_data()
941 pdata->reset = of_get_named_gpio(np, "reset-gpio", 0); in cc2520_get_platform_data()
/Linux-v5.4/drivers/leds/
Dleds-netxbig.c370 ret = of_get_named_gpio(np, "addr-gpios", i); in gpio_ext_get_of_pdata()
390 ret = of_get_named_gpio(np, "data-gpios", i); in gpio_ext_get_of_pdata()
398 ret = of_get_named_gpio(np, "enable-gpio", 0); in gpio_ext_get_of_pdata()
Dleds-ns2.c265 ret = of_get_named_gpio(child, "cmd-gpio", 0); in ns2_leds_get_of_pdata()
269 ret = of_get_named_gpio(child, "slow-gpio", 0); in ns2_leds_get_of_pdata()
/Linux-v5.4/arch/arm/mach-mvebu/
Dpm-board.c96 pic_gpios[i] = of_get_named_gpio(np, "ctrl-gpios", i); in mvebu_armada_pm_init()
/Linux-v5.4/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-v5.4/drivers/iio/common/ssp_sensors/
Dssp_dev.c453 data->mcu_ap_gpio = of_get_named_gpio(node, "mcu-ap-gpios", 0); in ssp_parse_dt()
457 data->ap_mcu_gpio = of_get_named_gpio(node, "ap-mcu-gpios", 0); in ssp_parse_dt()
461 data->mcu_reset_gpio = of_get_named_gpio(node, "mcu-reset-gpios", 0); in ssp_parse_dt()
/Linux-v5.4/sound/soc/codecs/
Dadau1701.c825 gpio_nreset = of_get_named_gpio(dev->of_node, "reset-gpio", 0); in adau1701_i2c_probe()
831 gpio_pll_mode[0] = of_get_named_gpio(dev->of_node, in adau1701_i2c_probe()
838 gpio_pll_mode[1] = of_get_named_gpio(dev->of_node, in adau1701_i2c_probe()
Dak5386.c184 priv->reset_gpio = of_get_named_gpio(dev->of_node, in ak5386_probe()
/Linux-v5.4/drivers/regulator/
Dmax8998.c443 gpio = of_get_named_gpio(pmic_np, "max8998,pmic-buck1-dvs-gpios", 0); in max8998_pmic_dt_parse_dvs_gpio()
450 gpio = of_get_named_gpio(pmic_np, "max8998,pmic-buck1-dvs-gpios", 1); in max8998_pmic_dt_parse_dvs_gpio()
457 gpio = of_get_named_gpio(pmic_np, "max8998,pmic-buck2-dvs-gpio", 0); in max8998_pmic_dt_parse_dvs_gpio()
Dtps62360-regulator.c313 pdata->vsel0_gpio = of_get_named_gpio(np, "vsel0-gpio", 0); in of_get_tps62360_platform_data()
314 pdata->vsel1_gpio = of_get_named_gpio(np, "vsel1-gpio", 0); in of_get_tps62360_platform_data()
/Linux-v5.4/drivers/mfd/
Dhi655x-pmic.c123 pmic->gpio = of_get_named_gpio(np, "pmic-gpios", 0); in hi655x_pmic_probe()
/Linux-v5.4/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-v5.4/arch/mips/pci/
Dpci-lantiq.c126 reset_gpio = of_get_named_gpio(node, "gpio-reset", 0); in ltq_pci_startup()

1234