7 years agoarm: enterprise: Clean some of tps80031 definition
Laxman Dewangan [Fri, 8 Jul 2011 12:10:37 +0000]
arm: enterprise: Clean some of tps80031 definition

Adding public definition in the 80031 header so that client
can used directly in place of defining at client level.

Original-Change-Id: Ifb64e0ffc83bc29c470d08a49d0915613a677537
Reviewed-on: http://git-master/r/40208
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R981610616a78797050538c2a4eb5160ea11384c8

7 years agoARM: tegra: cardhu: Changes for DIDIM/Backlight
Matt Wagner [Wed, 6 Jul 2011 23:05:39 +0000]
ARM: tegra: cardhu: Changes for DIDIM/Backlight

Added support for non-linear backlight response for cardhu panel.

Bug 827366

Original-Change-Id: I62ac8505194c6565c7fd941aeac164078b8f9e27
Reviewed-on: http://git-master/r/39879
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R9d59217c72ad42ef90bf062d50c4d872879cb8e1

7 years agoarm: tegra: cardhu/enterprise: Selecting proper pinmux option.
Laxman Dewangan [Mon, 4 Jul 2011 14:17:49 +0000]
arm: tegra: cardhu/enterprise: Selecting proper pinmux option.

Selecting proper pinmux option for sdmmc3_dat6, sdmmc_dat7, ulpi_data3
from the valid list of pinmux option to avoid any warning.

bug 849973

Original-Change-Id: I6c554e3d399afef10fd837291a808496f0f8b811
Reviewed-on: http://git-master/r/39562
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rf1826cc64c5b531e7827592dd78ea6ce967a6264

7 years agoarm: tegra: cardhu: board SKU and fab cleanup
Laxman Dewangan [Tue, 21 Jun 2011 11:47:48 +0000]
arm: tegra: cardhu: board SKU and fab cleanup

Remove the hardcoding of the numerical value for different
sku bit and fab definition and using macro for better readability.

Original-Change-Id: Idf70c7a063b5416e170b3b7e61e896250c9ad70c
Reviewed-on: http://git-master/r/37644
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rd7e2bfcf6780b6b73a8438b904b8a13b0297b59d

7 years agovideo: tegra: dc: fix hdmi mode filter
Donghan Ryu [Sun, 19 Jun 2011 15:39:57 +0000]
video: tegra: dc: fix hdmi mode filter

If there are more than one hdmi modes that have same xres,
yres, and vmode, tegra_dc_hdmi_mode_equal can return true even
though pixclocks are way different from each other.
Now, tegra_dc_hdmi_mode_equal will retun false if pixclock has
more than 1Hz of difference. Also, tegra_fb_set_par will use
fb_find_nearest_mode instead of fb_find_best_mode to take
refresh rate into the consideration.

Bug: 815409

(cherry picked from commit 8cf6e47dd3d4efaa3a1f0a15f1bd36ad34d3a951)

Original-Change-Id: I744d3c6dfb553bfab190e7d82a9dc5d8782e45d5
Reviewed-on: http://git-master/r/37419
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R4a93c72ba0a73c561864322014a8c9a33e86304b

7 years agotegra: clocks: Remove shared clocks from sku_limits
mchourasia [Wed, 22 Jun 2011 07:26:15 +0000]
tegra: clocks: Remove shared clocks from sku_limits

"avp.sclk" and "bsea.sclk" are shared clocks and should
be removed from sku_limits table as shared clocks are
registered later and not available at the time of putting
rate limits.

Original-Change-Id: Idc85d37a06e764e03f08e31582dbd16c77ae4b16
Reviewed-on: http://git-master/r/38271
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R6c4d95bbf32d713a3e78201f49bc612423e8b35c

7 years agoarm: cardhu: Remove always_on from backlight rails.
Laxman Dewangan [Wed, 13 Jul 2011 08:06:30 +0000]
arm: cardhu: Remove always_on from backlight rails.

Removing the always on in constraints of the power rail of backlights.

bug 850674

Original-Change-Id: I15b835012db75fdf74dc1d7a742da0573c5af06d
Reviewed-on: http://git-master/r/40798
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R9ca33b8b4b489590f649160ae9e6df627391cbf0

7 years agoARM: tegra: add support for hardware statistic counter
Prashant Gaikwad [Tue, 12 Jul 2011 11:32:54 +0000]
ARM: tegra: add support for hardware statistic counter

Tegra2 chip has a hardware statistic counter for CPU/AVP/VDE/SYS
modules. This commit adds the support for AVP statistics gathering and
controlling avp clock during video playback.

Bug 831892

Reviewed-on: http://git-master/r/35647
(cherry picked from commit 145885b03cd9fc625f2ff3460c59ebbb3d93c98e)

Original-Change-Id: I441acbaf2cb8dd776529bafd4e13f50e31849afa
Reviewed-on: http://git-master/r/39657
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R7271973f142f14fc8a11bdbc33ae6f76f6fd38b0

7 years agohwmon: tegra: tsensor: set STOP bit in suspend
Bitan Biswas [Tue, 12 Jul 2011 15:35:55 +0000]
hwmon: tegra: tsensor: set STOP bit in suspend

tsensor STOP bit is set before suspend. This disables the
counters and prevents OVERFLOW interrupt in LP1 mode

bug 850683

Original-Change-Id: I01fbc9529ecc25ce96f50a5fbf599c9bce2157b5
Reviewed-on: http://git-master/r/40656
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Rbdf02380a72c8f75449a0a3e52007e5883f62d4b

7 years agovideo: tegra: remove unused list.h from dc_priv.h
Robert Morell [Thu, 3 Mar 2011 20:56:45 +0000]
video: tegra: remove unused list.h from dc_priv.h

Original-Change-Id: I7a2d2e3016a0289b9df6e73e5d0234f6ace07904
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/39306
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Ra44aa094ba19c367576af4e2cfa5e571e1e05ef9

7 years agovideo: tegra: dc: Remove tegrafb dependency
Robert Morell [Tue, 28 Jun 2011 22:55:27 +0000]
video: tegra: dc: Remove tegrafb dependency

The common dc.c code shouldn't include tegrafb.h; this breaks
modularity.  Fortunately, it was only being used to count windows, and
there's a non-FB-specific version of that.

Original-Change-Id: I81a082ce9cf6f7da32da0c2399344c017863c6ee
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/39300
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rf9ef44ad4e17af87126f017b014915a7b9ab8df2

7 years agovideo: tegra: Remove unused variable 'val'
Robert Morell [Tue, 28 Jun 2011 22:49:05 +0000]
video: tegra: Remove unused variable 'val'

This change removes the unused variable 'val' to fix the warning:
drivers/video/tegra/dc/dsi.c: In function 'tegra_dsi_host_trigger':
drivers/video/tegra/dc/dsi.c:1214: warning: unused variable 'val'

Original-Change-Id: I5b602299c11cb37b6c803245ec6d03b0a512695d
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/39299
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rf2005859d27a4501c68a2139a7f23450707076b8

7 years agovideo: tegra: Conditionalize variable 'reg_addr'
Robert Morell [Tue, 28 Jun 2011 22:47:17 +0000]
video: tegra: Conditionalize variable 'reg_addr'

This change conditionalizes the declaration of variable 'reg_addr' with
the same condition that it's used to fix the warning:
drivers/video/tegra/dc/hdmi.c: In function 'tegra_dc_hdmi_setup_audio':
drivers/video/tegra/dc/hdmi.c:1129: warning: unused variable 'reg_addr'

Original-Change-Id: Ifc4ace5a9fef06e7e880782c4ee3d4b75aeb8595
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/39298
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rca23cf803a6035704e22c5ce88b4f5e12e841b70

7 years agoarm: tegra: cardhu: Add support for the E1256
Laxman Dewangan [Mon, 11 Jul 2011 12:52:39 +0000]
arm: tegra: cardhu: Add support for the E1256

Adding support for the E1256. The configuration is
same as the E1186 board.

bug 849990

Original-Change-Id: Idd89e282627b2f0924fc313a5ba28f9e9a6032be
Reviewed-on: http://git-master/r/40367
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R3b1f22dc222f4ce000d2e84a48b7e2f379159750

7 years agovideo: tegra: fix the free sequence in tegra_fb_register.
Jubeom Kim [Wed, 22 Jun 2011 14:40:43 +0000]
video: tegra: fix the free sequence in tegra_fb_register.

Fix err_delete_wq and err_put_client of error handling.

Reviewed-on: http://git-master/r/37870
(cherry picked from commit 794cd34757fe7193b0e2f1847335d127840fd4a3)

Original-Change-Id: If8bf04b6a5a473b3c13017ea8ad2c33cd7b4954e
Reviewed-on: http://git-master/r/38447
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R2a5f0f6e618d8d3a728f2ecb28eddb613280c99e

7 years agoarm: tegra: renaming tegra3_mc_stats to tegra3_mc
Donghan Ryu [Fri, 24 Jun 2011 12:06:28 +0000]
arm: tegra: renaming tegra3_mc_stats to tegra3_mc

tegra3_mc_stats is memory controller profiler for tegra3.
it is originated from tegra2_mc and having different file name
convention is pretty confusing. This change change the name
of the files for tegra3.

Original-Change-Id: Icd8c1f834e4af0daa8d8de6412b953274750883f
Reviewed-on: http://git-master/r/38252
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R191a5bd02e389ad2594a012bcfd82712ac5f3c76

7 years agoARM: tegra: cardhu: Request gpio before using it
Krishna Yarlagadda [Mon, 11 Jul 2011 08:51:40 +0000]
ARM: tegra: cardhu: Request gpio before using it

Modem disable pin direction changed without requesting
the gpio which results in a warning.

Fixing this by calling gpio_request before changing direction

Bug 825559

Original-Change-Id: Ic4b56c194a883b7b388013f0e5b75e7ed9dc9d50
Reviewed-on: http://git-master/r/40352
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R379f347f5a06cdee3fa7918c4ff0096d1500f793

7 years agoarm: tegra: cardhu: correct calibration data in ina219_platform_data
Pritesh Raithatha [Thu, 7 Jul 2011 07:26:00 +0000]
arm: tegra: cardhu: correct calibration data in ina219_platform_data

Original-Change-Id: I1180789af5dc3d38ac3a36abdd219b23b939bce8
Reviewed-on: http://git-master/r/39956
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Tested-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

Rebase-Id: R971bafc11deb9f5e5cfba4e537cdcea152d1de8f

7 years agoharmony: update tegra_harmony_gnu_linux_defconfig
mchourasia [Thu, 7 Jul 2011 11:18:34 +0000]
harmony: update tegra_harmony_gnu_linux_defconfig

Enable:
Network file system client support(v3, v4).
Network root file system.
Disable:
Low level printk. Not required by default.

Original-Change-Id: Ib370efe121a68acc5d13b4db0aa8ea71c118c660
Reviewed-on: http://git-master/r/38272
Tested-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Raf5f123aa778003648d0a500fdb2c40143375943

7 years agospi: tegra: fix uninitialized values and if statement
Jubeom Kim [Wed, 22 Jun 2011 14:29:32 +0000]
spi: tegra: fix uninitialized values and if statement

- Initialized the read_words value.
- (tspi->irq < 0) is not valid
  because tspi->irq is unsigned value.

Reviewed-on: http://git-master/r/37868
(cherry picked from commit 4c0d22c83294ca081e90f588fdcb67fdc54fff23)

Original-Change-Id: Ic37df9d29e305699abeda1f8b8aa48b7fcd9b394
Reviewed-on: http://git-master/r/39583
Tested-by: Jubeom Kim <jubeomk@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R8e088031295c334cf3026ee8a49738605b7fcf7f

7 years agortc : tps6586x: move NULL checking to the front.
Jubeom Kim [Wed, 22 Jun 2011 14:19:19 +0000]
rtc : tps6586x: move NULL checking to the front.

Reviewed-on: http://git-master/r/37866
(cherry picked from commit 4299db4686321fb3017f9118a36610898f172639)

Original-Change-Id: Icbfef4dc5604506d30592317c94a7d4fc1bcf16c
Reviewed-on: http://git-master/r/39582
Tested-by: Jubeom Kim <jubeomk@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R7d8f5628cde155fe54d31f37eeacb4b5bb4962d1

7 years agoarm: tegra: temperature: board extended range support
Bitan Biswas [Tue, 12 Jul 2011 07:30:19 +0000]
arm: tegra: temperature: board extended range support

nct1008 temperature sensor extended range support enabled
for cardhu and enterprise boards.

Bug 850512

Original-Change-Id: Ibb88207c6cc4581ed30d73e576ac4d41d386facd
Reviewed-on: http://git-master/r/40560
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rac49b9ba16d50e0db4adc4b70bfb397aee5fd81f

7 years agoARM: tegra: clock: Add Tegra3 emc high voltage bridge
Alex Frid [Wed, 29 Jun 2011 03:50:29 +0000]
ARM: tegra: clock: Add Tegra3 emc high voltage bridge

On Tegra3 platforms emc configurations for DDR3 rates below 300MHz
can not work at high core voltage; the intermediate step (bridge) is
mandatory when core voltage is crossing the 1.2V threshold (fixed for
Tegra3 arch). In addition emc must run above bridge rate if any other
than emc clock requires high voltage.

EMC bridge is implemented as a special emc shared user: its rate is set
once during emc dvfs table initialization; then, the bridge is enabled
or disabled when sbus and/or cbus voltage requirement is crossing the
threshold (sbus and cbus together include all clocks that may require
voltage above threshold - other peripherals can reach their maximum
rates below threshold).

Bug 846693

Change-Id: Ib17448877583453250cf11adf6c5c94dab0fadcf
Reviewed-on: http://git-master/r/39919
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Re546be46958b6bf8e491553679b1637eaf3786ff

7 years agoarm: tegra: enterprise: init modem according to modem_id
Steve Lin [Mon, 11 Jul 2011 19:45:06 +0000]
arm: tegra: enterprise: init modem according to modem_id

Init baseband modems according to the modem_id passed from the bootloader.

Bug 842870

Original-Change-Id: Ib8cd37877eb50ac67a337ef20dd6c6f631169578
Reviewed-on: http://git-master/r/39273
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R12d2b58e46d8962858394ba0328d3d0c43fa8bc9

7 years agoARM: tegra: clock: Update Tegra3 PLLE spread settings
Alex Frid [Fri, 8 Jul 2011 01:36:50 +0000]
ARM: tegra: clock: Update Tegra3 PLLE spread settings

Bug 818305

Original-Change-Id: I2560c342c1ad152f1563a29d7a3618c50ded7ef2
Reviewed-on: http://git-master/r/40113
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rec5fdd633170b8dba0ac4236618e503c8b1f761a

7 years agoArm: Tegra: Tsensor: Added guardbanding to temperatures
Diwakar Tundlam [Tue, 12 Jul 2011 07:51:11 +0000]
Arm: Tegra: Tsensor: Added guardbanding to temperatures

Bug 844025

- Guardband to account for hotspot offset and sensor accuracy.
- Throttling point specified independent of EDP, but constrained to be
  one of the specified EDP points.

Original-Change-Id: Ic9231ad6887ca282bb520ea23229526ac7a243be
Reviewed-on: http://git-master/r/40566
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Rb582312d40da8f1cc753666bdef6068138358cd0

7 years agoARM: tegra: usb: remove ULPI CLK tristate during phy init
Steve Lin [Mon, 11 Jul 2011 18:53:07 +0000]
ARM: tegra: usb: remove ULPI CLK tristate during phy init

Update the null phy init sequence:
1) remove ULPI CLK tristate
2) do pinmux bypass immediately after phy reset.
3) check preinit and postinit return value
4) enable disconnect detect

Bug 800318
Bug 845531

Original-Change-Id: I02e4c6e8f02608a57305cc9d6cc433bb44fcc696
Reviewed-on: http://git-master/r/39279
Tested-by: Szming Lin <stlin@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R7fb99831c4e0dd0830f51ce97ccd3c8a372d10ff

7 years agovideo: tegra: host: separate the different kinds of ACM timeouts
Chris Johnson [Sat, 2 Jul 2011 01:47:12 +0000]
video: tegra: host: separate the different kinds of ACM timeouts

Let the delay in making sure a module is idle for some amount of
time before powering it down be module specific. This typically
occurs at the end of a INTR_ACTION_SUBMIT_COMPLETLETE.

Some modules have more work (e.g. 3D) to power down, so should
have a longer delay than a module with a lower latency (e.g. 2D).
This change adds the infrastructure a subsequent change will
assign different values.

Make use of a separate #define for the timeout used in waiting
for a system suspend to go idle.

Original-Change-Id: I4d675375e7c2ad841168449bd7f6db3d38d6d6c3
Reviewed-on: http://git-master/r/40044
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rdacbc9caab0bf60064d6c27a7c919b9a759da97a

7 years agoARM: tegra: ventana: set usb2 phy type
Ken Chang [Tue, 5 Jul 2011 06:38:46 +0000]
ARM: tegra: ventana: set usb2 phy type

set usb2 phy type to TEGRA_USB_PHY_TYPE_LINK_ULPI

bug 845612

(cherry picked from commit 85a08621c371254cc786afae9def58adad63fe63)
(reviewed on http://git-master/r/39603)

Original-Change-Id: I5ac253652d7a1f19b1c2cf4b031324e0b2cdd64e
Reviewed-on: http://git-master/r/40350
Tested-by: Ken Chang <kenc@nvidia.com>
Reviewed-by: ChihJen Hsu <chhsu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rf33bdc08ba3d0278e94b866509b61efe69e5ae05

7 years agoarm: tegra: dvfs: use 1.1 v for usb
Wen Yi [Fri, 15 Apr 2011 00:09:15 +0000]
arm: tegra: dvfs: use 1.1 v for usb

Set the working voltage for USB to 1.1 v.
Bug 796594

Reviewed-on: http://git-master/r/30219
(cherry picked from commit af08f51a8c51b7b8d3f25ee7a2372f9d423b78e7)

Original-Change-Id: I71332eaa238c1116bcb2c2555654ea65a648c702
Reviewed-on: http://git-master/r/40305
Reviewed-by: Xin Xie <xxie@nvidia.com>
Tested-by: Xin Xie <xxie@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R17971c5c60e28d8816955cf6d834df4c7d3c272b

7 years agoARM: tegra: kbc: Update key-matrix
Puneet Saxena [Mon, 4 Jul 2011 12:42:27 +0000]
ARM: tegra: kbc: Update key-matrix

The key-matrix is updated for the case scroll-wheel is not enabled.

Bug 847651

Original-Change-Id: I12e1ac66b7692733e8947aa2a57eaa2fa5b8a66f
Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-on: http://git-master/r/39553
(cherry picked from commit 25b2522711cd1e0186ff6bc46a0bb91b2abe5226)
Reviewed-on: http://git-master/r/39945
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Refd0a693749b6091b184aca891233ae91eafd5cb

7 years agofixup 3c32c5e4 arm: tegra: cardhu: Uart platform data for hsuart driver
Dan Willemsen [Fri, 19 Aug 2011 00:37:19 +0000]
fixup 3c32c5e4 arm: tegra: cardhu: Uart platform data for hsuart driver

Original-Change-Id: I2954eba175980585482772f2e2484550737f177e

Rebase-Id: R1cb65c62bf9b245cfe97de15a256613c32740cc2

7 years agoregulator: tps80031: Correcting voltage range for LDOs.
Jin Park [Mon, 4 Jul 2011 07:06:31 +0000]
regulator: tps80031: Correcting voltage range for LDOs.

The LDOs are supporting 1.0V to 3.3V on TPS80031, but current
driver was implemented 1.1V to 3.3V. So corrected this.

And adding bit mask in ldo_get_voltage to prevent wrong voltage calculation.

Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Original-Change-Id: Ic3779730fd8ad1dec6cf156b4582b0099734e7e6
Reviewed-on: http://git-master/r/39515
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rffc735384a266c5d8cde7697e25d9d3f3081597c

7 years agoarm: tegra: fuse: support to burn fuses on the field
Varun Wadekar [Thu, 16 Jun 2011 11:08:30 +0000]
arm: tegra: fuse: support to burn fuses on the field

- follow the new sequence shared by the hardware team
- merge Tegra2 and Tegra3.0 odm fuse burning into a single file

Bug 796825

Original-Change-Id: Ia06d589eba95254a410016dce244375f27e22be0
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/38404
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R740d7bd47eaa6231954ae98686272a755a4bce14

7 years agoarm: tegra: enterprise: enabling active lowpower for bt
Rakesh Goyal [Thu, 23 Jun 2011 05:26:52 +0000]
arm: tegra: enterprise: enabling active lowpower for bt

Configuring correct pinmux. platform_device_add for bluesleep.
this feature will be enabled with CONFIG_BT_BLUESLEEP.

bug 841489

Original-Change-Id: Ib2e86b4090e0e0b1b8256a32b049f6741d8d2648
Reviewed-on: http://git-master/r/38015
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rb8ccadc62fbba8e27c9c1a121a3f1d95220b9c7a

7 years agoarm: tegra: remove unnecessary arm_pm_restart = tegra_pm_restart
Mayuresh Kulkarni [Fri, 17 Jun 2011 14:17:05 +0000]
arm: tegra: remove unnecessary arm_pm_restart = tegra_pm_restart

this is because, tegra_pm_restart internally calls arm_machine_restart().
however, arm_pm_restart is already set to arm_machine_restart()
in arch/arm/kernel/process.c. the above was needed when the console
flush code did not used kernel's reboot notifier mechanism. now it does
use that mechanism, making the assignment arm_pm_restart = tegra_pm_restart
redundent.

Original-Change-Id: I4f2ef51740d7934f3dfe5e6ce749ee6f135f8106
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/37331
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rda63b4e0e0138ccfe2196cb4820315f6b543f4f5

7 years agoarm: tegra: pm269: remove power on/off delays
Ray Poudrier [Fri, 17 Jun 2011 00:14:34 +0000]
arm: tegra: pm269: remove power on/off delays

The problem with slow PMU was fixed with a hardware
change to reduce capacitance on the power rail, so
delays are no longer needed

Original-Change-Id: Ib66378ca6bf18c112e90d44d3213dd5f6c870c92
Reviewed-on: http://git-master/r/37127
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R41f0ab153ba153f896390874b41893ee6e11dce5

7 years agovideo: tegra: remove 1080p@30HZ define from kernel
Donghan Ryu [Tue, 14 Jun 2011 06:18:22 +0000]
video: tegra: remove 1080p@30HZ define from kernel

CONFIG_TEGRA_ENABLE_SUPPORT_FOR_1080p_30HZ define is not needed
anymore since this can be filtered from user space driver

Bug: 815409

(cherry picked from commit 14e0e21a7357722b8be6bba191665e3ead17dd11)

Original-Change-Id: I914d2811d757228864d0ae13950d0fc5cce7f972
Reviewed-on: http://git-master/r/37026
Reviewed-by: Donghan Ryu <dryu@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R74b621cfd8928797b348ee20bcbcf27492085959

7 years agoarm: tegra: cardhu: rename vpp_fuse_pg to vdd_fuse
Varun Wadekar [Fri, 10 Jun 2011 11:52:07 +0000]
arm: tegra: cardhu: rename vpp_fuse_pg to vdd_fuse

Bug 796825

Original-Change-Id: I91be0bca739a2daf32807306a611671f387a8988
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/36096
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R5d303050d04b8e2ec2d9724a60bec9b0cbef6f02

7 years agoARM: tegra: clock: Use bus lock to protect shared bus update
Alex Frid [Mon, 27 Jun 2011 21:36:58 +0000]
ARM: tegra: clock: Use bus lock to protect shared bus update

Protected shared bus update with bus lock - common for all shared bus
users (update procedure was already covered by individual shared users
locks, but it did not prevent concurrent access to shared rates list).

Original-Change-Id: Ia0e6886265aff1f624802e0415fe8cecb887b507
Reviewed-on: http://git-master/r/39918
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R0e0ee997ce9347470e207910f7b4f6c42143717f

7 years agomedia: tegra: avp: Fix avp_svc_thread shutdown
Kaz Fukuoka [Wed, 6 Jul 2011 01:36:27 +0000]
media: tegra: avp: Fix avp_svc_thread shutdown

Fix the race condition between kthread_stop() and wait.
Without this fix, the following message was printed.
"avp_svc_thread: timed out while waiting for kthread_stop"

bug 840262
bug 836806

Original-Change-Id: I5acf75859e6512923506a3c508f62e7d7ef9a1dc
Reviewed-on: http://git-master/r/39736
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rf58fd998c20b6ba03077e0a06cb1ac3d89826f77

7 years agoarm: tegra: dvfs: add fuse_burn to the dvfs table
Varun Wadekar [Sat, 25 Jun 2011 11:14:30 +0000]
arm: tegra: dvfs: add fuse_burn to the dvfs table

Bug 796825

Original-Change-Id: I8835427940905d90ca04955b5efe1605761c5554
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/38403
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R3dc69edfa374a47bcdd35e7acfd85d98ca7d66dc

7 years agoarm: tegra: clocks: add fuse and fuse_burn clocks
Varun Wadekar [Sat, 25 Jun 2011 11:12:37 +0000]
arm: tegra: clocks: add fuse and fuse_burn clocks

keep fuse clock always enabled to allow fuse
read writes from multiple clients

Bug 796825

Original-Change-Id: Icb2693d791d08ca7083f9a61ab833425d2ab83b4
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/36504
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Re192b5ff54aea3ce762bd103b1a9a62ef718b81c

7 years agoARM: tegra: power: Powergate PCIE and SATA partitions on tegra 3
Karan Jhavar [Thu, 9 Jun 2011 21:50:35 +0000]
ARM: tegra: power: Powergate PCIE and SATA partitions on tegra 3

By defalut PCIE and SATA partitions are powergated. If needed,
respective drivers should un-powergate these partitions. Also
3D,3D1 and MPE are not powergated at startup.

Original-Change-Id: Ibc74868eb59af7c0e8b5a1ecd78e6f993dd5d3a6
Reviewed-on: http://git-master/r/35955
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Ra55d87d7d816d7cf0bea0d28e7865fa7760f869f

7 years agoarm: tegra: adding max_pixclock to board-xxx-panel.c
Donghan Ryu [Mon, 6 Jun 2011 18:36:24 +0000]
arm: tegra: adding max_pixclock to board-xxx-panel.c

setting max_pixclock for cardhu, enterprise, ventana and enterprise
to 148.5Mhz

Original-Change-Id: Ia734bdb9817913183bbf721bf3c14573c9a75888
Reviewed-on: http://git-master/r/35254
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rad2bb72f869ade2720ed313599fb882c571e80da

7 years agomedia: video: tegra: avp: get module clock freq
Sachin Nikam [Mon, 27 Jun 2011 11:14:06 +0000]
media: video: tegra: avp: get module clock freq

AVP wants to know the clock freq of the modules like
VDE and AVP itself.
Added interface to handle the get clock message from AVP.

Bug 843882

Original-Change-Id: I3c07814fdb9d3b0c4aae11a431d0737a1c6d6014
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/38506
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R4355b6e3e721900a100ba2ab56c5b5c5cf4e7055

7 years agoARM: tegra: enterprise: Add rear camera
Jihoon Bang [Wed, 15 Jun 2011 19:23:38 +0000]
ARM: tegra: enterprise: Add rear camera

Add and enable rear camera sensor.
Support only one sensor for now.

Original-Change-Id: I97a1067ab7d40ef434409b5a4175681248f85d90
Reviewed-on: http://git-master/r/36778
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rc9829ef590136f09c942d76bf48d6b76993c8be7

7 years agomedia: video: tegra: enable ar0832 sensor
Jihoon Bang [Wed, 15 Jun 2011 19:27:09 +0000]
media: video: tegra: enable ar0832 sensor

Support only one sensor for now.

Original-Change-Id: I1d0b804077e271052a6d6f4554865675fa70d612
Reviewed-on: http://git-master/r/36779
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R88b01bf956bdfabd8f13d883ea93a7d8e542d248

7 years agoARM: tegra: clock: Save/restore Tegra3 audio sync clocks
Alex Frid [Fri, 8 Jul 2011 04:37:45 +0000]
ARM: tegra: clock: Save/restore Tegra3 audio sync clocks

Save/restore Tegra3 audio sync clocks on entry/exit to/from deep sleep.

Original-Change-Id: I3a6ddd3d7291760e6b36731d1ec7e401b8081690
Reviewed-on: http://git-master/r/40125
Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com>
Tested-by: Chih-Lung Huang <lhuang@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: Rb26a85d1d08725e6b357a50b53ef1f61d3f52ce4

7 years agousb: ehci: tegra: fix hotplug issue on usb2
Ken Chang [Fri, 1 Jul 2011 07:35:06 +0000]
usb: ehci: tegra: fix hotplug issue on usb2

usb hotplug is supported only for UTMI phy. usb_phy_type should be
carefully checked in ehci irq.

bug 845612

(Cherry picked from commit 894ef272deec269ccbf1caf2b9a5e4ce3bbf7a0f)
(Reviewed on http://git-master/r/39338)

Original-Change-Id: I19e0de3353f17a7d46d097b90009e5182a6c20ba
Reviewed-on: http://git-master/r/40010
Tested-by: Ken Chang <kenc@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: ChihJen Hsu <chhsu@nvidia.com>

Rebase-Id: Rdf9eaa0c1db04beac15686c969fd497a59b2acdd

7 years agoarm: tegra: cardhu: Add full constraints of regulator
Laxman Dewangan [Tue, 5 Jul 2011 09:30:21 +0000]
arm: tegra: cardhu: Add full constraints of regulator

Adding complete constraints of the regulators.

bug 843566

Original-Change-Id: Ifd07d15d257ff8c89c4a3cc31c9e72d886e6b431
Reviewed-on: http://git-master/r/39633
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Rf443864c31cc255e428d6f0de51add028d85db78

7 years agoARM: tegra: clock: Save/restore Tegra3 PLLD and PLLD2
Alex Frid [Fri, 8 Jul 2011 02:46:01 +0000]
ARM: tegra: clock: Save/restore Tegra3 PLLD and PLLD2

Save/restore Tegra3 PLLD and PLLD2 on entry/exit to/from deep sleep.

Bug 846707

Original-Change-Id: Ie3e558157fd4bcbe1b1e7f7c75ec1086a6742b79
Reviewed-on: http://git-master/r/40123
Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com>
Tested-by: Chih-Lung Huang <lhuang@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: Raddaa7cd52cae2dc75ea72e02bf7e15fad263d67

7 years agoARM: tegra: power: Restore Tegra3 EMC power setting after deep sleep
Alex Frid [Wed, 6 Jul 2011 07:23:49 +0000]
ARM: tegra: power: Restore Tegra3 EMC power setting after deep sleep

Bug 836334

Original-Change-Id: I19587e97af0addc62217466ee977c5afc33a6028
Reviewed-on: http://git-master/r/39854
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com>
Tested-by: Chih-Lung Huang <lhuang@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R2748dbb3f7308ae491e137062e2b0f940fb8185e

7 years agoarm: tegra: devices: Set emc rate for avp
Prashant Gaikwad [Fri, 8 Jul 2011 09:25:19 +0000]
arm: tegra: devices: Set emc rate for avp

Set emc clock rate for avp client as required by the platform.

Original-Change-Id: I10374e1967cda6a9f497ba0a95bd62c3b58ecc40
Reviewed-on: http://git-master/r/40167
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R54697789f03d9465339029b49cba336cb9592c88

7 years agovideo: tegra: dc: print bandwidth warning once
Xin Xie [Wed, 6 Jul 2011 02:20:06 +0000]
video: tegra: dc: print bandwidth warning once

In some stress tests, calculated EMC bandwidth is more than allowed EMC
bandwidth and print out too many warning. Change to print the warning only
once.

BUG 847731

Original-Change-Id: Ia369d4295231e1db39532b0fc6ae8a29f9dbea65
Reviewed-on: http://git-master/r/39740
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Re9f0b2b50f5bd2afc25564ad97396453e68f9e55

7 years agomedia: video: tegra: avp: set sclk to min
Prashant Gaikwad [Fri, 10 Jun 2011 08:51:49 +0000]
media: video: tegra: avp: set sclk to min

Initialize avp.sclk to minimum. Activity monitor adjusts
avp.sclk dynamically depending on load.

Reviewed-on: http://git-master/r/36064
(cherry picked from commit 1d18930770b99fa7a8169ba8300723bf3b5551e0)

Original-Change-Id: Ifb8704169afd7e4436bfba17e3a6c08e8d39aed4
Reviewed-on: http://git-master/r/38909
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Ra52c5b5085cfc3e6d21e00969cc83d3f322c4621

7 years agotegra: avp: Add platform data for avp
Prashant Gaikwad [Fri, 8 Jul 2011 09:06:23 +0000]
tegra: avp: Add platform data for avp

If emc clock is clocked at maximum rate it increases power
consumption. emc clock rate requirement is different for
different platforms.

Original-Change-Id: I21e9afed402d08558c6913b5f194b1a4699ebcb2
Reviewed-on: http://git-master/r/40166
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R0b4df2cdbdafeb45f050800f29c05ff4b929c6d4

7 years agoARM: tegra: la: Add support for latency allowance.
vdumpa [Tue, 14 Jun 2011 20:20:01 +0000]
ARM: tegra: la: Add support for latency allowance.

Original-Change-Id: Ia6593fd6720e38f9bb0635fabe236675764cee91
Reviewed-on: http://git-master/r/36570
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R338465e38b998b4c6a8bfa4efc89003eac90d8b9

7 years agomisc: nct1008: Power control for nct1008
Laxman Dewangan [Fri, 8 Jul 2011 08:33:14 +0000]
misc: nct1008: Power control for nct1008

Adding the power control support for device nct1008
to make sure that power is enable on device before
accessing the device.

bug 849307

Original-Change-Id: I84d7abc142814014bfc568b3a4b0ae0d5329f41e
Reviewed-on: http://git-master/r/40160
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: R49d4709c030086c9596e3a81664b46967de8f029

7 years agomfd: tps80031: Support for 80032 chip
Laxman Dewangan [Wed, 29 Jun 2011 04:40:53 +0000]
mfd: tps80031: Support for 80032 chip

Creating framework so that tps80031 driver can be instantiated with the
name of tps80032 also and it can provide the device/chip info to its
client.

bug 820885

Original-Change-Id: I1c40b7c6bec1f4abbc670aaa4317fad49e5d308a
Reviewed-on: http://git-master/r/38859
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: R4953c404fb2af827b53a0173ac6a06806d2f2112

7 years agoarm: tegra: gpio_get_value can read output gpio
Seongho Joo [Wed, 15 Jun 2011 15:09:21 +0000]
arm: tegra: gpio_get_value can read output gpio

gpio_get_value only supports input pin.
extend the usage for output pin.

Bug 839772

Original-Change-Id: I5a8f5572148afde23e082af18f2e37377ae50bd1
Reviewed-on: http://git-master/r/36758
Tested-by: Seongho Joo <sjoo@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R021e8ff272e4cecd855a574b008dbf8663378970

7 years agoarm: tegra: panel: Fix build warnings for Cardhu
Scott Williams [Tue, 14 Jun 2011 20:31:54 +0000]
arm: tegra: panel: Fix build warnings for Cardhu

Fixes "warning: '<variable>' defined but not used" and "warning:
label '<label>' defined but not used" messages.

Original-Change-Id: I6172b3648f824bb315d4a296b034f419d81bc786
Reviewed-on: http://git-master/r/36583
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rfc29454b8f9441237109e5b90a427f0eb8a3be71

7 years agomedia: tegra: video: Fix build warnings
Scott Williams [Tue, 14 Jun 2011 19:27:49 +0000]
media: tegra: video: Fix build warnings

Fixes "warning: '<variable>' defined but not used" messages.

Original-Change-Id: Ia4980d0262174cb8f39f9c0f67a9d94ff4be8b97
Reviewed-on: http://git-master/r/36561
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Ra110459be280f20e326c28abedc9a8ea2c6c8fff

7 years agoarm: tegra: Fix build warnings
Scott Williams [Tue, 14 Jun 2011 19:16:53 +0000]
arm: tegra: Fix build warnings

Fixes "warning: passing argument 1 of 'param_get_uint' discards
qualifiers from pointer target type" and "note: expected 'char *'
but argument is of type 'const char *'" messages.

Original-Change-Id: I7610dc0bde0cf3b9a7597f3892b09f7c31a156d1
Reviewed-on: http://git-master/r/36560
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R87f617932a52d873aa237072e14339627300cf5d

7 years agotegra: clocks: Fix in clock settings
mchourasia [Mon, 27 Jun 2011 06:34:21 +0000]
tegra: clocks: Fix in clock settings

clk_disable_locked should not be called when
clk_enable_locked is failed.

Original-Change-Id: I2524ec0198f62de2487723676ca7657d15757eda
Reviewed-on: http://git-master/r/38273
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R1598bf84619449922c599d611a84dec791047837

7 years agotegra: ulpi: Fix for externally driven ULPI
mchourasia [Fri, 24 Jun 2011 12:17:32 +0000]
tegra: ulpi: Fix for externally driven ULPI

ULPI can be driven by external clock. It might be
the config data may not register clock for ULPI.

This patch put a check for phy->clk before acutally
doing any clock operations on it.

Original-Change-Id: Icb4626c0d5f63a6db098a81e9d590ef38f0ba8f6
Reviewed-on: http://git-master/r/38274
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R504792e9bc2a44c98db94ccfd7f6a7457e726cf7

7 years agotegra: dc: set HDMI clock to 0 if HDMI unplugged
Xin Xie [Fri, 27 May 2011 22:58:08 +0000]
tegra: dc: set HDMI clock to 0 if HDMI unplugged

HDMI clock is not auto dvfs, so we need set the clock rate to 0 if HDMI
is disabled. Otherwise the Vdd core voltage will be always 1.2v even
after HDMI cable unplugged.

BUG: 828306
Reviewed-on: http://git-master/r/34379
(cherry picked from commit 58ddd144a6c2dd9bbc9d2f3c8b1e025364d88c22)

Original-Change-Id: I8b26702bc11321649f44b92d0968b3672d902304
Reviewed-on: http://git-master/r/37105
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rb92197b1de5edca5c9df314804d5b1eef0bbcc2a

7 years agoarm: tegra: cardhu: Fix the issue of boot screen corruption.
Kevin Huang [Wed, 6 Jul 2011 01:27:43 +0000]
arm: tegra: cardhu: Fix the issue of boot screen corruption.

- The issue is due to the corruption of bootloader fb during kernel
initialization. This change reserves the bootloader fb and then
frees it until bootloader fb is copied to fb for Cardhu, Ventana,
Whistler, Enterprise and Aruba.
- Change color depth of Cardhu and Harmony to 32-bit.

Bug 828271
Bug 832016

Original-Change-Id: I05ef5930ee68dcbd672a5cb59b4568a2c88a2e55
Reviewed-on: http://git-master/r/34966
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rb3c9280ea4643ccee661d37d24fb540319470bf7

7 years agoARM: tegra: cardhu: Fix clock-related issues on display.
Kevin Huang [Thu, 30 Jun 2011 22:04:42 +0000]
ARM: tegra: cardhu: Fix clock-related issues on display.

- Set parent clock for lvds and HDMI to avoid clock source conflict.
- Fixed short lvds shutdown during booting.

Bug 847219

Original-Change-Id: Ib32f2047c69c64516d639de247258df001ecd180
Reviewed-on: http://git-master/r/39271
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rba7d9c9d88f95482e0bb3579af1e80b5e2ff65ed

7 years agovideo: tegra: dc: Update the tegra_dc_setup_clk() for HDMI and DSI.
Kevin Huang [Wed, 29 Jun 2011 22:54:20 +0000]
video: tegra: dc: Update the tegra_dc_setup_clk() for HDMI and DSI.

Fix the conflict of clock sources for HDMI & DSI.

Original-Change-Id: I730a39fbfd5fe56eea10c0f2147ceee7c3f03921
Reviewed-on: http://git-master/r/39081
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rb7201a0b141f699841f2eeb73faddea3f7983759

7 years agomedia: video: tegra: set_clk_rate for avp
Sachin Nikam [Wed, 6 Jul 2011 08:27:31 +0000]
media: video: tegra: set_clk_rate for avp

set_clk_rate for sclk which is parent of avp clock.

Bug 843725

Original-Change-Id: I51810235a8f820a14afdd8dcf370b55e4d603a68
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/39772
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R61690be56d36c81fa0e283fab760b1d31021110c

7 years agoarm: tegra: tsensor: driver instantiation
Bitan Biswas [Fri, 10 Jun 2011 07:39:00 +0000]
arm: tegra: tsensor: driver instantiation

Tegra internal tsensor driver supported for fuse revision 0.8
and above.

Bug 661228

Original-Change-Id: I820f6b5f20c20bb2d1ba04266148f5969ab84444
Reviewed-on: http://git-master/r/36054
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R4725524b5e3f83b4cd3dd7d0020ef2d6e09a87d0

7 years agoarm:tegra:tsensor: device definitions
Bitan Biswas [Tue, 22 Feb 2011 13:13:43 +0000]
arm:tegra:tsensor: device definitions

Tegra internal temperature sensor addresses defined

Bug 661228

Original-Change-Id: I061ac9e7da3115d1e832e645582353f93378d291
Reviewed-on: http://git-master/r/36119
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R62de8521a55164f582eb2b0f8ad5a83bbc02876c

7 years agohwmon:tegra:tsensor driver added
Bitan Biswas [Tue, 22 Feb 2011 13:32:44 +0000]
hwmon:tegra:tsensor driver added

Tegra integrated temperature sensor(tsensor) driver added
 - TH3 counter < current counter causes hardware reset
 - TH2 counter < current counter causes CPU clock to be halved
 - sysfs interface provided for select operations
 - interrupts TH1 TH2 and TH3 working
 - used recommended N,M and clk source settings
 - tsensor counter to temperature conversion added
   tsensor1 counter being used for temperature computations.

Bug 661228

Original-Change-Id: I0fa405c0f542d1b215162291bd913a9ccd55a0f5
Reviewed-on: http://git-master/r/36083
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: R3c910b4fdc630ffee2135d3d649e25015d2b7206

7 years agoarm: tegra: cardhu: Fix warnings when USB_SUPPORT is disabled
Krishna Monian [Thu, 23 Jun 2011 18:26:01 +0000]
arm: tegra: cardhu: Fix warnings when USB_SUPPORT is disabled

Original-Change-Id: Id798fd4c2d3a0484933bd2d1778fe9abb106a20e
Reviewed-on: http://git-master/r/38121
Tested-by: Krishna Monian <kmonian@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Vivek Aseeja <vaseeja@nvidia.com>

Rebase-Id: R1c20a6e7f1f1a29e673839fc8a60860b93adcc35

7 years agoRevert "arm: tegra: disable HDA clocks while not in use"
Sumit Bhattacharya [Tue, 16 Aug 2011 00:49:26 +0000]
Revert "arm: tegra: disable HDA clocks while not in use"

This reverts commit d63d310e78aeb9f5a8dd0b6dc2de7f3f0fa65628.

Bug 820213
Bug 839572

Reviewed-on: http://git-master/r/40031

Rebase-Id: R23c81ec6be844a946ce997387754bdcdf4f94ebb

7 years agomedia: tegra: avp: respond to unsupported service ids
Sachin Nikam [Thu, 30 Jun 2011 15:40:05 +0000]
media: tegra: avp: respond to unsupported service ids

AVP service driver responds error to AVP for invalid or unsupported
service IDs.

Bug 843473

Original-Change-Id: Ic747c7cf0b34b6b30abdb64c4ff005d298fa1530
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/39225
Reviewed-by: Andy Ritger <aritger@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rc2cf57d3643343c6cb59cd5da8c5c8351dd2e95e

7 years agoRevert "i2c: tegra: Remove the synchronization between isr and caller"
Alok Chauhan [Tue, 16 Aug 2011 00:47:40 +0000]
Revert "i2c: tegra: Remove the synchronization between isr and caller"

This reverts commit 738c1a66079ee7db8e4365aa85819ccdef2592a8.
This fixed the video recording system hang bug

Bug 842901

Reviewed-on: http://git-master/r/39912

Rebase-Id: R183a5a9202ec65099503ddad913a25b139bd6d91

7 years agovideo: tegra: refactor for multiple chip support
Ken Adams [Sat, 18 Jun 2011 14:14:42 +0000]
video: tegra: refactor for multiple chip support

Original-Change-Id: Ia203886a3b013612b4159393ff43a25a313d1ece
Reviewed-on: http://git-master/r/35911
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R01b763362c13e09111f60700c3d3a7d2a9a3fc1c

7 years agoarm: tegra: enterprise/ventana: debug console through device
Laxman Dewangan [Sun, 26 Jun 2011 16:22:15 +0000]
arm: tegra: enterprise/ventana: debug console through device

Using the debug port device structure to enabling/configuring the
uart debug console port.

Removing the duplicate local definition of the uart console.

Original-Change-Id: Icbf954e0d02dcc4891169b3c701c72f35f8f29e3
Reviewed-on: http://git-master/r/35711
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R74bd3a179a7ef7327397805f21389f08ac3bceb1

7 years agovideo: tegra: Aligned the stride of fb to 16-byte boundary.
Kevin Huang [Mon, 6 Jun 2011 21:16:54 +0000]
video: tegra: Aligned the stride of fb to 16-byte boundary.

Aligned memory can improve the performance memory access. Also,
since the bootloader fb is aligned, kernel needs to do it to avoid
skew.

Original-Change-Id: Ia5a122539856da9e9c73580929b8ea9c73e86c9d
Reviewed-on: http://git-master/r/35276
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rdc32cc0c095903cb731b47e96b5723b13066b63b

7 years agoARM: tegra: cardhu/enterprise: Binwidth Specific smartdimmer Settings
Matt Wagner [Wed, 22 Jun 2011 18:12:14 +0000]
ARM: tegra: cardhu/enterprise: Binwidth Specific smartdimmer Settings

Added support for Binwidth specific LUT and BLTF

Bug 721258

Original-Change-Id: I1a4eb6a4d32f736101156a7f388ed0699b66c189
Reviewed-on: http://git-master/r/36418
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R777b4195fda082f61678dabef8ccc1211dad9f31

7 years agovideo: tegra: Changes for smartdimmer
Matt Wagner [Tue, 14 Jun 2011 01:56:54 +0000]
video: tegra: Changes for smartdimmer

Added support for binwidth specific settings
for BLTF and LUT.  sysfs support is included.

Bug 721258

Original-Change-Id: I2b76503a51fcbc9ca5cb4ca69fcf722f93878e6d
Reviewed-on: http://git-master/r/36416
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rae8570f5dc97a3798966cf48c402212d1fa8359f

7 years agovideo: tegra: nvmap: fix GART pin lockups
Kirill Artamonov [Wed, 15 Jun 2011 00:40:32 +0000]
video: tegra: nvmap: fix GART pin lockups

Fix GART lockups caused by fragmentation by evicting
mapped areas from iovm space after unsuccessful array
pinning attempt.

Fix double unpin error happening during interrupted
submit.

Fix possible sleep in atomic context in iovmm code
(semaphore inside spinlock) by replacing spinlock
with mutex.

Fix race between handle_unpin and pin_handle.

bug 838579
bug 838073
bug 818058

Original-Change-Id: I420447ffb4e02fb78a7987e22a537eefc16ff524
Reviewed-on: http://git-master/r/36129
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R893c97003f2ec2f69e224f35d99d3488f673d620

7 years agoARM: tegra: cardhu: Update vid_oc pin for pm269
Ray Poudrier [Wed, 6 Jul 2011 16:22:28 +0000]
ARM: tegra: cardhu: Update vid_oc pin for pm269

Correct pingroup is DAP3_DOUT

Bug 825778

Original-Change-Id: I252398c4f1d653c73c5fd26a7b5c12410a962ade
Reviewed-on: http://git-master/r/39822
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rb3bb758d23520c165fa6369bcb16979ec1824b5b

7 years agoarm: tegra: cardhu: add support for TPS61050 flash driver
Danielle Sun [Thu, 26 May 2011 23:52:24 +0000]
arm: tegra: cardhu: add support for TPS61050 flash driver

Bug 794431

Original-Change-Id: I889c224b184d099339ccdb438326a2037f85cdf6
Reviewed-on: http://git-master/r/34214
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R4427050d243067273f1035b4d7f18db3c8c0ee51

7 years agoarm: tegra: enterprise: VIO and SMPS3 to be always on
Laxman Dewangan [Thu, 30 Jun 2011 05:18:20 +0000]
arm: tegra: enterprise: VIO and SMPS3 to be always on

Making VIO and SMP3 to be always on as these are parent to some
other rails.

This is software workaround avoid recursive locking when doing the
regulator disable/enable in notifier_call_chain of regulator
core driver.

bug 845849

Original-Change-Id: I9e1de53e86a0c8aeafd88b6e10d2245283fb7660
Reviewed-on: http://git-master/r/39130
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Rd29727335ccac915bb54a9f20b35a995f3775fba

7 years agoserial: 8250: tegra: disabling MSR interrupts
Pradeep Goudagunta [Wed, 6 Jul 2011 10:48:46 +0000]
serial: 8250: tegra: disabling MSR interrupts

-Disabling modem status interrupts for tegra based UART.
-Removed duplicate declaration of PORT_TEGRA.

Bug 840111

Original-Change-Id: I926c200ce66e926186e5295bc1ead8c6ecf70891
Reviewed-on: http://git-master/r/39788
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-by: Jack Zhou <jazhou@nvidia.com>
Tested-by: Jack Zhou <jazhou@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Krishna Monian <kmonian@nvidia.com>

Rebase-Id: Ra34db21ae6dfbffea27b466cb90cfa4eb4717ac2

7 years agoserial: tegra: support auto control of RTS
Pradeep Goudagunta [Fri, 1 Jul 2011 09:06:50 +0000]
serial: tegra: support auto control of RTS

Added support for auto control of RTS.

Bug 825938

Original-Change-Id: Ic5ffde2252ab0f0ffb9001994863f3d4ed5d1173
Reviewed-on: http://git-master/r/39356
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Rb21ef7c26a2f8644ab81171b41ba4275e38023b0

7 years agomedia: video: tegra: avp: Retry to connect to the AVP.
Jubeom Kim [Tue, 14 Jun 2011 06:32:15 +0000]
media: video: tegra: avp: Retry to connect to the AVP.

Sometimes avp_node_try_connect is failed.
It is the timing problem between CPU and AVP.

1) Added the retry routine for avp-connection.
2) Increased the time-out value of msg_wait_ack_locked function
   from 200ms to 400ms.

Bug 822104, 797362

Reviewed-on: http://git-master/r/36439
(cherry picked from commit bdc441e9bebeb893b7e9ec383fd77869dbcefc09)

Original-Change-Id: Ie5b31a50fb61691055ad41f0ac3ce627c08e0ebd
Reviewed-on: http://git-master/r/38450
Tested-by: Jubeom Kim <jubeomk@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R54b77903470a07927d37a220c5865b0ba6ff000d

7 years agomedia: video: tegra: TPS61050 flash driver
Danielle Sun [Thu, 26 May 2011 23:17:44 +0000]
media: video: tegra: TPS61050 flash driver

Kernel driver for TPS61050 flash/torch camera device.

Bug 794431

Original-Change-Id: I760bd086c283076dc7136bd8ccd6b75e6e823ea8
Reviewed-on: http://git-master/r/34208
Tested-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-by: Michael Stewart <mstewart@nvidia.com>
Reviewed-by: John Sasinowski <jsasinowski@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Radb862760f165e40b764b3bb104787427d024c7e

7 years agoARM: tegra: sysfs write permission for user only
Manoj Gangwal [Fri, 1 Jul 2011 10:09:43 +0000]
ARM: tegra: sysfs write permission for user only

Giving read-write permission for user only for sysfs attributes.
Group and other will have only read permission.
-clock: syncevents

Bug 828100

Original-Change-Id: I14affc209e954a58de055e291093e31dc1dbfe16
Reviewed-on: http://git-master/r/39364
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R97f4eadb711717e788be7c4e4e8993d048cf1428

7 years agomfd: tps80031: Support second level of charge_control interrupt
Laxman Dewangan [Tue, 28 Jun 2011 15:04:02 +0000]
mfd: tps80031: Support second level of charge_control interrupt

There is multiple independent case for charge control interrupt and
so exposing each of the case as separate interrupt number.

bug 842072

Original-Change-Id: I500d7e921e07b43de4eefdde2590f045022d8169
Reviewed-on: http://git-master/r/38732
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R2a6a949e0c38731dd28af9c8bc67289f53c0066f

7 years agoARM: tegra: dvfs: Update Tegra3 CPU and core voltage dependencies
Alex Frid [Fri, 24 Jun 2011 00:30:23 +0000]
ARM: tegra: dvfs: Update Tegra3 CPU and core voltage dependencies

Updated implementation of CPU and core voltage dependencies so that
range limits can be changed for different versions of Tegra3 (rather
than use fixed limits across entire Tegra3 architecture). Decoupled
safe VDD step definition from range limit, and changed the step from
300mV to 100mV.

Bug 841286

Original-Change-Id: I63e0bc9751048741a47a40410b54863984f91aca
Reviewed-on: http://git-master/r/38179
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R665a6f859aa744e1b64a19d9ba5aa2f37581103e

7 years agoARM: tegra: power: Refactored kernel powergate code
Karan Jhavar [Tue, 17 May 2011 00:00:43 +0000]
ARM: tegra: power: Refactored kernel powergate code

This change provides a centralized location for powergating modules.
It would take care of switching on/off clocks while un-powergating/
powergating modules respectively.

Bug: 814267
Original-Change-Id: Ic80dc517f634c29085c8e089bdaa32c6fd742710
Reviewed-on: http://git-master/r/31776
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: Rc0aac0edd4e693c15d22d998c882fceeeb85765d

7 years agotegra: power: correct LP0 sequence
Jay Cheng [Tue, 16 Aug 2011 18:57:59 +0000]
tegra: power: correct LP0 sequence

Change-Id: I5f548f11059039cbd830be483ecfa0c6671002e7
Reviewed-on: http://git-master/r/47365
Tested-by: Cho-Che Cheng <jacheng@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: Rd7ef967c8b40295a04a0447eb8bbc8e2d577a48e

7 years agotegra: power: add wakeup_key method
Jay Cheng [Tue, 16 Aug 2011 02:03:23 +0000]
tegra: power: add wakeup_key method

connect wakeup_key method to KEY_POWER (TEGRA_WAKE_GPIO_PV2)

Change-Id: I13b8f503399989bb06e97343711ed9e7348839ac
Reviewed-on: http://git-master/r/47364
Tested-by: Cho-Che Cheng <jacheng@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: Rffb10919b9cfa49c975f37d12646a34aeee44375

7 years agoARM: tegra: power: setup TTB0 for cacheable memory
Jin Qian [Tue, 16 Aug 2011 02:32:23 +0000]
ARM: tegra: power: setup TTB0 for cacheable memory

Bug 862494

Change-Id: Ib7875ded150b3e9dc288a9ed90f6ded0a37014a3
Reviewed-on: http://git-master/r/47246
Tested-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R11be58a9cf3a46fadf985e209e26dc00a8d87c58

7 years agoARM: tegra2: power: fix LP2 statistics reporting
Jin Qian [Tue, 16 Aug 2011 01:07:40 +0000]
ARM: tegra2: power: fix LP2 statistics reporting

Bug 863108

Change-Id: I5cc4e3ba58daeaeb527871026c85bdca5f6362f2
Reviewed-on: http://git-master/r/47232
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Tested-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R843a5cf74874bad3999bc55caa0eb8cad04cc555

7 years agoARM: tegra: Fix build error when CONFIG_SMP is not selected
Scott Williams [Wed, 17 Aug 2011 18:47:58 +0000]
ARM: tegra: Fix build error when CONFIG_SMP is not selected

Change-Id: I2420730290c7ecb407e6f30c8a6159ceadfabbbe
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/47589
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: Rb177b1e8ed9ce89c732319f49525588c5c0dd9d0