From patchwork Wed Jun 3 08:18:56 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 27624 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 n538Lw0n019193 for ; Wed, 3 Jun 2009 08:22:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751818AbZFCIWM (ORCPT ); Wed, 3 Jun 2009 04:22:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752635AbZFCIWM (ORCPT ); Wed, 3 Jun 2009 04:22:12 -0400 Received: from wf-out-1314.google.com ([209.85.200.168]:50369 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752211AbZFCIWK (ORCPT ); Wed, 3 Jun 2009 04:22:10 -0400 Received: by wf-out-1314.google.com with SMTP id 26so3106497wfd.4 for ; Wed, 03 Jun 2009 01:22:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :subject; bh=nC0fdfy0S6dZ8ptTpph/aVwvTMXRPOpVjfIeOm4+ta0=; b=qvqkFnAsGjHr+frEfn3ym4Jon3SP5rCOcZpKwqwS44ZEKsL0Z8lAk69dmFoPXSV4+P +j8fcvphoVCGfqd6DkVknf1vA2ZzHgjxrT+sAWReHNYuBiDbJpgWuSd5mDetVjxyG9eo lSi0x9Kz96QPhxamBAepYG46+f7roHfnnyQL4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=XP7grxZsx0AsZ6LpCdgYoJHXeJv6T7ZCxfA5Aiq4sI0YJKjX1/600UYWsCQ7Fu4oNL pst0+Q++giFWtku9YIQdhODMOkUmlA4IYqpee8h+oTVZtRn3NvU7haPq5ygzL+OcsUi/ WP7DX7WFRl61+LaDVytofmU83L3KXFMLz+Sik= Received: by 10.142.234.16 with SMTP id g16mr228413wfh.264.1244017331062; Wed, 03 Jun 2009 01:22:11 -0700 (PDT) Received: from rx1.opensource.se (210.5.32.202.bf.2iij.net [202.32.5.210]) by mx.google.com with ESMTPS id 32sm113806wfc.14.2009.06.03.01.22.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 03 Jun 2009 01:22:10 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Wed, 03 Jun 2009 17:18:56 +0900 Message-Id: <20090603081856.28322.87630.sendpatchset@rx1.opensource.se> Subject: [PATCH] sh: sh7722 mode pin definitions Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org From: Magnus Damm This patch adds sh7722 mode pin and pin function controller comments. Signed-off-by: Magnus Damm --- arch/sh/include/cpu-sh4/cpu/sh7722.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/arch/sh/include/cpu-sh4/cpu/sh7722.h +++ work/arch/sh/include/cpu-sh4/cpu/sh7722.h 2009-06-03 15:59:50.000000000 +0900 @@ -1,6 +1,20 @@ #ifndef __ASM_SH7722_H__ #define __ASM_SH7722_H__ +/* Boot Mode Pins: + * + * MD0: CPG - Clock Mode 0->3 + * MD1: CPG - Clock Mode 0->3 + * MD2: CPG - Reserved (L: Normal operation) + * MD3: BSC - Area0 Bus Width (16/32-bit) [CS0BCR.9,10] + * MD5: BSC - Endian Mode (L: Big, H: Little) [CMNCR.3] + * MD8: Test Mode + */ + +/* Pin Function Controller: + * GPIO_FN_xx - GPIO used to select pin function + * GPIO_Pxx - GPIO mapped to real I/O pin on CPU + */ enum { /* PTA */ GPIO_PTA7, GPIO_PTA6, GPIO_PTA5, GPIO_PTA4,