Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2020 05:57:20 -0700 (PDT)
From:      "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>
To:        Warner Losh <imp@bsdimp.com>
Cc:        "Rodney W. Grimes" <rgrimes@freebsd.org>, Oleksandr Tymoshenko <gonzo@freebsd.org>, src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r361775 - in head/sys: dts/arm64/overlays modules/dtb/rpi
Message-ID:  <202006041257.054CvKZ0025966@gndrsh.dnsmgr.net>
In-Reply-To: <CANCZdfp-%2Bn1xtvzFqEhMgeCKKL%2BPZ20sHrQCeYGQW%2B4_Kx69hg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On Wed, Jun 3, 2020, 6:28 PM Rodney W. Grimes <freebsd@gndrsh.dnsmgr.net>
> 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 <bsd.dtb.mk>
> > >
> >
> > --
> > Rod Grimes
> > rgrimes@freebsd.org
> >

-- 
Rod Grimes                                                 rgrimes@freebsd.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006041257.054CvKZ0025966>