blob: 245fadd0d79191d67170538bd8d6fc9a00ba4a2d [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Dirk Eibachfb605942017-02-22 16:07:23 +01002/*
3 * (C) Copyright 2016
4 * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc
Dirk Eibachfb605942017-02-22 16:07:23 +01005 */
6
7#ifndef __DT_HELPERS_H
8#define __DT_HELPERS_H
9
10int fdt_disable_by_ofname(void *rw_fdt_blob, char *ofname);
11bool dm_i2c_simple_probe(struct udevice *bus, uint chip_addr);
12int 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 */