Dario Binacchi | 1a9d208 | 2020-12-30 00:16:25 +0100 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | ||||
3 | * Pulse-Width Modulation Subsystem (pwmss) | ||||
4 | * | ||||
5 | * Copyright (C) 2020 Dario Binacchi <dariobin@libero.it> | ||||
6 | */ | ||||
7 | |||||
8 | #include <common.h> | ||||
9 | #include <dm.h> | ||||
10 | |||||
11 | static const struct udevice_id ti_pwmss_ids[] = { | ||||
12 | {.compatible = "ti,am33xx-pwmss"}, | ||||
13 | {} | ||||
14 | }; | ||||
15 | |||||
16 | U_BOOT_DRIVER(ti_pwmss) = { | ||||
17 | .name = "ti_pwmss", | ||||
18 | .id = UCLASS_SIMPLE_BUS, | ||||
19 | .of_match = ti_pwmss_ids, | ||||
20 | .bind = dm_scan_fdt_dev, | ||||
21 | }; |