mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
![Thomas Bogendoerfer](/assets/img/avatar_default.png)
Starting with SGI Origin machines nearly every new SGI ASIC contains an 1-Wire master. They are used for attaching One-Wire prom devices, which contain information about part numbers, revision numbers, serial number etc. and MAC addresses for ethernet interfaces. This patch adds a master driver to support this IP block. It also adds an extra field dev_id to struct w1_bus_master, which could be in used in slave drivers for creating unique device names. Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Link: https://lore.kernel.org/r/20190831082623.15627-2-tbogendoerfer@suse.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 lines
222 B
C
13 lines
222 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* SGI One-Wire (W1) IP
|
|
*/
|
|
|
|
#ifndef PLATFORM_DATA_SGI_W1_H
|
|
#define PLATFORM_DATA_SGI_W1_H
|
|
|
|
struct sgi_w1_platform_data {
|
|
char dev_id[64];
|
|
};
|
|
|
|
#endif /* PLATFORM_DATA_SGI_W1_H */
|