From owner-svn-src-head@freebsd.org Thu Jun 4 12:57:24 2020 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B2A912F1977; Thu, 4 Jun 2020 12:57:24 +0000 (UTC) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49d5Qq3cN2z3SvT; Thu, 4 Jun 2020 12:57:23 +0000 (UTC) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 054CvKbQ025967; Thu, 4 Jun 2020 05:57:20 -0700 (PDT) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 054CvKZ0025966; Thu, 4 Jun 2020 05:57:20 -0700 (PDT) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <202006041257.054CvKZ0025966@gndrsh.dnsmgr.net> Subject: Re: svn commit: r361775 - in head/sys: dts/arm64/overlays modules/dtb/rpi In-Reply-To: To: Warner Losh Date: Thu, 4 Jun 2020 05:57:20 -0700 (PDT) CC: "Rodney W. Grimes" , Oleksandr Tymoshenko , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Reply-To: rgrimes@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 49d5Qq3cN2z3SvT X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@gndrsh.dnsmgr.net has no SPF policy when checking 69.59.192.140) smtp.mailfrom=freebsd@gndrsh.dnsmgr.net X-Spamd-Result: default: False [0.89 / 15.00]; HAS_REPLYTO(0.00)[rgrimes@freebsd.org]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.08)[-0.078]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; RCPT_COUNT_FIVE(0.00)[6]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.02)[-0.015]; NEURAL_SPAM_LONG(0.09)[0.087]; RCVD_TLS_LAST(0.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.33 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: Thu, 04 Jun 2020 12:57:24 -0000 > On Wed, Jun 3, 2020, 6:28 PM Rodney W. Grimes > wrote: > > > [ Charset UTF-8 unsupported, converting... ] > > > Author: gonzo > > > Date: Wed Jun 3 22:18:15 2020 > > > New Revision: 361775 > > > URL: https://svnweb.freebsd.org/changeset/base/361775 > > > > > > Log: > > > Add spigen overlay for Raspberry Pi 4 > > > > > > Submitted by: gergely.czuczy@harmless.hu > > > > > > Added: > > > head/sys/dts/arm64/overlays/spigen-rpi4.dtso (contents, props > > changed) > > > Modified: > > > head/sys/modules/dtb/rpi/Makefile > > > > > > Added: head/sys/dts/arm64/overlays/spigen-rpi4.dtso > > > > > ============================================================================== > > > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > > > +++ head/sys/dts/arm64/overlays/spigen-rpi4.dtso Wed Jun 3 > > 22:18:15 2020 (r361775) > > > @@ -0,0 +1,30 @@ > > > +/* $FreeBSD$ */ > > > > This file needs some form of copyright/license. > > > > Dts files are like database files: they likely have no copyright > protection. THough I concur on that, it seems the project has lost much insite on that, as has the industry. I now see copyrights and licenses on almost any thing in our tree, shell scripts, Makefiles, etc, etc... If we infact feel these files are non copyrightable/licensable perhaps they should have a statement making that clear? The Berne convention leaves files with no copyright/license statement in them subject to dispute. > Warner > > > > + > > > +/dts-v1/; > > > +/plugin/; > > > + > > > +/ { > > > + compatible = "brcm,bcm2711"; > > > +}; > > > + > > > +&{/soc/spi@7e204000} { > > > + status = "okay"; > > > + spigen0: spigen0 { > > > + compatible = "freebsd,spigen"; > > > + reg = <0>; > > > + spi-max-frequency = <500000>; /* Req'd property, override > > with spi(8) */ > > > + status = "okay"; > > > + }; > > > + spigen1: spigen1 { > > > + compatible = "freebsd,spigen"; > > > + reg = <1>; > > > + spi-max-frequency = <500000>; /* Req'd property, override > > with spi(8) */ > > > + status = "okay"; > > > + }; > > > +}; > > > + > > > +&{/soc/gpio@7e200000/spi0_cs_pins} { > > > + brcm,pins = <8 7>; > > > + brcm,function = <4>; /* ALT0 */ > > > +}; > > > + > > > > > > Modified: head/sys/modules/dtb/rpi/Makefile > > > > > ============================================================================== > > > --- head/sys/modules/dtb/rpi/Makefile Wed Jun 3 22:15:11 2020 > > (r361774) > > > +++ head/sys/modules/dtb/rpi/Makefile Wed Jun 3 22:18:15 2020 > > (r361775) > > > @@ -6,7 +6,8 @@ DTSO= \ > > > spigen-rpi2.dtso > > > .elif ${MACHINE_ARCH} == "aarch64" > > > DTSO= \ > > > - spigen-rpi3.dtso > > > + spigen-rpi3.dtso \ > > > + spigen-rpi4.dtso > > > .endif > > > > > > .include > > > > > > > -- > > Rod Grimes > > rgrimes@freebsd.org > > -- Rod Grimes rgrimes@freebsd.org