Lines Matching +full:neo +full:- +full:8
1 // SPDX-License-Identifier: GPL-2.0
3 * u-blox GNSS receiver driver
29 ret = regulator_enable(data->vcc); in ubx_set_active()
41 ret = regulator_disable(data->vcc); in ubx_set_standby()
59 return -EINVAL; in ubx_set_power()
78 gserial->ops = &ubx_gserial_ops; in ubx_probe()
80 gserial->gdev->type = GNSS_TYPE_UBX; in ubx_probe()
84 data->vcc = devm_regulator_get(&serdev->dev, "vcc"); in ubx_probe()
85 if (IS_ERR(data->vcc)) { in ubx_probe()
86 ret = PTR_ERR(data->vcc); in ubx_probe()
90 data->v_bckp = devm_regulator_get_optional(&serdev->dev, "v-bckp"); in ubx_probe()
91 if (IS_ERR(data->v_bckp)) { in ubx_probe()
92 ret = PTR_ERR(data->v_bckp); in ubx_probe()
93 if (ret == -ENODEV) in ubx_probe()
94 data->v_bckp = NULL; in ubx_probe()
99 if (data->v_bckp) { in ubx_probe()
100 ret = regulator_enable(data->v_bckp); in ubx_probe()
112 if (data->v_bckp) in ubx_probe()
113 regulator_disable(data->v_bckp); in ubx_probe()
126 if (data->v_bckp) in ubx_remove()
127 regulator_disable(data->v_bckp); in ubx_remove()
133 { .compatible = "u-blox,neo-6m" },
134 { .compatible = "u-blox,neo-8" },
135 { .compatible = "u-blox,neo-m8" },
143 .name = "gnss-ubx",
153 MODULE_DESCRIPTION("u-blox GNSS receiver driver");