[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F917AE3.7050808@metafoo.de>
Date: Fri, 20 Apr 2012 17:04:03 +0200
From: Lars-Peter Clausen <lars@...afoo.de>
To: Roland Stigge <stigge@...com.de>
CC: jic23@....ac.uk, gregkh@...uxfoundation.org,
grant.likely@...retlab.ca, rob.herring@...xeda.com,
linux-iio@...r.kernel.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH RESEND v3] iio: Add device tree support to LPC32xx ADC
> [...]
>
> --- /dev/null
> +++ linux-2.6/Documentation/devicetree/bindings/staging/iio/adc/lpc32xx-adc.txt
> @@ -0,0 +1,16 @@
> +* NXP LPC32xx SoC ADC controller
> +
> +Required properties:
> +- compatible: must be "nxp,lpc32xx-adc"
> +- reg: physical base address of the controller and length of memory mapped
> + region.
> +- interrupts: The ADC interrupt
> +
> +Example:
> +
> + adc@...48000 {
> + compatible = "nxp,lpc32xx-adc";
In my opinion it seems to be a bad idea to use wildcard names in devicetree
compatible strings.
> + reg = <0x40048000 0x1000>;
> + interrupt-parent = <&mic>;
> + interrupts = <39 0>;
> + };
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists