From owner-svn-src-all@freebsd.org Sat Jan 27 23:46:45 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 E6CD1ECB39C; Sat, 27 Jan 2018 23:46:44 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 7D046808F2; Sat, 27 Jan 2018 23:46:44 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.55.3]) by phk.freebsd.dk (Postfix) with ESMTP id 766642739F; Sat, 27 Jan 2018 23:46:36 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.15.2/8.15.2) with ESMTPS id w0RNkLu6073054 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 27 Jan 2018 23:46:21 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.15.2/8.15.2/Submit) id w0RNkL8n073053; Sat, 27 Jan 2018 23:46:21 GMT (envelope-from phk) To: Warner Losh cc: Emmanuel Vadot , John Baldwin , Ravi Pokala , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules In-reply-to: From: "Poul-Henning Kamp" 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> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <73051.1517096781.1@critter.freebsd.dk> Content-Transfer-Encoding: quoted-printable Date: Sat, 27 Jan 2018 23:46:21 +0000 Message-ID: <73052.1517096781@critter.freebsd.dk> 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:46:45 -0000 -------- In message , Warner Losh writes: >> 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. My driver is not built into any kernels, you have to kldload it AND configure it via sysctls before it can possibly get in the way of anything, so yes: I am out of the way. >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. I don't think the two evenings I spent in my lap measuring and figuring out what the datasheet didn't say and said wrong about the PWM hardware is a failure just because a couple of hardware unrelated lines of source code needs to be changed at a later date. >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 hav= e a >reasonable design that I've started to socialize... You're welcome to joi= n in >in making it happen, if you like.... With the limited time I have available, I will. Poul-Henning -- = Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe = Never attribute to malice what can adequately be explained by incompetence= .