Received: by 10.192.165.148 with SMTP id m20csp3165493imm; Mon, 7 May 2018 07:44:52 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrFKNZlcJebW4mrs3XeMM02ddOOU9ImvHWcz+pTmiCdOvFibQ02DIGZNUM6/rRDl4NiXw1l X-Received: by 2002:a9d:4a3:: with SMTP id 32-v6mr5134049otm.151.1525704292927; Mon, 07 May 2018 07:44:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525704292; cv=none; d=google.com; s=arc-20160816; b=uj0HVvCOGh0Bk0DdsLO6dG9UUE7VV+Clrjtv1h9vy1ECLjgun6pJlExhc6bmcNix5A ewrzHZ+Q1c0mTH7VWCjLlTsIamla/hz8S/Ijar/Me631jwU+i5Cl0+WvgmZgzoatngP2 oZIoHEBaZ0vGaQRGWV5p35ody8COmHrGt0yliFPEaAeBD622BVrPxiuhxG1QysTllu3L mG33X5aKiLZTUYz5L+czFwCMUpX0rObFl/05MEj7NqG6j8FZoZ5VXbHzhOiPzfr7b332 7Fmi4tq9JZLW3LDmJIAmRQO0rgLTS5ax9tiTQk3VE0jNHEiK7rXtoowGrYQL46uQ5x+2 fPLQ== 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=VnT3/9kRTddLofeWDy8rDQIibNEdU4gx8P1jI52liGQ=; b=Lo1KidMfcNeSnP+5y+3cBMkCtexttYB0F2p0c/fQwOZNm5qIV5+1yWjtYrLGEgFTiL FZpjWnTb7Xa1gTlVSnZbhW/AkU80g6MjRTLTgPFf7nCmCTz+dN2Um5MhgZLwFAySoMw4 WjVFIXAFJ0ueInaSt2uTN96hoXLEGvFrwNqcf65tlMFeCBk+007hUrTNndUWqTTAuf3N iNBTLTATMcX6sSo6s60zNgfpXVDUVX2QpP7BETd4LVD2QEN3pVz2yuNfgtBeaa34gUk1 j51J/UHncVC6Gwe2FAmq/l8xdmyG/v7dmzHvgpLTYfIRt1oCKGniQ1Kh3NjDt5q0yfUw gCYA== 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 m52-v6si8375729otd.42.2018.05.07.07.44.38; Mon, 07 May 2018 07:44:52 -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 S1752227AbeEGOnY (ORCPT + 99 others); Mon, 7 May 2018 10:43:24 -0400 Received: from 216-12-86-13.cv.mvl.ntelos.net ([216.12.86.13]:53758 "EHLO brightrain.aerifal.cx" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750881AbeEGOnW (ORCPT ); Mon, 7 May 2018 10:43:22 -0400 Received: from dalias by brightrain.aerifal.cx with local (Exim 3.15 #2) id 1fFhM2-0004U6-00; Mon, 07 May 2018 14:43:06 +0000 Date: Mon, 7 May 2018 10:43:06 -0400 From: Rich Felker To: Rob Landley Cc: John Paul Adrian Glaubitz , Yoshinori Sato , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [J-core] [PATCH v5 00/22] sh: LANDISK and R2Dplus convert to device tree Message-ID: <20180507144306.GG1392@brightrain.aerifal.cx> References: <20171117191706.GF1627@brightrain.aerifal.cx> <7193aa1b-50e3-11d4-f93d-f567e2e06b8c@physik.fu-berlin.de> <20180105212857.GR1627@brightrain.aerifal.cx> <20180503013708.GC1392@brightrain.aerifal.cx> <20180503023320.GD1392@brightrain.aerifal.cx> <048ab147-21b8-045d-d21c-e1be2dd0e954@physik.fu-berlin.de> <87k1sgtf8t.wl-ysato@users.sourceforge.jp> <5f690985-e905-deb9-aa4f-51561463ae22@physik.fu-berlin.de> <9051f0a5-bc75-b49e-c8c3-aa877be1979e@landley.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9051f0a5-bc75-b49e-c8c3-aa877be1979e@landley.net> 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 Mon, May 07, 2018 at 08:40:35AM -0500, Rob Landley wrote: > On 05/07/2018 06:00 AM, John Paul Adrian Glaubitz wrote: > > I have been able to boot my own kernel on my USL-5P device, but > > I could never get it to detect the IDE controller. Do I need > > an additional patch for that? > > On a related note, is there a list of boards anywhere? I'm working on a 7760 > system at $DAYJOB, Rich has a landisk which according to > https://www.openbsd.org/landisk.html is an SH7751R, and Sato-san says that > QEMU's -r2d emulates that too? ("RTS7751R2Dplus is QEMU-SH4 target. So easy > trying.") > > What other boards do we need to covert to device tree? arch/sh/boards has 15 C > files and 19 subdirectories, but I dunno the status of any of them... I think asking "what we need to convert" is at least slightly mis-framed. Once the basics for device tree support are in place (basically patches 06-09), which boards are supported by device tree is mostly a matter of (1) whether the hardware drivers you want to use have bindings and use modern kernel interfaces, and (2) someone writing the dts files. Unless there's strong objection, I'd be happy with just doing a survey of device drivers used on currently supported boards, making sure they all nominally support device tree, then removing the old board file framework and waiting to see user response. If we take this path it should likely happen in a release not planned for LTS so there's time to add appropriate driver fixes and dts files before the next LTS release. I don't mind holding off a little bit on removal of the legacy board file support if it's hard to get enough hardware working right away with device tree, but I do want to move towards getting rid of it as soon as we can, since it's a large volume of code cutting into my ability to have a good maintainer-level understanding of the arch/sh tree and has a lot of crufty, unmaintained parallel infrastructure duplicating stuff that can be done in cleaner and more modern ways (see the threads on early platform device stuff, rtc drivers, etc.). Rich