mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [PATCH v8 6/6] arm64: dts: allwinner: h5: add support for the Orange Pi PC 2 board
       [not found] ` <20170306171750.7491-7-icenowy@aosc.xyz>
@ 2017-03-06 21:49   ` Rask Ingemann Lambertsen
  2017-03-07 17:09     ` Maxime Ripard
  0 siblings, 1 reply; 4+ messages in thread
From: Rask Ingemann Lambertsen @ 2017-03-06 21:49 UTC (permalink / raw)
  To: Icenowy Zheng
  Cc: Rob Herring, Maxime Ripard, Chen-Yu Tsai, devicetree,
	Andre Przywara, linux-kernel, linux-sunxi, linux-arm-kernel

On Tue, Mar 07, 2017 at 01:17:50AM +0800, Icenowy Zheng wrote:
> From: Andre Przywara <andre.przywara@arm.com>
> 
> The Orange Pi PC 2 is a typical single board computer using the
> Allwinner H5 SoC. Apart from the usual suspects it features three
> separately driven USB ports and a Gigabit Ethernet port.
> Also it has a SPI NOR flash soldered, from which the board can boot
> from. This enables the SBC to behave like a "real computer" with
> built-in firmware.
> 
> Add the board specific .dts file, which includes the H5 .dtsi and
> enables the peripherals that we support so far.
> 
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
> [Icenowy: dropped all GPIO pinctrl nodes, change red LED gpio,
>  change MMC cd to active-low, rename some node names to prevent
>  underscores]
> Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>

Reviewed-by: Rask Ingemann Lambertsen <rask@formelder.dk>

> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
> new file mode 100644
> index 000000000000..30639729920d
> --- /dev/null
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
> @@ -0,0 +1,163 @@
> +/*
> + * Copyright (C) 2016 ARM Ltd.
> + *
> + * This file is dual-licensed: you can use it either under the terms
> + * of the GPL or the X11 license, at your option. Note that this dual
> + * licensing only applies to this file, and not this project as a
> + * whole.

I didn't catch any sort of announcement of it, but it seems as if we've
started using SPDX license identifiers in dts files. Thus you can simply
include the line
SPDX-License-Identifier: (GPL-2.0+ OR MIT)
after the copyright notice and omit the license notices themselves. Even
though the comment refers to "the X11 license", the license text matches that
associated with the MIT license identifier [1] rather than that of the X11
license [2]. The same goes for patch 5/6.

[1] https://spdx.org/licenses/MIT.html#licenseText
[2] https://spdx.org/licenses/X11.html#licenseText

-- 
Rask Ingemann Lambertsen

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v8 0/6] Allwinner H5 and Orange Pi PC2 support
       [not found] <20170306171750.7491-1-icenowy@aosc.xyz>
       [not found] ` <20170306171750.7491-7-icenowy@aosc.xyz>
@ 2017-03-07 17:07 ` Maxime Ripard
       [not found]   ` <2704251488908203@web18o.yandex.ru>
  1 sibling, 1 reply; 4+ messages in thread
From: Maxime Ripard @ 2017-03-07 17:07 UTC (permalink / raw)
  To: Icenowy Zheng
  Cc: Rob Herring, Chen-Yu Tsai, devicetree, linux-arm-kernel,
	linux-kernel, linux-sunxi

[-- Attachment #1: Type: text/plain, Size: 1160 bytes --]

Hi,

On Tue, Mar 07, 2017 at 01:17:44AM +0800, Icenowy Zheng wrote:
> Allwinner H5 is a 64-bit SoC with a design like the 32-bit
> H3, and it's pin-to-pin compatible with H3.
> 
> This patchset adds support for it, along with the first available
> board -- Orange Pi PC2.
> 
> Several H5 boards by Sinovoip Banana Pi and FriendlyARM Nano Pi
> are coming, so we should get ready for them.
> 
> CCU changes are already said to be merged by Maxime Ripard, so
> this patchset now contains only device tree patches.
> 
> Commit messages are changed by the suggestion of Maxime.
> 
> This patchset depends on patchset [1] to finally take effect. At
> least the patch 1 of that patchset is needed if you want to test
> the kernel image -- without it the pinctrl driver won't be built
> and the kernel will become unusable without pinctrl.

It's still not the prefixes I told you to use. I merged your patches
and fixed, but please use the right one next time (and be consistent
in your ARM vs arm usage).

Thanks for your work!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v8 6/6] arm64: dts: allwinner: h5: add support for the Orange Pi PC 2 board
  2017-03-06 21:49   ` [PATCH v8 6/6] arm64: dts: allwinner: h5: add support for the Orange Pi PC 2 board Rask Ingemann Lambertsen
@ 2017-03-07 17:09     ` Maxime Ripard
  0 siblings, 0 replies; 4+ messages in thread
From: Maxime Ripard @ 2017-03-07 17:09 UTC (permalink / raw)
  To: Rask Ingemann Lambertsen
  Cc: Icenowy Zheng, Rob Herring, Chen-Yu Tsai, devicetree,
	Andre Przywara, linux-kernel, linux-sunxi, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 1659 bytes --]

On Mon, Mar 06, 2017 at 10:49:05PM +0100, Rask Ingemann Lambertsen wrote:
> > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
> > new file mode 100644
> > index 000000000000..30639729920d
> > --- /dev/null
> > +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts
> > @@ -0,0 +1,163 @@
> > +/*
> > + * Copyright (C) 2016 ARM Ltd.
> > + *
> > + * This file is dual-licensed: you can use it either under the terms
> > + * of the GPL or the X11 license, at your option. Note that this dual
> > + * licensing only applies to this file, and not this project as a
> > + * whole.
> 
> I didn't catch any sort of announcement of it, but it seems as if we've
> started using SPDX license identifiers in dts files. Thus you can simply
> include the line
> SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> after the copyright notice and omit the license notices themselves. Even
> though the comment refers to "the X11 license", the license text matches that
> associated with the MIT license identifier [1] rather than that of the X11
> license [2]. The same goes for patch 5/6.
> 
> [1] https://spdx.org/licenses/MIT.html#licenseText
> [2] https://spdx.org/licenses/X11.html#licenseText

For my opinion on the matter, see this mail from RMK:
http://lists.infradead.org/pipermail/linux-arm-kernel/2017-February/490649.html

If people want to use it, I'm okay with that, but I really don't want
to actively enforce it during the reviews.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v8 0/6] Allwinner H5 and Orange Pi PC2 support
       [not found]   ` <2704251488908203@web18o.yandex.ru>
@ 2017-03-09 10:53     ` Maxime Ripard
  0 siblings, 0 replies; 4+ messages in thread
From: Maxime Ripard @ 2017-03-09 10:53 UTC (permalink / raw)
  To: Icenowy Zheng
  Cc: Rob Herring, Chen-Yu Tsai, devicetree, linux-arm-kernel,
	linux-kernel, linux-sunxi

[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]

On Wed, Mar 08, 2017 at 01:36:43AM +0800, Icenowy Zheng wrote:
> 
> 
> 08.03.2017, 01:07, "Maxime Ripard" <maxime.ripard@free-electrons.com>:
> > Hi,
> >
> > On Tue, Mar 07, 2017 at 01:17:44AM +0800, Icenowy Zheng wrote:
> >>  Allwinner H5 is a 64-bit SoC with a design like the 32-bit
> >>  H3, and it's pin-to-pin compatible with H3.
> >>
> >>  This patchset adds support for it, along with the first available
> >>  board -- Orange Pi PC2.
> >>
> >>  Several H5 boards by Sinovoip Banana Pi and FriendlyARM Nano Pi
> >>  are coming, so we should get ready for them.
> >>
> >>  CCU changes are already said to be merged by Maxime Ripard, so
> >>  this patchset now contains only device tree patches.
> >>
> >>  Commit messages are changed by the suggestion of Maxime.
> >>
> >>  This patchset depends on patchset [1] to finally take effect. At
> >>  least the patch 1 of that patchset is needed if you want to test
> >>  the kernel image -- without it the pinctrl driver won't be built
> >>  and the kernel will become unusable without pinctrl.
> >
> > It's still not the prefixes I told you to use. I merged your patches
> > and fixed, but please use the right one next time (and be consistent
> > in your ARM vs arm usage).
> 
> oh I added dts: to the prefix you told me, as they're device tree patches.
> 
> Is the usage of "dts:" out-dated?

I'd like to at least have a common scheme across regular contributors,
and not the current mess that we have. So, yes, kind of. And it
doesn't make much sense these days where all our changes are either
drivers or dts.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-09 10:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20170306171750.7491-1-icenowy@aosc.xyz>
     [not found] ` <20170306171750.7491-7-icenowy@aosc.xyz>
2017-03-06 21:49   ` [PATCH v8 6/6] arm64: dts: allwinner: h5: add support for the Orange Pi PC 2 board Rask Ingemann Lambertsen
2017-03-07 17:09     ` Maxime Ripard
2017-03-07 17:07 ` [PATCH v8 0/6] Allwinner H5 and Orange Pi PC2 support Maxime Ripard
     [not found]   ` <2704251488908203@web18o.yandex.ru>
2017-03-09 10:53     ` Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®