diff options
author | Olof Johansson <olof@lixom.net> | 2015-04-03 16:40:34 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2015-04-03 16:40:34 -0400 |
commit | 77e3c09e451ae78b64f7b89fc1690804da726787 (patch) | |
tree | 1abe2bd35f4750108c5335250174315c0e46f719 /arch/arm/boot/dts/am57xx-beagle-x15.dts | |
parent | dc0961bc816b9365cb37a68b34e84b625f7c7f0f (diff) | |
parent | 209431eff8afb928d72200c79153165c7d860ca0 (diff) |
Merge tag 'omap-for-v4.1/fixes-0' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/fixes-non-critical
Merge "omap non-urgent fixes for v4.1" from Tony Lindgren:
Fixes for omaps that were not considered urgent enough for the -rc cycle.
This is mostly to enable errata 798181 and thermal support for dra7,
configure ocp2scp for am437x, remove dead code for OMAP4_ERRATA_I688
and fix build warnings for omap1510 only config.
* tag 'omap-for-v4.1/fixes-0' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: DRA7: Enable Cortex A15 errata 798181
ARM: dts: am57xx-beagle-x15: Add thermal map to include fan and tmp102
ARM: dts: DRA7: Add bandgap and related thermal nodes
bus: ocp2scp: SYNC2 value should be changed to 0x6
ARM: dts: am4372: Add "ti,am437x-ocp2scp" as compatible string for OCP2SCP
ARM: OMAP2+: remove superfluous NULL pointer check
ARM: OMAP4: remove dead kconfig option OMAP4_ERRATA_I688
MAINTAINERS: add OMAP defconfigs under OMAP SUPPORT
ARM: OMAP1: PM: fix some build warnings on 1510-only Kconfigs
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/boot/dts/am57xx-beagle-x15.dts')
-rw-r--r-- | arch/arm/boot/dts/am57xx-beagle-x15.dts | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am57xx-beagle-x15.dts b/arch/arm/boot/dts/am57xx-beagle-x15.dts index 6463f9ef2b54..31497a45afb0 100644 --- a/arch/arm/boot/dts/am57xx-beagle-x15.dts +++ b/arch/arm/boot/dts/am57xx-beagle-x15.dts | |||
@@ -87,6 +87,7 @@ | |||
87 | gpios = <&tps659038_gpio 1 GPIO_ACTIVE_HIGH>; | 87 | gpios = <&tps659038_gpio 1 GPIO_ACTIVE_HIGH>; |
88 | gpio-fan,speed-map = <0 0>, | 88 | gpio-fan,speed-map = <0 0>, |
89 | <13000 1>; | 89 | <13000 1>; |
90 | #cooling-cells = <2>; | ||
90 | }; | 91 | }; |
91 | 92 | ||
92 | extcon_usb1: extcon_usb1 { | 93 | extcon_usb1: extcon_usb1 { |
@@ -442,6 +443,7 @@ | |||
442 | pinctrl-0 = <&tmp102_pins_default>; | 443 | pinctrl-0 = <&tmp102_pins_default>; |
443 | interrupt-parent = <&gpio7>; | 444 | interrupt-parent = <&gpio7>; |
444 | interrupts = <16 IRQ_TYPE_LEVEL_LOW>; | 445 | interrupts = <16 IRQ_TYPE_LEVEL_LOW>; |
446 | #thermal-sensor-cells = <1>; | ||
445 | }; | 447 | }; |
446 | }; | 448 | }; |
447 | 449 | ||
@@ -552,3 +554,50 @@ | |||
552 | &usb2 { | 554 | &usb2 { |
553 | dr_mode = "peripheral"; | 555 | dr_mode = "peripheral"; |
554 | }; | 556 | }; |
557 | |||
558 | &cpu_trips { | ||
559 | cpu_alert1: cpu_alert1 { | ||
560 | temperature = <50000>; /* millicelsius */ | ||
561 | hysteresis = <2000>; /* millicelsius */ | ||
562 | type = "active"; | ||
563 | }; | ||
564 | }; | ||
565 | |||
566 | &cpu_cooling_maps { | ||
567 | map1 { | ||
568 | trip = <&cpu_alert1>; | ||
569 | cooling-device = <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; | ||
570 | }; | ||
571 | }; | ||
572 | |||
573 | &thermal_zones { | ||
574 | board_thermal: board_thermal { | ||
575 | polling-delay-passive = <1250>; /* milliseconds */ | ||
576 | polling-delay = <1500>; /* milliseconds */ | ||
577 | |||
578 | /* sensor ID */ | ||
579 | thermal-sensors = <&tmp102 0>; | ||
580 | |||
581 | board_trips: trips { | ||
582 | board_alert0: board_alert { | ||
583 | temperature = <40000>; /* millicelsius */ | ||
584 | hysteresis = <2000>; /* millicelsius */ | ||
585 | type = "active"; | ||
586 | }; | ||
587 | |||
588 | board_crit: board_crit { | ||
589 | temperature = <105000>; /* millicelsius */ | ||
590 | hysteresis = <0>; /* millicelsius */ | ||
591 | type = "critical"; | ||
592 | }; | ||
593 | }; | ||
594 | |||
595 | board_cooling_maps: cooling-maps { | ||
596 | map0 { | ||
597 | trip = <&board_alert0>; | ||
598 | cooling-device = | ||
599 | <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; | ||
600 | }; | ||
601 | }; | ||
602 | }; | ||
603 | }; | ||