提交 f7992069 编写于 作者: C Conor Dooley 提交者: Bartosz Golaszewski

dt-bindings: gpio: mpfs-gpio: allow parsing of hog child nodes.

The SD card and eMMC on PolarFire SoC are sometimes muxed using a GPIO
by the bootloader. Add a hog child property to facilitate this.
Signed-off-by: NConor Dooley <conor.dooley@microchip.com>
Reviewed-by: NKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: NBartosz Golaszewski <brgl@bgdev.pl>
上级 b98dbd82
...@@ -44,6 +44,24 @@ properties: ...@@ -44,6 +44,24 @@ properties:
gpio-controller: true gpio-controller: true
patternProperties:
"^.+-hog(-[0-9]+)?$":
type: object
additionalProperties: false
properties:
gpio-hog: true
gpios: true
input: true
output-high: true
output-low: true
line-name: true
required:
- gpio-hog
- gpios
required: required:
- compatible - compatible
- reg - reg
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册