blob: 1b95262c5164b46010f41d1a1f7133accb0a4466 [file] [log] [blame]
Dirk Eibach60083262017-02-22 16:07:23 +01001/*
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
11int fdt_disable_by_ofname(void *rw_fdt_blob, char *ofname);
12bool dm_i2c_simple_probe(struct udevice *bus, uint chip_addr);
13int 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 */