From patchwork Mon Dec 7 14:26:05 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 65529 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 nB7EVj5x001860 for ; Mon, 7 Dec 2009 14:31:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932114AbZLGObi (ORCPT ); Mon, 7 Dec 2009 09:31:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751513AbZLGObi (ORCPT ); Mon, 7 Dec 2009 09:31:38 -0500 Received: from mail-yx0-f187.google.com ([209.85.210.187]:44472 "EHLO mail-yx0-f187.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932114AbZLGObh (ORCPT ); Mon, 7 Dec 2009 09:31:37 -0500 Received: by yxe17 with SMTP id 17so3914040yxe.33 for ; Mon, 07 Dec 2009 06:31:44 -0800 (PST) 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=1wAaIJm9vO/7/V21PbHmKmKV9CLeobLaiWIjpWZ9ZA8=; b=t2S8pCY9zvmArD6wDnIyJJkA2iKQ2zfdujar+33m+4saEUYxWUVc6l85ppaDq5GIks BR+JGjXWhqd18acqCz1XO6DlxCb1v1ZEydCGrGslSWkwFAHS/lcIypraYF6HUvOfTkXv ZOQkpQMovyA67W+1ADYIxoAull5hBJuoYcHxo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=BqW10NbcQVT26OZgWv/xPVRbgLn7/aFI+KptC2tQNmGYh4ci4/iWOLV44YsnDNJNrV QZ1pxm7Z+7is0WhAbA7xQxQSi0mbDpo1PpBit8UiNnoAOj/kUC/1DFGKIoIV1Sg6LQ2Q ujBKlsKiBxf+SXm0WMzxrhuLmRMeN/L2eyyyM= Received: by 10.150.213.6 with SMTP id l6mr11565980ybg.87.1260196303943; Mon, 07 Dec 2009 06:31:43 -0800 (PST) Received: from rxone.opensource.se (49.14.32.202.bf.2iij.net [202.32.14.49]) by mx.google.com with ESMTPS id 16sm2898367gxk.11.2009.12.07.06.31.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Dec 2009 06:31:42 -0800 (PST) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Mon, 07 Dec 2009 23:26:05 +0900 Message-Id: <20091207142605.6728.6076.sendpatchset@rxone.opensource.se> Subject: [PATCH] sh: LCDC start_transfer() for the KFR2R09 board Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org --- 0001/arch/sh/boards/mach-kfr2r09/lcd_wqvga.c +++ work/arch/sh/boards/mach-kfr2r09/lcd_wqvga.c 2009-12-07 18:32:49.000000000 +0900 @@ -273,6 +273,12 @@ int kfr2r09_lcd_setup(void *board_data, return 0; } +void kfr2r09_lcd_start(void *board_data, void *sohandle, + struct sh_mobile_lcdc_sys_bus_ops *so) +{ + write_memory_start(sohandle, so); +} + #define CTRL_CKSW 0x10 #define CTRL_C10 0x20 #define CTRL_CPSW 0x80 --- 0001/arch/sh/boards/mach-kfr2r09/setup.c +++ work/arch/sh/boards/mach-kfr2r09/setup.c 2009-12-07 18:32:49.000000000 +0900 @@ -149,6 +149,7 @@ static struct sh_mobile_lcdc_info kfr2r0 }, .board_cfg = { .setup_sys = kfr2r09_lcd_setup, + .start_transfer = kfr2r09_lcd_start, .display_on = kfr2r09_lcd_on, .display_off = kfr2r09_lcd_off, }, --- 0001/arch/sh/include/mach-kfr2r09/mach/kfr2r09.h +++ work/arch/sh/include/mach-kfr2r09/mach/kfr2r09.h 2009-12-07 18:32:49.000000000 +0900 @@ -8,6 +8,8 @@ void kfr2r09_lcd_on(void *board_data); void kfr2r09_lcd_off(void *board_data); int kfr2r09_lcd_setup(void *board_data, void *sys_ops_handle, struct sh_mobile_lcdc_sys_bus_ops *sys_ops); +void kfr2r09_lcd_start(void *board_data, void *sys_ops_handle, + struct sh_mobile_lcdc_sys_bus_ops *sys_ops); #else static inline void kfr2r09_lcd_on(void *board_data) {} static inline void kfr2r09_lcd_off(void *board_data) {} @@ -16,6 +18,10 @@ static inline int kfr2r09_lcd_setup(void { return -ENODEV; } +static inline void kfr2r09_lcd_start(void *board_data, void *sys_ops_handle, + struct sh_mobile_lcdc_sys_bus_ops *sys_ops) +{ +} #endif #endif /* __ASM_SH_KFR2R09_H */