Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>

authored by

Conor Dooley and committed by
Bartosz Golaszewski
f7992069 b98dbd82

+18
+18
Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml
··· 44 44 45 45 gpio-controller: true 46 46 47 + patternProperties: 48 + "^.+-hog(-[0-9]+)?$": 49 + type: object 50 + 51 + additionalProperties: false 52 + 53 + properties: 54 + gpio-hog: true 55 + gpios: true 56 + input: true 57 + output-high: true 58 + output-low: true 59 + line-name: true 60 + 61 + required: 62 + - gpio-hog 63 + - gpios 64 + 47 65 required: 48 66 - compatible 49 67 - reg