mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:04:24 +00:00
dt-bindings: Add GNSS SiRF bindings to devicetree
Add GNSS SiRF bindings snapshot to the devicetree Change-Id: I38d740b6bfa76e8fcd195d8d32501bfad5373a03
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
c5272745a4
commit
8de59096fc
47
bindings/soc/qcom/qcom,gnss_sirf.txt
Normal file
47
bindings/soc/qcom/qcom,gnss_sirf.txt
Normal file
@@ -0,0 +1,47 @@
|
||||
Binding for SIRF GNSS receiver control driver
|
||||
GPIO pins are toggled to control GNSS receiver power states either to
|
||||
wake it from sleep or put receiver into sleep mode
|
||||
|
||||
Required properties:
|
||||
- compatible: must be "qcom,gnss_sirf"
|
||||
- #gpio-pins:
|
||||
0: GPIO 18
|
||||
1: GPIO 87
|
||||
|
||||
Example:
|
||||
ss5_pwr_ctrl0 {
|
||||
compatible = "qcom,gnss_sirf";
|
||||
pinctrl-0 = <&ss5_pwr_ctrl_rst_on>;
|
||||
ssVreset-gpio = <&tlmm 87 1>;
|
||||
ssVonoff-gpio = <&tlmm 18 1>;
|
||||
};
|
||||
|
||||
ss5_pwr_ctrl_pins: ss5_pwr_ctrl_pins {
|
||||
ss5_pwr_ctrl_rst_on: ss5_pwr_ctrl_rst_on {
|
||||
mux {
|
||||
pins = "gpio87", "gpio18";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio87", "gpio18";
|
||||
drive-strength = <16>; /* 16 mA */
|
||||
bias-pull-up;
|
||||
output-high;
|
||||
};
|
||||
};
|
||||
|
||||
ss5_pwr_ctrl_rst_off: ss5_pwr_ctrl_off {
|
||||
mux {
|
||||
pins = "gpio87", "gpio18";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio87", "gpio18";
|
||||
drive-strength = <16>; /* 16 mA */
|
||||
bias-pull-up;
|
||||
output-high;
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user