mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
0e31666dfa
This is a range of stackable network switches. The SoC is Armada-385 and there are a number of variants with differing network port configurations. The DP variants are intended for a harsher operating environment so they use a different i2c mux and fit industrial-temp parts. Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Stefan Roese <sr@denx.de>
13 lines
392 B
C
13 lines
392 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2017 Allied Telesis Labs
|
|
*/
|
|
|
|
int gpio_hog_list(struct gpio_desc *gpiod, int max_count, const char *node_name,
|
|
const char *gpio_name, int value);
|
|
|
|
static inline int gpio_hog(struct gpio_desc *gpiod, const char *node_name,
|
|
const char *gpio_name, int value)
|
|
{
|
|
return gpio_hog_list(gpiod, 1, node_name, gpio_name, value);
|
|
}
|