From patchwork Fri Mar 20 13:12:52 2020
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Philipp Zabel
X-Patchwork-Id: 203054
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 1A580C4332B
for ;
Fri, 20 Mar 2020 13:13:07 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [209.132.180.67])
by mail.kernel.org (Postfix) with ESMTP id E271920754
for ;
Fri, 20 Mar 2020 13:13:06 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S1727027AbgCTNNG (ORCPT
);
Fri, 20 Mar 2020 09:13:06 -0400
Received: from metis.ext.pengutronix.de ([85.220.165.71]:58313 "EHLO
metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S1727195AbgCTNNF (ORCPT
); Fri, 20 Mar 2020 09:13:05 -0400
Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28]
helo=dude02.pengutronix.de.)
by metis.ext.pengutronix.de with esmtp (Exim 4.92)
(envelope-from )
id 1jFHSO-0001XK-3z; Fri, 20 Mar 2020 14:13:00 +0100
From: Philipp Zabel
To: linux-media@vger.kernel.org
Cc: Ezequiel Garcia ,
Mauro Carvalho Chehab ,
Hans Verkuil , Rob Herring ,
Shawn Guo , kernel@pengutronix.de,
devicetree@vger.kernel.org
Subject: [PATCH v6 0/4] Add initial i.MX8MQ support
Date: Fri, 20 Mar 2020 14:12:52 +0100
Message-Id: <20200320131256.23294-1-p.zabel@pengutronix.de>
X-Mailer: git-send-email 2.20.1
MIME-Version: 1.0
X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::28
X-SA-Exim-Mail-From: p.zabel@pengutronix.de
X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de);
SAEximRunCond expanded to false
X-PTX-Original-Recipient: devicetree@vger.kernel.org
Sender: devicetree-owner@vger.kernel.org
Precedence: bulk
List-ID:
X-Mailing-List: devicetree@vger.kernel.org
With the i.MX8MQ decoders in active use and the i.MX8MM power domain
support still up in the air, I think it makes sense to merge i.MX8MQ
Hantro support now and accept that i.MX8MM may or may not require
different bindings.
Patch 4 depends on [2] for the MAINTAINERS change.
Changes since v5 [1]:
- Drop merged patches
- Drop i.MX8MM bindings
- Change example node name to video-codec
- Convert i.MX8MQ bindings to YAML
- Drop i.MX8MM support
- Rebase onto media/master
- Enable h.264 and VP8 decoding
- Enable post-processing
[1] https://lore.kernel.org/linux-media/20190612093915.18973-1-p.zabel@pengutronix.de
[2] https://lore.kernel.org/linux-media/20200318132108.21873-9-ezequiel@collabora.com
regards
Philipp
Philipp Zabel (4):
media: dt-bindings: Document i.MX8MQ VPU bindings
media: hantro: add initial i.MX8MQ support
arm64: dts: imx8mq: enable Hantro G1/G2 VPU
media: MAINTAINERS: add myself to co-maintain Hantro G1/G2 for i.MX8MQ
.../bindings/media/nxp,imx8mq-vpu.yaml | 77 ++++++
MAINTAINERS | 2 +
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 27 +++
drivers/staging/media/hantro/Kconfig | 16 +-
drivers/staging/media/hantro/Makefile | 3 +
drivers/staging/media/hantro/hantro_drv.c | 3 +
drivers/staging/media/hantro/hantro_hw.h | 1 +
drivers/staging/media/hantro/imx8m_vpu_hw.c | 220 ++++++++++++++++++
8 files changed, 345 insertions(+), 4 deletions(-)
create mode 100644 Documentation/devicetree/bindings/media/nxp,imx8mq-vpu.yaml
create mode 100644 drivers/staging/media/hantro/imx8m_vpu_hw.c