From patchwork Thu Jul 5 09:01:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 9831 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 8E92323EB4 for ; Thu, 5 Jul 2012 09:14:45 +0000 (UTC) Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.213.180]) by fiordland.canonical.com (Postfix) with ESMTP id 56F44A18198 for ; Thu, 5 Jul 2012 09:14:45 +0000 (UTC) Received: by yenq6 with SMTP id q6so7731982yen.11 for ; Thu, 05 Jul 2012 02:14:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=t2KYyNg+fmWSWoKNwJwyRGDZVaOLg/l63lh4vL9dTVY=; b=gOKHAeV9uQy4ph58O+x/OH6Ozprj1nsPC08qmUNQOrjAm4ovHKw9OOpBFEfu13IFoI BRIhnGWalkxIqp4ch+9XriYcRzC2ANhz+n2Qn/dyTCNpkMVH1BslfJrkAnrLo3OzHagf zPs9bGDQO8iVhDDUxM1f2XnT+0yqcQpBZRRnStFjxnpAAhy66xtxFzQGrzr2dEF+68vd /G/ALI942/3ogMHGTw7SR7UqD2KGefitw7W8r/SOaa6pt4ksjNslymnURrCESjbygltz TcXFK+Mi1Aygb1hyVlDrY09MfA+uSPxwif81rKNpXhFxZPKVRC2qPhDTiUa/ZGJvB9sS FEOQ== Received: by 10.50.160.198 with SMTP id xm6mr13611844igb.0.1341479684516; Thu, 05 Jul 2012 02:14:44 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.24.148 with SMTP id v20csp62771ibb; Thu, 5 Jul 2012 02:14:43 -0700 (PDT) Received: by 10.236.197.8 with SMTP id s8mr30330568yhn.9.1341479683569; Thu, 05 Jul 2012 02:14:43 -0700 (PDT) Received: from mail-yx0-f178.google.com (mail-yx0-f178.google.com [209.85.213.178]) by mx.google.com with ESMTPS id b26si17465749yhe.46.2012.07.05.02.14.43 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Jul 2012 02:14:43 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.213.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.213.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.213.178 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by yenl6 with SMTP id l6so8449390yen.37 for ; Thu, 05 Jul 2012 02:14:43 -0700 (PDT) Received: by 10.68.240.69 with SMTP id vy5mr26117228pbc.156.1341479682926; Thu, 05 Jul 2012 02:14:42 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id gj8sm19422570pbc.39.2012.07.05.02.14.40 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Jul 2012 02:14:42 -0700 (PDT) From: Sachin Kamat To: linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, m.szyprowski@samsung.com, kyungmin.park@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 2/3] ARM: S5PV210: Add audio platform device in Aquila board Date: Thu, 5 Jul 2012 14:31:57 +0530 Message-Id: <1341478918-6602-3-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1341478918-6602-1-git-send-email-sachin.kamat@linaro.org> References: <1341478918-6602-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQlZ7MzLwhoueUdtCBRZJ6rKYmpMtClQDl+p0GWurnOxzLCxSh3zPs7waSPvgPSNhgWW0Vtw After using snd_soc_register_card() in smdk_wm8994.c, the sound card is registered as a platform driver and it needs related platform device entry in machine file. Signed-off-by: Sachin Kamat --- arch/arm/mach-s5pv210/mach-aquila.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-s5pv210/mach-aquila.c b/arch/arm/mach-s5pv210/mach-aquila.c index af528f9..78028df 100644 --- a/arch/arm/mach-s5pv210/mach-aquila.c +++ b/arch/arm/mach-s5pv210/mach-aquila.c @@ -600,10 +600,17 @@ static void aquila_setup_sdhci(void) s3c_sdhci2_set_platdata(&aquila_hsmmc2_data); }; +/* Audio device */ +static struct platform_device aquila_device_audio = { + .name = "smdk-audio", + .id = -1, +}; + static struct platform_device *aquila_devices[] __initdata = { &aquila_i2c_gpio_pmic, &aquila_i2c_gpio5, &aquila_device_gpiokeys, + &aquila_device_audio, &s3c_device_fb, &s5p_device_onenand, &s3c_device_hsmmc0,