[PATCH v3 2/5] Documentation: add description of DT binding for the gpio-mvebu driver

Stephen Warren swarren at wwwdotorg.org
Fri Sep 14 18:00:54 EDT 2012


On 09/13/2012 09:54 AM, Thomas Petazzoni wrote:

> diff --git a/Documentation/devicetree/bindings/gpio/gpio-mvebu.txt b/Documentation/devicetree/bindings/gpio/gpio-mvebu.txt

> +- #interrupt-cells: specifies the number of celles needed to encode an
> +   interrupt source

s/celles/cells/

What value should this property contain for this driver, and what do
those cells mean?

This property is missing from the example below.

> +		gpio0: gpio at d0018100 {
> +			compatible = "marvell,armadaxp-gpio";
> +			reg = <0xd0018100 0x40>,
> +			    <0xd0018800 0x30>;
> +			ngpios = <32>;
> +			gpio-controller;
> +			#gpio-cells = <2>;
> +			interrupt-controller;
> +			interrupts = <16>, <17>, <18>, <19>;
> +		};




More information about the linux-arm-kernel mailing list