summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/siemens/simatic-ipc-batt.h
blob: 89891db26a2c2dd5d37dc73b03f93702d746f7fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Siemens SIMATIC IPC driver for CMOS battery monitoring
 *
 * Copyright (c) Siemens AG, 2023
 *
 * Author:
 *  Henning Schild <henning.schild@siemens.com>
 */

#ifndef _SIMATIC_IPC_BATT_H
#define _SIMATIC_IPC_BATT_H

int simatic_ipc_batt_probe(struct platform_device *pdev,
			   struct gpiod_lookup_table *table);

void simatic_ipc_batt_remove(struct platform_device *pdev,
			     struct gpiod_lookup_table *table);

#endif /* _SIMATIC_IPC_BATT_H */