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


Groups > linux.kernel > #1369975

Re: [PATCH] ARM: dts: kirkwood: Add DTS for Linksys EA4200v2/EA4500

From Andrew Lunn <andrew@lunn.ch>
Newsgroups linux.kernel
Subject Re: [PATCH] ARM: dts: kirkwood: Add DTS for Linksys EA4200v2/EA4500
Date 2016-04-02 18:30 +0200
Message-ID <rjwAV-6sh-1@gated-at.bofh.it> (permalink)
References <rjtD4-4c7-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> +		button@15 {
> +			label = "WPS Button";
> +			linux,code = <KEY_WPS_BUTTON>;
> +			gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
> +		};
> +
> +		button@16 {
> +			label = "Reset Button";
> +			linux,code = <KEY_RESTART>;
> +			gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
> +		};
> +	};

I'm looking at the warnings the new DT compiler produces....

Buttons should not have a @15, etc, since they don't have a register
property.

If you can, it would be good it you can compile your .dts file using
the dtc compile in linux-next and pass W=1.

	Andrew

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


Thread

[PATCH] ARM: dts: kirkwood: Add DTS for Linksys EA4200v2/EA4500 Bert Vermeulen <bert@biot.com> - 2016-04-02 15:20 +0200
  Re: [PATCH] ARM: dts: kirkwood: Add DTS for Linksys EA4200v2/EA4500 Andrew Lunn <andrew@lunn.ch> - 2016-04-02 18:20 +0200
    Re: [PATCH] ARM: dts: kirkwood: Add DTS for Linksys EA4200v2/EA4500 Bert Vermeulen <bert@biot.com> - 2016-04-04 14:00 +0200
      Re: [PATCH] ARM: dts: kirkwood: Add DTS for Linksys EA4200v2/EA4500 Andrew Lunn <andrew@lunn.ch> - 2016-04-04 14:20 +0200
  Re: [PATCH] ARM: dts: kirkwood: Add DTS for Linksys EA4200v2/EA4500 Andrew Lunn <andrew@lunn.ch> - 2016-04-02 18:30 +0200
  Re: [PATCH] ARM: dts: kirkwood: Add DTS for Linksys EA4200v2/EA4500 "Imre Kaloz" <kaloz@openwrt.org> - 2016-04-03 12:00 +0200

csiph-web