summaryrefslogtreecommitdiff
path: root/drivers/bus/ti-pwmss.c
blob: 265b4cf83b5996c95de41745d2d82721ae6a7b27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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,
};