We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aacaed commit 50dca75Copy full SHA for 50dca75
Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml
@@ -424,6 +424,10 @@ patternProperties:
424
$ref: "#/$defs/qcom-pmic-gpio-state"
425
additionalProperties: false
426
427
+ "-hog(-[0-9]+)?$":
428
+ required:
429
+ - gpio-hog
430
+
431
$defs:
432
qcom-pmic-gpio-state:
433
type: object
@@ -571,6 +575,7 @@ $defs:
571
575
572
576
examples:
573
577
- |
578
+ #include <dt-bindings/gpio/gpio.h>
574
579
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
580
581
pm8921_gpio: gpio@150 {
@@ -594,5 +599,12 @@ examples:
594
599
power-source = <PM8921_GPIO_S4>;
595
600
};
596
601
602
603
+ otg-hog {
604
+ gpio-hog;
605
+ gpios = <35 GPIO_ACTIVE_HIGH>;
606
+ output-high;
607
+ line-name = "otg-gpio";
608
+ };
597
609
598
610
...
0 commit comments