From patchwork Sun Feb 3 16:03:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 10794769 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BC56413BF for ; Sun, 3 Feb 2019 16:04:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AC21728C79 for ; Sun, 3 Feb 2019 16:04:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A07A629010; Sun, 3 Feb 2019 16:04:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 59DF028C79 for ; Sun, 3 Feb 2019 16:04:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728880AbfBCQEE (ORCPT ); Sun, 3 Feb 2019 11:04:04 -0500 Received: from mirror2.csie.ntu.edu.tw ([140.112.30.76]:33220 "EHLO wens.csie.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726490AbfBCQED (ORCPT ); Sun, 3 Feb 2019 11:04:03 -0500 Received: by wens.csie.org (Postfix, from userid 1000) id 9547A5FD06; Mon, 4 Feb 2019 00:04:01 +0800 (CST) From: Chen-Yu Tsai To: Yong Deng , Maxime Ripard , Mauro Carvalho Chehab , Sakari Ailus Cc: Chen-Yu Tsai , linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] media: sun6i: One regmap fix and support RGB565 and JPEG Date: Mon, 4 Feb 2019 00:03:55 +0800 Message-Id: <20190203160358.21050-1-wens@csie.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi everyone, This series is adds support for two (three if you count big / little endian) media bus formats to the sun6i-csi driver. There's also a small fix for an exception I encountered while working on this. Both modes were tested using an OV5640 sensor. To use JPEG, the patch "media: ov5640: Set JPEG output timings when outputting JPEG data" from my "media: ov5640: JPEG and test pattern improvements" series is also needed. I prepared this series on 1/18, alone with the "media: ov5640: Set JPEG output timings when outputting JPEG data", but ended up forgetting to send out this one. Please have a look. Regards ChenYu Chen-Yu Tsai (3): media: sun6i: Fix CSI regmap's max_register media: sun6i: Add support for RGB565 formats media: sun6i: Add support for JPEG media bus format .../platform/sunxi/sun6i-csi/sun6i_csi.c | 27 ++++++++++++++++--- .../platform/sunxi/sun6i-csi/sun6i_csi.h | 3 +++ .../platform/sunxi/sun6i-csi/sun6i_video.c | 3 +++ 3 files changed, 30 insertions(+), 3 deletions(-)