From patchwork Fri Nov 27 01:34:29 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Smirl X-Patchwork-Id: 63250 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nAR1a3AW015170 for ; Fri, 27 Nov 2009 01:36:05 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752709AbZK0Bf4 (ORCPT ); Thu, 26 Nov 2009 20:35:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753070AbZK0Bex (ORCPT ); Thu, 26 Nov 2009 20:34:53 -0500 Received: from mail-qy0-f192.google.com ([209.85.221.192]:61976 "EHLO mail-qy0-f192.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752426AbZK0BeZ (ORCPT ); Thu, 26 Nov 2009 20:34:25 -0500 Received: by mail-qy0-f192.google.com with SMTP id 30so524084qyk.33 for ; Thu, 26 Nov 2009 17:34:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:subject:to:from:date :message-id:in-reply-to:references:user-agent:mime-version :content-type:content-transfer-encoding; bh=DNnbf+Sjxv0KCtgmjGX+V6IIJmNnKHeDTPfiVC2d/fI=; b=X6zXtRmSM0jzZ/DqLCJ+YO9vrGlJvwGnO2h6qa+aQUfuEpQ9P9pP0jTEvfzcCHMzv+ RROVdxJzbFskcI7OmyEsXQZ5c/G9PDHy5KLY/2JAosPRImY3AMGcKVUUfq+fJG96S7tq I0s+QNuApva0qZD0MfMuHyRIOFOGvwbETxaHY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:to:from:date:message-id:in-reply-to:references:user-agent :mime-version:content-type:content-transfer-encoding; b=Qm2XY65X/Rqhp1g/ZRv3UndiG63aCCpSrjjZfWQIJu6HzZm0MverRm5Ee+q71umvvB Knf5ySEtjLntCxICw08EmWDuyyPDGxAoqYXJsvJyz2/aC3vCzMlWdZwl/rS1s0Q6Xm37 Edub9jhXob/I4t6kgmKfnJ+nwHmAlJlRQliNw= Received: by 10.224.42.83 with SMTP id r19mr218804qae.35.1259285671602; Thu, 26 Nov 2009 17:34:31 -0800 (PST) Received: from terra (c-65-96-16-179.hsd1.ma.comcast.net [65.96.16.179]) by mx.google.com with ESMTPS id 7sm3392072qwf.54.2009.11.26.17.34.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 26 Nov 2009 17:34:30 -0800 (PST) Received: from localhost ([127.0.0.1] helo=[127.0.1.1]) by terra with esmtp (Exim 4.69) (envelope-from ) id 1NDpjB-00021h-MV; Thu, 26 Nov 2009 20:34:29 -0500 Subject: [IR-RFC PATCH v4 5/6] Example of PowerPC device tree support for GPT based IR To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org From: Jon Smirl Date: Thu, 26 Nov 2009 20:34:29 -0500 Message-ID: <20091127013429.7671.65302.stgit@terra> In-Reply-To: <20091127013217.7671.32355.stgit@terra> References: <20091127013217.7671.32355.stgit@terra> User-Agent: StGit/0.15 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org diff --git a/arch/powerpc/boot/dts/dspeak01.dts b/arch/powerpc/boot/dts/dspeak01.dts index 429bb2f..50cc247 100644 --- a/arch/powerpc/boot/dts/dspeak01.dts +++ b/arch/powerpc/boot/dts/dspeak01.dts @@ -131,16 +131,6 @@ #gpio-cells = <2>; }; - gpt7: timer@670 { /* General Purpose Timer in GPIO mode */ - compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio"; - cell-index = <7>; - reg = <0x670 0x10>; - interrupts = <0x1 0x10 0x0>; - interrupt-parent = <&mpc5200_pic>; - gpio-controller; - #gpio-cells = <2>; - }; - rtc@800 { // Real time clock compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc"; device_type = "rtc"; @@ -320,6 +310,14 @@ reg = <0x8000 0x4000>; }; + ir0@670 { /* General Purpose Timer 6 in Input mode */ + compatible = "gpt-ir"; + cell-index = <7>; + reg = <0x670 0x10>; + interrupts = <0x1 0x10 0x0>; + interrupt-parent = <&mpc5200_pic>; + }; + /* This is only an example device to show the usage of gpios. It maps all available * gpios to the "gpio-provider" device. */ @@ -335,7 +333,6 @@ &gpt3 0 0 /* timer3 13d x6-4 */ &gpt4 0 0 /* timer4 61c x2-16 */ &gpt6 0 0 /* timer6 60c x8-15 */ - &gpt7 0 0 /* timer7 36a x17-9 */ >; }; };