Received: by 10.192.165.148 with SMTP id m20csp2427110imm; Thu, 26 Apr 2018 10:46:55 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+7nJSS2qyASrmd/w8EWdPHxP2S6WeKSj1GpvbzW1lBHl5v5IrTB6UOMRKpkCUuQIIpZy10 X-Received: by 2002:a17:902:6b86:: with SMTP id p6-v6mr35379635plk.32.1524764815307; Thu, 26 Apr 2018 10:46:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524764815; cv=none; d=google.com; s=arc-20160816; b=rFr+U1uLvSoz/ymnRD2ko0juUagxWG9adsnodDbkWSZy565njNHm7UlMmtnsw/cKfX R5f4EgD5C74Su+oxvxjRnqBvq+cL9cnPldanofGDskqLYMDtueknU7NsQiZ1PaRsAe6z ZPGkJ2mZxAGy2+bBNEU2Om1OL30ILLhZR4Lg64on3NCH3SlqocKIzUfZoEGEDlCLX1e4 voHiBJnsrbRFiHOBAhCtfrwWmLd9Q2NSlCa0Rzm2W7jdp2bsbFtZpikq5s2IN7ajpDdR IMqo3Wq8yBHZPSgZS+KkCUyC3RPAVyTsRrCQ1ktwBrcaQhs4aZ83wCQfo8xwtTz/Tjej 1uiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=nYRXoxFnTP3Ddq9xwv57b17GlNzkpeKNrdV/bxRqTj0=; b=P08n6e6yvlO591/c8Zu0kSLNrXlhcUNwqIz5B4lwLOZVXDVOXyKKk9qJ/IOz3Oe0KL S0LxdfKLhudgORaiV3K8B2plQhQZPNOfadmxA6ud03pDgsjQIaet7oftjOUNNOd+jSFE lF32Y6dZSd9uIwyS8psSSFW/wLXY64fFHv7d/CFAs6geThnuTv05tHDIJYuzie15d2Nt x9Bd0mSllzbHw+yJ5glEtPETBXHOQGCbOhrVzJ+HirRqIPU3zMVVwQ6HHuZ4ugkhcGs3 TaEAxmyD5FdmlawS/wzVcGJqtfbJhGKfaa6dW/zHnG8+iUFfWeTKvU2EXM2SrQLAusK3 uUkA== 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 n125si3687376pga.197.2018.04.26.10.46.40; Thu, 26 Apr 2018 10:46:55 -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 S1756886AbeDZRpg (ORCPT + 99 others); Thu, 26 Apr 2018 13:45:36 -0400 Received: from 216-12-86-13.cv.mvl.ntelos.net ([216.12.86.13]:47310 "EHLO brightrain.aerifal.cx" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756635AbeDZRpe (ORCPT ); Thu, 26 Apr 2018 13:45:34 -0400 Received: from dalias by brightrain.aerifal.cx with local (Exim 3.15 #2) id 1fBkkJ-0007EO-00; Thu, 26 Apr 2018 17:31:51 +0000 Date: Thu, 26 Apr 2018 13:31:51 -0400 From: Rich Felker To: Bartosz Golaszewski Cc: Sekhar Nori , Kevin Hilman , David Lechner , Michael Turquette , Stephen Boyd , Arnd Bergmann , Greg Kroah-Hartman , Rob Herring , Mark Rutland , Yoshinori Sato , Frank Rowand , "Rafael J . Wysocki" , Jarkko Sakkinen , Dmitry Torokhov , Arend van Spriel , Heikki Krogerus , Michal Suchanek , Jan Kiszka , Andy Shevchenko , Marc Zyngier , Peter Rosin , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH RFC PoC 0/2] platform: different approach to early platform drivers Message-ID: <20180426173151.GJ3094@brightrain.aerifal.cx> References: <20180426152920.21569-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180426152920.21569-1-brgl@bgdev.pl> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 26, 2018 at 05:29:18PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > This is a follow to my series[1] the aim of which was to introduce device tree > support for early platform devices. > > It was received rather negatively. Aside from using device tree to pass > implementation specific details to the system, two important concerns were > raised: no probe deferral support and the fact that currently the early devices > never get converted to actual platform drivers. This series is a > proof-of-concept that's trying to address those issues. > > The only user of the current version of early platform drivers is the SuperH > architecture. If this series eventually gets merged, we could simply replace > the other solution. Looking at a quick output of: grep -r -A10 early_devices[[] arch/sh/kernel/ it looks like all of the existing early platform devices are serial ports, clocks, and clocksources. The switch to device tree should pick them all up from CLK_OF_DECLARE, TIMER_OF_DECLARE, and EARLYCON_DECLARE. Until that's complete, the existing code works as-is. I don't see what problem you're trying to solve. FYI I'm (sometimes-somewhat-absent) arch/sh co-maintainer. Rich