From owner-svn-src-head@freebsd.org Sat Jan 27 23:27:26 2018 Return-Path: Delivered-To: svn-src-head@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 1F9D4ECA3EC for ; Sat, 27 Jan 2018 23:27:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x22e.google.com (mail-io0-x22e.google.com [IPv6:2607:f8b0:4001:c06::22e]) (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 892E07FE23 for ; Sat, 27 Jan 2018 23:27:25 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x22e.google.com with SMTP id b198so3997067iof.6 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=fk3jx/XNzEQWrsmE1rwmR8Ag1gvfZzbFezj3CCtumxAoeB+GWBtIEjJsK3whPw7I3/ AmBeclO3YpJJA0FIPCpVrKcw6V/HiSuc5M3bx6cOoNv/Sp4ar9xA7rXsMNVcYCkOJV9k RCAbiyWlfb4BNeikMldhuduoFhAS/ArwNjHkjDNstwKMVxmbYA+ONAOJW68uXbQlQsjV CFaoBBJ2eQqiPa/MC3wRqb53Wovg2Dzd5BjzjCma/T6ilwXITsjlkkbSC/374t9p3pN9 HAcZMO6oD+lz9OurlGq/XOdR5Vvtnl8obIUHw1tfOp0TloCQ3EeXaypN8ZX/XIZuyjO9 b6sw== X-Gm-Message-State: AKwxytdrlPBVTTs5jGlo3TJaqpiJJlmxvhk/ontg4BTY0RBVWJesWH4q w7/UzI0xhf2CSphuI0Oa8b20hM3k+9r1+5J3WgblGg== 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-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current 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