From patchwork Fri Aug 7 13:01:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 6969051 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 0BE0FC05AC for ; Fri, 7 Aug 2015 13:02:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 27C7E205DF for ; Fri, 7 Aug 2015 13:02:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4B130205D1 for ; Fri, 7 Aug 2015 13:02:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932088AbbHGNBa (ORCPT ); Fri, 7 Aug 2015 09:01:30 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:34834 "EHLO mail-pd0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932075AbbHGNB2 (ORCPT ); Fri, 7 Aug 2015 09:01:28 -0400 Received: by pdrg1 with SMTP id g1so45388189pdr.2; Fri, 07 Aug 2015 06:01:28 -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=4X6ZPwgmOJBUOyeAKHQ4/DKdS8x9PYLYAg4wKgd63oA=; b=R819gv/5+P1LieOjrxGbYV8qvL2t5ukLHS4ZDtOtrFBte3lkgKwy/FEEgqAtNKRbY4 AcvqFzWRfokx+AbslwG5ufaW3t1CAmNTijqAlI4tGdrcbPKDjhIuK4lHtsaEHnbf24va MhzO5Z9eV3nfNKTd1WMzSscgjQ0reSZqD88nkr9YLF2JT3oWdViOQ5/a9YG2VT0kx8Fg SB6bGR8SvVNCUXU2R8hA9+uuMdmh6Drk//3frODyiGbaFirsBa+KXSlEMD0xRc95wiBN v4TZvazcJb70w2hoQ/8kEARCSGkOkU8VuMqIFUhF8SsgAlvapIcqwtAUYVo20P3Zx1/0 /EiQ== X-Received: by 10.70.91.73 with SMTP id cc9mr1535786pdb.59.1438952488052; Fri, 07 Aug 2015 06:01:28 -0700 (PDT) Received: from localhost.localdomain ([49.206.246.113]) by smtp.gmail.com with ESMTPSA id un2sm10148354pac.28.2015.08.07.06.01.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 07 Aug 2015 06:01:27 -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 RESEND 2/3] Documentation/fb: add documentation for sm712fb Date: Fri, 7 Aug 2015 18:31:14 +0530 Message-Id: <1438952475-22151-2-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1438952475-22151-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1438952475-22151-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=-6.9 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