u-boot/drivers/clk/ti/omap4-cm.c
Dario Binacchi 06c94c2463 clk: ti: omap4: add clock manager driver
This minimal driver is only used to bind child devices.

For DT binding details see Linux doc:
- Documentation/devicetree/bindings/arm/omap/prcm.txt

Signed-off-by: Dario Binacchi <dariobin@libero.it>
2021-01-12 10:58:04 +05:30

22 lines
426 B
C

// SPDX-License-Identifier: GPL-2.0+
/*
* OMAP4 clock manager (cm)
*
* Copyright (C) 2020 Dario Binacchi <dariobin@libero.it>
*/
#include <common.h>
#include <dm.h>
#include <dm/lists.h>
static const struct udevice_id ti_omap4_cm_ids[] = {
{.compatible = "ti,omap4-cm"},
{}
};
U_BOOT_DRIVER(ti_omap4_cm) = {
.name = "ti_omap4_cm",
.id = UCLASS_SIMPLE_BUS,
.of_match = ti_omap4_cm_ids,
.bind = dm_scan_fdt_dev,
};