]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ARM: dts: Add gta04a5 model
authorMarek Belisko <marek@goldelico.com>
Mon, 28 Jul 2014 19:53:33 +0000 (21:53 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 30 Jul 2014 06:51:04 +0000 (23:51 -0700)
Add model a5 which have additional jack detection.

Signed-off-by: Marek Belisko <marek@goldelico.com>
[tony@atomide.com: fixed a typo for make dtbs to work]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/omap3-gta04a5.dts [new file with mode: 0644]

index 455845ef5e7e58bd4ab23263dc0eb1cda9efba9c..3323028cc9a634cc564a6334706423340a1b2e27 100644 (file)
@@ -264,6 +264,7 @@ dtb-$(CONFIG_ARCH_OMAP3) += am3517-craneboard.dtb \
        omap3-evm-37xx.dtb \
        omap3-gta04a3.dtb \
        omap3-gta04a4.dtb \
+       omap3-gta04a5.dtb \
        omap3-igep0020.dtb \
        omap3-igep0030.dtb \
        omap3-ldp.dtb \
diff --git a/arch/arm/boot/dts/omap3-gta04a5.dts b/arch/arm/boot/dts/omap3-gta04a5.dts
new file mode 100644 (file)
index 0000000..52b386f
--- /dev/null
@@ -0,0 +1,17 @@
+/*
+ * Copyright (C) 2014 H. Nikolaus Schaller <hns@goldelico.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "omap3-gta04.dtsi"
+
+/ {
+       model = "Goldelico GTA04A5";
+
+       sound {
+               ti,jack-det-gpio = <&twl_gpio 2 0>;    /* GTA04A5 only */
+       };
+};