Merge https://source.denx.de/u-boot/custodians/u-boot-snapdragon
[u-boot.git] / include / sl28cpld.h
blob9a7c6de31f589bac1404f4e9afdaaf03891d1e39
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3 * Copyright (c) 2021 Michael Walle <michael@walle.cc>
4 */
6 #ifndef __SL28CPLD_H
7 #define __SL28CPLD_H
9 #define SL28CPLD_VERSION 0x03
11 int sl28cpld_read(struct udevice *dev, uint offset);
12 int sl28cpld_write(struct udevice *dev, uint offset, uint8_t value);
13 int sl28cpld_update(struct udevice *dev, uint offset, uint8_t clear,
14 uint8_t set);
16 #endif