Lines Matching +full:u +full:- +full:blox
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()
79 gserial->ops = &ubx_gserial_ops; in ubx_probe()
81 gserial->gdev->type = GNSS_TYPE_UBX; in ubx_probe()
85 data->vcc = devm_regulator_get(&serdev->dev, "vcc"); in ubx_probe()
86 if (IS_ERR(data->vcc)) { in ubx_probe()
87 ret = PTR_ERR(data->vcc); in ubx_probe()
91 ret = devm_regulator_get_enable_optional(&serdev->dev, "v-bckp"); in ubx_probe()
92 if (ret < 0 && ret != -ENODEV) in ubx_probe()
96 reset = devm_gpiod_get_optional(&serdev->dev, "reset", GPIOD_OUT_LOW); in ubx_probe()
124 { .compatible = "u-blox,neo-6m" },
125 { .compatible = "u-blox,neo-8" },
126 { .compatible = "u-blox,neo-m8" },
134 .name = "gnss-ubx",
144 MODULE_DESCRIPTION("u-blox GNSS receiver driver");