mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 08:58:52 +09:00
![Dario Binacchi](/assets/img/avatar_default.png)
The TI PWMSS driver is a simple bus driver for providing clock and power management for the PWM peripherals on TI AM33xx SoCs, namely eCAP, eHRPWM and eQEP. For DT binding details see Linux doc: - Documentation/devicetree/bindings/pwm/pwm-tipwmss.txt Signed-off-by: Dario Binacchi <dariobin@libero.it>
22 lines
412 B
C
22 lines
412 B
C
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Pulse-Width Modulation Subsystem (pwmss)
|
|
*
|
|
* Copyright (C) 2020 Dario Binacchi <dariobin@libero.it>
|
|
*/
|
|
|
|
#include <common.h>
|
|
#include <dm.h>
|
|
|
|
static const struct udevice_id ti_pwmss_ids[] = {
|
|
{.compatible = "ti,am33xx-pwmss"},
|
|
{}
|
|
};
|
|
|
|
U_BOOT_DRIVER(ti_pwmss) = {
|
|
.name = "ti_pwmss",
|
|
.id = UCLASS_SIMPLE_BUS,
|
|
.of_match = ti_pwmss_ids,
|
|
.bind = dm_scan_fdt_dev,
|
|
};
|