linux-pwm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 0/4] FTM PWM adds regmap and endianness support.
@ 2014-04-29  3:33 Xiubo Li
  2014-04-29  3:33 ` [PATCHv2 1/4] Documentation: Add 'big-endian' property for FTM PWM Xiubo Li
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Xiubo Li @ 2014-04-29  3:33 UTC (permalink / raw)
  To: thierry.reding, linux-pwm; +Cc: linux-kernel, Xiubo Li

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-05-13  7:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-29  3:33 [PATCHv2 0/4] FTM PWM adds regmap and endianness support Xiubo Li
2014-04-29  3:33 ` [PATCHv2 1/4] Documentation: Add 'big-endian' property for FTM PWM Xiubo Li
2014-04-29  3:33 ` [PATCHv2 2/4] pwm: ftm-pwm: Clean up the code Xiubo Li
2014-04-29  3:33 ` [PATCHv2 3/4] pwm: ftm-pwm: Convert to direct regmap API usage Xiubo Li
2014-04-29  3:33 ` [PATCHv2 4/4] pwm: ftm-pwm: Add big-endian support Xiubo Li
2014-05-13  6:32 ` [PATCHv2 0/4] FTM PWM adds regmap and endianness support Li.Xiubo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).