Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3297337pxu; Tue, 8 Dec 2020 08:26:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJyRtlBuie6f9I+o4bdE5PwISQ7WAcgrpGUt9AKpdk+8NXKsoGBk8RD23c+Vo/6+geh1W/24 X-Received: by 2002:a17:906:b7d6:: with SMTP id fy22mr24005321ejb.219.1607444759916; Tue, 08 Dec 2020 08:25:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607444759; cv=none; d=google.com; s=arc-20160816; b=oAjjlQXeNpsQ+dO/8QyqyqoeP/vFwqoNROLB4GYnindpcGZamEbsN4xL+OuPBPFsy/ RKaF6CRrFtpzALnwwh4uy8MrnTPTpKbImHwm/JkfCBQo9j0PZedJrucEkuEvsyXhWu7u rOEhP3upXZKjod2uBle3kk/25w2ri7j62wJBKKuk73Tx+G17sJ13KQBouPMfox8YYaF1 WRFcXysHpedCQDFXPylcTG+4lTPDRQCl+e8YJf7ez98gMrwnlCQkOfgxqIgmBuy7YCa9 FNYlSjQ9k0xP+5xUrU8e2U1pnlPKEWe9maWVhvWIlaZqxwW/8CUZfTku3Ehz3vGVdqPd bPzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=+fo3q5qRLjtqqSak18seUx4i4yvslia4puPS2b0KQc0=; b=TM+Xbk1RRyhj8tAkKJN+2JqtDnkraw95rzUjGjcDWlfE1w39RQ3+bNUCpu2HSpRwaI iGwfOep/1pm+tQEIUI9VMf4HJRQmg74Ft3IX/ZQjUFZVVUnHt6lMF+w1ES7DzYd0Tsb8 1BRbvW7jzGXNLiMvO7WwswJxkhVwFeCFRycvc2i4VbknWX8E/eYO23fr5kBL/Nas7C+D FWxGYF+QAXJkD5xawe1V7XwB7ZqPy7VS3GUjM040oSRZTE1resCZ3NLdPZOHBUOyucj2 8+22ZacJVyCK9f+QWNYTkcXldnSbYDBzw/uz5KFStPBVb40p01DA4sLDNiROckcIqGtJ t8VQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k3si11078074edk.307.2020.12.08.08.25.34; Tue, 08 Dec 2020 08:25:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729921AbgLHQWf (ORCPT + 99 others); Tue, 8 Dec 2020 11:22:35 -0500 Received: from mslow2.mail.gandi.net ([217.70.178.242]:42570 "EHLO mslow2.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726069AbgLHQWf (ORCPT ); Tue, 8 Dec 2020 11:22:35 -0500 Received: from relay9-d.mail.gandi.net (unknown [217.70.183.199]) by mslow2.mail.gandi.net (Postfix) with ESMTP id B89D73AD504; Tue, 8 Dec 2020 16:16:18 +0000 (UTC) X-Originating-IP: 90.76.70.27 Received: from pc-2.home (lfbn-tou-1-1249-27.w90-76.abo.wanadoo.fr [90.76.70.27]) (Authenticated sender: maxime.chevallier@bootlin.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id C2989FF816; Tue, 8 Dec 2020 16:15:14 +0000 (UTC) From: Maxime Chevallier To: Mauro Carvalho Chehab , Rob Herring , Mark Rutland , Heiko Stuebner , Hans Verkuil , Ezequiel Garcia Cc: Maxime Chevallier , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Miquel Raynal , Paul Kocialkowski Subject: [PATCH v4 0/3] media: rockchip: Introduce driver for Rockchip's camera interface Date: Tue, 8 Dec 2020 17:15:06 +0100 Message-Id: <20201208161509.655862-1-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi everyone, This is the fourth iteration of the series introducing a driver for the PX30 camera interface. This was previously known as the "cif" driver in other iterations, but was renamed to "vip" following Ezequiel's advices to match the datasheet name. This is based on a BSP driver, and I'm not fully familiar with the media and V4L2 frameworks, so I guess some review is still needed. On top of the previous series, this series addresses most of the reviews by Ezequiel (Thanks again), and was tested on a PX30 chip. Maxime Maxime Chevallier (3): media: dt-bindings: media: Document Rockchip VIP bindings media: rockchip: Introduce driver for Rockhip's camera interface arm64: dts: rockchip: Add the camera interface description of the PX30 .../bindings/media/rockchip-vip.yaml | 94 ++ arch/arm64/boot/dts/rockchip/px30.dtsi | 12 + drivers/media/platform/Kconfig | 15 + drivers/media/platform/Makefile | 1 + drivers/media/platform/rockchip/vip/Makefile | 3 + drivers/media/platform/rockchip/vip/capture.c | 1148 +++++++++++++++++ drivers/media/platform/rockchip/vip/dev.c | 333 +++++ drivers/media/platform/rockchip/vip/dev.h | 203 +++ drivers/media/platform/rockchip/vip/regs.h | 260 ++++ 9 files changed, 2069 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/rockchip-vip.yaml create mode 100644 drivers/media/platform/rockchip/vip/Makefile create mode 100644 drivers/media/platform/rockchip/vip/capture.c create mode 100644 drivers/media/platform/rockchip/vip/dev.c create mode 100644 drivers/media/platform/rockchip/vip/dev.h create mode 100644 drivers/media/platform/rockchip/vip/regs.h -- 2.25.4