Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Dirk Eibach | 6008326 | 2017-02-22 16:07:23 +0100 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2016 |
| 4 | * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc |
Dirk Eibach | 6008326 | 2017-02-22 16:07:23 +0100 | [diff] [blame] | 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 */ |