]> git.sur5r.net Git - u-boot/blob - board/gdsys/a38x/dt_helpers.h
1b95262c5164b46010f41d1a1f7133accb0a4466
[u-boot] / board / gdsys / a38x / dt_helpers.h
1 /*
2  * (C) Copyright 2016
3  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
4  *
5  * SPDX-License-Identifier:    GPL-2.0+
6  */
7
8 #ifndef __DT_HELPERS_H
9 #define __DT_HELPERS_H
10
11 int fdt_disable_by_ofname(void *rw_fdt_blob, char *ofname);
12 bool dm_i2c_simple_probe(struct udevice *bus, uint chip_addr);
13 int request_gpio_by_name(struct gpio_desc *gpio, const char *gpio_dev_name,
14                          uint offset, char *gpio_name);
15
16 #endif /* __DT_HELPERS_H */