[PATCH 2/2] DT: pwm: Add NXP LPC18xx PWM/SCT binding documentation
Ariel D'Alessandro
ariel at vanguardiasur.com.ar
Wed Jul 29 06:19:55 PDT 2015
Joachim,
El 28/07/15 a las 19:37, Joachim Eastwood escibió:
> On 27 July 2015 at 06:45, Ariel D'Alessandro <ariel at vanguardiasur.com.ar> wrote:
>> Add the devicetree binding document for NXP LPC18xx PWM/SCT.
>>
>> Signed-off-by: Ariel D'Alessandro <ariel at vanguardiasur.com.ar>
>> ---
>> .../devicetree/bindings/pwm/lpc1850-pwm.txt | 20 ++++++++++++++++++++
>> 1 file changed, 20 insertions(+)
>> create mode 100644 Documentation/devicetree/bindings/pwm/lpc1850-pwm.txt
>>
>> diff --git a/Documentation/devicetree/bindings/pwm/lpc1850-pwm.txt b/Documentation/devicetree/bindings/pwm/lpc1850-pwm.txt
>> new file mode 100644
>> index 0000000..3055429
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/pwm/lpc1850-pwm.txt
>> @@ -0,0 +1,20 @@
>> +* NXP LPC18xx Pulse Width Modulator driver
>> +
>> +Required properties:
>> + - compatible: Should be "nxp,lpc1850-pwm"
>> + - reg: Should contain physical base address and length of pwm registers.
>> + - clocks: Must contain an entry for each entry in clock-names.
>> + See ../clock/clock-bindings.txt for details.
>> + - clock-names: Must include the following entries.
>> + - pwm: PWM operating clock.
>> + - #pwm-cells: Should be 3. See pwm.txt in this directory for the description
>> + of the cells format.
>> +
>> +Example:
>> + pwm: pwm at 40000000 {
>> + compatible = "nxp,lpc1850-pwm";
[...]
>> + reg = <0x40000000 0x580>;
>
> Please map the entire memory block as noted in the user manual, ie. 0x1000.
OK, I'll change that in v2.
>
>
> regards,
> Joachim Eastwood
>
More information about the linux-arm-kernel
mailing list