Received: by 10.223.176.5 with SMTP id f5csp1691872wra; Thu, 8 Feb 2018 01:44:10 -0800 (PST) X-Google-Smtp-Source: AH8x2263dD/18FioRan3bkC/jY9vlS4SXvmB0yAJLFsQypyvGpyJOmtvYGc9MJVkZCWzJJ3FsRs1 X-Received: by 10.98.141.25 with SMTP id z25mr49246pfd.165.1518083050388; Thu, 08 Feb 2018 01:44:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518083050; cv=none; d=google.com; s=arc-20160816; b=nAWERQYU8vxTtv3Eb/GEeRhz3m9ARvublVHBC0FGWS+GHdZGtX259juwKjzIjtd6Ap UHFKNHkW9paM+SxMR8tAEEkEK0mo712vOAedZ1gXW/gJAayY/qz7DKdsSyj/NZn1bU6n kfQAqa48WrAK+z1Mxaan2b8eUC25DSWaZkoAJJHaQF67kTFt1/cmZ/76WswIWS/gEk5T 9RWIC8BFOIhYZ4ACwKQnMjxX/IPx7LRFlpf+ISRkZ6rXgm6WNBEo05Vb35oRfK0ARtXM u5qlAqGu6usxeM8u1E+rNILvyD+jlAIelmDMIFjP5fGHBUkLI6y38iGMO5QY1+Vq6MkD v3Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :arc-authentication-results; bh=xolzk+uRD0T7ZnS1JNW5nDS6/rbN0UTArjU/7xjThKU=; b=M+euwwDDQfHCbdFDwB3OLYg0xQ1YeaoqbAZZ1UpqnMlJd56z9A5h4QFBIEGanNyDYB zT9sdRp1s8eXw6mzr6MO8gCKr6hLyKspLJWQDxrWTNEnU8nzx1+QhFIQfs2gH1rmZaGU AJJJ0xOWurG/GV7r+RofcmznsdRaKzgABuuf+bbYOvM7ot5XasvCM8jru2hwwkRKpSli pVJhKTgMU/MQ7+6eN3zPWun2LvR3LAs4yzKrbnFN8lDHcTQPRs7/i4I8W3QoFFm+TN1a h4JWrw6CJthDwkqJDkms619HfE+BhD1xOoCwLQIdv1634uMxmpas4E7i61yOLlTe1whl mOZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j9si1056549pfe.97.2018.02.08.01.43.56; Thu, 08 Feb 2018 01:44:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752100AbeBHJlf convert rfc822-to-8bit (ORCPT + 99 others); Thu, 8 Feb 2018 04:41:35 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:37675 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750847AbeBHJla (ORCPT ); Thu, 8 Feb 2018 04:41:30 -0500 Received: by mail-wm0-f66.google.com with SMTP id v71so8643110wmv.2; Thu, 08 Feb 2018 01:41:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ijEFFOriSiA9weToAtyyhMpX1UoVR5INCLb+Y7deYBw=; b=CbA7RibgfUAlA6EJccVteW76MJGCH8UUgdsAiX4RoiCjhgXaRE6J/A/DrD+MSra8dP 3bV2/o+KPr0xlgDCpzL852vYTR7Gx528fjM/J0ARcvj4H2mlpTVmEM4EYdcPxN8gFsDo qJshDDVLy/qsflJV8Aaq70pAkjc+1tqklDS1J3ZmJcsEbKOaDEAVYgJXyus2KiUqN5mq XRimSwcH81MFRZLC90I5Bx8LcMhZ5/Kv+p586YDW6H3cvu597lxnIkM5jIPwZtAeawUD C9RGjQNNkQDosnbe0qpGw+T6jXQo/zHEGjiPimlfM0XIOx2AigVnT+oFrkoPZR5fXYUC o5ig== X-Gm-Message-State: APf1xPC4Jo5NDTKNc/De8JAexC8oFSI8VlJ2xM8ofhhQgq+w1lbe6Pai TO+ywf9gkP+o9Bp0fMVTPCglc8/u X-Received: by 10.80.215.146 with SMTP id w18mr705863edi.208.1518082888523; Thu, 08 Feb 2018 01:41:28 -0800 (PST) Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com. [74.125.82.45]) by smtp.gmail.com with ESMTPSA id y3sm2512512edb.1.2018.02.08.01.41.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Feb 2018 01:41:27 -0800 (PST) Received: by mail-wm0-f45.google.com with SMTP id j21-v6so26507848wmh.1; Thu, 08 Feb 2018 01:41:27 -0800 (PST) X-Received: by 10.28.129.70 with SMTP id c67mr486289wmd.160.1518082886921; Thu, 08 Feb 2018 01:41:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.208.197 with HTTP; Thu, 8 Feb 2018 01:41:06 -0800 (PST) In-Reply-To: <1836483.rFXKcXDauj@jernej-laptop> References: <20180206131647.41700-1-icenowy@aosc.io> <20180208090042.364is5ctofhuao4i@flea> <9e77487f83b226ad7700715251178ce8@aosc.io> <1836483.rFXKcXDauj@jernej-laptop> From: Chen-Yu Tsai Date: Thu, 8 Feb 2018 17:41:06 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [linux-sunxi] Re: [PATCH v4] ARM: sun8i: h2+: add support for Banana Pi M2 Zero board To: =?UTF-8?Q?Jernej_=C5=A0krabec?= Cc: linux-sunxi , Icenowy Zheng , Maxime Ripard , devicetree , linux-arm-kernel , linux-kernel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 8, 2018 at 5:28 PM, Jernej Škrabec wrote: > Dne četrtek, 08. februar 2018 ob 10:15:35 CET je Icenowy Zheng napisal(a): >> 在 2018-02-08 17:00,Maxime Ripard 写道: >> >> > On Tue, Feb 06, 2018 at 09:16:47PM +0800, Icenowy Zheng wrote: >> >> Banana Pi M2 Zero board is a H2+-based board by Sinovoip, with a form >> >> factor and GPIO holes similar to Raspberry Pi Zero. >> >> >> >> It features: >> >> - Allwinner H2+ SoC >> >> - Single-chip (16-bit) 512MiB DDR3 DRAM >> >> - Ampak AP6212 Wi-Fi/Bluetooth module >> >> - MicroSD slot >> >> - Two MicroUSB Type-B ports (one can only be used to power the board >> >> and >> >> >> >> the other features OTG functionality) >> >> >> >> - Two keys, a reset and a GPIO-connected key. >> >> - HDMI Type-C (miniHDMI) connector connected to the HDMI part of H2+. >> >> - CSI connector to connect the camera sensor provided by Sinovoip. >> >> >> >> Signed-off-by: Icenowy Zheng >> >> --- >> >> Changes in v4: >> >> - Use SPDX license identifier. >> >> >> >> Changes in v3: >> >> - Add comments about Vbus problem in &usbphy node. >> >> >> >> Changes in v2: >> >> - Use high active SD card detect on the production batch. >> >> >> >> arch/arm/boot/dts/Makefile | 1 + >> >> .../boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts | 126 >> >> >> >> +++++++++++++++++++++ >> >> >> >> 2 files changed, 127 insertions(+) >> >> create mode 100644 >> >> >> >> arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts >> >> >> >> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile >> >> index ade7a38543dc..d5a17e6e8b0f 100644 >> >> --- a/arch/arm/boot/dts/Makefile >> >> +++ b/arch/arm/boot/dts/Makefile >> >> @@ -974,6 +974,7 @@ dtb-$(CONFIG_MACH_SUN8I) += \ >> >> >> >> sun8i-a83t-cubietruck-plus.dtb \ >> >> sun8i-a83t-tbs-a711.dtb \ >> >> sun8i-h2-plus-orangepi-r1.dtb \ >> >> >> >> + sun8i-h2-plus-bananapi-m2-zero.dtb \ >> >> >> >> sun8i-h2-plus-orangepi-zero.dtb \ >> >> sun8i-h3-bananapi-m2-plus.dtb \ >> >> sun8i-h3-beelink-x2.dtb \ >> >> >> >> diff --git a/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts >> >> b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts >> >> new file mode 100644 >> >> index 000000000000..e2ee65a5bf92 >> >> --- /dev/null >> >> +++ b/arch/arm/boot/dts/sun8i-h2-plus-bananapi-m2-zero.dts >> >> @@ -0,0 +1,126 @@ >> >> +/* >> >> + * Copyright (C) 2017 Icenowy Zheng >> >> + * >> >> + * Based on sun8i-h3-bananapi-m2-plus.dts, which is: >> >> + * Copyright (C) 2016 Chen-Yu Tsai >> >> + * >> >> + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) >> > >> > Sorry to be a bit picky about this, but this should be your very first >> > line, see arch/arm/boot/dts/sun7i-a20-olimex-som204-evb.dts for >> > example. >> >> I think it's also OK here, see >> arch/arm/boot/dts/sun8i-h3-libretech-all-h3-cc.dts. > > Lincesing rules [1] says it should be in first possible line which can contain > comment. > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/ > Documentation/process/license-rules.rst#n57 I confess I only read the license line rule some time after I posted that patch. ChenYu >> >> > Thanks! >> > Maxime >> >> -- >> You received this message because you are subscribed to the Google Groups >> "linux-sunxi" group. To unsubscribe from this group and stop receiving >> emails from it, send an email to linux-sunxi+unsubscribe@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. > > > >