From: Andrew Lunn <andrew-g2DYL2Zd6BY@public.gmane.org>
To: Jason Cooper <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org>,
broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
Cc: linux ARM
<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Andrew Lunn <andrew-g2DYL2Zd6BY@public.gmane.org>
Subject: [PATCH v2 6/9] ARM: Kirkwood: t5325: Remove platform device to instantiate audio
Date: Sat, 3 May 2014 20:30:16 +0200 [thread overview]
Message-ID: <1399141819-23924-7-git-send-email-andrew@lunn.ch> (raw)
In-Reply-To: <1399141819-23924-1-git-send-email-andrew-g2DYL2Zd6BY@public.gmane.org>
Remove platform device instantiating of the audio, which results in
board-t5325.c being removed. A DT node will be added to take its
place.
Signed-off-by: Andrew Lunn <andrew-g2DYL2Zd6BY@public.gmane.org>
---
arch/arm/mach-mvebu/Kconfig | 7 -------
arch/arm/mach-mvebu/Makefile | 1 -
arch/arm/mach-mvebu/board-t5325.c | 26 --------------------------
arch/arm/mach-mvebu/board.h | 6 ------
arch/arm/mach-mvebu/kirkwood.c | 3 ---
5 files changed, 43 deletions(-)
delete mode 100644 arch/arm/mach-mvebu/board-t5325.c
diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index 3f73eecbcfb0..9675f559f6fe 100644
--- a/arch/arm/mach-mvebu/Kconfig
+++ b/arch/arm/mach-mvebu/Kconfig
@@ -97,13 +97,6 @@ config MACH_KIRKWOOD
Say 'Y' here if you want your kernel to support boards based
on the Marvell Kirkwood device tree.
-config MACH_T5325
- bool "HP T5325 thin client"
- depends on MACH_KIRKWOOD
- help
- Say 'Y' here if you want your kernel to support the
- HP T5325 Thin client
-
endmenu
endif
diff --git a/arch/arm/mach-mvebu/Makefile b/arch/arm/mach-mvebu/Makefile
index a63e43b6b451..912c0cc4cc29 100644
--- a/arch/arm/mach-mvebu/Makefile
+++ b/arch/arm/mach-mvebu/Makefile
@@ -10,4 +10,3 @@ obj-$(CONFIG_ARCH_MVEBU) += coherency.o coherency_ll.o pmsu.o
obj-$(CONFIG_SMP) += platsmp.o headsmp.o
obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
obj-$(CONFIG_MACH_KIRKWOOD) += kirkwood.o kirkwood-pm.o
-obj-$(CONFIG_MACH_T5325) += board-t5325.o
diff --git a/arch/arm/mach-mvebu/board-t5325.c b/arch/arm/mach-mvebu/board-t5325.c
deleted file mode 100644
index f2401b298218..000000000000
--- a/arch/arm/mach-mvebu/board-t5325.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * HP T5325 Board Setup
- *
- * Copyright (C) 2014
- *
- * Andrew Lunn <andrew-g2DYL2Zd6BY@public.gmane.org>
- *
- * This file is licensed under the terms of the GNU General Public
- * License version 2. This program is licensed "as is" without any
- * warranty of any kind, whether express or implied.
- */
-
-#include <linux/kernel.h>
-#include <linux/init.h>
-#include <linux/platform_device.h>
-#include "board.h"
-
-static struct platform_device hp_t5325_audio_device = {
- .name = "t5325-audio",
- .id = -1,
-};
-
-void __init t5325_init(void)
-{
- platform_device_register(&hp_t5325_audio_device);
-}
diff --git a/arch/arm/mach-mvebu/board.h b/arch/arm/mach-mvebu/board.h
index de7f0a191394..9c7bb4386f8b 100644
--- a/arch/arm/mach-mvebu/board.h
+++ b/arch/arm/mach-mvebu/board.h
@@ -13,10 +13,4 @@
#ifndef __ARCH_MVEBU_BOARD_H
#define __ARCH_MVEBU_BOARD_H
-#ifdef CONFIG_MACH_T5325
-void t5325_init(void);
-#else
-static inline void t5325_init(void) {};
-#endif
-
#endif
diff --git a/arch/arm/mach-mvebu/kirkwood.c b/arch/arm/mach-mvebu/kirkwood.c
index 120207fc36f1..c30bc316f40d 100644
--- a/arch/arm/mach-mvebu/kirkwood.c
+++ b/arch/arm/mach-mvebu/kirkwood.c
@@ -180,9 +180,6 @@ static void __init kirkwood_dt_init(void)
kirkwood_pm_init();
kirkwood_dt_eth_fixup();
- if (of_machine_is_compatible("hp,t5325"))
- t5325_init();
-
of_platform_populate(NULL, of_default_bus_match_table, auxdata, NULL);
}
--
2.0.0.rc0
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-05-03 18:30 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-03 18:30 [PATCH v2 0/9] DT instantiation of sound on T5325 Andrew Lunn
[not found] ` <1399141819-23924-1-git-send-email-andrew-g2DYL2Zd6BY@public.gmane.org>
2014-05-03 18:30 ` [PATCH v2 1/9] ASoC: alc5623: Add device tree binding Andrew Lunn
[not found] ` <1399141819-23924-2-git-send-email-andrew-g2DYL2Zd6BY@public.gmane.org>
2014-05-04 17:49 ` Jason Cooper
2014-05-20 22:12 ` Mark Brown
2014-05-03 18:30 ` [PATCH v2 2/9] ARM: Kirkwood: Remove platform driver for codec Andrew Lunn
[not found] ` <1399141819-23924-3-git-send-email-andrew-g2DYL2Zd6BY@public.gmane.org>
2014-05-05 1:12 ` Jason Cooper
2014-05-03 18:30 ` [PATCH v2 3/9] ARM: Kirkwood: Add node for audio codec Andrew Lunn
[not found] ` <1399141819-23924-4-git-send-email-andrew-g2DYL2Zd6BY@public.gmane.org>
2014-05-05 1:21 ` Jason Cooper
2014-05-03 18:30 ` [PATCH v2 4/9] ARM: Kirkwood: DT: Add missing #sound-dai-cells property Andrew Lunn
2014-05-03 18:30 ` [PATCH v2 5/9] ASoC: simple-card: Support setting mclk via a fixed factor Andrew Lunn
[not found] ` <1399141819-23924-6-git-send-email-andrew-g2DYL2Zd6BY@public.gmane.org>
2014-05-04 17:50 ` Jason Cooper
2014-05-20 22:13 ` Mark Brown
[not found] ` <20140520221359.GF12304-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-05-22 15:31 ` [PATCH v3 " Andrew Lunn
[not found] ` <1400772710-23523-1-git-send-email-andrew-g2DYL2Zd6BY@public.gmane.org>
2014-05-22 17:39 ` Mark Brown
[not found] ` <20140522173919.GM12304-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-05-22 17:52 ` Andrew Lunn
[not found] ` <20140522175206.GA24500-g2DYL2Zd6BY@public.gmane.org>
2014-05-22 18:30 ` Mark Brown
[not found] ` <20140522183054.GQ12304-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-05-22 19:10 ` Andrew Lunn
[not found] ` <20140522191013.GC24500-g2DYL2Zd6BY@public.gmane.org>
2014-05-22 19:23 ` Mark Brown
2014-05-26 13:29 ` Mark Brown
2014-05-03 18:30 ` Andrew Lunn [this message]
2014-05-03 18:30 ` [PATCH v2 7/9] ARM: Kirkwood: t5325: Use simple card to instantiate audio Andrew Lunn
2014-05-03 18:30 ` [PATCH v2 8/9] ARM: mvebu_v5_defconfig: Enable sound modules needed for t5325 Andrew Lunn
[not found] ` <1399141819-23924-9-git-send-email-andrew-g2DYL2Zd6BY@public.gmane.org>
2014-05-05 1:23 ` Jason Cooper
2014-05-03 18:30 ` [PATCH v2 9/9] ARM: multi_v5_defconfig: " Andrew Lunn
2014-05-08 17:37 ` [PATCH v2 0/9] DT instantiation of sound on T5325 Andrew Lunn
[not found] ` <20140508173748.GK27377-g2DYL2Zd6BY@public.gmane.org>
2014-05-20 21:47 ` Mark Brown
[not found] ` <20140520214718.GT12304-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-05-20 21:53 ` Andrew Lunn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1399141819-23924-7-git-send-email-andrew@lunn.ch \
--to=andrew-g2dyl2zd6by@public.gmane.org \
--cc=alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org \
--cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).