mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 11:33:58 -04:00
dt-bindings: pinctrl: qcom,sdm845-pinctrl: add GPIO hogs
Allow GPIO hogs in pin controller node. qcom/sdm845-cheza.dtsi already uses it. Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20221121081221.30745-1-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
This commit is contained in:
@@ -48,6 +48,10 @@ patternProperties:
|
||||
$ref: "#/$defs/qcom-sdm845-tlmm-state"
|
||||
additionalProperties: false
|
||||
|
||||
"-hog(-[0-9]+)?$":
|
||||
required:
|
||||
- gpio-hog
|
||||
|
||||
$defs:
|
||||
qcom-sdm845-tlmm-state:
|
||||
type: object
|
||||
@@ -117,6 +121,7 @@ additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
|
||||
pinctrl@3400000 {
|
||||
@@ -130,6 +135,12 @@ examples:
|
||||
gpio-ranges = <&tlmm 0 0 151>;
|
||||
wakeup-parent = <&pdc_intc>;
|
||||
|
||||
ap-suspend-l-hog {
|
||||
gpio-hog;
|
||||
gpios = <126 GPIO_ACTIVE_LOW>;
|
||||
output-low;
|
||||
};
|
||||
|
||||
cci0-default-state {
|
||||
pins = "gpio17", "gpio18";
|
||||
function = "cci_i2c";
|
||||
|
||||
Reference in New Issue
Block a user