From patchwork Thu Nov 14 05:12:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helen Mae Koike Fornazier X-Patchwork-Id: 11243021 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8F6D9930 for ; Thu, 14 Nov 2019 05:13:21 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 68C2B20659 for ; Thu, 14 Nov 2019 05:13:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Yy3gfRBx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 68C2B20659 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=collabora.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=FNTfDQF7T6jQQD8xcQuCrh3lueM9+wLqOOo/f5ma/Vw=; b=Yy3gfRBx8nt0Fi lOpICmZtsBnrAPGHJ38620Km0zkDxCRs7DZG5tuDGOO0cVCDxGl/OQUJEUviP3fy3OtQnYFXxj7I1 uOn/1oQXgac7QfXEayM54ZC5DVlpI1cYHahhPz9J0TulkiJJIoz85bnwVYlkfMz/KEDTlK51Og6Ea QJsXZI/rUmZdxRAJUJuRCXOzqbPLMj/25Wph+FPG9RfmIbQBtiKMipENGlyIaKwCKm7ftKHhMVUQJ OVyHYLHh7ONPyXK8DzkwM7OH1dB6gZgIWzc1z8OnyGGQ/NttIU2AJyVdqPpbar2xtF3BXt40iBUha 2iEj2tKRZsMYSV1ogk6Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iV7RY-0006Kk-GH; Thu, 14 Nov 2019 05:13:20 +0000 Received: from bhuna.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e3e3]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iV7RV-0006Jo-3U; Thu, 14 Nov 2019 05:13:19 +0000 Received: from floko.floko.floko (unknown [IPv6:2804:431:c7f0:da1c:a086:2727:e196:fd8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: koike) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id D674328ED79; Thu, 14 Nov 2019 05:13:05 +0000 (GMT) From: Helen Koike To: linux-rockchip@lists.infradead.org Subject: [PATCH v11 00/11] Rockchip ISP Driver Date: Thu, 14 Nov 2019 02:12:31 -0300 Message-Id: <20191114051242.14651-1-helen.koike@collabora.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191113_211317_411695_CFFE78E5 X-CRM114-Status: GOOD ( 10.96 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, eddie.cai.linux@gmail.com, kernel@collabora.com, heiko@sntech.de, jacob-chen@iotwrt.com, gregkh@linuxfoundation.org, jeffy.chen@rock-chips.com, zyc@rock-chips.com, linux-kernel@vger.kernel.org, tfiga@chromium.org, Helen Koike , robh+dt@kernel.org, hans.verkuil@cisco.com, laurent.pinchart@ideasonboard.com, sakari.ailus@linux.intel.com, zhengsq@rock-chips.com, mchehab@kernel.org, ezequiel@collabora.com, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hello, This series adds the Rockchip Image Signal Processing Unit v1 driver to staging. The main reason to be in staging is that people are already using it from the mailing list (including libcamera), and having it in mainline makes the workflow easier. Also, it is easier for other people to contribute back (with code or testing the driver). We plan to actively work on this driver to get it our of staging. This patchset is also available at: https://gitlab.collabora.com/koike/linux/tree/rockchip/isp/v11 Libcamera patched to work with this version: https://gitlab.collabora.com/koike/libcamera (also sent to the mailing list) The major difference in v11 are: - Fixed compiling warnings found with W=1 - Fixed checkpatch errors - Add clock-names values in dt-bindings This series only touches MAINTAINERS file and drivers/staging/ MAINTAINERS drivers/staging/media/Kconfig drivers/staging/media/Makefile drivers/staging/media/phy-rockchip-dphy/Kconfig drivers/staging/media/phy-rockchip-dphy/Makefile drivers/staging/media/phy-rockchip-dphy/TODO drivers/staging/media/phy-rockchip-dphy/phy-rockchip-dphy.c drivers/staging/media/rkisp1/Documentation/devicetree/bindings/media/rockchip-isp1.txt drivers/staging/media/rkisp1/Documentation/devicetree/bindings/media/rockchip-mipi-dphy.txt drivers/staging/media/rkisp1/Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-params.rst drivers/staging/media/rkisp1/Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-stat.rst drivers/staging/media/rkisp1/Kconfig drivers/staging/media/rkisp1/Makefile drivers/staging/media/rkisp1/TODO drivers/staging/media/rkisp1/capture.c drivers/staging/media/rkisp1/capture.h drivers/staging/media/rkisp1/common.h drivers/staging/media/rkisp1/dev.c drivers/staging/media/rkisp1/dev.h drivers/staging/media/rkisp1/isp_params.c drivers/staging/media/rkisp1/isp_params.h drivers/staging/media/rkisp1/isp_stats.c drivers/staging/media/rkisp1/isp_stats.h drivers/staging/media/rkisp1/regs.c drivers/staging/media/rkisp1/regs.h drivers/staging/media/rkisp1/rkisp1.c drivers/staging/media/rkisp1/rkisp1.h drivers/staging/media/rkisp1/uapi/rkisp1-config.h Two drivers were added, including a TODO list for removing it from staging: * phy-rockchip-dphy: mipi dphy driver used by csi * rkisp1: the image signal processing unit driver Thanks Helen Changes in v11: dphy - fix checkpatch errors - fix checkpatch errors rkisp1 - Fix compiling warnings - Fix checkpatch errors stats - fix compiling warnings - fix checkpatch errors params - fix compiling warnings - fix checkpatch errors capture - fix checkpatch errors dev - fix checkpatch erros dt-bidings: - add clock-names values Helen Koike (1): MAINTAINERS: add entry for Rockchip ISP1 driver Jacob Chen (9): media: staging: phy-rockchip-dphy: add Rockchip MIPI Synopsys DPHY driver media: staging: rkisp1: add document for rkisp1 meta buffer format media: staging: rkisp1: add Rockchip ISP1 subdev driver media: staging: rkisp1: add ISP1 statistics driver media: staging: rkisp1: add ISP1 params driver media: staging: rkisp1: add capture device driver media: staging: rkisp1: add rockchip isp1 core driver media: staging: dt-bindings: Document the Rockchip ISP1 bindings media: staging: dt-bindings: Document the Rockchip MIPI RX D-PHY bindings Jeffy Chen (1): media: staging: rkisp1: add user space ABI definitions MAINTAINERS | 6 + drivers/staging/media/Kconfig | 4 + drivers/staging/media/Makefile | 2 + .../staging/media/phy-rockchip-dphy/Kconfig | 11 + .../staging/media/phy-rockchip-dphy/Makefile | 2 + drivers/staging/media/phy-rockchip-dphy/TODO | 6 + .../phy-rockchip-dphy/phy-rockchip-dphy.c | 401 ++++ .../bindings/media/rockchip-isp1.txt | 77 + .../bindings/media/rockchip-mipi-dphy.txt | 38 + .../uapi/v4l/pixfmt-meta-rkisp1-params.rst | 23 + .../uapi/v4l/pixfmt-meta-rkisp1-stat.rst | 22 + drivers/staging/media/rkisp1/Kconfig | 13 + drivers/staging/media/rkisp1/Makefile | 7 + drivers/staging/media/rkisp1/TODO | 23 + drivers/staging/media/rkisp1/capture.c | 1871 +++++++++++++++++ drivers/staging/media/rkisp1/capture.h | 164 ++ drivers/staging/media/rkisp1/common.h | 98 + drivers/staging/media/rkisp1/dev.c | 439 ++++ drivers/staging/media/rkisp1/dev.h | 67 + drivers/staging/media/rkisp1/isp_params.c | 1586 ++++++++++++++ drivers/staging/media/rkisp1/isp_params.h | 50 + drivers/staging/media/rkisp1/isp_stats.c | 495 +++++ drivers/staging/media/rkisp1/isp_stats.h | 60 + drivers/staging/media/rkisp1/regs.c | 224 ++ drivers/staging/media/rkisp1/regs.h | 1525 ++++++++++++++ drivers/staging/media/rkisp1/rkisp1.c | 1243 +++++++++++ drivers/staging/media/rkisp1/rkisp1.h | 97 + .../staging/media/rkisp1/uapi/rkisp1-config.h | 819 ++++++++ 28 files changed, 9373 insertions(+) create mode 100644 drivers/staging/media/phy-rockchip-dphy/Kconfig create mode 100644 drivers/staging/media/phy-rockchip-dphy/Makefile create mode 100644 drivers/staging/media/phy-rockchip-dphy/TODO create mode 100644 drivers/staging/media/phy-rockchip-dphy/phy-rockchip-dphy.c create mode 100644 drivers/staging/media/rkisp1/Documentation/devicetree/bindings/media/rockchip-isp1.txt create mode 100644 drivers/staging/media/rkisp1/Documentation/devicetree/bindings/media/rockchip-mipi-dphy.txt create mode 100644 drivers/staging/media/rkisp1/Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-params.rst create mode 100644 drivers/staging/media/rkisp1/Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-stat.rst create mode 100644 drivers/staging/media/rkisp1/Kconfig create mode 100644 drivers/staging/media/rkisp1/Makefile create mode 100644 drivers/staging/media/rkisp1/TODO create mode 100644 drivers/staging/media/rkisp1/capture.c create mode 100644 drivers/staging/media/rkisp1/capture.h create mode 100644 drivers/staging/media/rkisp1/common.h create mode 100644 drivers/staging/media/rkisp1/dev.c create mode 100644 drivers/staging/media/rkisp1/dev.h create mode 100644 drivers/staging/media/rkisp1/isp_params.c create mode 100644 drivers/staging/media/rkisp1/isp_params.h create mode 100644 drivers/staging/media/rkisp1/isp_stats.c create mode 100644 drivers/staging/media/rkisp1/isp_stats.h create mode 100644 drivers/staging/media/rkisp1/regs.c create mode 100644 drivers/staging/media/rkisp1/regs.h create mode 100644 drivers/staging/media/rkisp1/rkisp1.c create mode 100644 drivers/staging/media/rkisp1/rkisp1.h create mode 100644 drivers/staging/media/rkisp1/uapi/rkisp1-config.h