Files
tactility/TactilityKernel/bindings/gpio-hog.yaml
T
Ken Van Hoeylandt 3b5a401594 Device migrations, new drivers, cleanup (#567)
* **New Features**
  * Added native display support for ST7796, ILI9341, and ST7789 panels across supported boards.
  * Added FT5x06 and FT6x36 touchscreen support.
  * Generic PWM driver
  * ESP32 PWM driver
  * Generic RGB LED driver
  * RGB PWM LED driver
  * RGB GPIO LED driver
  * Implementation of RGB LED for various boards

* **Improvements**
  * Updated board hardware descriptions to use explicit display/touch/backlight device-tree bindings and disabled deprecated HAL usage.
  * Improved display and touch-driver cleanup to prevent stale resources and improve shutdown reliability.
  * Pinned esp-hosted library to a fixed version
 
* **Deletions**
  * Obsolete placeholder display
  * Legacy ILI9488 support.
  * ESP32-specific LEDC PWM implementation
2026-07-16 22:47:26 +02:00

22 lines
841 B
YAML

description: >
Claims a GPIO pin and drives it to a fixed level for as long as the module is running, with
no further runtime behavior. Useful for board-level power-enable pins that must be asserted
before other devicetree devices try to use hardware gated by that pin - all devicetree
devices are constructed and started during kernel_init(), which runs before the deprecated
HAL's initBoot() hook. Declare a gpio-hog node before the dependent device(s) in the .dts
source so it runs first.
compatible: "gpio-hog"
properties:
pin:
type: phandles
required: true
description: The GPIO pin to hog
mode:
type: int
default: 0
description: |
Pin mode, see enum GpioHogMode in tactility/drivers/gpio_hog.h:
0 = GPIO_HOG_MODE_OUTPUT_HIGH, 1 = GPIO_HOG_MODE_OUTPUT_LOW, 2 = GPIO_HOG_MODE_INPUT.