mvtwsi.c (c23154aab5825fec81d5500c53eaa686646c76b5) mvtwsi.c (3dc23f7852158fafde9eb736060f9e8131997f19)
1/*
2 * Driver for the TWSI (i2c) controller found on the Marvell
3 * orion5x and kirkwood SoC families.
4 *
5 * Author: Albert Aribaud <albert.u.boot@aribaud.net>
6 * Copyright (c) 2010 Albert Aribaud.
7 *
8 * SPDX-License-Identifier: GPL-2.0+

--- 7 unchanged lines hidden (view full) ---

16/*
17 * include a file that will provide CONFIG_I2C_MVTWSI_BASE
18 * and possibly other settings
19 */
20
21#if defined(CONFIG_ORION5X)
22#include <asm/arch/orion5x.h>
23#elif defined(CONFIG_KIRKWOOD)
1/*
2 * Driver for the TWSI (i2c) controller found on the Marvell
3 * orion5x and kirkwood SoC families.
4 *
5 * Author: Albert Aribaud <albert.u.boot@aribaud.net>
6 * Copyright (c) 2010 Albert Aribaud.
7 *
8 * SPDX-License-Identifier: GPL-2.0+

--- 7 unchanged lines hidden (view full) ---

16/*
17 * include a file that will provide CONFIG_I2C_MVTWSI_BASE
18 * and possibly other settings
19 */
20
21#if defined(CONFIG_ORION5X)
22#include <asm/arch/orion5x.h>
23#elif defined(CONFIG_KIRKWOOD)
24#include <asm/arch/kirkwood.h>
24#include <asm/arch/soc.h>
25#elif defined(CONFIG_SUNXI)
26#include <asm/arch/i2c.h>
27#else
28#error Driver mvtwsi not supported by SoC or board
29#endif
30
31/*
32 * TWSI register structure

--- 374 unchanged lines hidden ---
25#elif defined(CONFIG_SUNXI)
26#include <asm/arch/i2c.h>
27#else
28#error Driver mvtwsi not supported by SoC or board
29#endif
30
31/*
32 * TWSI register structure

--- 374 unchanged lines hidden ---