[PATCHv2 0/4] FTM PWM adds regmap and endianness support.

From: Xiubo Li
Date: Tue Apr 29 2014 - 00:19:20 EST


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/