From patchwork Fri Jul 17 13:21:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 6815731 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9F18DC05AC for ; Fri, 17 Jul 2015 13:22:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C8C8D20779 for ; Fri, 17 Jul 2015 13:22:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E54F5207A1 for ; Fri, 17 Jul 2015 13:22:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758075AbbGQNVh (ORCPT ); Fri, 17 Jul 2015 09:21:37 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:34044 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756822AbbGQNVf (ORCPT ); Fri, 17 Jul 2015 09:21:35 -0400 Received: by pacan13 with SMTP id an13so61251837pac.1; Fri, 17 Jul 2015 06:21:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ej2VTWVzZM8y3mhbHgMrDNkcGCH+bYGeAtPrVOqhjkU=; b=GL/PHwqtwaw+8PAYE6JFOpLAMJ8lmP7gTHqZrIXcP5NBB7W0BxZZEDBtNWh8LNobaM +kqkx5kPc+hHjM69nFxvjaaxyz+abhsYDqRBHBxCqlqS9IIliUsb3LzqvMNJD3d99g09 FwuyOLIFoEWmnh++agYxNoEYs+fo0WbCJSA0ZuJ06fXNctsdIQuXHNyAgCNcBIaD0/U0 WryCuo854YqeLAaOqEm+Lcf5/QziBEjY2FQYFrwEB6PZveCvgtNIj+VrqbJHEmvkFIja q263RhDkCTH9FYS8JQpSgrHuaOWG3KP/I6NfkvD01RyYCf+3i5/kaNxq8SN7qvwf8XTR e60g== X-Received: by 10.70.118.5 with SMTP id ki5mr29996447pdb.6.1437139294890; Fri, 17 Jul 2015 06:21:34 -0700 (PDT) Received: from localhost.localdomain ([49.206.253.122]) by smtp.gmail.com with ESMTPSA id pj4sm11276406pbb.29.2015.07.17.06.21.31 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Jul 2015 06:21:33 -0700 (PDT) From: Sudip Mukherjee To: Jean-Christophe Plagniol-Villard , Tomi Valkeinen , Jonathan Corbet , Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-doc@vger.kernel.org, devel@driverdev.osuosl.org, Sudip Mukherjee Subject: [PATCH 2/3] Documentation/fb: add documentation for sm712fb Date: Fri, 17 Jul 2015 18:51:19 +0530 Message-Id: <1437139280-7375-2-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1437139280-7375-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1437139280-7375-1-git-send-email-sudipm.mukherjee@gmail.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-8.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Create the documentation for SM712. Mention all the supported modes and how to use. Signed-off-by: Sudip Mukherjee --- Documentation/fb/sm712fb.txt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/fb/sm712fb.txt diff --git a/Documentation/fb/sm712fb.txt b/Documentation/fb/sm712fb.txt new file mode 100644 index 0000000..c388442 --- /dev/null +++ b/Documentation/fb/sm712fb.txt @@ -0,0 +1,31 @@ +What is sm712fb? +================= + +This is a graphics framebuffer driver for Silicon Motion SM712 based processors. + +How to use it? +============== + +Switching modes is done using the video=sm712fb:... boot parameter. + +If you want, for example, enable a resolution of 1280x1024x24bpp you should +pass to the kernel this command line: "video=sm712fb:0x31B". + +You should not compile-in vesafb. + +Currently supported video modes are: + +[Graphic modes] + +bpp | 640x480 800x600 1024x768 1280x1024 +----+-------------------------------------------- + 8 | 0x301 0x303 0x305 0x307 + 16 | 0x311 0x314 0x317 0x31A + 24 | 0x312 0x315 0x318 0x31B + +Missing Features +================ +(alias TODO list) + + * 2D acceleratrion + * dual-head support