Removes some of the hard-coded configuration in half_bridge.cpp and moves it to board configuration. The previous manual pinmux for the PWM output pins is now completely replaced with Zephyr pinmux.
25 lines
592 B
YAML
25 lines
592 B
YAML
# SPDX-License-Identifier: Apache-2.0
|
|
# Copyright (c) 2020 Martin Jäger / Libre Solar
|
|
|
|
description: DC/DC converter as part of MPPT charge controllers
|
|
|
|
compatible: "dcdc"
|
|
|
|
properties:
|
|
timer:
|
|
type: phandle
|
|
required: true
|
|
description: Timer used for PWM signal generation
|
|
pwm-frequency:
|
|
type: int
|
|
required: true
|
|
description: PWM frequency in Hz
|
|
pwm-deadtime:
|
|
type: int
|
|
required: true
|
|
description: Dead time for synchronous PWM generation in nanoseconds
|
|
current-max:
|
|
type: int
|
|
required: true
|
|
description: Maximum inductor current in amps
|