On Sat, Aug 31, 2019 at 10:26:21AM +0200, Thomas Bogendoerfer wrote: > 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 <tbogendoer...@suse.de> > --- > drivers/w1/masters/Kconfig | 9 +++ > drivers/w1/masters/Makefile | 1 + > drivers/w1/masters/sgi_w1.c | 130 > +++++++++++++++++++++++++++++++++++ > include/linux/platform_data/sgi-w1.h | 13 ++++
Why platform data? I thought that was the "old way", and the "proper way" now is to use device tree? thanks, greg k-h