From owner-svn-src-all@freebsd.org Tue Jan 30 10:22:39 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 3C721EB7C13; Tue, 30 Jan 2018 10:22:39 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6766986066; Tue, 30 Jan 2018 10:22:38 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 5d63ed4e; Tue, 30 Jan 2018 11:22:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=TUxUziclsbRTZTCLe6lgZav/7Zc=; b=TRW4cXvCuVB+efCtrUWGBVprAhCv rzHt2sAgpetCQ3nZ3XY0rtCeAqiqqeK3AHCpijzmo2nCdOhcXFP8wFImnh1Xd9uP 8KPCs+TtDZzkjozLRcjLvWxnc8lxV6EkFPqx2w4AEa1rd9v2Hg8OAp5sxmGvNee5 ums+PE8mN/QZI7M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=gj5EcAPMWX+UbVccrmzpMQhxqoHybP3HOvf2CoEDGXMi86bMqbd1PNwb v6yi2nYMRHAWhGGDOuAiESzQahMEtkksmCKQu3APNn4Y+hM+4BmlisURicF1q8lb lvLFPAU59VYe48AjWSk6jmmb4SHu6Xs8ipAAWF68Y8m21UKTHDA= Received: from arcadia (evadot.gandi.net [217.70.181.36]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 73cbf5af TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Tue, 30 Jan 2018 11:22:36 +0100 (CET) Date: Tue, 30 Jan 2018 11:22:33 +0100 From: Emmanuel Vadot To: "Poul-Henning Kamp" Cc: Oleksandr Tymoshenko , Warner Losh , John Baldwin , Ravi Pokala , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org, owner-src-committers@freebsd.org Subject: Re: svn commit: r328257 - in head/sys: arm/broadcom/bcm2835 dts/arm modules Message-Id: <20180130112233.ff840e66af9d52a00ab748bc@bidouilliste.com> In-Reply-To: <5764.1517307326@critter.freebsd.dk> References: <20180127210801.37b8001125dd0a2c92372f98@bidouilliste.com> <72042.1517094867@critter.freebsd.dk> <8d8ae9d10058fd72ce3ec467181c9f22@megadrive.org> <13025.1517179897@critter.freebsd.dk> <20180129063950.GA59901@bluezbox.com> <32793.1517221534@critter.freebsd.dk> <20180129132736.GA66330@bluezbox.com> <33452.1517233531@critter.freebsd.dk> <20180130025048.GA76676@bluezbox.com> <90452.1517301074@critter.freebsd.dk> <20180130094251.GA85100@bluezbox.com> <64381.1517305677@critter.freebsd.dk> <20180130105812.d1de09e0d4ac88934d776c71@bidouilliste.com> <5764.1517307326@critter.freebsd.dk> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Tue, 30 Jan 2018 10:22:39 -0000 On Tue, 30 Jan 2018 10:15:26 +0000 "Poul-Henning Kamp" wrote: > -------- > In message <20180130105812.d1de09e0d4ac88934d776c71@bidouilliste.com>, Emmanuel > Vadot writes: > >On Tue, 30 Jan 2018 09:47:57 +0000 > > > I don't think that we want to load it by default as it would mean that > >some GPIO are now unusable as they are pwm pins now. > > So the essential architectural question seems to be: > > Can we load the pwm overlay by default, but still use the > PWM-pins for something else until/if the pwm driver is kldloaded ? I guess that with gpioctl(1) one could turn back the pins as gpios and use them, but if one do that loading the pwm driver will not turn them back to the pwm function. The objection I have to load automatically the pwm overlay on RPI is why should we do it for this subsystem on this board and not for any other subsystem on any other board ? > If not, we're right back to FreeBSD 1.x semantics again. > > -- > 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. -- Emmanuel Vadot