From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 852D9C3A5A8 for ; Wed, 4 Sep 2019 11:48:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5F74422CF7 for ; Wed, 4 Sep 2019 11:48:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567597721; bh=W1RuaOQ4D3lzt0wvk7yJjfhFYdulEZQnvYmF/PKP0vE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=BE00K6F8LyHZsxFf3bwv7s0m/FbX/mODnTKrrN1Zu2gIRsqs7CfiDJqOotQgsWu29 7k/jTRtLXTGhUxwtXWrjY7E8VBaMk4GJ0M1+UgajetghG1ZR9UiibzTzN6Nlg9ixYx I7HEFPaCLMU3noLIHeqBKohtMgERHExSuVOB4lwc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729251AbfIDLsk (ORCPT ); Wed, 4 Sep 2019 07:48:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:59418 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727125AbfIDLsk (ORCPT ); Wed, 4 Sep 2019 07:48:40 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 26A0B20820; Wed, 4 Sep 2019 11:48:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567597719; bh=W1RuaOQ4D3lzt0wvk7yJjfhFYdulEZQnvYmF/PKP0vE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=EWmZMu/rNtlbkq0cs6t4hBYxGpVRjoHMAT1SAw30L53YMJd3M2d+zssE/ePOtAVs6 QN+CUWSERlP2lbytwS3WjP8njbaxWxsVBR+gK/YvY/puAqTzUt3cG1Xn8qBbKAwdn9 io/BzWD1cSGPf097VQC1J2k96ti0L8htrPvis1tI= Date: Wed, 4 Sep 2019 13:48:37 +0200 From: Greg Kroah-Hartman To: Thomas Bogendoerfer Cc: Evgeniy Polyakov , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/2] w1: add 1-wire master driver for IP block found in SGI ASICs Message-ID: <20190904114837.GA9153@kroah.com> References: <20190831082623.15627-1-tbogendoerfer@suse.de> <20190831082623.15627-2-tbogendoerfer@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190831082623.15627-2-tbogendoerfer@suse.de> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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