Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1588162

Re: [PATCH] arm64: dts: allwinner: add support for Pinebook

From Rask Ingemann Lambertsen <rask@formelder.dk>
Newsgroups linux.kernel
Subject Re: [PATCH] arm64: dts: allwinner: add support for Pinebook
Date 2017-02-25 17:50 +0100
Message-ID <teNHH-2cJ-7@gated-at.bofh.it> (permalink)
References <teNHH-2cJ-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 = <&reg_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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH] arm64: dts: allwinner: add support for Pinebook Rask Ingemann Lambertsen <rask@formelder.dk> - 2017-02-25 17:50 +0100
  Re: [linux-sunxi] Re: [PATCH] arm64: dts: allwinner: add support for Pinebook Chen-Yu Tsai <wens@csie.org> - 2017-02-25 18:20 +0100

csiph-web