Hi,
On Mon, 7 Sep 2015 13:43:52 +0200
Andreas Bießmann wrote:
> From: Heiko Schocher
>
> introduce BIT() definition, used in at91_udc gadget
> driver.
>
> Signed-off-by: Heiko Schocher
> [remove all other occurrences of BIT(x)
On 8 September 2015 at 20:06, Michal Simek wrote:
> On 09/08/2015 11:48 AM, Jagan Teki wrote:
>> On 4 September 2015 at 14:22, Jagan Teki wrote:
>>> Hi Michal/Siva,
>>>
>>> Any fix for this failure?
>>>
>>> CC spl/drivers/mtd/spi/spi_spl_load.o
The MCV SoM has DDR3-1600 DRAMs on it, update the DRAM speed
to 400MHz to make use of these DRAMs completely.
Signed-off-by: Marek Vasut
---
board/denx/mcvevk/qts/iocsr_config.h | 128 +--
board/denx/mcvevk/qts/pll_config.h | 6 +-
If the SD card does not contain the u-boot.img then we get the
following error:
U-Boot SPL 2015.10-rc2-23947-g7ad5930 (Sep 08 2015 - 14:10:29)
** Partition 1 not valid on device 0 **
spl_register_fat_device: fat register err - -1
If the SD card does not contain the u-boot.img then we get the
following error:
U-Boot SPL 2015.10-rc2-23947-g7ad5930 (Sep 08 2015 - 14:10:29)
** Partition 1 not valid on device 0 **
spl_register_fat_device: fat register err - -1
On Tuesday, September 08, 2015 at 07:53:09 PM, Marek Vasut wrote:
> The MCV SoM has DDR3-1600 DRAMs on it, update the DRAM speed
> to 400MHz to make use of these DRAMs completely.
>
> Signed-off-by: Marek Vasut
Yes, it works, applied, thanks.
Best regards,
Marek Vasut
This reverts commit bb52b367f6ca4a3a918e77737f4ff6a1089912d9.
Signed-off-by: Simon Glass
---
drivers/core/device-remove.c | 22 ++
include/dm/device-internal.h | 26 --
2 files changed, 18 insertions(+), 30 deletions(-)
diff --git
This reverts commit 6cda369509e0d3fa5f9e33c9d71589c4523799fa.
We want to avoid having the USB stack rely on unbind.
Signed-off-by: Simon Glass
---
drivers/usb/host/usb-uclass.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/usb/host/usb-uclass.c
This function should not be used with driver model. While there are users
of USB Ethernet that use driver model for USB but not Ethernet, we have
to keep it around. Add a comment to that effect.
Signed-off-by: Simon Glass
---
drivers/usb/host/usb-uclass.c | 9 +
1
Switch USB keyboards over to use driver model instead of scanning with the
horrible usb_get_dev_index() function. This involves creating a new uclass
for keyboards, although so far there is no API.
Signed-off-by: Simon Glass
---
common/cmd_usb.c | 12 ++--
Stephen,
> -Original Message-
> From: Stephen Warren [mailto:swar...@wwwdotorg.org]
> Sent: Friday, September 04, 2015 9:04 PM
> To: Tom Rini
> Cc: u-boot@lists.denx.de; Simon Glass; Tom Warren; Stephen Warren; Lukasz
> Majewski; Przemyslaw Marczak
> Subject: [PATCH 07/10] ARM: tegra: fix
There was quite a bit of discussion about the change that required the
unbinding of USB devices for the subsystem to function correctly. E.g.
https://patchwork.ozlabs.org/patch/485637/
The key issue is the usb_get_dev_index() function which is not a good API
for driver model. We can drop use of
This reverts commit 9b510df703d282effba4f56ac567aa8011d56e6b.
We want to avoid having the USB stack rely on unbind.
Signed-off-by: Simon Glass
---
drivers/usb/host/usb-uclass.c | 19 ++-
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git
Hi Bin,
On Tue, Sep 8, 2015 at 11:24 AM, Bin Meng wrote:
> Hi Joe,
>
> On Wed, Sep 9, 2015 at 12:01 AM, Joe Hershberger
> wrote:
>> Hi Bin,
>>
>> On Tue, Sep 8, 2015 at 10:44 AM, Bin Meng wrote:
>>> Hi Joe,
>>>
>>> On Tue, Sep
It is not very useful to have the message below on every boot
(especially when we are using early silicon):
U-Boot 2015.10-rc2-23945-g37cf215 (Sep 08 2015 - 14:12:14 -0300)
CPU: Freescale i.MX6UL rev1.0 792 MHz (running at 396 MHz)
CPU: Commercial temperature grade (0C to 95C)CPU: Thermal
Hi, Andreas
On 07.09.15 14:43, Andreas Bießmann wrote:
From: Heiko Schocher
introduce BIT() definition, used in at91_udc gadget
driver.
Signed-off-by: Heiko Schocher
[remove all other occurrences of BIT(x) definition]
Signed-off-by: Andreas Bießmann
If the SD card does not contain the u-boot.img then we get the
following error:
U-Boot SPL 2015.10-rc2-23947-g7ad5930 (Sep 08 2015 - 14:10:29)
** Partition 1 not valid on device 0 **
spl_register_fat_device: fat register err - -1
Add a README file to help users getting started with the board.
Signed-off-by: Fabio Estevam
---
board/freescale/mx6ul_14x14_evk/README | 32
1 file changed, 32 insertions(+)
create mode 100644 board/freescale/mx6ul_14x14_evk/README
It is not very useful to have the message below on every boot
(especially when we are using early silicon):
U-Boot 2015.10-rc2-23945-g37cf215 (Sep 08 2015 - 14:12:14 -0300)
CPU: Freescale i.MX6UL rev1.0 792 MHz (running at 396 MHz)
CPU: Commercial temperature grade (0C to 95C)CPU: Thermal
On 21 August 2015 at 22:31, Heiko Schocher wrote:
> introduce BIT() definition, used in at91_udc gadget
> driver.
>
> Signed-off-by: Heiko Schocher
>
> ---
>
> Changes in v4: None
> Changes in v3:
> - new in v3
>
> Changes in v2: None
>
> include/linux/bitops.h | 2
This patch adds an ability to use pl01x as a debug UART. It must
be configured like other types of debug UARTs
Signed-off-by: Sergey Temerkhanov
Signed-off-by: Radha Mohan Chintakuntla
---
drivers/serial/Kconfig| 20
On Tuesday, September 08, 2015 at 07:15:11 PM, Simon Glass wrote:
> Switch USB keyboards over to use driver model instead of scanning with the
> horrible usb_get_dev_index() function. This involves creating a new uclass
> for keyboards, although so far there is no API.
Hi,
Why don't you create
There is a weak version_string[] at common/cmd_version.c .
Remove the one in start.S.
Signed-off-by: Thomas Chou
---
arch/nios2/cpu/start.S | 6 --
1 file changed, 6 deletions(-)
diff --git a/arch/nios2/cpu/start.S b/arch/nios2/cpu/start.S
index e92f06e..5c7074e
Hi Marek,
On Wed, Sep 09, 2015 at 11:24:37AM +0800, Peng Fan wrote:
>On Tue, Sep 08, 2015 at 07:17:22PM -0700, Stephen Warren wrote:
>>On 09/03/2015 03:11 PM, Marek Vasut wrote:
>>> On Tuesday, September 01, 2015 at 09:45:12 PM, Stephen Warren wrote:
On 08/30/2015 12:26 AM, Peng Fan wrote:
On 09/04/2015 08:22 PM, Thomas Chou wrote:
Show fdt blob address in board info command.
Signed-off-by: Thomas Chou
---
common/cmd_bdinfo.c | 3 +++
1 file changed, 3 insertions(+)
Applied to u-boot-nios2.
___
U-Boot
The read_keys() method in input is passed a struct input_config. Add a
device pointer there so that we can find out the device that is referred
to with driver model.
Once all drivers are converted we can update the input structure to use
driver model instead.
Signed-off-by: Simon Glass
Adjust the tegra keyboard driver to support driver model, using the new
uclass. Make this the default for all Tegra boards so that those that use
a keyboard will build correctly with this driver.
Signed-off-by: Simon Glass
---
arch/arm/mach-tegra/Kconfig | 1 +
Add a uclass for keyboard input, mirroring the existing stdio methods.
This is enabled by a new CONFIG_DM_KEYBOARD option.
Signed-off-by: Simon Glass
---
common/usb_kbd.c| 6 ---
drivers/input/Kconfig | 9 +
drivers/input/Makefile |
Return a useful error instead of -1 when something goes wrong.
Signed-off-by: Simon Glass
---
drivers/input/input.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/input/input.c b/drivers/input/input.c
index 007b855..9033935 100644
---
CONFIG_CONSOLE_CURSOR, CONFIG_SYS_CONSOLE_BLINK_COUNT and
CONFIG_CONSOLE_TIME are not used by any board. The implementation is not
great and stands in the way of a refactor of i8042. Drop these for now.
They can be re-introduced quite easily later, perhaps with driver model
RTC support.
When
When driver model is used for keyboards we must scan the available keyboards
and register them with stdio. Add code to do this.
At some point (once LCD/video is converted) we should be able to convert
stdio to driver model and avoid these dual data structures.
Signed-off-by: Simon Glass
In preparation for converting the cros_ec keyboard driver to driver model,
adjust the cros_ec functions it will use to use a normal struct udevice.
Signed-off-by: Simon Glass
---
drivers/input/cros_ec_keyb.c | 4 ++--
drivers/misc/cros_ec.c | 14 +-
Require the caller to add the keycode translation tables separately so that
it can select which ones to use. In a later patch we will add the option to
add German tables.
Signed-off-by: Simon Glass
---
board/kosagi/novena/novena.c | 1 +
drivers/input/cros_ec_keyb.c | 1 +
Adjust the cros_ec keyboard driver to support driver model. Make this the
default for all Exynos boards so that those that use a keyboard will build
correctly with this driver.
Signed-off-by: Simon Glass
---
README | 5 --
arch/arm/Kconfig
This option is mentioned but does not do anything. Drop it.
Signed-off-by: Simon Glass
---
README | 11 ++-
board/mpl/pip405/README | 4
include/configs/MIP405.h | 5 -
include/configs/PIP405.h | 5 -
4 files changed, 6
Sometimes we seem to get 0xaa twice which causes the config read to fail.
This causes chromebook_link to fail to set up the keyboard.
Add a check for this and read the config again when detected.
Signed-off-by: Simon Glass
---
drivers/input/i8042.c | 2 ++
1 file changed, 2
At present the register access in kbd_reset() is quite primitive. This makes
it hard to follow.
Create functions to read and write data, both to a single register, and via
the command/data approach.
Signed-off-by: Simon Glass
---
drivers/input/i8042.c | 75
Most keyboards can be scanned to produce a list of the keycodes which are
depressed. With the i8042 keyboard this scanning is done internally and
only the processed results are returned.
In this case, when a key is pressed, a 'make' code is sent. When the key
is released an 'unmake' code is sent.
Generally the input library handles processing of a list of scanned keys.
Repeated keys need to be generated based on a timer in this case, since all
that is provided is a list of keys current depressed.
Keyboards which do their own scanning will resend codes when they want to
inject a repeating
Adjust this driver to support driver model. The only users are x86 boards
so this should be safe.
Signed-off-by: Simon Glass
---
drivers/input/Makefile | 2 +-
drivers/input/i8042.c | 113 -
include/i8042.h| 6 ---
Rather than lots of 'return' statements, use goto to a single return.
Signed-off-by: Simon Glass
---
drivers/input/i8042.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/drivers/input/i8042.c b/drivers/input/i8042.c
index c6a92a2..ef01bd0
When caps lock is enabled we should convert lower case to upper case. Add
this to the input key processing so that caps lock works correctly.
Signed-off-by: Simon Glass
---
drivers/input/input.c | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git
Modify i8042_kbd_init() so that the normal pass is sucessful init and
failure exits early. This will make the code easier to extend and is easier
to read.
Signed-off-by: Simon Glass
---
drivers/input/i8042.c | 19 +--
1 file changed, 9 insertions(+), 10
Now that i8042 uses driver model, adjust other mentions of it and remove old
code that is no-longer used. Update the README and unify the keyboard text
into one place.
Signed-off-by: Simon Glass
---
README | 33 +++--
On Tue, Sep 08, 2015 at 07:17:22PM -0700, Stephen Warren wrote:
>On 09/03/2015 03:11 PM, Marek Vasut wrote:
>> On Tuesday, September 01, 2015 at 09:45:12 PM, Stephen Warren wrote:
>>> On 08/30/2015 12:26 AM, Peng Fan wrote:
Hi Stephen,
>>
>> Hi,
>>
>> sorry for the delayed reply, I had to
Add a new option CONFIG_I8042_KEYB which will replace the current
CONFIG_I8042_KBD. This new name fits better with existing drivers.
Signed-off-by: Simon Glass
---
drivers/input/Kconfig | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/input/Kconfig
Add support for the German keymap, taken from i8042.c. This can be selected
when the input library it initialised.
Signed-off-by: Simon Glass
---
board/kosagi/novena/novena.c | 2 +-
drivers/input/cros_ec_keyb.c | 2 +-
drivers/input/input.c| 82
At present the i8042 driver has its own logic and keymaps. In an effort to
unify the code, move it over to use the input library. This changes most of
the keycode-processing logic since it is now in that library. The main
responsibilities of the driver are now to handle the LEDs, deal with the
This has duplicated scan code tables and logic. We can use the input
library to implement most of the features here.
This needs testing. The only supported board appears to be TQM5200.
Unfortunately no maintainer is listed for this board.
Signed-off-by: Simon Glass
---
The slash and * are missing from the keycode tables. Add these so that
these keypad keys can be used.
Signed-off-by: Simon Glass
---
drivers/input/input.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/input/input.c b/drivers/input/input.c
Hi Fabio,
On Tue, Sep 08, 2015 at 02:43:11PM -0300, Fabio Estevam wrote:
>If the SD card does not contain the u-boot.img then we get the
>following error:
>
>U-Boot SPL 2015.10-rc2-23947-g7ad5930 (Sep 08 2015 - 14:10:29)
>
>** Partition 1 not valid on device 0 **
Some boards have an i8042 device. Enable the driver for all x86 boards, and
add a device tree node for those which may have this keyboard.
Also adjust the configuration so that i8042 is always separate from the VGA,
and rename the stdin driver accordingly. With this commit the keyboard will
not
This code is currently incorrect, perhaps due to a typo. Fix it.
Signed-off-by: Simon Glass
---
drivers/input/input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/input.c b/drivers/input/input.c
index 0f11ae6..95006a9 100644
---
Move all the '!release' code into one block so that it is clear that it only
applies on key release.
Signed-off-by: Simon Glass
---
drivers/input/input.c | 27 ++-
1 file changed, 14 insertions(+), 13 deletions(-)
diff --git a/drivers/input/input.c
Add a function which returns a new keyboard LED value when the LEDs need
updating.
Signed-off-by: Simon Glass
---
drivers/input/input.c | 9 +
include/input.h | 14 +-
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git
Hi,
This is regarding the PCI configuration Issue for QEMU ACPI Support.
I am comparing arch/x86/cpu/qemu/acpi/pci-crs.asl and
arch/x86/dts/qemu-x86_q35.dts and we find there are different ranges
been specified for PCI configuration in both the files.
As per my understanding for Qemu q35
The dly_clks() in start.S is no use after switching to
generic timer. Remove it.
Signed-off-by: Thomas Chou
---
arch/nios2/cpu/start.S | 33 -
1 file changed, 33 deletions(-)
diff --git a/arch/nios2/cpu/start.S b/arch/nios2/cpu/start.S
This series adds a new uclass for keyboards and converts some drivers
over to use it.
This series includes some work to remove code duplication in the keyboard
drivers by updating them to use the input library (input.c). This unifies
the keycode decoding logic in one place. In order to do this
101 - 158 of 158 matches
Mail list logo