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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
->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
->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
, 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
, 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
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
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
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
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
'
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
'
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
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
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
'
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
'
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
;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
' 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
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
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
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
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
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
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
}'
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
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:
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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:
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
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
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
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
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
| 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
.
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
| 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
| 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
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
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
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
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
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
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
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
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
| 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
.
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
| 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
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
| 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
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
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
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
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
301 - 400 of 1058 matches
Mail list logo