drivers: gpio: implement PALMAS GPIO cell
[u-boot.git] / include / sl28cpld.h
CommitLineData
42595eb7
MW
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (c) 2021 Michael Walle <michael@walle.cc>
4 */
5
6#ifndef __SL28CPLD_H
7#define __SL28CPLD_H
8
d36b683a
MW
9#define SL28CPLD_VERSION 0x03
10
42595eb7
MW
11int sl28cpld_read(struct udevice *dev, uint offset);
12int sl28cpld_write(struct udevice *dev, uint offset, uint8_t value);
13int sl28cpld_update(struct udevice *dev, uint offset, uint8_t clear,
14 uint8_t set);
15
16#endif
This page took 0.110878 seconds and 4 git commands to generate.