[PATCH 0/5] Clocksource: Flextimer: Merged to LS1

2014-08-25 Thread Xiubo Li
Xiubo Li (5): Clocksource: Flextimer: Set cpumask to cpu_possible_mask Clocksource: Flextimer: Use internal clocksource read API. Clocksource: Flextimer: Remove the useless code. Clocksource: Flextimer: Fix counter clock prescaler calculation. Clocksource: Flextimer: Use Macro for clock

[PATCH 4/5] Clocksource: Flextimer: Fix counter clock prescaler calculation.

2014-08-25 Thread Xiubo Li
We should minus one after calculating the counter input clock's prescaler. Signed-off-by: Xiubo Li li.xi...@freescale.com Signed-off-by: Jingchang Lu jingchang...@freescale.com --- drivers/clocksource/fsl_ftm_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH 3/5] Clocksource: Flextimer: Remove the useless code.

2014-08-25 Thread Xiubo Li
The clock envnt counter will be enabled in proper time and proper place when needed. Signed-off-by: Xiubo Li li.xi...@freescale.com Signed-off-by: Jingchang Lu jingchang...@freescale.com --- drivers/clocksource/fsl_ftm_timer.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers

[PATCH 2/5] Clocksource: Flextimer: Use internal clocksource read API.

2014-08-25 Thread Xiubo Li
Since the Flextimer device will be implemented in BE mode on LS1 SoC, and in LE mode on Vybrid, LS2 SoCs, so here we need the endianness judgment before doing the mmio. Signed-off-by: Xiubo Li li.xi...@freescale.com Signed-off-by: Jingchang Lu jingchang...@freescale.com --- drivers/clocksource

[PATCHv3 4/4] ASoC: fsl-sai: Convert to use regmap framework's endianness method.

2014-08-24 Thread Xiubo Li
Signed-off-by: Xiubo Li --- Documentation/devicetree/bindings/sound/fsl-sai.txt | 7 +++ sound/soc/fsl/fsl_sai.c | 6 +- sound/soc/fsl/fsl_sai.h | 1 - 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/Documentation

[PATCHv3 3/4] ASoC: fsl-spdif: Convert to use regmap framework's endianness method.

2014-08-24 Thread Xiubo Li
Signed-off-by: Xiubo Li --- sound/soc/fsl/fsl_spdif.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c index 70acfe4..ae4e408 100644 --- a/sound/soc/fsl/fsl_spdif.c +++ b/sound/soc/fsl/fsl_spdif.c @@ -1040,7 +1040,7

[PATCHv3 2/4] ASoC: fsl-esai: Convert to use regmap framework's endianness method.

2014-08-24 Thread Xiubo Li
Signed-off-by: Xiubo Li --- sound/soc/fsl/fsl_esai.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sound/soc/fsl/fsl_esai.c b/sound/soc/fsl/fsl_esai.c index b2f6b3e..8bcdfda 100644 --- a/sound/soc/fsl/fsl_esai.c +++ b/sound/soc/fsl/fsl_esai.c @@ -710,7 +710,7 @@ static

[PATCHv3 1/4] ASoC: fsl-asrc: Convert to use regmap framework's endianness method.

2014-08-24 Thread Xiubo Li
Signed-off-by: Xiubo Li --- sound/soc/fsl/fsl_asrc.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sound/soc/fsl/fsl_asrc.c b/sound/soc/fsl/fsl_asrc.c index 8221104..3b14531 100644 --- a/sound/soc/fsl/fsl_asrc.c +++ b/sound/soc/fsl/fsl_asrc.c @@ -684,7 +684,7 @@ static

[PATCHv3 0/4] ASoC: Convert to use regmap framework's endianness method.

2014-08-24 Thread Xiubo Li
Changes in V3: - Delete 'ASoC: fsl-sai: rename big_endian_data to is_msb_first.' patch. Changes in V2: - Modified the regmap config to const type. - Added ASRC patch. - Followed Rutland's advice. Xiubo Li (4): ASoC: fsl-asrc: Convert to use regmap framework's endianness method. ASoC: fsl

[PATCHv3 0/4] ASoC: Convert to use regmap framework's endianness method.

2014-08-24 Thread Xiubo Li
Changes in V3: - Delete 'ASoC: fsl-sai: rename big_endian_data to is_msb_first.' patch. Changes in V2: - Modified the regmap config to const type. - Added ASRC patch. - Followed Rutland's advice. Xiubo Li (4): ASoC: fsl-asrc: Convert to use regmap framework's endianness method. ASoC: fsl

[PATCHv3 1/4] ASoC: fsl-asrc: Convert to use regmap framework's endianness method.

2014-08-24 Thread Xiubo Li
Signed-off-by: Xiubo Li li.xi...@freescale.com --- sound/soc/fsl/fsl_asrc.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sound/soc/fsl/fsl_asrc.c b/sound/soc/fsl/fsl_asrc.c index 8221104..3b14531 100644 --- a/sound/soc/fsl/fsl_asrc.c +++ b/sound/soc/fsl/fsl_asrc.c

[PATCHv3 4/4] ASoC: fsl-sai: Convert to use regmap framework's endianness method.

2014-08-24 Thread Xiubo Li
Signed-off-by: Xiubo Li li.xi...@freescale.com --- Documentation/devicetree/bindings/sound/fsl-sai.txt | 7 +++ sound/soc/fsl/fsl_sai.c | 6 +- sound/soc/fsl/fsl_sai.h | 1 - 3 files changed, 4 insertions(+), 10 deletions(-) diff

[PATCHv3 3/4] ASoC: fsl-spdif: Convert to use regmap framework's endianness method.

2014-08-24 Thread Xiubo Li
Signed-off-by: Xiubo Li li.xi...@freescale.com --- sound/soc/fsl/fsl_spdif.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c index 70acfe4..ae4e408 100644 --- a/sound/soc/fsl/fsl_spdif.c +++ b/sound/soc/fsl/fsl_spdif.c

[PATCHv3 2/4] ASoC: fsl-esai: Convert to use regmap framework's endianness method.

2014-08-24 Thread Xiubo Li
Signed-off-by: Xiubo Li li.xi...@freescale.com --- sound/soc/fsl/fsl_esai.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sound/soc/fsl/fsl_esai.c b/sound/soc/fsl/fsl_esai.c index b2f6b3e..8bcdfda 100644 --- a/sound/soc/fsl/fsl_esai.c +++ b/sound/soc/fsl/fsl_esai.c

[PATCH] random: remove the unused parameter to avoid the compile warning.

2014-08-05 Thread Xiubo Li
drivers/char/random.c: In function SYSC_getrandom: drivers/char/random.c:1526:6: warning: unused variable r [-Wunused-variable] int r; ^ Signed-off-by: Xiubo Li --- drivers/char/random.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/char/random.c b/drivers/char/random.c

[PATCHv2] i2c: i2c-imx: Fix format warning for dev_dbg

2014-08-05 Thread Xiubo Li
->adapter.dev, "allocated %d bytes at 0x%x\n", ^ drivers/i2c/busses/i2c-imx.c:691:2: warning: format 0x%x expects argument of type unsigned int, but argument 5 has type resource_size_t [-Wformat=] Signed-off-by: Xiubo Li --- Change in v2: - Follow Joe Perches's advice. driver

[PATCH] i2c: i2c-imx: Fix format warning for dev_dbg

2014-08-05 Thread Xiubo Li
->adapter.dev, "allocated %d bytes at 0x%x\n", ^ drivers/i2c/busses/i2c-imx.c:691:2: warning: format 0x%x expects argument of type unsigned int, but argument 5 has type resource_size_t [-Wformat=] Signed-off-by: Xiubo Li --- drivers/i2c/busses/i2c-imx.c | 4 ++-- 1 file changed, 2

[PATCH] i2c: i2c-imx: Fix format warning for dev_dbg

2014-08-05 Thread Xiubo Li
, allocated %d bytes at 0x%x\n, ^ drivers/i2c/busses/i2c-imx.c:691:2: warning: format 0x%x expects argument of type unsigned int, but argument 5 has type resource_size_t [-Wformat=] Signed-off-by: Xiubo Li li.xi...@freescale.com --- drivers/i2c/busses/i2c-imx.c | 4 ++-- 1 file changed, 2 insertions

[PATCHv2] i2c: i2c-imx: Fix format warning for dev_dbg

2014-08-05 Thread Xiubo Li
, allocated %d bytes at 0x%x\n, ^ drivers/i2c/busses/i2c-imx.c:691:2: warning: format 0x%x expects argument of type unsigned int, but argument 5 has type resource_size_t [-Wformat=] Signed-off-by: Xiubo Li li.xi...@freescale.com --- Change in v2: - Follow Joe Perches's advice. drivers/i2c

[PATCH] random: remove the unused parameter to avoid the compile warning.

2014-08-05 Thread Xiubo Li
drivers/char/random.c: In function SYSC_getrandom: drivers/char/random.c:1526:6: warning: unused variable r [-Wunused-variable] int r; ^ Signed-off-by: Xiubo Li li.xi...@freescale.com --- drivers/char/random.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/char/random.c b

[PATCHv5 2/2] dt/bindings: Add the DT binding documentation for endianness

2014-07-14 Thread Xiubo Li
using the devicetree, we need one way to simplify this. Signed-off-by: Xiubo Li --- .../devicetree/bindings/regmap/regmap.txt | 48 ++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/regmap/regmap.txt diff --git a/Documentation

[PATCHv6 0/2] add DT endianness binding support for regmap

2014-07-14 Thread Xiubo Li
Changes in V6: - there is some mistake for V5 patch series, resend it. Changes in V5: - remove the register's dt endianness support for it will always be BE for now. - only support the register values buffers dt endianness support. Xiubo Li (2): regmap: add DT endianness binding support

[PATCHv6 2/2] dt/bindings: Add the DT binding documentation for endianness

2014-07-14 Thread Xiubo Li
using the devicetree, we need one way to simplify this. Signed-off-by: Xiubo Li --- .../devicetree/bindings/regmap/regmap.txt | 47 ++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/regmap/regmap.txt diff --git a/Documentation

[PATCHv6 1/2] regmap: add DT endianness binding support.

2014-07-14 Thread Xiubo Li
' property could be abscent. And vice versa... Signed-off-by: Xiubo Li --- drivers/base/regmap/regmap-i2c.c | 2 + drivers/base/regmap/regmap-spi.c | 2 + drivers/base/regmap/regmap.c | 117 +++ 3 files changed, 110 insertions(+), 11 deletions(-) diff --git

[PATCHv5 1/2] regmap: add DT endianness binding support.

2014-07-14 Thread Xiubo Li
' property could be abscent. And vice versa... Signed-off-by: Xiubo Li --- drivers/base/regmap/regmap-i2c.c | 2 + drivers/base/regmap/regmap-spi.c | 2 + drivers/base/regmap/regmap.c | 117 +++ 3 files changed, 110 insertions(+), 11 deletions(-) diff --git

[PATCHv5 0/2] add DT endianness binding support for regmap

2014-07-14 Thread Xiubo Li
Changes in V5: - remove the register's dt endianness support for it will always be BE for now. - only support the register values buffers dt endianness support. Xiubo Li (2): regmap: add DT endianness binding support. dt/bindings: Add the DT binding documentation for endianness

[PATCHv5 0/2] add DT endianness binding support for regmap

2014-07-14 Thread Xiubo Li
Changes in V5: - remove the register's dt endianness support for it will always be BE for now. - only support the register values buffers dt endianness support. Xiubo Li (2): regmap: add DT endianness binding support. dt/bindings: Add the DT binding documentation for endianness

[PATCHv5 1/2] regmap: add DT endianness binding support.

2014-07-14 Thread Xiubo Li
' property could be abscent. And vice versa... Signed-off-by: Xiubo Li li.xi...@freescale.com --- drivers/base/regmap/regmap-i2c.c | 2 + drivers/base/regmap/regmap-spi.c | 2 + drivers/base/regmap/regmap.c | 117 +++ 3 files changed, 110 insertions(+), 11

[PATCHv6 1/2] regmap: add DT endianness binding support.

2014-07-14 Thread Xiubo Li
' property could be abscent. And vice versa... Signed-off-by: Xiubo Li li.xi...@freescale.com --- drivers/base/regmap/regmap-i2c.c | 2 + drivers/base/regmap/regmap-spi.c | 2 + drivers/base/regmap/regmap.c | 117 +++ 3 files changed, 110 insertions(+), 11

[PATCHv6 2/2] dt/bindings: Add the DT binding documentation for endianness

2014-07-14 Thread Xiubo Li
using the devicetree, we need one way to simplify this. Signed-off-by: Xiubo Li li.xi...@freescale.com --- .../devicetree/bindings/regmap/regmap.txt | 47 ++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/regmap/regmap.txt diff

[PATCHv6 0/2] add DT endianness binding support for regmap

2014-07-14 Thread Xiubo Li
Changes in V6: - there is some mistake for V5 patch series, resend it. Changes in V5: - remove the register's dt endianness support for it will always be BE for now. - only support the register values buffers dt endianness support. Xiubo Li (2): regmap: add DT endianness binding support

[PATCHv5 2/2] dt/bindings: Add the DT binding documentation for endianness

2014-07-14 Thread Xiubo Li
using the devicetree, we need one way to simplify this. Signed-off-by: Xiubo Li li.xi...@freescale.com --- .../devicetree/bindings/regmap/regmap.txt | 48 ++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/regmap/regmap.txt diff

[PATCHv2] clocksource: arch_arm_timer: Fix timecounter initialization

2014-06-15 Thread Xiubo Li
The third parameter(u64 start_tstamp) of timecounter_init() should be the start time by ns, not a cycle counter. Here just set it to zero. Cc: Stephen Boyd Signed-off-by: Xiubo Li --- drivers/clocksource/arm_arch_timer.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

[PATCHv2] clocksource: arch_arm_timer: Fix timecounter initialization

2014-06-15 Thread Xiubo Li
The third parameter(u64 start_tstamp) of timecounter_init() should be the start time by ns, not a cycle counter. Here just set it to zero. Cc: Stephen Boyd sb...@codeaurora.org Signed-off-by: Xiubo Li li.xi...@freescale.com --- drivers/clocksource/arm_arch_timer.c | 5 + 1 file changed, 1

[PATCH] clocksource: arch_arm_timer: Fix timecounter initialization

2014-06-11 Thread Xiubo Li
The third parameter(u64 start_tstamp) of timecounter_init() should be the start time by ns, not a cycle counter. Signed-off-by: Xiubo Li --- drivers/clocksource/arm_arch_timer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/clocksource/arm_arch_timer.c b

[PATCH] clocksource: arch_arm_timer: Fix timecounter initialization

2014-06-11 Thread Xiubo Li
The third parameter(u64 start_tstamp) of timecounter_init() should be the start time by ns, not a cycle counter. Signed-off-by: Xiubo Li li.xi...@freescale.com --- drivers/clocksource/arm_arch_timer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/clocksource

[PATCH] gianfar: Fix the section mismatch warnings.

2014-06-04 Thread Xiubo Li
gfar_probe() references the function __init gfar_init_addr_hash_table(). This is often because gfar_probe lacks a __init annotation or the annotation of gfar_init_addr_hash_table is wrong. Signed-off-by: Xiubo Li --- drivers/net/ethernet/freescale/gianfar.c | 2 +- 1 file changed, 1 insertion

[PATCH] gianfar: Fix the section mismatch warnings.

2014-06-04 Thread Xiubo Li
gfar_probe() references the function __init gfar_init_addr_hash_table(). This is often because gfar_probe lacks a __init annotation or the annotation of gfar_init_addr_hash_table is wrong. Signed-off-by: Xiubo Li li.xi...@freescale.com --- drivers/net/ethernet/freescale/gianfar.c | 2 +- 1 file

[PATCH] watchdog: imx2_wdt: adds big endianness support.

2014-05-30 Thread Xiubo Li
LE LS1 LEBE LS2 LELE Signed-off-by: Xiubo Li --- drivers/watchdog/imx2_wdt.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/watchdog/imx2_wdt.c b/drivers/watchdog/imx2_wdt.c index 9d4874f..68c3d37

[PATCH] watchdog: imx2_wdt: adds big endianness support.

2014-05-30 Thread Xiubo Li
LE LS1 LEBE LS2 LELE Signed-off-by: Xiubo Li li.xi...@freescale.com --- drivers/watchdog/imx2_wdt.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/watchdog/imx2_wdt.c b/drivers/watchdog/imx2_wdt.c

[PATCHv4 3/3] clocksource: Add Freescale FlexTimer Module (FTM) timer support

2014-05-19 Thread Xiubo Li
until the value of MOD is reached, at which point the counter is reloaded with the value of CNTIN. That's also when an overflow interrupt will be generated. Here using the 'evt' prefix or postfix as clock event device and the 'src' as clock source device. Signed-off-by: Xiubo Li Cc: Shawn Guo Cc

[PATCHv4 2/3] ARM: dts: vf610: Add Freescale FlexTimer Module timer node.

2014-05-19 Thread Xiubo Li
Signed-off-by: Xiubo Li Cc: Shawn Guo Cc: Jingchang Lu --- arch/arm/boot/dts/vf610.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi index 107e2c0..6ab65fa 100644 --- a/arch/arm/boot/dts/vf610.dtsi +++ b/arch/arm

[PATCHv4 1/3] clocksource: ftm: Add FlexTimer Module (FTM) Timer devicetree Documentation

2014-05-19 Thread Xiubo Li
The FTM binding could be used on Vybrid and LS1+, add a binding document for it. Signed-off-by: Xiubo Li Cc: Shawn Guo Cc: Jingchang Lu --- .../devicetree/bindings/timer/fsl,ftm-timer.txt| 31 ++ 1 file changed, 31 insertions(+) create mode 100644 Documentation

[PATCHv4 0/3] clocksource: Add Freescale FlexTimer Module (FTM) timer support

2014-05-19 Thread Xiubo Li
ove some header files and macros not useful. Xiubo Li (3): clocksource: ftm: Add FlexTimer Module (FTM) Timer devicetree Documentation ARM: dts: vf610: Add Freescale FlexTimer Module timer node. clocksource: Add Freescale FlexTimer Module (FTM) timer support .../devicetree/bindings/ti

[PATCH] regmap: irq: Fix possible ZERO_SIZE_PTR pointer dereferencing error.

2014-05-19 Thread Xiubo Li
;num_regs' before calling kzalloc(). This also sorts the header files in alphabetical order at the same time. Signed-off-by: Xiubo Li --- drivers/base/regmap/regmap-irq.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/base/regmap/regmap-irq.c b/drivers/base/regm

[PATCH] regmap: irq: Fix possible ZERO_SIZE_PTR pointer dereferencing error.

2014-05-19 Thread Xiubo Li
' before calling kzalloc(). This also sorts the header files in alphabetical order at the same time. Signed-off-by: Xiubo Li li.xi...@freescale.com --- drivers/base/regmap/regmap-irq.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/base/regmap/regmap-irq.c b/drivers

[PATCHv4 1/3] clocksource: ftm: Add FlexTimer Module (FTM) Timer devicetree Documentation

2014-05-19 Thread Xiubo Li
The FTM binding could be used on Vybrid and LS1+, add a binding document for it. Signed-off-by: Xiubo Li li.xi...@freescale.com Cc: Shawn Guo shawn@linaro.org Cc: Jingchang Lu b35...@freescale.com --- .../devicetree/bindings/timer/fsl,ftm-timer.txt| 31 ++ 1 file

[PATCHv4 0/3] clocksource: Add Freescale FlexTimer Module (FTM) timer support

2014-05-19 Thread Xiubo Li
some header files and macros not useful. Xiubo Li (3): clocksource: ftm: Add FlexTimer Module (FTM) Timer devicetree Documentation ARM: dts: vf610: Add Freescale FlexTimer Module timer node. clocksource: Add Freescale FlexTimer Module (FTM) timer support .../devicetree/bindings/timer

[PATCHv4 2/3] ARM: dts: vf610: Add Freescale FlexTimer Module timer node.

2014-05-19 Thread Xiubo Li
Signed-off-by: Xiubo Li li.xi...@freescale.com Cc: Shawn Guo shawn@linaro.org Cc: Jingchang Lu b35...@freescale.com --- arch/arm/boot/dts/vf610.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi index 107e2c0

[PATCHv4 3/3] clocksource: Add Freescale FlexTimer Module (FTM) timer support

2014-05-19 Thread Xiubo Li
until the value of MOD is reached, at which point the counter is reloaded with the value of CNTIN. That's also when an overflow interrupt will be generated. Here using the 'evt' prefix or postfix as clock event device and the 'src' as clock source device. Signed-off-by: Xiubo Li li.xi

[PATCH v3] arm: ioremap: Fix static vm area boundary check.

2014-05-16 Thread Xiubo Li
For each vmalloc area, there is one guard page at the end of it. so the vm->size = PAGE_ALIGN(offset + request size) + guard page size. Signed-off-by: Richard Lee Signed-off-by: Xiubo Li Cc: Nicolas Pitre Cc: Santosh Shilimkar Cc: Joonsoo Kim --- arch/arm/mm/ioremap.c | 8 ++-- 1 f

[PATCH v3] arm: ioremap: Fix static vm area boundary check.

2014-05-16 Thread Xiubo Li
For each vmalloc area, there is one guard page at the end of it. so the vm-size = PAGE_ALIGN(offset + request size) + guard page size. Signed-off-by: Richard Lee superlibj8...@gmail.com Signed-off-by: Xiubo Li li.xi...@freescale.com Cc: Nicolas Pitre n...@linaro.org Cc: Santosh Shilimkar

[PATCHv4 1/2] dt/bindings: Add the DT binding documentation for endianness

2014-05-08 Thread Xiubo Li
}' 3BEBE - 4BELE 'little-endian{,-*}' {big,little}-endian{,-*}: these are boolean properties, if absent meaning that the CPU and the Device are in the same endianness mode. Signed-off-by: Xiubo Li --- .../devicetree/bindings/endianness/endianness.txt

[PATCHv4 2/2] regmap: add DT endianness binding support.

2014-05-08 Thread Xiubo Li
1LELE - 2LEBE 'big-endian-{val,reg}' 3BEBE - 4BELE 'little-endian-{val,reg}' Please see the following documetation for detail: Documentation/devicetree/bindings/endianness/endianness.txt Signed-off-by:

[PATCHv4 0/2] add DT endianness binding support.

2014-05-08 Thread Xiubo Li
Changes in V4: - Fix one comment from Markus Pargmann. - Fix some comments. Changes in V3: - Follow Mark Rutland's advice. - Document common case of the endianess usage. Changes in V2: - Namespace the properties using the prefix sring. - Add one binding ducomentation off regmap. Xiubo Li (2

[PATCHv4 0/2] add DT endianness binding support.

2014-05-08 Thread Xiubo Li
Changes in V4: - Fix one comment from Markus Pargmann. - Fix some comments. Changes in V3: - Follow Mark Rutland's advice. - Document common case of the endianess usage. Changes in V2: - Namespace the properties using the prefix sring. - Add one binding ducomentation off regmap. Xiubo Li (2

[PATCHv4 2/2] regmap: add DT endianness binding support.

2014-05-08 Thread Xiubo Li
LE - 2LEBE 'big-endian-{val,reg}' 3BEBE - 4BELE 'little-endian-{val,reg}' Please see the following documetation for detail: Documentation/devicetree/bindings/endianness/endianness.txt Signed-off-by: Xiubo Li

[PATCHv4 1/2] dt/bindings: Add the DT binding documentation for endianness

2014-05-08 Thread Xiubo Li
BEBE - 4BELE 'little-endian{,-*}' {big,little}-endian{,-*}: these are boolean properties, if absent meaning that the CPU and the Device are in the same endianness mode. Signed-off-by: Xiubo Li li.xi...@freescale.com --- .../devicetree/bindings/endianness

[PATCH] leds: Remove duplicated OOM message for individual driver

2014-05-07 Thread Xiubo Li
The OOM message of individual driver is unnecessary, and this is duplicate the memory subsystem generic OOM message. Signed-off-by: Xiubo Li --- drivers/leds/leds-adp5520.c | 5 + drivers/leds/leds-bd2802.c | 4 +--- drivers/leds/leds-da903x.c | 4 +--- drivers/leds/leds-da9052.c | 3

[PATCH] mm, highmem: clean up the comment

2014-05-07 Thread Xiubo Li
Signed-off-by: Xiubo Li --- mm/highmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/highmem.c b/mm/highmem.c index b32b70c..d062c89 100644 --- a/mm/highmem.c +++ b/mm/highmem.c @@ -421,4 +421,4 @@ void __init page_address_init(void) } } -#endif /* defined

[PATCH] mm, highmem: clean up the comment

2014-05-07 Thread Xiubo Li
Signed-off-by: Xiubo Li li.xi...@freescale.com --- mm/highmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/highmem.c b/mm/highmem.c index b32b70c..d062c89 100644 --- a/mm/highmem.c +++ b/mm/highmem.c @@ -421,4 +421,4 @@ void __init page_address_init(void

[PATCH] leds: Remove duplicated OOM message for individual driver

2014-05-07 Thread Xiubo Li
The OOM message of individual driver is unnecessary, and this is duplicate the memory subsystem generic OOM message. Signed-off-by: Xiubo Li li.xi...@freescale.com --- drivers/leds/leds-adp5520.c | 5 + drivers/leds/leds-bd2802.c | 4 +--- drivers/leds/leds-da903x.c | 4 +--- drivers/leds

[PATCH] ARM: LPAE: Update the comment to support the LPAE

2014-05-05 Thread Xiubo Li
Since the LPAE maybe enabled, so we should update the comment to support it. Signed-off-by: Xiubo Li --- arch/arm/kernel/head.S | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S index 914616e..005af2d 100644 --- a/arch

[PATCH] ARM: LPAE: Update the comment to support the LPAE

2014-05-05 Thread Xiubo Li
Since the LPAE maybe enabled, so we should update the comment to support it. Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/kernel/head.S | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S index 914616e

[PATCH] regmap: Fix possible ZERO_SIZE_PTR pointer dereferencing error.

2014-04-30 Thread Xiubo Li
before calling kzalloc(). Signed-off-by: Xiubo Li --- drivers/base/regmap/regmap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index 18d193f..4ef7a24 100644 --- a/drivers/base/regmap/regmap.c +++ b/drivers/base/regmap

[PATCHv3 resend 2/2] regmap: add DT endianness binding support.

2014-04-30 Thread Xiubo Li
1LELE - 2LEBE 'big-endian-{val,reg}' 3BEBE - 4BELE 'little-endian-{val,reg}' Please see the following documetation for detail: Documentation/devicetree/bindings/endianness/endianness.txt Signed-off-by:

[PATCHv3 resend 0/2] add DT endianness binding support.

2014-04-30 Thread Xiubo Li
regmap. Xiubo Li (2): dt/bindings: Add the DT binding documentation for endianness regmap: add DT endianness binding support. .../devicetree/bindings/endianness/endianness.txt | 47 +++ drivers/base/regmap/regmap-i2c.c | 2 + drivers/base/regmap/regmap-spi.c

[PATCHv3 resend 1/2] dt/bindings: Add the DT binding documentation for endianness

2014-04-30 Thread Xiubo Li
Signed-off-by: Xiubo Li --- .../devicetree/bindings/endianness/endianness.txt | 47 ++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/endianness/endianness.txt diff --git a/Documentation/devicetree/bindings/endianness/endianness.txt

[PATCHv3 resend 0/2] add DT endianness binding support.

2014-04-30 Thread Xiubo Li
regmap. Xiubo Li (2): dt/bindings: Add the DT binding documentation for endianness regmap: add DT endianness binding support. .../devicetree/bindings/endianness/endianness.txt | 47 +++ drivers/base/regmap/regmap-i2c.c | 2 + drivers/base/regmap/regmap-spi.c

[PATCHv3 resend 1/2] dt/bindings: Add the DT binding documentation for endianness

2014-04-30 Thread Xiubo Li
Signed-off-by: Xiubo Li li.xi...@freescale.com --- .../devicetree/bindings/endianness/endianness.txt | 47 ++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/endianness/endianness.txt diff --git a/Documentation/devicetree/bindings

[PATCHv3 resend 2/2] regmap: add DT endianness binding support.

2014-04-30 Thread Xiubo Li
LE - 2LEBE 'big-endian-{val,reg}' 3BEBE - 4BELE 'little-endian-{val,reg}' Please see the following documetation for detail: Documentation/devicetree/bindings/endianness/endianness.txt Signed-off-by: Xiubo Li

[PATCH] regmap: Fix possible ZERO_SIZE_PTR pointer dereferencing error.

2014-04-30 Thread Xiubo Li
before calling kzalloc(). Signed-off-by: Xiubo Li li.xi...@freescale.com --- drivers/base/regmap/regmap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index 18d193f..4ef7a24 100644 --- a/drivers/base/regmap/regmap.c +++ b

[PATCHv3 1/2] dt/bindings: Add the DT binding documentation for endianness

2014-04-29 Thread Xiubo Li
Signed-off-by: Xiubo Li --- .../devicetree/bindings/endianness/endianness.txt | 47 ++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/endianness/endianness.txt diff --git a/Documentation/devicetree/bindings/endianness/endianness.txt

[PATCHv3 2/2] regmap: add DT endianness binding support.

2014-04-29 Thread Xiubo Li
1LELE - 2LEBE 'big-endian-{val,reg}' 3BEBE - 4BELE 'little-endian-{val,reg}' Please see the following documetation for detail: Documentation/devicetree/bindings/endianness/endianness.txt Signed-off-by:

[PATCHv3 0/2] add DT endianness binding support

2014-04-29 Thread Xiubo Li
Changes in V3: - Follow Mark Rutland's advice. - Document common case of the endianess usage. Changes in V2: - Namespace the properties using the prefix sring. - Add one binding ducomentation off regmap. Xiubo Li (2): dt/bindings: Add the DT binding documentation for endianness regmap: add

[PATCHv3 0/2] add DT endianness binding support

2014-04-29 Thread Xiubo Li
Changes in V3: - Follow Mark Rutland's advice. - Document common case of the endianess usage. Changes in V2: - Namespace the properties using the prefix sring. - Add one binding ducomentation off regmap. Xiubo Li (2): dt/bindings: Add the DT binding documentation for endianness regmap: add

[PATCHv3 2/2] regmap: add DT endianness binding support.

2014-04-29 Thread Xiubo Li
LE - 2LEBE 'big-endian-{val,reg}' 3BEBE - 4BELE 'little-endian-{val,reg}' Please see the following documetation for detail: Documentation/devicetree/bindings/endianness/endianness.txt Signed-off-by: Xiubo Li

[PATCHv3 1/2] dt/bindings: Add the DT binding documentation for endianness

2014-04-29 Thread Xiubo Li
Signed-off-by: Xiubo Li li.xi...@freescale.com --- .../devicetree/bindings/endianness/endianness.txt | 47 ++ 1 file changed, 47 insertions(+) create mode 100644 Documentation/devicetree/bindings/endianness/endianness.txt diff --git a/Documentation/devicetree/bindings

[PATCHv2 2/4] pwm: ftm-pwm: Clean up the code.

2014-04-28 Thread Xiubo Li
This patch intends to prepare for converting to direct regmap API usage. Signed-off-by: Xiubo Li --- drivers/pwm/pwm-fsl-ftm.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/pwm/pwm-fsl-ftm.c b/drivers/pwm/pwm-fsl-ftm.c index 420169e..4a4ad58 100644

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

2014-04-28 Thread Xiubo Li
| 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

[PATCHv2 3/4] pwm: ftm-pwm: Convert to direct regmap API usage.

2014-04-28 Thread Xiubo Li
. Signed-off-by: Xiubo Li --- drivers/pwm/pwm-fsl-ftm.c | 83 +-- 1 file changed, 44 insertions(+), 39 deletions(-) diff --git a/drivers/pwm/pwm-fsl-ftm.c b/drivers/pwm/pwm-fsl-ftm.c index 4a4ad58..5d999c1 100644 --- a/drivers/pwm/pwm-fsl-ftm.c +++ b

[PATCHv2 4/4] pwm: ftm-pwm: Add big-endian support

2014-04-28 Thread Xiubo Li
| BE| Yes LS2 | LE| LE| No Signed-off-by: Xiubo Li --- drivers/pwm/pwm-fsl-ftm.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/pwm/pwm-fsl-ftm.c b/drivers/pwm/pwm-fsl-ftm.c index 5d999c1..9a82741 100644 --- a/drivers/pwm/pwm-fsl-ftm.c +++ b

[PATCHv2 1/4] Documentation: Add 'big-endian' property for FTM PWM.

2014-04-28 Thread Xiubo Li
| LE| BE| Yes LS2 | LE| LE| No Signed-off-by: Xiubo Li --- Documentation/devicetree/bindings/pwm/pwm-fsl-ftm.txt | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-fsl-ftm.txt b/Documentation

[PATCHv3 0/3] clocksource: Add Freescale FlexTimer Module (FTM) timer support

2014-04-28 Thread Xiubo Li
Changes in V3: - Fix the ftm_irq_disable. Changes in V2: - Add big-endian support. - Add using pr_err instead of BUG_ON. - Add more detail comment message of FTM. - Add DT binding documentation. - Remove some header files and macros not useful. Xiubo Li (3): clocksource: ftm: Add FlexTimer

[PATCHv3 1/3] clocksource: ftm: Add FlexTimer Module (FTM) Timer devicetree Documentation

2014-04-28 Thread Xiubo Li
The FTM binding could be used on Vybrid and LS1+, add a binding document for it. Signed-off-by: Xiubo Li Cc: Shawn Guo Cc: Jingchang Lu --- .../devicetree/bindings/timer/fsl,ftm-timer.txt| 31 ++ 1 file changed, 31 insertions(+) create mode 100644 Documentation

[PATCHv3 3/3] clocksource: Add Freescale FlexTimer Module (FTM) timer support

2014-04-28 Thread Xiubo Li
until the value of MOD is reached, at which point the counter is reloaded with the value of CNTIN. That's also when an overflow interrupt will be generated. Here using the 'evt' prefix or postfix as clock event device and the 'src' as clock source device. Signed-off-by: Xiubo Li Cc: Shawn Guo Cc

[PATCHv3 2/3] ARM: dts: vf610: Add Freescale FlexTimer Module timer node.

2014-04-28 Thread Xiubo Li
Signed-off-by: Xiubo Li Cc: Shawn Guo Cc: Jingchang Lu --- arch/arm/boot/dts/vf610.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi index 107e2c0..7e30bb1 100644 --- a/arch/arm/boot/dts/vf610.dtsi +++ b/arch/arm

[PATCHv3 1/3] clocksource: ftm: Add FlexTimer Module (FTM) Timer devicetree Documentation

2014-04-28 Thread Xiubo Li
The FTM binding could be used on Vybrid and LS1+, add a binding document for it. Signed-off-by: Xiubo Li li.xi...@freescale.com Cc: Shawn Guo shawn@linaro.org Cc: Jingchang Lu b35...@freescale.com --- .../devicetree/bindings/timer/fsl,ftm-timer.txt| 31 ++ 1 file

[PATCHv3 3/3] clocksource: Add Freescale FlexTimer Module (FTM) timer support

2014-04-28 Thread Xiubo Li
until the value of MOD is reached, at which point the counter is reloaded with the value of CNTIN. That's also when an overflow interrupt will be generated. Here using the 'evt' prefix or postfix as clock event device and the 'src' as clock source device. Signed-off-by: Xiubo Li li.xi

[PATCHv3 0/3] clocksource: Add Freescale FlexTimer Module (FTM) timer support

2014-04-28 Thread Xiubo Li
Changes in V3: - Fix the ftm_irq_disable. Changes in V2: - Add big-endian support. - Add using pr_err instead of BUG_ON. - Add more detail comment message of FTM. - Add DT binding documentation. - Remove some header files and macros not useful. Xiubo Li (3): clocksource: ftm: Add FlexTimer

[PATCHv3 2/3] ARM: dts: vf610: Add Freescale FlexTimer Module timer node.

2014-04-28 Thread Xiubo Li
Signed-off-by: Xiubo Li li.xi...@freescale.com Cc: Shawn Guo shawn@linaro.org Cc: Jingchang Lu b35...@freescale.com --- arch/arm/boot/dts/vf610.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi index 107e2c0

[PATCHv2 1/4] Documentation: Add 'big-endian' property for FTM PWM.

2014-04-28 Thread Xiubo Li
| LE| BE| Yes LS2 | LE| LE| No Signed-off-by: Xiubo Li li.xi...@freescale.com --- Documentation/devicetree/bindings/pwm/pwm-fsl-ftm.txt | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-fsl

[PATCHv2 3/4] pwm: ftm-pwm: Convert to direct regmap API usage.

2014-04-28 Thread Xiubo Li
. Signed-off-by: Xiubo Li li.xi...@freescale.com --- drivers/pwm/pwm-fsl-ftm.c | 83 +-- 1 file changed, 44 insertions(+), 39 deletions(-) diff --git a/drivers/pwm/pwm-fsl-ftm.c b/drivers/pwm/pwm-fsl-ftm.c index 4a4ad58..5d999c1 100644 --- a/drivers/pwm

[PATCHv2 4/4] pwm: ftm-pwm: Add big-endian support

2014-04-28 Thread Xiubo Li
| BE| Yes LS2 | LE| LE| No Signed-off-by: Xiubo Li li.xi...@freescale.com --- drivers/pwm/pwm-fsl-ftm.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/pwm/pwm-fsl-ftm.c b/drivers/pwm/pwm-fsl-ftm.c index 5d999c1..9a82741 100644 --- a/drivers/pwm

[PATCHv2 2/4] pwm: ftm-pwm: Clean up the code.

2014-04-28 Thread Xiubo Li
This patch intends to prepare for converting to direct regmap API usage. Signed-off-by: Xiubo Li li.xi...@freescale.com --- drivers/pwm/pwm-fsl-ftm.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/pwm/pwm-fsl-ftm.c b/drivers/pwm/pwm-fsl-ftm.c index

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

2014-04-28 Thread Xiubo Li
| 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

[PATCHv2 0/3] add DT endianness binding support

2014-04-23 Thread Xiubo Li
Change in V2: - Namespace the properties using the prefix sring. - Add one binding ducomentation off regmap. Xiubo Li (3): dt/bindings: Add the DT binding documentation for endianness regmap: Add the DT binding documentation for endianness regmap: add DT endianness binding support

[PATCHv2 2/3] regmap: Add the DT binding documentation for endianness

2014-04-23 Thread Xiubo Li
Signed-off-by: Xiubo Li --- .../bindings/regmap/regmap-endianness.txt | 48 ++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/regmap/regmap-endianness.txt diff --git a/Documentation/devicetree/bindings/regmap/regmap

[PATCHv2 1/3] dt/bindings: Add the DT binding documentation for endianness

2014-04-23 Thread Xiubo Li
Signed-off-by: Xiubo Li --- .../devicetree/bindings/endianness/endianness.txt | 55 ++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/endianness/endianness.txt diff --git a/Documentation/devicetree/bindings/endianness/endianness.txt

[PATCHv2 3/3] regmap: add DT endianness binding support.

2014-04-23 Thread Xiubo Li
tation/devicetree/bindings/regmap/regmap-endianness.txt Signed-off-by: Xiubo Li --- drivers/base/regmap/regmap.c | 96 +++- 1 file changed, 85 insertions(+), 11 deletions(-) diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index 8

<    1   2   3   4   5   6   7   8   9   10   >