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