From patchwork Mon Oct 6 13:32:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Davor Joja X-Patchwork-Id: 5037021 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CD5C19F295 for ; Mon, 6 Oct 2014 13:38:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 591572014A for ; Mon, 6 Oct 2014 13:38:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3E533200F4 for ; Mon, 6 Oct 2014 13:38:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752735AbaJFNis (ORCPT ); Mon, 6 Oct 2014 09:38:48 -0400 Received: from mail.logicbricks.com ([89.201.165.134]:60439 "EHLO mail.logicbricks.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752681AbaJFNis (ORCPT ); Mon, 6 Oct 2014 09:38:48 -0400 X-Greylist: delayed 337 seconds by postgrey-1.27 at vger.kernel.org; Mon, 06 Oct 2014 09:38:47 EDT From: Davor Joja To: CC: Davor Joja Subject: [RFC 01/10] video: fbdev: Xylon framebuffer driver Date: Mon, 6 Oct 2014 15:32:51 +0200 X-Mailer: git-send-email 1.9.1 In-Reply-To: <1412602380-28956-1-git-send-email-davorjoja@logicbricks.com> References: <1412602380-28956-1-git-send-email-davorjoja@logicbricks.com> MIME-Version: 1.0 X-Originating-IP: [192.168.0.76] Message-ID: Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Driver registration and OpenFirmware matching and parsing. Signed-off-by: Davor Joja --- drivers/video/fbdev/xylon/xylonfb_main.c | 532 +++++++++++++++++++++++++++++++ 1 file changed, 532 insertions(+) create mode 100644 drivers/video/fbdev/xylon/xylonfb_main.c diff --git a/drivers/video/fbdev/xylon/xylonfb_main.c b/drivers/video/fbdev/xylon/xylonfb_main.c new file mode 100644 index 0000000..743ba2a --- /dev/null +++ b/drivers/video/fbdev/xylon/xylonfb_main.c @@ -0,0 +1,532 @@ +/* + * Xylon logiCVC frame buffer Open Firmware driver + * + * Copyright (C) 2014 Xylon d.o.o. + * Author: Davor Joja + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#include +#include +#include +#include +#include +#include +#include