RE: [PATCHv2 0/4] FTM PWM adds regmap and endianness support.
From: Li.Xiubo@xxxxxxxxxxxxx
Date: Tue May 13 2014 - 03:04:52 EST
Thierry,
Ping:)
> -----Original Message-----
> From: Xiubo Li [mailto:Li.Xiubo@xxxxxxxxxxxxx]
> Sent: Tuesday, April 29, 2014 11:34 AM
> To: thierry.reding@xxxxxxxxx; linux-pwm@xxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx; Xiubo Li-B47053
> Subject: [PATCHv2 0/4] FTM PWM adds regmap and endianness support.
>
> Convert to direct regmap API usage. Since the regmap core has already
> support rich endianness modes of device, this patch convert to direct
> regmap API usage, preparing to support big endianness for LS1 SoC.
>
> Using the regmag framework will be more easy to support the endiannesses
> switching of one same device driver on different SoCs.
>
> The endianness scenarios are:
> SoC | CPU | FTM-PWM | 'big-endian' property is needed?
> --------|--------|---------|---------------------------------
> Vybird | LE | LE | No
> LS1 | LE | BE | Yes
> LS2 | LE | LE | No
>
>
>
> Changes in V2:
> - Adds detail descriptions of these patches.
>
>
> Xiubo Li (4):
> Documentation: Add 'big-endian' property for FTM PWM.
> pwm: ftm-pwm: Clean up the code.
> pwm: ftm-pwm: Convert to direct regmap API usage.
> pwm: ftm-pwm: Add big-endian support
>
> .../devicetree/bindings/pwm/pwm-fsl-ftm.txt | 12 ++-
> drivers/pwm/pwm-fsl-ftm.c | 96 ++++++++++++---------
> -
> 2 files changed, 64 insertions(+), 44 deletions(-)
>
> --
> 1.8.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/