Age | Commit message (Collapse) | Author |
|
Conflicts:
arch/arm/mm/proc-v7.S
drivers/video/tegra/dc/dc.c
Change-Id: I40be0d615f14f1c01305388a706d257f624ba968
|
|
|
|
Rabin Vincent reports:
| On SMP, this BUG() in save_stack_trace_tsk() can be easily triggered
| from user space by reading /proc/$PID/stack, where $PID is any pid but
| the current process:
|
| if (tsk != current) {
| #ifdef CONFIG_SMP
| /*
| * What guarantees do we have here that 'tsk'
| * is not running on another CPU?
| */
| BUG();
| #else
Fix this by replacing the BUG() with an entry to terminate the stack
trace, returning an empty trace - I'd rather not expose the dwarf
unwinder to a volatile stack of a running thread.
Change-Id: Ide38bb5eeff09c1d1189bc1a30667a2cc6b96ba2
Reported-by: Rabin Vincent <rabin@rab.in>
Tested-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Reviewed-on: http://git-master/r/28325
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Change-Id: I5cdfdfef8dfc9ff4796e8a9b53d9af8f41e49e65
Reviewed-on: http://git-master/r/24360
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
- configured the pinmuxes needed by the baseband.
- added board specific baseband related code.
- added caif specific platform data needed by protocol layer.
bug 785523
Change-Id: I2d1936419ccd9190d6539836cb8bca563ea07c6e
Reviewed-on: http://git-master/r/23432
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Fix SSL3250A camera flash I2C errors.
Bug 778859
Change-Id: I086eb863cce343a107f5f382d2b96eecf70d6902
Reviewed-on: http://git-master/r/28202
Reviewed-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com>
Tested-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-by: Prayas Mohanty <pmohanty@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Bug 803932
Change-Id: Idfafba37e71e80bce1b70a7324daf5e8df2a9e0d
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/28174
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Bug 803932
Change-Id: I52703d6281bf613d7ccf67c38daf6412ac790c74
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/28173
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Bug 803932
Change-Id: I61cf41423d08d2f2c19f314269be9e8ee6255b9b
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/28172
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Add registration and initialization of soc380 camera
Bug: 783488
Change-Id: I9ad9d25cfa51a45b2fe889cdac5b90650eafdd03
Reviewed-on: http://git-master/r/24973
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Enabling soc380 front camera sensor.
Bug: 783488
Change-Id: I306cd91765cf0148fcd633e86667643d556b2f2d
Reviewed-on: http://git-master/r/24971
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Bug 783488
Change-Id: I25516842591f60304e7fdaa32717c96a313005ca
Reviewed-on: http://git-master/r/26974
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Bug 783488
Change-Id: I609ed3c7d87633af53244357bc630fc7de00073c
Reviewed-on: http://git-master/r/26973
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Enable camera flash/torch
Bug 778859
Change-Id: I50fee49253cc03c583be96a972ae20f06d33d7ac
Reviewed-on: http://git-master/r/26915
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Add board level support for camera SSL3250A flash.
Bug 778859
Change-Id: I7375757546d7ed54dace9f9cd03adeee84959126
Reviewed-on: http://git-master/r/26903
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Bug 771653
Change-Id: Idb3b901d208c22eaa50e670afb405b562e9936cb
Reviewed-on: http://git-master/r/27563
Reviewed-by: Jonathan B White (Engrg-Mobile) <jwhite@nvidia.com>
Tested-by: Jonathan B White (Engrg-Mobile) <jwhite@nvidia.com>
Reviewed-by: Maria Gutowski <mgutowski@nvidia.com>
|
|
Change-Id: I318afbe66efa346b71e82413ac6442672cef4d36
Reviewed-on: http://git-master/r/21196
Reviewed-by: Jonathan B White (Engrg-Mobile) <jwhite@nvidia.com>
Tested-by: Jonathan B White (Engrg-Mobile) <jwhite@nvidia.com>
Reviewed-by: Maria Gutowski <mgutowski@nvidia.com>
|
|
Wait for CPUs to indicate that they've stopped, after sending the
stop IPI, rather than blindly continuing on and hoping that they've
stopped in time. Print a warning if we fail to stop the other CPUs.
Bug 810939
(cherry picked from commit 28e18293cf0f8d23a0950d7b1d2212d11af494dc)
Change-Id: I87fbaad50a50789dc9a12b1f27d51372ffd6aaf1
Reviewed-on: http://git-master/r/27828
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Bug 809921
Change-Id: I3de13b3e53471c2550284b41e52fc191bba87f8b
Reviewed-on: http://git-master/r/27033
Tested-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: George Bauernschmidt <georgeb@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Adding the support for mass storage feature.
Bug: 806260
Change-Id: I9a991b9056f838e6f59326975e6b7510ac41a155
Reviewed-on: http://git-master/r/27641
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Enabling the support for mass storage.
Bug 806260
Change-Id: Iea160814a9062e995c9d644df3e76f45eaba0fba
Reviewed-on: http://git-master/r/27643
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Added three new APIs in DAS driver. These APIs can be used to query
which dap/i2s port is master and supported data format of a certain
codec for the current set of das connections. ALSA driver will be
using these APIs.
Adding all the required board specific data in tegra_das_pdata
structure.
Disabling all audio related clocks from board file. This is
required for ALSA to be able to disable audio clocks when they
are not in use.
Change-Id: Idc49b4723f10e1e48530273f993f29983b48f324
Reviewed-on: http://git-master/r/24676
Tested-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Current Ventana flash designed is connected to VI GPIO pin.
GPIO can't control as expected if we didn't set it to correct
Pinmux group.
Change-Id: I77277f268c4086e135c2852bcb5a430bd3a3d2ca
Reviewed-on: http://git-master/r/24094
Reviewed-by: Shan Neng Chen (Engrg-HW-Media & Commns Prcsng) <snchen@nvidia.com>
Tested-by: Shan Neng Chen (Engrg-HW-Media & Commns Prcsng) <snchen@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
- resurrect the support for -group argument from user space. this causes
round robin sampling of client's band-width in a group
- pass current emc frequency to user space so that number of clock ticks
used in band-width calculation is correct
for bug 759918
Change-Id: Ifbfccd3cb761253a1dd3253ce40fb92d9d9bb20c
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/24929
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
- Set vddio_vi voltage to 1.8v
- Enable vddio_mipi regulator
- Adjust camera power on sequence
- Update copyright info
Bug 783488
Change-Id: If5d61879a33131d4b5f99cf232d0b246f0524e2e
Reviewed-on: http://git-master/r/26618
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Frank Chen <frankc@nvidia.com>
|
|
Enable the external speaker amp on Ventana.
Requires that the avdd_amp regulator be enabled.
Bug 809015
Change-Id: I0ec741655ed9629f8ad45adc43f5dfcba7369c60
Reviewed-on: http://git-master/r/26653
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Ching Kuang (Roger) Hsieh <rhsieh@nvidia.com>
Tested-by: Ching Kuang (Roger) Hsieh <rhsieh@nvidia.com>
Reviewed-by: Boris Suvorov <bsuvorov@nvidia.com>
Tested-by: Boris Suvorov <bsuvorov@nvidia.com>
|
|
This changes the max frequency of the host1x clock to 108Mhz as in K32
in order to allow core voltage drop to 1000mV.
Bug 779576
Change-Id: I71b6eff72462a32da5b4e622dbb6fe5032b2b7e6
Reviewed-on: http://git-master/r/24851
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Change the i2c pins pupd to normal because internal pull up
are present. gen1_i2c(rm), cam_i2c(dtf), gen2_i2c(pta),
pwr_i2c(i2cp) and ddc_i2c(ddc) are respectively pulled up to
vddio_uart, vddio_vi, vddio_nand, vdd_1v8 and vddio_hdmi
bug 788286
Reviewed-on: http://git-master/r/26695
(cherry picked from commit 617e288c1f7adca21b33e56ff124fde317eaaecd)
Change-Id: I4ca5b76616b7664c2b9bd49c9bfc7988d8de0a0f
Reviewed-on: http://git-master/r/26831
Reviewed-by: Alok Chauhan <alokc@nvidia.com>
Tested-by: Alok Chauhan <alokc@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Generated with the script:
find \( -name "*.c" -or -name "*.h" -or -name "*akefile" -or \
-name "*\.mk" \) -type f -perm /+x | xargs chmod -x
Change-Id: Iabae1aa20fd49a1c8db439fc132182d0f629deab
Reviewed-on: http://git-master/r/26806
Reviewed-by: Robert Morell <rmorell@nvidia.com>
Tested-by: Robert Morell <rmorell@nvidia.com>
Reviewed-by: Janne Hellsten <jhellsten@nvidia.com>
|
|
Assign 0xFC as i2c slave address for all new i2c slaves
BUG 788286
Reviewed-on: http://git-master/r/25101
(cherry picked from commit 32390e01c72732272c933883d0921a80d369c82f)
Change-Id: Id1d19c7b03ff5ce6b4150f2a84ce2885e8edb44c
Reviewed-on: http://git-master/r/25224
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
For getting actual rate, add mux clock inputs to cdev1 and cdev2.
Change-Id: Ic42eb97a51bceb5249ca29938ac00f8add9ef032
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/23187
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Detect vbus and enable clock for usb otg using the interrupt received in
usb phy. usb phy interrupt is configured to max8907c usb detect interrupt to
get event for usb insertion when otg is suspended.
Bug 806949
Change-Id: I73fb92534ce5ae8d1ea39dfe756f940b89af7d79
Reviewed-on: http://git-master/r/24684
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
- spi slave device added.
- clock entry added for spi slave device.
bug 785523
Change-Id: I6d3daeb3e7f4171f2dc4f9ec1fe255f19ea48928
Reviewed-on: http://git-master/r/23554
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
- the way spi slave driver waits for fifo to be full is fixed.
- rx and tx fifo fill/drain logic fixed.
- added makefile entry and kconfig entry to enable conditional
compiling.
bug 785523
Change-Id: Ib01381704aa2bd519a1146a9cd8efe75646efd6f
Reviewed-on: http://git-master/r/23416
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
calculate the number of programming cycles to be used to burn
fuses from the oscillator frequency that is being used.
Bug 796825
Change-Id: I1698017f1c9661560d36a9ad613f6a4b1c51df46
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/24922
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
fuses can be read/written via sysfs entries.
fuse sysfs entries will be present under /sys/firmware/fuse
Based on work done by Venu Byravarasu <vbyravarasu@nvidia.com>
Change-Id: Iadb0a83671c8823c541f6bcc2f5f5583d750c1ed
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/22763
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Setting the USB_TXFILLTUNING to 0x10, where as power on value
is 0x2. With this updated setting USB2 controller under run
are avoided. Setting this value after power_on and post_resume.
Bug 791857
Change-Id: I10ed644ee90d4bc119562699c624568b3a868942
Reviewed-on: http://git-master/r/22735
Reviewed-on: http://git-master/r/23183
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
|
|
Fixing the possible upper range for the 16bit clock source
divisor.
Change-Id: Iae5f06b6ce2cbb9c1693963da1b033cfd330c788
Reviewed-on: http://git-master/r/24947
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
Devs can disable SMP for debugging. However, there
was a build failure when CONFIG_SMP=n. This change
fixes it with minimum change. It looks like
headsmp.s and headsmp-t2.s cannot be removed from
Makefile since there are stuff used for both
multicore/unicore cpus in it.
Bug 809076
Change-Id: Idc440aa912a98f5decff4c59845af4918e504cd2
Reviewed-on: http://git-master/r/24843
Reviewed-by: Donghan Ryu <dryu@nvidia.com>
Tested-by: Donghan Ryu <dryu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
This reverts commit b7f9c567e6b95074087584672773a167224608d3.
tegra_dma_dequeue() is needed by tegra_hsuart, spi and spi slave.
|
|
Conflicts:
drivers/serial/tegra_hsuart.c
drivers/usb/host/ehci-tegra.c
Change-Id: Ief6c03a63615a41e85de59ad14dedef309d0b2fb
|
|
Add and force debug uart port type to PORT_TEGRA.
Bug 803910
Change-Id: I55c675a4f724bb13005bf37b495df670e208b094
Reviewed-on: http://git-master/r/24468
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Set to 18bit which is what Ventana's panel expects.
Enabled ordered dithering for smoother gradients.
Bug 797698
Signed-off-by: Ari Hirvonen <ahirvonen@nvidia.com>
Reviewed-on: http://git-master/r/22717
(cherry picked from commit a904334b06a7b3bf255edadedd8b04055b2a0457)
Change-Id: I4b707068cae7aa91094b77845d779535f276db82
Reviewed-on: http://git-master/r/23346
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
enable debug_uart port as highspeed(ttyHS*) or lowspeed(ttyS*)
according to kernel parameter debug_uartport.
Bug 778978
Change-Id: Icb56357f62ad8375933fb0fe5032b42a59346d79
Reviewed-on: http://git-master/r/24519
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
* Replace phy->instance == 1 with phy_is_ulpi(phy)
* Make the *_phy_power_on functions pass return codes back.
* Move from the freq_sel and u16 table to a freq pointer and an array of
structures.
See:
commit 27c50127f6f64609b7eb3d43bcfd22e85a3e80cf
Author: Benoit Goby <benoit@android.com>
Date: Thu Feb 10 17:41:00 2011 -0800
ARM: tegra: usb_phy: Fix return values
Changed frequency table into a struct
Change-Id: I6df7d0925e4ff91a5a71f782c4f73a55b2135a83
Reviewed-on: http://git-master/r/22171
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Szming Lin <stlin@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
To turn off usb3 and usb3.emc clock, tegra-ehci.2 should be powered off
when bus is supended. Enable power_down_on_bus_suspend for usb3 (tegra-ehci.2).
Also added the platform data structure which is used when USB suspends.
Bug 807237
Change-Id: I9e975daeb2283bd811b2e32acda78b6fa0d9f2b4
Reviewed-on: http://git-master/r/24089
Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Initiate broadcast scan (active scan) just after
initializing with network interface.
BUG 781501
Change-Id: I8165b2901509e1a4dc27aff59618cceb27e5690e
Reviewed-on: http://git-master/r/23217
Reviewed-by: Rahul Bansal <rbansal@nvidia.com>
Tested-by: Rahul Bansal <rbansal@nvidia.com>
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Update harmony LDK defconfig to savedefconfig format
Change-Id: I449b5a5e64ee3fecbbbe675232399c325addbc6c
Signed-off-by: Allen Martin <amartin@nvidia.com>
Reviewed-on: http://git-master/r/23274
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Tested-by: Winnie Hsu <whsu@nvidia.com>
|
|
Use debug_uartport kernel option to configure debug uart port as
high speed(ttyHS1) or low speed(ttyS0) according to odmdata(19:18).
Bug 803465
Change-Id: Ide9a74c358a42f25ddb3ca03f4d949dc053f59f4
Reviewed-on: http://git-master/r/24019
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Ventana has external 20pF cap on RTC XTAL, set PMU
internal cap to minimum value.
Bug 798832, Tested on Ventana/wake via Alarm Clock
Change-Id: I67495f7daddbb226c3b9c652d037fa05766b8276
Reviewed-on: http://git-master/r/22403
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|