[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4FDCA0FC.5000409@wwwdotorg.org>
Date: Sat, 16 Jun 2012 09:06:36 -0600
From: Stephen Warren <swarren@...dotorg.org>
To: Roland Stigge <stigge@...com.de>
CC: riku.voipio@....fi, bryan.wu@...onical.com, rpurdie@...ys.net,
linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree-discuss@...ts.ozlabs.org, aletes.xgr@...il.com,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] leds: Add DT support for leds-pca9532
On 06/16/2012 08:10 AM, Roland Stigge wrote:
> This patch adds DT support for leds-pca9532.
> +++ linux-2.6/Documentation/devicetree/bindings/leds/leds-pca9532.txt
> +- nxp,typecodes: groups of 2 bits for each of the 16 pins:
> + 0: None
> + 1: LED
> + 2: Beep
> + 3: GPIO
> +- nxp,statecodes: groups of 2 bits for each of the 16 pins:
> + 0: off
> + 1: on
> + 2: pwm0
> + 3: pwm1
> +
> +Optional properties:
> +- nxp,psc: array of 2 numbers: PSC values for the two PWM channels (see datasheet)
> +- nxp,pwm: array of 2 numbers: PWM values for the two PWM channels (see datasheet)
Shouldn't that all be exposed using a combination of the pinctrl
bindings that are in 3.5, and the PWM bindings that should be coming in 3.6?
--
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