From: "Mats Randgaard (matrandg)" <matrandg@cisco.com>
To: Philipp Zabel <p.zabel@pengutronix.de>
Cc: linux-media@vger.kernel.org, hansverk@cisco.com
Subject: Re: [RFC v01] Driver for Toshiba TC358743 CSI-2 to HDMI bridge
Date: Fri, 09 Jan 2015 08:50:12 +0100 [thread overview]
Message-ID: <54AF8834.1090904@cisco.com> (raw)
In-Reply-To: <1420737164.3190.49.camel@pengutronix.de>
Thanks for testing the driver!
On 01/08/2015 06:12 PM, Philipp Zabel wrote:
> Hi Mats,
>
> Am Montag, den 15.12.2014, 19:21 +0100 schrieb matrandg@cisco.com:
>> From: Mats Randgaard <matrandg@cisco.com>
>>
>> The driver is tested on our hardware and all the implemented features
>> works as expected.
>>
>> Missing features:
>> - CEC support
>> - HDCP repeater support
>> - IR support
>>
>> Signed-off-by: Mats Randgaard <matrandg@cisco.com>
>> ---
>> MAINTAINERS | 6 +
>> drivers/media/i2c/Kconfig | 12 +
>> drivers/media/i2c/Makefile | 1 +
>> drivers/media/i2c/tc358743.c | 1768 ++++++++++++++++++++++++++++++++++++
>> drivers/media/i2c/tc358743_regs.h | 670 ++++++++++++++
>> include/media/tc358743.h | 89 ++
>> include/uapi/linux/v4l2-controls.h | 4 +
>> 7 files changed, 2550 insertions(+)
>> create mode 100644 drivers/media/i2c/tc358743.c
>> create mode 100644 drivers/media/i2c/tc358743_regs.h
>> create mode 100644 include/media/tc358743.h
>>
> [...]
>> diff --git a/drivers/media/i2c/tc358743.c b/drivers/media/i2c/tc358743.c
>> new file mode 100644
>> index 0000000..a86cbe0
>> --- /dev/null
>> +++ b/drivers/media/i2c/tc358743.c
> [...]
>> +/* --------------- CUSTOM CTRLS --------------- */
>> +
>> +static const struct v4l2_ctrl_config tc358743_ctrl_audio_sampling_rate = {
>> + .id = TC358743_CID_AUDIO_SAMPLING_RATE,
>> + .name = "Audio sampling rate",
>> + .type = V4L2_CTRL_TYPE_INTEGER,
>> + .min = 0,
>> + .max = 768000,
>> + .step = 1,
>> + .def = 0,
>> + .flags = V4L2_CTRL_FLAG_READ_ONLY,
>> +};
>> +
>> +static const struct v4l2_ctrl_config tc358743_ctrl_audio_present = {
>> + .id = TC358743_CID_AUDIO_PRESENT,
>> + .name = "Audio present",
>> + .type = V4L2_CTRL_TYPE_BOOLEAN,
> If I don't add
> + .max = 1,
> + .step = 1,
> here, I get -ERANGE from v4l2_ctrl_new_custom for this control.
The product I use for testing of this driver has a really old kernel
where this validation of the boolean controls is missing. I'll fix this
in the next revision of this driver.
Thanks,
Mats Randgaard
>
> regards
> Philipp
>
next prev parent reply other threads:[~2015-01-09 7:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-15 18:21 [RFC v01] Driver for Toshiba TC358743 CSI-2 to HDMI bridge matrandg
2014-12-17 10:32 ` Hans Verkuil
2015-01-08 17:12 ` Philipp Zabel
2015-01-09 7:50 ` Mats Randgaard (matrandg) [this message]
2015-02-17 8:50 ` Philipp Zabel
2015-02-17 15:53 ` Mats Randgaard (matrandg)
2015-02-18 17:00 ` Philipp Zabel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54AF8834.1090904@cisco.com \
--to=matrandg@cisco.com \
--cc=hansverk@cisco.com \
--cc=linux-media@vger.kernel.org \
--cc=p.zabel@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.