Martin Jäger
d283436747
Move ADC peripheral setup to devicetree
...
Remove the ADC channel configuration from the board.h files and use new
DT macros to configure the ADC peripheral based on board.dts only.
2020-07-20 09:07:31 +02:00
Martin Jäger
1b6c56d25b
Replace adc-gain DT binding with adc-inputs
...
Preparation for cleanup of ADC driver.
2020-06-26 15:17:53 +02:00
Martin Jäger
efc0bc8fdc
Update to ThingSet library v0.3
2020-05-06 12:53:26 +02:00
Martin Jäger
a412117b5b
New adc-gain devicetree binding
2020-05-06 12:53:26 +02:00
Martin Jäger
8dd576e40e
Configure PWM switch driver via DTS
...
Driver now moved to separate .c file to allow ISR handling in Zephyr.
2020-05-06 12:53:26 +02:00
Martin Jäger
ce7f63b888
Introduce generic "outputs" DTS binding
...
Replaces previous "switch" and "pwm-out" bindings and allows to reference
either gpio or pwm handle and specify maximum current.
Also replacing CONFIG_HAS_LOAD and CONFIG_HAS_USB_PWR with DT_ variants.
2020-05-06 12:53:26 +02:00
Martin Jäger
affaa9d8e8
Move PCB type and version to DTS
2020-05-06 12:53:26 +02:00
Martin Jäger
4e6f6c7365
Move thermal model parameters to DTS
2020-05-06 12:53:26 +02:00
Martin Jäger
ab504e3dfa
DC/DC and PWM switch configuration via DTS
...
As these settings are clearly hardware-specific, configuration was
moved from Kconfig (hidden symbols) to DTS. New bindings added.
2020-05-06 12:53:26 +02:00
Martin Jäger
2a71d02aeb
Move PCB and user config to board Kconfig
...
Files in src/pcbs/xyz.h are moved to boards/xyz/board.h. User settings from
src/config.h are also configured via Kconfig, so the file is removed.
2020-04-30 10:53:58 +02:00