blob: 2a491877792fdeef574a66929da6f692f9cccb7c [file] [log] [blame]
Shaveta Leekhaaa42cb72012-10-08 07:44:17 +00001/*
2 * Copyright 2012 Freescale Semiconductor, Inc.
3 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Shaveta Leekhaaa42cb72012-10-08 07:44:17 +00005 */
6
7#ifndef __VSC_CROSSBAR_H_
8#define __VSC_CROSSBAR_H 1_
9
10#include <common.h>
11#include <i2c.h>
12#include <errno.h>
13
14int vsc_if_enable(unsigned int vsc_addr);
Shaohui Xie7d0d3552013-08-19 18:43:07 +080015int vsc3316_config(unsigned int vsc_addr, int8_t con_arr[][2],
Shaveta Leekhaaa42cb72012-10-08 07:44:17 +000016 unsigned int num_con);
17int vsc3308_config(unsigned int vsc_addr, const int8_t con_arr[][2],
18 unsigned int num_con);
19void vsc_wp_config(unsigned int vsc_addr);
20
21#endif /* __VSC_CROSSBAR_H_ */