arm: tegra: tec-ng: Add the RTC device

Change-Id: I270b6babbd1486ae1138082f4559d46938c3a32a
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/231
Reviewed-by: Julian Scheel <julian.scheel@avionic-design.de>
media: video: tegra: nvavp: Fix build warning.

Cast values, so that printf is satisified.

Change-Id: I0f958551e58106a5812329ada4d245f72a2566f7
Signed-off-by: Julian Scheel <julian@jusst.de>
Reviewed-on: http://review.adnet.avionic-design.de/234
Reviewed-by: Alban Bedel <alban.bedel@avionic-design.de>
arm: tegra: tec-ng: Activate thermal throttling.

Thermal throttling is activated to prevent overheating and emergency shutdown
in heavy load situations where the T30 gets hotter than it should. The thermal
throttling utilizes the nct1008 sensor module which was added to the tec-ng
platform beforehands.

Change-Id: I43231055af925fc3edd269f3c902d33f54f89346
Signed-off-by: Julian Scheel <julian@jusst.de>
Reviewed-on: http://review.adnet.avionic-design.de/236
Reviewed-by: Alban Bedel <alban.bedel@avionic-design.de>
arm: tegra: tec-ng: Add EDP limits support.

The Tegra boards can have electrical design limits, which should be
honoured by the system. Therefore enable it.

Change-Id: I6d6a39ec6cef1864141b52a4ebdd213e1d7aa609
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Signed-off-by: Julian Scheel <julian.scheel@avionic-design.de>
Reviewed-on: http://review.adnet.avionic-design.de/232
arm: tegra: tec-ng: Add nct1008 sensor driver.

The nct1008 sensor is used as external temperature sensor for the T30 die
temperature. It can be used for thermal throttling as well.

Change-Id: I1ca2c2615ef98a57644f1e1edec4583fd8def7b3
Signed-off-by: Julian Scheel <julian@jusst.de>
Reviewed-on: http://review.adnet.avionic-design.de/235
Reviewed-by: Alban Bedel <alban.bedel@avionic-design.de>
arm: tegra: tec-ng: Configure suspend modes.

We do not want the system to enter any deep suspend modes (like LP1 or LP0) as
of now. To prevent the kernel from trying this and crashing we explicitly
disable suspend states.

Change-Id: I26057200828686157bafe9422187006a5902118a
Signed-off-by: Julian Scheel <julian@jusst.de>
Reviewed-on: http://review.adnet.avionic-design.de/237
Reviewed-by: Alban Bedel <alban.bedel@avionic-design.de>