xref: /openbmc/u-boot/board/gdsys/a38x/dt_helpers.h (revision 83d290c5)
1*83d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */
260083261SDirk Eibach /*
360083261SDirk Eibach  * (C) Copyright 2016
460083261SDirk Eibach  * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
560083261SDirk Eibach  */
660083261SDirk Eibach 
760083261SDirk Eibach #ifndef __DT_HELPERS_H
860083261SDirk Eibach #define __DT_HELPERS_H
960083261SDirk Eibach 
1060083261SDirk Eibach int fdt_disable_by_ofname(void *rw_fdt_blob, char *ofname);
1160083261SDirk Eibach bool dm_i2c_simple_probe(struct udevice *bus, uint chip_addr);
1260083261SDirk Eibach int request_gpio_by_name(struct gpio_desc *gpio, const char *gpio_dev_name,
1360083261SDirk Eibach 			 uint offset, char *gpio_name);
1460083261SDirk Eibach 
1560083261SDirk Eibach #endif /* __DT_HELPERS_H */
16