Age | Commit message (Collapse) | Author |
|
Integrate proper Ethernet initialisation analogous to how it is done
for the Colibri T20.
|
|
Add a commented out define for v1.0a modules with optional NAND
variants which are auto detected.
|
|
As we don't want to exclusively reserve the detection GPIO temporarily
enabling it is still required.
|
|
Hack to force WIRELESS_EXT required to build Redpine Signals LiteFi driver.
|
|
Enable kernel configuration for USB audio.
|
|
As Colibris are usually self powered default drawn VBUS to 2 mA rather
than demanding 500 mA. This should fix it running from not self powered
USB hubs as well.
|
|
Activate Android rather than mass storage gadget driver to support
multiple USB functions. The functions can be configured via a board
file and may be enabled and disabled dynamically. E.g. the following
enables regular Ethernet aka RNDIS functionality once booted:
echo rndis > /sys/class/android_usb/android0/functions
echo 1 > /sys/class/android_usb/android0/enable
|
|
Activate Colibri rather than Tegra USB OTG driver as used on
Colibri T20 as well.
|
|
Integrate USB OTG functionality similar to Colibri T20.
|
|
Clean up various comments, indentation and white space issues.
|
|
Get rid of duplicate USB EHCI ULPI VIEWPORT stuff in Kconfig.
|
|
Several file names and paths showed copy/paste or otherwise issues.
|
|
Add default kernel configuration in order to run oe-core on any of the
Colibri PXA series modules. So far no further platform data additions
have been committed meaning only older PXA270 v1.x, PXA300/310 v1.x or
PXA320 v1.x modules as anyway supported in mainline will work.
|
|
So far only Income's board advertised PWM availability but of course
any Colibri is potentially PWM capable.
|
|
Due to a missing else if always the GPIO number as on colibri_pxa320
was being used which of course failed card detection.
|
|
The definition of __exception_irq_entry for
CONFIG_FUNCTION_GRAPH_TRACER=y needs linux/ftrace.h, but this creates a
circular dependency with it's current home in asm/system.h. Create
asm/exception.h and update all current users.
v4: - rebase to rmk/for-next
v3: - remove redundant includes of linux/ftrace.h
v2: - document the usage restricitions of __exception*
Cc: Zoltan Devai <zdevai@gmail.com>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
|
|
As pageattr.c gets built unconditionally it fails linking on none v7
arms (e.g. PXA) with the following error message:
arch/arm/mm/pageattr.c:38:
undefined reference to `v7_flush_kern_cache_all'
|
|
Unfortunately when merging 15 patches NVIDIA missed 3 resp. 4 lines
which failed UP case (e.g. on PXA). The offending commit in question is
9dfdd9ac17ac9955b431cb962df3d0492384ba0e
The list of commits the above should have included is as follows:
974271c485a4d8bb801decc616748f90aafb07ec
bd7bdd43dcb81bb08240b9401b36a104f77dc135: just some comments missing
63d95a9150ee3bbd4117fcd609dee40313b454d9
11ebea50dbc1ade5994b2c838a096078d4c02399
4ce62e9e30cacc26885cab133ad1de358dd79f21: 2 lines missing
3270476a6c0ce322354df8679652f060d66526dc: one line missing
6575820221f7a4dd6eadecf7bf83cdd154335eda
f2d5a0ee06c1813f985bb9386f3ccc0d0315720f
403c821d452c03be4ced571ac91339a9d3631b17
6037315269d62bf967286ae2670fdd6b6acedab9
bc2ae0f5bb2f39e6db06a62f9d353e4601a332a1
25511a477657884d2164f338341fa89652610507
3ce63377305b694f53e7dd0c72907591c5344224
628c78e7ea19d5b70d2b6a59030362168cdbe1ad: just some comments missing
8db25e7891a47e03db6f04344a9c92be16e391bb
|
|
Looks like this DPD stuff whatever it is fails eMMC detection on our
current Colibri T30 prototypes.
See f4cd0d4448d65a42b65c338f85a3ab8064923c61.
|
|
Trying to build USB device controller driver as a module failed as
follows:
ERROR: "g_usb_high_speed" [drivers/usb/gadget/tegra_udc.ko] undefined!
This is due to a missing export of above mentioned global variable.
|
|
As Colibris are usually self powered default drawn VBUS to 2 mA rather
than demanding 500 mA. This should fix it running from not self powered
USB hubs as well.
|
|
Allow limiting externally accessible USB OTG and host port to full
speed only in order to be compatible with older carrier boards (e.g.
old Colibri Evaluation Board v2.1c, Orchid or Protea). The following
kernel argument can be set to either 0 meaning false or 1 meaning true:
usb_high_speed
|
|
Activate Android rather than Ethernet gadget driver to support multiple
USB functions. The functions can be configured via a board file and may
be enabled and disabled dynamically. E.g. the following enables regular
Ethernet aka RNDIS functionality once booted:
echo rndis > /sys/class/android_usb/android0/functions
echo 1 > /sys/class/android_usb/android0/enable
|
|
Tegra USB1 port needs to issue Port Reset twice internally, otherwise it
fails to enumerate devices attached to it
Signed-off-by: Jim Lin <jilin@nvidia.com>
Signed-off-by: Olof Johansson <olofj@chromium.org>
[ squash two patches into one and minor style cleanups ]
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
|
Android R14 userspace seems to have issues with timestamp support:
[ 14.764337] host1x host1x: SurfaceFlinger: syncpoint id 8 (disp0_a) stuck waiting 3, timeout=2147483447
[ 14.773845] host1x host1x: id 8 (disp0_a) min 2 max 4
[ 14.779163] host1x host1x: id 9 (disp1_a) min 2 max 4
[ 14.784316] host1x host1x: id 18 (2d_0) min 21 max 25
[ 14.789586] host1x host1x: id 20 (disp0_b) min 2 max 4
[ 14.794889] host1x host1x: id 21 (disp1_b) min 2 max 4
[ 14.800241] host1x host1x: id 22 (3d) min 77 max 95
[ 14.805217] host1x host1x: id 24 (disp0_c) min 2 max 4
[ 14.810573] host1x host1x: id 25 (disp1_c) min 2 max 4
[ 14.815873] host1x host1x: id 26 (vblank0) min 800 max 0
[ 14.821264] host1x host1x: id 27 (vblank1) min 684 max 0
[ 14.826810] host1x host1x: waitbase id 3 val 77
Therefore conditionally revert it in that case for now.
See e4e2e776a3d4bf1adf37fc061cfdfb92281f3ace.
|
|
Use the existing boardfile for everything, just match using DT.
See df80522dd557e2759552b6c6b0f1f1c8ad1c5614.
|
|
Add configurability support for i2s parameters.
See 907bac80691c7df5b5b57cbf27f91e8bb1dcf434.
|
|
This is a WAR solution that allows for the turning on SD DPD feature.
The original issue is that enabling SD DPD immediately after device
comes out of LP0 causes ULPI disconnect. The root cause of that is not
known.
The WAR is to delay the enabling of SD DPD for 100ms after
device comes out of LP0.
While at it remove commented out tegra_reserve stuff.
See 5e07056dc8b922b8b43a01b60a949c1dda75d9a9.
|
|
Notify USB connection events to otg core. These notifications will be
used by drivers (e.g. otg wakelock driver) who registered for the
events.
See a4c597152f0b69ba1172b3d52d4e9d39ea3bbd53.
|
|
Enable device tree support for Colibri T20 by adding board compatible
table.
See 293b009a282e1508a4947d84463fdfe820445a50.
|
|
Since there is no PMC available in tegra2 we will not be able to get
any remote wakeup events. Hence do not power of the phy during usb
suspend.
See c4a5c51e493a8d4154c15c95d2bd93b348090892.
|
|
SODIMM pin 135 is really GPIO K6 multiplexed with ACC1_DETECT. Unfortunately the later can't be tri-stated but since it is anyway always an input it should not interfere. Please note however that this SODIMM pin is rather low resistance.
|
|
Conflicts:
arch/arm/mach-tegra/tegra3_usb_phy.c
arch/arm/mach-tegra/usb_phy.c
drivers/usb/gadget/tegra_udc.c
drivers/usb/otg/Makefile
drivers/video/tegra/fb.c
sound/soc/tegra/tegra_pcm.c
|
|
Hack to avoid extensive warning messages from Redpine Signals LiteFi
driver due to unaligned DMA accesses.
|
|
Add emc table for 256 MB module version. Assume less than 256 MB of
kernel memory (e.g. physical memory minus carveout and framebuffers)
means we are running on a 256 MB module.
|
|
Hack to force WIRELESS_EXT required to build Redpine Signals LiteFi driver.
|
|
Implement the following GPIO keys:
- find (SODIMM pin 77)
- home (SODIMM pin 127)
- back (SODIMM pin 133, Iris X16-14)
- volume up (SODIMM pin 22)
- volume down (SODIMM pin 24)
- power (SODIMM pin 45, Iris X16-20)
- menu (SODIMM pin 135)
|
|
After fixing Ethernet detection faults in the T20 BSP V1.x based Linux kernel 2.6.36.2 and U-Boot 2011.06 unify the Ethernet initialisation.
While at it fix some minor white space issue plus add some clarifying ifdef comments.
|
|
Update framebuffer's fix line_length parameter when changing
video mode dynamically.The new line_length should be according
to new x resolution. On addition, check the return value from
dc driver while setting a mode.
Bug 1163682
Bug 1056767
Bug 1056782
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Change-Id: Ib0ab48474f0af3235556a7f7f0d8354af3b50994
Reviewed-on: http://git-master/r/147511
(cherry picked from commit 5856c4afde9459ba6afaf2cdcb07361d9fbf8c79)
Reviewed-on: http://git-master/r/160788
Tested-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
|
|
Since there is no PMC available in tegra2
we will not be able to get any remote wakeup events. Hence do not
power of the phy during usb suspend.
Bug 1166740
Change-Id: I882066a283af2e574b111da3472eb3f8f8a9d6eb
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/160593
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
|
|
With our default gcc 4.7.2 toolchain from oe building nvhdcp with
activated CONFIG_CC_OPTIMIZE_FOR_SIZE fails as follows:
/linux-toradex.git/drivers/video/tegra/dc/nvhdcp.c: In function
'nvhdcp_downstream_worker':
/linux-toradex.git/drivers/video/tegra/dc/nvhdcp.c:807:3: error:
'b_status' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
/linux-toradex.git/drivers/video/tegra/dc/nvhdcp.c:763:6: note:
'b_status' was declared here
make[5]: *** [drivers/video/tegra/dc/nvhdcp.o] Error 1
|
|
Activate parallel camera interface aka video input port (VIP) which
conflicts with the default Colibri pinmux configuration.
Actually enable none VGA TFTLCD resolution to activate previously
commited 720p Android resolution.
|
|
Using 720p as Android's default none VGA TFTLCD resolution allows for
the default tablet mode layout to be run which makes most sense for
evaluation purpose on regular monitors.
|
|
Due to a pin muxing conflict between the regular backlight PWM and the
camera we do have to make this code not CAMERA_INTERFACE define
dependant.
|
|
NVIDIA's Android for their Ventana developer tablet is looking for the
machine name in order to initialise certain things. For now just hack
it to be able to use their regular initrd.
|
|
NVIDIA's Android employs its own proprietary camera stack therefore
make sure no V4L2 sensor drivers are registered.
|
|
As the camera master clock is an output no input driver is required on
the external clk2 out pin we use for that purpose.
Note: We do not use the regular camera MCLK due to this pin being 1.8V
only.
|
|
At least our early Colibri T30 prototypes exhibit an issue that often
times kernel locks-up during boot-up due to missing pll_a lock bit.
|
|
Android immediately shuts down due to too low voltage reading from
wm97xx-battery driver on our analog input pins if nothing is connected.
Making our hack not Android dependant means driver still fails loading
on Android therefore resolving above issue for now.
|
|
|