Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/sound/soc/tegra/
Dtegra_wm8903.c265 machine->gpio_spkr_en = of_get_named_gpio(np, "nvidia,spkr-en-gpios", in tegra_wm8903_driver_probe()
278 machine->gpio_hp_mute = of_get_named_gpio(np, "nvidia,hp-mute-gpios", in tegra_wm8903_driver_probe()
291 machine->gpio_hp_det = of_get_named_gpio(np, "nvidia,hp-det-gpios", 0); in tegra_wm8903_driver_probe()
295 machine->gpio_int_mic_en = of_get_named_gpio(np, in tegra_wm8903_driver_probe()
310 machine->gpio_ext_mic_en = of_get_named_gpio(np, in tegra_wm8903_driver_probe()
Dtegra_rt5677.c204 machine->gpio_hp_det = of_get_named_gpio(np, "nvidia,hp-det-gpios", 0); in tegra_rt5677_probe()
208 machine->gpio_mic_present = of_get_named_gpio(np, in tegra_rt5677_probe()
213 machine->gpio_hp_en = of_get_named_gpio(np, "nvidia,hp-en-gpios", 0); in tegra_rt5677_probe()
225 machine->gpio_dmic_clk_en = of_get_named_gpio(np, in tegra_rt5677_probe()
Dtegra_max98090.c211 machine->gpio_hp_det = of_get_named_gpio(np, "nvidia,hp-det-gpios", 0); in tegra_max98090_probe()
216 of_get_named_gpio(np, "nvidia,mic-det-gpios", 0); in tegra_max98090_probe()
Dtegra20_ac97.c338 ac97->reset_gpio = of_get_named_gpio(pdev->dev.of_node, in tegra20_ac97_platform_probe()
352 ac97->sync_gpio = of_get_named_gpio(pdev->dev.of_node, in tegra20_ac97_platform_probe()
/kernel/linux/linux-5.10/drivers/nfc/s3fwrn5/
Di2c.c201 phy->gpio_en = of_get_named_gpio(np, "en-gpios", 0); in s3fwrn5_i2c_parse_dt()
204 phy->gpio_en = of_get_named_gpio(np, "s3fwrn5,en-gpios", 0); in s3fwrn5_i2c_parse_dt()
209 phy->gpio_fw_wake = of_get_named_gpio(np, "wake-gpios", 0); in s3fwrn5_i2c_parse_dt()
212 phy->gpio_fw_wake = of_get_named_gpio(np, "s3fwrn5,fw-gpios", 0); in s3fwrn5_i2c_parse_dt()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/sound/soc/
Dsoc-ac97.c337 gpio = of_get_named_gpio(dev->of_node, "ac97-gpios", 0); in snd_soc_ac97_parse_pinctl()
349 gpio = of_get_named_gpio(dev->of_node, "ac97-gpios", 1); in snd_soc_ac97_parse_pinctl()
361 gpio = of_get_named_gpio(dev->of_node, "ac97-gpios", 2); in snd_soc_ac97_parse_pinctl()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/
Dof_gpio.h132 static inline int of_get_named_gpio(struct device_node *np, in of_get_named_gpio() function
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/arm/mach-mvebu/
Dpm-board.c96 pic_gpios[i] = of_get_named_gpio(np, "ctrl-gpios", i); in mvebu_armada_pm_init()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dadau1701.c826 gpio_nreset = of_get_named_gpio(dev->of_node, "reset-gpio", 0); in adau1701_i2c_probe()
832 gpio_pll_mode[0] = of_get_named_gpio(dev->of_node, in adau1701_i2c_probe()
839 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()
/kernel/linux/linux-5.10/drivers/regulator/
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()
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()
/kernel/linux/linux-5.10/drivers/mfd/
Dhi655x-pmic.c123 pmic->gpio = of_get_named_gpio(np, "pmic-gpios", 0); in hi655x_pmic_probe()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/mips/pci/
Dpci-lantiq.c126 reset_gpio = of_get_named_gpio(node, "gpio-reset", 0); in ltq_pci_startup()
/kernel/linux/linux-5.10/drivers/input/keyboard/
Dmatrix_keypad.c452 ret = of_get_named_gpio(np, "row-gpios", i); in matrix_keypad_parse_dt()
459 ret = of_get_named_gpio(np, "col-gpios", i); in matrix_keypad_parse_dt()
/kernel/linux/linux-5.10/drivers/char/tpm/st33zp24/
Di2c.c157 gpio = of_get_named_gpio(pp, "lpcpd-gpios", 0); in st33zp24_i2c_of_request_resources()
/kernel/linux/linux-5.10/sound/soc/fsl/
Dimx-es8328.c160 data->jack_gpio = of_get_named_gpio(pdev->dev.of_node, "jack-gpio", 0); in imx_es8328_probe()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Degalax_ts.c129 gpio = of_get_named_gpio(np, "wakeup-gpios", 0); in egalax_wake_up_device()

1234