forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-03-15 f8c23d1415aad662de5acfa33671b5d14d2c1300
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,
};