Files
charge-controller-firmware/dts/bindings/half-bridge.yaml
T
Martin Jäger 8ab8ea244a Move to standard Zephyr T2 workspace structure (star topology)
https://docs.zephyrproject.org/latest/guides/west/workspaces.html

Previously, west manifest and CMake entry point were in zephyr subfolder
as required for PlatformIO. As PlatformIO support was dropped, we can
follow the default Zephyr folder structure more closely.

The application is built and flashed from app subfolder, where as unit
tests are run from tests subfolder.
2021-12-12 14:09:05 +01:00

29 lines
697 B
YAML

# Copyright (c) The Libre Solar Project Contributors
# SPDX-License-Identifier: Apache-2.0
description: Half bridge, consisting of two coupled PWM outputs
compatible: "half-bridge"
include: base.yaml
properties:
frequency:
type: int
required: true
description: PWM frequency in Hz
deadtime:
type: int
required: true
description: Dead time for synchronous PWM generation in nanoseconds
pinctrl-0:
type: phandles
required: false
description: |
GPIO pin configuration for PWM signal/s. We expect that the phandles
will reference pinctrl nodes, e.g.
pinctrl-0 = <&tim1_ch1_pwm_pa8 &tim1_ch2_pwm_pa9>;