add aspeed-jpeg support for aspeed-video
From: | Jammy Huang <jammy_huang-AT-aspeedtech.com> | |
To: | <eajames-AT-linux.ibm.com>, <mchehab-AT-kernel.org>, <joel-AT-jms.id.au>, <andrew-AT-aj.id.au>, <hverkuil-cisco-AT-xs4all.nl>, <sakari.ailus-AT-linux.intel.com>, <gregkh-AT-linuxfoundation.org>, <laurent.pinchart-AT-ideasonboard.com>, <linux-media-AT-vger.kernel.org>, <openbmc-AT-lists.ozlabs.org>, <linux-arm-kernel-AT-lists.infradead.org>, <linux-aspeed-AT-lists.ozlabs.org>, <linux-kernel-AT-vger.kernel.org> | |
Subject: | [PATCH v5 00/10] add aspeed-jpeg support for aspeed-video | |
Date: | Thu, 18 Nov 2021 15:40:21 +0800 | |
Message-ID: | <20211118074030.685-1-jammy_huang@aspeedtech.com> | |
Archive-link: | Article |
The aim of this series is to add aspeed-jpeg support for aspeed-video driver. To achieve this major goal some refactors are included. In the last, debugfs information is also updated per this change. Changes in v5: - Use model data to tell different soc Changes in v4: - Add definition for the Aspeed JPEG format - Reserve controls for ASPEED - Use s_fmt to update format rather than new control - Update aspeed hq quality range, 1 ~ 12 Jammy Huang (10): media: aspeed: move err-handling together to the bottom media: aspeed: use v4l2_info/v4l2_warn/v4l2_dbg for log media: aspeed: add more debug log messages media: aspeed: refactor to gather format/compress settings media: v4l: Add definition for the Aspeed JPEG format media: v4l2-ctrls: Reserve controls for ASPEED media: aspeed: use model-data media: aspeed: Support aspeed mode to reduce compressed data media: aspeed: add comments and macro media: aspeed: Extend debug message .../media/uapi/v4l/pixfmt-reserved.rst | 12 + drivers/media/platform/aspeed-video.c | 534 ++++++++++++++---- drivers/media/v4l2-core/v4l2-ioctl.c | 1 + include/uapi/linux/aspeed-video.h | 15 + include/uapi/linux/v4l2-controls.h | 5 + include/uapi/linux/videodev2.h | 1 + 6 files changed, 467 insertions(+), 101 deletions(-) create mode 100644 include/uapi/linux/aspeed-video.h -- 2.25.1