From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751953AbdBYQiK (ORCPT ); Sat, 25 Feb 2017 11:38:10 -0500 Received: from customer-85-204-195-167.ip4.gigabit.dk ([85.204.195.167]:40848 "EHLO customer-2a00-7660-0ca7-0000-0000-0000-0000-0b1b.ip6.gigabit.dk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751428AbdBYQiI (ORCPT ); Sat, 25 Feb 2017 11:38:08 -0500 Date: Sat, 25 Feb 2017 17:38:03 +0100 From: Rask Ingemann Lambertsen To: Icenowy Zheng Cc: Maxime Ripard , Chen-Yu Tsai , Rob Herring , devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm64: dts: allwinner: add support for Pinebook Message-ID: <20170225163802.guxwxzp734hlqoob@localhost> References: <20170225070032.35834-1-icenowy@aosc.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170225070032.35834-1-icenowy@aosc.xyz> User-Agent: NeoMutt/20161104 (1.7.1) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Feb 25, 2017 at 03:00:32PM +0800, Icenowy Zheng wrote: [...] > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts > new file mode 100644 > index 000000000000..2dceba3132b0 > --- /dev/null > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts [...] > + gpio_keys { > + compatible = "gpio-keys"; > + > + lid_switch { Node names should not contain underscores. You can use hyphens instead. See https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg1122967.html https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg1145633.html > +&mmc0 { > + pinctrl-names = "default"; > + pinctrl-0 = <&mmc0_pins>; > + vmmc-supply = <®_vcc3v3>; > + cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; > + cd-inverted; You ought to be able to replace those last two lines with just cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; > + disable-wp; > + bus-width = <4>; > + status = "okay"; > +}; -- Rask Ingemann Lambertsen