From patchwork Thu Mar 26 20:16:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dafna Hirschfeld X-Patchwork-Id: 210417 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3557FC43331 for ; Thu, 26 Mar 2020 20:16:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1460420714 for ; Thu, 26 Mar 2020 20:16:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727719AbgCZUQ3 (ORCPT ); Thu, 26 Mar 2020 16:16:29 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:52794 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726363AbgCZUQ3 (ORCPT ); Thu, 26 Mar 2020 16:16:29 -0400 Received: from localhost.localdomain (unknown [IPv6:2a02:810a:113f:ad1c:b024:988e:8796:31a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: dafna) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 83A0C283C93; Thu, 26 Mar 2020 20:16:23 +0000 (GMT) From: Dafna Hirschfeld To: linux-media@vger.kernel.org, dafna.hirschfeld@collabora.com, helen.koike@collabora.com, ezequiel@collabora.com, hverkuil@xs4all.nl, kernel@collabora.com, dafna3@gmail.com, sakari.ailus@linux.intel.com, linux-rockchip@lists.infradead.org, mchehab@kernel.org, laurent.pinchart@ideasonboard.com Subject: [PATCH 0/4] media: staging: rkisp1: cap: various fixes for capture formats Date: Thu, 26 Mar 2020 21:16:06 +0100 Message-Id: <20200326201610.31762-1-dafna.hirschfeld@collabora.com> X-Mailer: git-send-email 2.17.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org This patchset fixes various issues related to the supported formats in the rkisp1 capture. Patches summary: patch 1 - fixes a wrong assignments to the register that swaps the 'u', 'v' planes in YUV semiplanar formats. patch 2 - sets the register from patch 1 only if the format is semiplanar. patch 3 - adds support to planar YUV formats with swapped u,v planes by swapping the addresses of the planes patch 4 - removes some packed YUV formats that are not supported by the driver. Dafna Hirschfeld (4): media: staging: rkisp1: cap: fix issues when writing to uv swap register media: staging: rkisp1: cap: support uv swap only for semiplanar formats media: staging: rkisp1: cap: support uv swapped plane formats media: staging: rkisp1: cap: remove unsupported formats drivers/staging/media/rkisp1/rkisp1-capture.c | 55 ++++++++++--------- 1 file changed, 28 insertions(+), 27 deletions(-)