Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032215AbbKELCr (ORCPT ); Thu, 5 Nov 2015 06:02:47 -0500 Received: from smtp4-g21.free.fr ([212.27.42.4]:17660 "EHLO smtp4-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031209AbbKELCq (ORCPT ); Thu, 5 Nov 2015 06:02:46 -0500 To: Linux ARM , LKML From: Mason Subject: Grafting old platform drivers onto a new DT kernel Message-ID: <563B3749.50701@free.fr> Date: Thu, 5 Nov 2015 12:02:33 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0 SeaMonkey/2.38 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1129 Lines: 28 Hello, My company provides a 3.4 kernel for an ARM-based SoC (there's also a 2.6.32 stashed somewhere for customers refusing to upgrade) along with drivers of dubious quality written over the past decade. I was tasked to release a new kernel, and took the opportunity to perform a massive clean-up by discarding everything, and adding only enough code on top of a recent kernel to boot to the shell. I now have a small port with no drivers. (I do have working serial and ethernet.) Since I don't have time to rewrite the drivers at the moment, I'm wondering if it's possible to "graft" old drivers (they're using the platform API, no trace of DT support) onto my small base? That way I can make management happy by providing a working new kernel, and I can start working on converting drivers one-by-one. Is that a realistic plan? What traps am I likely to fall into? Regards. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/