Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp601162ybe; Wed, 4 Sep 2019 05:04:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwjN2t/c3j6vO3GFS2TztmbDhrR/yly/dOZSBqvtUnzByIZkFYtD7uV52B059JIZiG3DpLh X-Received: by 2002:a62:8246:: with SMTP id w67mr47008408pfd.226.1567598661798; Wed, 04 Sep 2019 05:04:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567598661; cv=none; d=google.com; s=arc-20160816; b=W85tByKdf2WJ1wR0fnzaACSx1fMvh7QsQYLGgXCFSIgNloGjfmXbHYAQxLWyNPkmUt Jdu8HhQ4kF3rEC+kk8mUgZEb9VC/vK10yPxxW3nXgdURQ6El5SQQ8LVY45y+zKwmJbI6 Ii/BKdzrWDZ312oJBK9mdQC9c7uGabjLu8Fxv9bZlkVnE/ww+eFz9+bouPB8Cmx1YwgZ 7ahfj2WVttcdRSMsA/G2zcM3oOKY/lfBNhUBkH0II1lvXZ1kiBSO+Pdv7jVEUtxNIhtr oyWRV95Q8lbld46V6WdGS5Ht1B7fx0ddh//d2yto4B7u5IBlqOzCw+fpindF8fYtz7O0 E7Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=8qIXZ+wWkRpsTu8kHmD/BVPcXgGNHigrtWSVYK/pYZg=; b=Aye70p79Y6mE9v1xnmeiM6wGgkZ18BJFUey6zSAkuoagutwUALDfdHps/1HZGqCdmU Q7jCu7Ww4IUDfH85kvEswQsIkQkOVSBsroWrk5KpX6L4WvHNBDz3+fnSXh5KPFTJyIPE HYgO5t4CcZ5sDsOQ5tCM/pd8ETSw3m2rSC/35pu32E2Q4ksoLzzbGZqwaXH0Q/sD8Eeu e3A2BXMQuUDEO4tjOzI109Emje3OvCwNxBvoI9cLs9MVN7Y4i+PUErakl+7YvNc2Hwdx 82dkj6Ko01N8RVMNCie4BBKGS7AEJBSqKaSJcWmmO9aUgrKLG+gPetF7GZtMUggtlCWR qceA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l13si17301979pgp.133.2019.09.04.05.04.05; Wed, 04 Sep 2019 05:04:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729741AbfIDMBf convert rfc822-to-8bit (ORCPT + 99 others); Wed, 4 Sep 2019 08:01:35 -0400 Received: from mx2.suse.de ([195.135.220.15]:59316 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726240AbfIDMBf (ORCPT ); Wed, 4 Sep 2019 08:01:35 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 8B37AB66A; Wed, 4 Sep 2019 12:01:34 +0000 (UTC) Date: Wed, 4 Sep 2019 14:01:34 +0200 From: Thomas Bogendoerfer To: Greg Kroah-Hartman 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: <20190904140134.698aaf5f5ec204a5305c1177@suse.de> In-Reply-To: <20190904114837.GA9153@kroah.com> References: <20190831082623.15627-1-tbogendoerfer@suse.de> <20190831082623.15627-2-tbogendoerfer@suse.de> <20190904114837.GA9153@kroah.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 4 Sep 2019 13:48:37 +0200 Greg Kroah-Hartman wrote: > 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? this machine is old and doesn't have device tree at all. Thomas. -- SUSE Software Solutions Germany GmbH HRB 247165 (AG M?nchen) Gesch?ftsf?hrer: Felix Imend?rffer