From patchwork Tue Jun 2 10:47:32 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 27433 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 n52AomsG024360 for ; Tue, 2 Jun 2009 10:50:49 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751902AbZFBKuo (ORCPT ); Tue, 2 Jun 2009 06:50:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752016AbZFBKuo (ORCPT ); Tue, 2 Jun 2009 06:50:44 -0400 Received: from mail-px0-f191.google.com ([209.85.216.191]:56797 "EHLO mail-px0-f191.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751902AbZFBKun (ORCPT ); Tue, 2 Jun 2009 06:50:43 -0400 Received: by pxi29 with SMTP id 29so3331241pxi.33 for ; Tue, 02 Jun 2009 03:50:45 -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=IRGx3b1PZ/dcrG6QypodQP4RKZLSqFlcDkxzOrfw5Hc=; b=AfZhYiEOu0YjXd+S0mThs1xa+CixI/JfAY7rUexZOM5TEje18q+jarAZ2VaQduCBVs YUUP2acfpF7jiLVTOdbhHKDcsCH4KgEPgTQ/SM6CO2anZ+t8t1Bx0T2JNTpnpmh7pzO1 HtBHjfhG8xthJT/cMzBAwagyREbjnpVnX66Us= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=IaXz3ecbRPYZuerTyq83Iiz4FfEEesKCws9R3Lt3AiBWYuKdTRsNAOjloccuUHd+N7 t1oNNJ4tG8J+dr3Lss0icu4Vstvec2THusCMPk7rE40IpAPkJn6P+UNzCVFpzR5cb1tM bNzYcNSA9+u6XLRvco8jTwqCSTv88wvM1gMCs= Received: by 10.141.100.15 with SMTP id c15mr7608824rvm.211.1243939845850; Tue, 02 Jun 2009 03:50:45 -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 g31sm18755358rvb.3.2009.06.02.03.50.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 02 Jun 2009 03:50:45 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Tue, 02 Jun 2009 19:47:32 +0900 Message-Id: <20090602104732.22485.34447.sendpatchset@rx1.opensource.se> Subject: [PATCH] sh: sh7724 mode pin comments 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 comments for the sh7724 mode pins and pin function controller. Signed-off-by: Magnus Damm --- arch/sh/include/cpu-sh4/cpu/sh7724.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/sh7724.h +++ work/arch/sh/include/cpu-sh4/cpu/sh7724.h 2009-06-02 19:38:51.000000000 +0900 @@ -1,6 +1,20 @@ #ifndef __ASM_SH7724_H__ #define __ASM_SH7724_H__ +/* Boot Mode Pins: + * + * MD0: CPG - Clock Mode 0->7 + * MD1: CPG - Clock Mode 0->7 + * MD2: CPG - Clock Mode 0->7 + * 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,