[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1398742429-10399-1-git-send-email-Li.Xiubo@freescale.com>
Date: Tue, 29 Apr 2014 11:33:45 +0800
From: Xiubo Li <Li.Xiubo@...escale.com>
To: <thierry.reding@...il.com>, <linux-pwm@...r.kernel.org>
CC: <linux-kernel@...r.kernel.org>, Xiubo Li <Li.Xiubo@...escale.com>
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@...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