From owner-svn-src-all@freebsd.org Sat Jan 27 23:27:26 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02E1EECA3EB for ; Sat, 27 Jan 2018 23:27:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 74D587FE20 for ; Sat, 27 Jan 2018 23:27:25 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x230.google.com with SMTP id d13so4000125iog.5 for ; Sat, 27 Jan 2018 15:27:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=e/8nHBlx8uAGB9qF4bJMSGijYq9jKok1rc/8oAZ2scc=; b=GQhyHqPI3e67c6NMFKqiqHi4kLkuUkIWW6HTgLmwmvOgOAnIV9N5sagKJyUP4lHUFr 32EloH1BaYHV8fzPDMhC2T8EHgUiqTplGyJ6pnj2osuKVrMqaPRVd2gXLXBnwXYkk391 gnE38AxArb/Mj5V+shhIO7e1YkO2ntAcTgiXb+qsWFn/+uXJh7OAoej1Eyfe2CB9vgC+ 88MtTXf1AlO8U88GoTVZ11Xdo2KwtVflwvBD6+vJ0O+7sZd3Q7qAulOIlwjFzOAVGthf wkPXcdJCXE5+uLhak3b5MfbGlWBSnbFZyfC9gL0kvnT8N9bwpstPZlNXJIhIXn2IEKwF 2QCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=e/8nHBlx8uAGB9qF4bJMSGijYq9jKok1rc/8oAZ2scc=; b=MljiKproOY2fmEEvaDS3oCwSmCWkdNz2MZXWttHNO0/R0dXO1FUYaOgSXy2lxvtYke 5BT5en3y4N0jNcoKFdRephygGncYRuMEwAOBKcqpiuU91PqwDczS2FwY9ZgmOwPhHIQJ OqYj9/rFI4mzgtw7bW3WTxeyLm6AzholeWi1ryaubS3TQxhPkG/2ZrmBuC0FBWIRRucH MJ95ULkTDCD9ikmIQVllQVerj3m41bATDU4NGblj6LbjEauu8/lyDHWmT2Eun+xVdKAe /wDqJDxQGFegZIGrDZmHuRzsuKj7gHU3QhDzQU0E2ZDal7R+RonOI176b6RfGo1A3g/E Dd1Q== X-Gm-Message-State: AKwxytd+K/gV0pQl3f4DkZNza6n9yLqtjL6mu+5WA97kzfGvfs9wpn2F r6smQGQSj4ZxXbD+clw+6j5L2DcuXh6JnakppwKbFA== X-Google-Smtp-Source: AH8x2260mrbORFzXNiRRiwBwvoRUm/Y6+0GBc029jtOwgvG1Sqbo0CaIFWZntLXfPbNGbxGDw3TS/VkoaX0xJkWPYDU= X-Received: by 10.107.88.12 with SMTP id m12mr19459453iob.136.1517095644716; Sat, 27 Jan 2018 15:27:24 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.201.67 with HTTP; Sat, 27 Jan 2018 15:27:24 -0800 (PST) X-Originating-IP: [50.253.99.174] In-Reply-To: <72042.1517094867@critter.freebsd.dk> References: <201801220710.w0M7AUm9091853@repo.freebsd.org> <90451.1516663240@critter.freebsd.dk> <2987003.eeGRFBb6N8@ralph.baldwin.cx> <93949.1516733748@critter.freebsd.dk> <20180127210801.37b8001125dd0a2c92372f98@bidouilliste.com> <72042.1517094867@critter.freebsd.dk> From: Warner Losh Date: Sat, 27 Jan 2018 16:27:24 -0700 X-Google-Sender-Auth: kaO3cFHGKVLJWYzqY431ip1QCC4 Message-ID: Subject: Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules To: Poul-Henning Kamp Cc: Emmanuel Vadot , John Baldwin , Ravi Pokala , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jan 2018 23:27:26 -0000 On Sat, Jan 27, 2018 at 4:14 PM, Poul-Henning Kamp wrote: > > The moment the correct infrastructure appears on the RPi platform, > if it ever does, I will change my driver to use that infrastructure. > The root of the problem is that we have the right infrastructure... Everywhere except RPi. It needs a proper pinmux/pinctl driver. That's the next step in fixing this issue. If you don't want to be part of fixing that, then get out of the way. Embedded is different and we've had a decade now of increasing FDT use, and it works. The RPi port, sadly, didn't come with this, and we're paying the price now. In an ideal word, you could just enable the driver, have it attach, and have it's pins muxed properly by the infrastructure. We're there on boot on every other armv7/arm64 platform, just not there incrementally at runtime. Some work would be needed to make that happen, but I think I have a reasonable design that I've started to socialize... You're welcome to join in in making it happen, if you like.... The next step, though, is to bring the RPI's infrastructure up to speed with the rest of the arm ports... That's where time is best spent, honestly. Fighting a never ending series of one-off kludges is doomed to failure. Warner