summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/tegra124/pmc.c
blob: be82acf11e670c343c4be1abb7b7a7b6c4172e82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright (C) 2017 Google, Inc
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#include <common.h>
#include <dm.h>
#include <syscon.h>

static const struct udevice_id tegra124_syscon_ids[] = {
	{ .compatible = "nvidia,tegra124-pmc", .data = TEGRA_SYSCON_PMC },
};

U_BOOT_DRIVER(syscon_tegra124) = {
	.name = "tegra124_syscon",
	.id = UCLASS_SYSCON,
	.of_match = tegra124_syscon_ids,
};