Tegra KBC driver have the default key mapping for 16x8 configuration.
The key mapping can be provided through platform data or through DT
and the mapping varies from platform to platform, hence this default
mapping is not so useful. Remove the default mapping to reduce the code
lines of the driver.
The NVIDIA's Tegra KBC has maximum 24 pins to make matrix keypad.
Any pin can be configured as row or column. The maximum column pin
can be 8 and maximum row pin can be 16.
Remove the assumption that all first 16 pins will be used as row
and remaining as columns and Add the property for configurin
Use devm_* for memory, clock, input device allocation. This reduces
code for freeing these resources.
Signed-off-by: Laxman Dewangan
---
Changes from V1:
None
drivers/input/keyboard/tegra-kbc.c | 93 +++-
1 files changed, 28 insertions(+), 65 deletions(-)
diff
Fix the following build warning when building driver with CONFIG_PM_SLEEP
not selected.
tegra-kbc.c:360:13: warning: 'tegra_kbc_set_keypress_interrupt' defined but not
used [-Wunused-function]
Signed-off-by: Laxman Dewangan
---
Changes form V1:
- none
drivers/input/keyboard/tegra-kbc.c | 24
This patch series:
- fix build warning,
- use devm_* for allocation,
- make column/rows configuration through DT and
- remove the rarely used key mapping table.
Changes from V1:
- renames the rows and pins property array.
- nit cleanups.
Laxman Dewangan (4):
input: keyboard: tegra: fix bu
On Saturday 05 January 2013 01:22 AM, Stephen Warren wrote:
On 01/04/2013 04:02 AM, Laxman Dewangan wrote:
Tegra KBC driver have the default key mapping for 16x8 configuration.
The key mapping can be provided through platform data or through DT
and the mapping varies from platform to platform, h
Hi Richard,
On Fri, Jan 4, 2013 at 9:35 PM, Richard Cochran
wrote:
> On Fri, Jan 04, 2013 at 09:31:04PM +0200, Pantelis Antoniou wrote:
>> The following patchset introduces Device Tree overlays, a method
>> of dynamically altering the kernel's live Device Tree.
>
> It would be nice to know the mo
On Fri, Jan 04, 2013 at 09:31:04PM +0200, Pantelis Antoniou wrote:
> The following patchset introduces Device Tree overlays, a method
> of dynamically altering the kernel's live Device Tree.
It would be nice to know the motivation for this code.
What is the use case? What problem or issue is bein
On Fri, Jan 04, 2013 at 09:12:46PM +0200, Pantelis Antoniou wrote:
> Device tree can store multiple strings in a single property.
> We didn't handle that case properly.
>
> Signed-off-by: Pantelis Antoniou
Acked-by: David Gibson
--
David Gibson| I'll have my music baroque,
On 01/04/2013 04:02 AM, Laxman Dewangan wrote:
> Tegra KBC driver have the default key mapping for 16x8 configuration.
> The key mapping can be provided through platform data or through DT
> and the mapping varies from platform to platform, hence this default
> mapping is not so useful. Remove the
On 01/04/2013 04:02 AM, Laxman Dewangan wrote:
> The NVIDIA's Tegra KBC has maximum 24 pins to make matrix keypad.
> Any pin can be configured as row or column. The maximum column pin
> can be 8 and maximum row pin can be 16.
>
> Remove the assumption that all first 16 pins will be used as row
> a
Introduce DT overlay support.
Using this functionality it is possible to dynamically overlay a part of
the kernel's tree with another tree that's been dynamically loaded.
It is also possible to remove node and properties.
Signed-off-by: Pantelis Antoniou
---
Documentation/devicetree/overlay-note
Introduce support for dynamic device tree resolution.
Using it, it is possible to prepare a device tree that's
been loaded on runtime to be modified and inserted at the kernel
live tree.
Signed-off-by: Pantelis Antoniou
---
.../devicetree/dynamic-resolution-notes.txt| 25 ++
drivers/of/
Introduce helper functions for working with the live DT tree.
__of_free_property() frees a dynamically created property
__of_free_tree() recursively frees a device node tree
__of_copy_property() copies a property dynamically
__of_create_empty_node() creates an empty node
__of_find_node_by_full_nam
There are other users for the proc DT functions.
Export them.
Signed-off-by: Pantelis Antoniou
---
drivers/of/base.c | 108 -
include/linux/of.h | 29 ++
2 files changed, 87 insertions(+), 50 deletions(-)
diff --git a/drivers/of/
of_property_notify can be utilized by other users too, export it.
Signed-off-by: Pantelis Antoniou
---
drivers/of/base.c | 8 +---
include/linux/of.h | 11 +++
2 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/drivers/of/base.c b/drivers/of/base.c
index 2390ddb..d5982
Helper functions for working with device node flags.
Signed-off-by: Pantelis Antoniou
---
include/linux/of.h | 20
1 file changed, 20 insertions(+)
diff --git a/include/linux/of.h b/include/linux/of.h
index 5ebcc5c..2ff35b5 100644
--- a/include/linux/of.h
+++ b/include/linu
The following patchset introduces Device Tree overlays, a method
of dynamically altering the kernel's live Device Tree.
This patchset is against mainline as of Friday Jan 4 2013.
(4956964 Merge tag 'driver-core-3.8-rc2' of \
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core)
Enable the generation of symbol & fixup information for
usage with dynamic DT loading.
Passing the -@ option generates a __symbols__ node at the
root node of the resulting blob for any node labels used.
When using the /plugin/ tag all unresolved label references
be tracked in the __fixups__ node,
After fixing the is_printable bug the test suite fails.
Fix it with this patch
Signed-off-by: Pantelis Antoniou
---
tests/run_tests.sh | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/tests/run_tests.sh b/tests/run_tests.sh
index dd7f217..43279c9 100755
--- a/tests/run_te
After fixing the is_printable bug the test suite fails.
Fix it with this patch
Signed-off-by: Pantelis Antoniou
---
tests/run_tests.sh | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/tests/run_tests.sh b/tests/run_tests.sh
index dd7f217..43279c9 100755
--- a/tests/run_te
The method used did not account for multi-part strings.
Signed-off-by: Pantelis Antoniou
---
util.c | 20 +---
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/util.c b/util.c
index 2422c34..45f186b 100644
--- a/util.c
+++ b/util.c
@@ -72,7 +72,7 @@ char *join_path(
Device tree can store multiple strings in a single property.
We didn't handle that case properly.
Signed-off-by: Pantelis Antoniou
---
fdtdump.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/fdtdump.c b/fdtdump.c
index 207a46d..d4fa6d7 100644
--- a/fdtdump.c
++
The IP responsible for the muxing on the Allwinner SoCs are also
handling the GPIOs on the system. This patch adds the needed driver that
relies on the pinctrl driver for most of its operations.
The number of pins available for GPIOs operations are already declared
in the pinctrl driver, we only n
On Fri, Jan 04, 2013 at 03:24:37PM +0530, Hebbar Gururaja wrote:
> + "MIC3L","Mic Bias 2V",
> + "MIC3R","Mic Bias 2V",
> + "Mic Bias 2V", "Mic Jack",
The CODEC driver biases should be changed over to be supplies, this
ma
On Fri, Jan 04, 2013 at 03:24:36PM +0530, Hebbar Gururaja wrote:
> From: "Hebbar, Gururaja"
>
> Signed-off-by: Hebbar, Gururaja
Linus has a change for this in the core which currently looks like it'll
get merged in v3.8 so there doesn't seem to be any pressing need for
driver specific changes t
Tegra KBC driver have the default key mapping for 16x8 configuration.
The key mapping can be provided through platform data or through DT
and the mapping varies from platform to platform, hence this default
mapping is not so useful. Remove the default mapping to reduce the code
lines of the driver.
The NVIDIA's Tegra KBC has maximum 24 pins to make matrix keypad.
Any pin can be configured as row or column. The maximum column pin
can be 8 and maximum row pin can be 16.
Remove the assumption that all first 16 pins will be used as row
and remaining as columns and Add the property for configurin
Use devm_* for memory, clock, input device allocation. This reduces
code for freeing these resources.
Signed-off-by: Laxman Dewangan
---
drivers/input/keyboard/tegra-kbc.c | 93 +++-
1 files changed, 28 insertions(+), 65 deletions(-)
diff --git a/drivers/input/
Fix the following build warning when building driver with CONFIG_PM_SLEEP
not selected.
tegra-kbc.c:360:13: warning: 'tegra_kbc_set_keypress_interrupt' defined but not
used [-Wunused-function]
Signed-off-by: Laxman Dewangan
---
drivers/input/keyboard/tegra-kbc.c | 24
This patch series:
- fix build warning,
- use devm_* for allocation,
- make column/rows configuration through DT and
- remove the rarely used key mapping table.
Laxman Dewangan (4):
input: keyboard: tegra: fix build warning
input: keyboard: tegra: use devm_* for resource allocation
inpu
Hi Bryan,
Thanks for your reply.
On Thursday 03 of January 2013 13:40:43 Bryan Evenson wrote:
> > -Original Message-
> > From: linux-arm-kernel-boun...@lists.infradead.org [mailto:linux-arm-
> > kernel-boun...@lists.infradead.org] On Behalf Of Tomasz Figa
> > Sent: Thursday, January 03, 2
Hi Nicolas,
Thanks for your reply.
On Thursday 03 of January 2013 21:48:05 Nicolas Pitre wrote:
> On Thu, 3 Jan 2013, Tomasz Figa wrote:
> > Hi,
> >
> > I'm observing strange behavior when booting 3.8-rc1 and -rc2 with
> > appended DTB. The kernel hangs very early when the DTB is bigger than
> >
From: "Hebbar, Gururaja"
Device tree support for Davinci Machine driver
When the board boots with device tree, the driver will receive card,
codec, dai interface details (like the card name, DAPM routing map,
phandle for the audio components described in the dts file, codec mclk
speed).
The card
1. Add pinctrl for McASP Module
2. Add DT support for Davinci machine platform
This patch-set is tested on Davinci platform (DA850 EVM). This series applies on
top of tag next-20130103 git tree
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
These patches cannot be tested dire
From: "Hebbar, Gururaja"
Signed-off-by: Hebbar, Gururaja
---
Changes in V2
- no change
:100644 100644 55e2bf6... 83d96eb... M sound/soc/davinci/davinci-mcasp.c
sound/soc/davinci/davinci-mcasp.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/sound/soc/davinci/davinci-mca
36 matches
Mail list logo