23 Commits
Author SHA1 Message Date
Marc Dietrich 3b769edd58 staging/nvec: fix compilation error in nvec.c
This fixes a compilation error in nvec.c due to the missing module.h include.

Signed-off-by: Marc Dietrich <[email protected]>
Cc: Julian Andres Klode <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-10-17 15:24:11 -07:00
Marc Dietrich 5b7bea9f12 spi/tegra: fix compilation error in spi-tegra.c
Add #include <linux/module.h> to spi-tegra.c to fix a compilation error
after the removal of module.h from device.h (in patch: "include: replace
linux/module.h with "struct module" wherever possible").

Signed-off-by: Marc Dietrich <[email protected]>
Acked-by: Olof Johansson <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
2011-10-14 16:41:04 -06:00
Marc Dietrich 3faf12cd86 ARM: tegra: fix compilation error due to mach/hardware.h removal
This fixes a compilation error in cpu-tegra.c which was introduced in
dc8d966bcc ("ARM: convert PCI defines to variables") which removed the
now obsolete mach/hardware.h from the mach-tegra subtree.

Signed-off-by: Marc Dietrich <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
Cc: Sergei Shtylyov <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2011-10-10 14:46:25 +12:00
Marc Dietrich 9feeb0147f staging: nvec: send suspend messages synchronously
The suspend commands need to be sent using the
synchronous method, otherwise the power gets
disabled before the messages are transferred.

Signed-off-by: Marc Dietrich <[email protected]>
[[email protected]: Rewrote commit message]
Signed-off-by: Julian Andres Klode <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-09-29 17:41:40 -07:00
Marc Dietrich b414e2eb3a staging: nvec: fix Kconfig dependencies
This patch adds config dependencies for the NVEC keyboard, mouse,
and power drivers.

Signed-off-by: Julian Andres Klode <[email protected]>
Acked-by: Marc Dietrich <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-09-29 17:40:40 -07:00
Marc Dietrich 7c6b6c7110 staging: nvec: add MAINTAINERS info
This adds the relevant info to the MAINTAINERS file so people can
find the right person to blame.

Signed-off-by: Marc Dietrich <[email protected]>
Signed-off-by: Julian Andres Klode <[email protected]>
Acked-by: Marc Dietrich <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-09-29 17:40:39 -07:00
Marc Dietrich 8cdeff497a staging: nvec: update ToDo list
Mostly small stuff only. Hopefully completed during the next
release cycle.

Signed-off-by: Marc Dietrich <[email protected]>
[[email protected]: Removed some items no longer valid]
Signed-off-by: Julian Andres Klode <[email protected]>
Acked-by: Marc Dietrich <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-09-29 17:40:39 -07:00
Marc Dietrich 6dca320c8f staging: nvec: fix unmute of speakers
The ec command used was for muting, not unmuting.

Signed-off-by: Marc Dietrich <[email protected]>
Signed-off-by: Julian Andres Klode <[email protected]>
Acked-by: Marc Dietrich <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-09-29 17:40:38 -07:00
Marc Dietrich ac8107599e staging: nvec: rework the nvec slave init
Rework the tegra slave controller init to look more like in
tegra-i2c.c. This makes the nvec init reliable. Also add de-init of
the slave to be used during suspend.

Signed-off-by: Marc Dietrich <[email protected]>
Signed-off-by: Julian Andres Klode <[email protected]>
Acked-by: Marc Dietrich <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-09-29 17:40:38 -07:00
Marc Dietrich a3a9aa1a41 staging: nvec: Use print_hex_dump() where appropriate
Split of the previous patch and the next by Marc, as that
patch is not strictly a coding style fix only.

Signed-off-by: Julian Andres Klode <[email protected]>
Acked-by: Marc Dietrich <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-09-29 17:40:37 -07:00
Marc Dietrich 162c7d8c4b staging: nvec: coding style fixes / add copyright notice
This patch fixes coding style and adds copyright notices.

Signed-off-by: Marc Dietrich <[email protected]>
[[email protected]: Merge later cleanup into that patch]
Signed-off-by: Julian Andres Klode <[email protected]>
Acked-by: Marc Dietrich <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-09-29 17:40:37 -07:00
Marc Dietrich f686e9affb staging: nvec: convert to use platform register and mfdcells
This patch converts the nvec to use mfd cells and improves the
registration of the platform driver. The child drivers are also
converted to use mfd cells and platform registration.

Signed-off-by: Marc Dietrich <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-08-24 14:25:30 -07:00
Marc Dietrich 24810cb53c ARM: tegra: paz00: reorder the SDHCI channel init
This reorders the SDHCI channel init order. With this patch, the
internal emmc gets the mmcblk0 device while the external sdmmc port
gets mmcblk1. This change is only for convenience.

Signed-off-by: Marc Dietrich <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
2011-08-09 12:07:41 -07:00
Marc Dietrich 8e219ebfa0 ARM: tegra: paz00: enable wifi led
This adds support for the wifi led. It is automaticly triggered by
the rfkill0 event.

Signed-off-by: Marc Dietrich <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
2011-08-09 12:07:40 -07:00
Marc Dietrich 9aaa15a739 ARM: tegra: paz00: enable rfkill for internal wifi card
This patch adds support for controlling the rfkill gpios for the
internal WIFI card via the rfkill_gpio driver.

Signed-off-by: Marc Dietrich <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
2011-08-09 12:07:40 -07:00
Marc Dietrich de7164db70 ARM: tegra: paz00: add support serial port on JP1
UART-A is connected to JP1 and used by the bootloader for debugging
output while UART-D is connected to the mini-pcie expansion slot.

Signed-off-by: Marc Dietrich <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
2011-08-09 12:07:40 -07:00
Marc Dietrich d1890d4d1a ARM: tegra: paz00: change the machine name
This renames "paz00" in MACHINE_START macro to a neater string.
PAZ00 seems to have been the Compal internal project name, while
PROCYON looks like Toshiba project name.
Anyway, the AC100 support package in Ubuntu needs the new naming to
identify the machine.

Signed-off-by: Marc Dietrich <[email protected]>
Signed-off-by: Colin Cross <[email protected]>
2011-07-12 20:38:57 -07:00
Marc Dietrich 41cdc62e12 ARM: tegra: paz00: cleanup sdhci ports
The internal storage has no gpios connected to. Also the second
port is not connected at all, so remove it from the board file.

Signed-off-by: Marc Dietrich <[email protected]>
Signed-off-by: Colin Cross <[email protected]>
2011-07-12 20:38:56 -07:00
Marc Dietrich 13db7a7f41 ARM: tegra: paz00: enable usb ports
This patch add support for the second and third ehci bus on paz00.
The first bus needs gadget and nvec support and will be added once
the needed patches are upstream.

Signed-off-by: Marc Dietrich <[email protected]>
Signed-off-by: Colin Cross <[email protected]>
2011-07-12 20:38:55 -07:00
Marc Dietrich dda9cd289c ARM: tegra: paz00: register i2c busses
This adds support for the i2c busses on paz00. The 3rd bus is
reserved for the nvec, which acts as master and i2c-tegra has
not yet support for this kind of operation.
The sound codec (alc5632) is connected to the first bus and will
be added once the codec and glue driver is upstream.
The thermal sensor (atd7461) is connected to dvc as usual, but will
not be added now because i2c-tegra still misses probe support
(needs I2C_FUNC_SMBUS_EMUL).

Signed-off-by: Marc Dietrich <[email protected]>
Signed-off-by: Colin Cross <[email protected]>
2011-07-12 20:38:55 -07:00
Marc Dietrich 4592de7da8 ARM: tegra: paz00: whitespace cleanup
This patch replaces long sequences of spaces by tabs and tabs by
spaces were appropriate.

Signed-off-by: Marc Dietrich <[email protected]>
Signed-off-by: Colin Cross <[email protected]>
2011-07-12 20:38:54 -07:00
Marc Dietrich 32890b9830 Staging: initial version of the nvec driver
This is an implementation of a NVidia compliant embedded controller
protocol driver. It is used on some ARM-Tegra boards for device
communication.

Signed-off-by: Marc Dietrich <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2011-05-19 15:36:10 -07:00
Marc Dietrich 65b935aa99 ARM: tegra: Add Toshiba AC100 support
This patch adds the config infrastructure, the pinmux and basic
board setup code for PAZ00 (name of board inside the AC100/AZ).

Signed-off-by: Marc Dietrich <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
2011-03-07 15:44:34 -08:00