Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1450319
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Steve Longerbeam <slongerbeam@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 3/9] media: adv7180: add support for NEWAVMODE |
| Date | Tue, 26 Jul 2016 04:00:01 +0200 |
| Message-ID | <rYZP3-459-7@gated-at.bofh.it> (permalink) |
| References | <rY8B3-5pp-3@gated-at.bofh.it> <rY8B4-5pp-11@gated-at.bofh.it> <rYSkx-7wc-3@gated-at.bofh.it> <rYSkx-7wc-1@gated-at.bofh.it> <rYTTk-60-13@gated-at.bofh.it> <rYWeu-1Uf-25@gated-at.bofh.it> <rYWxS-25U-91@gated-at.bofh.it> |
| X-Original-To | Ian Arkver <ian.arkver.dev@gmail.com>, Steve Longerbeam <steve_longerbeam@mentor.com>, lars@metafoo.de |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=Ia9UQCOpuW+A2iJPY8qR0J5rjDYZhtf3a3jx0/MSz9I=; b=aA1kUyo0VkO/DeVYumJavUwhY2mkIh99+xv8/RuRf+zUPFRmSxAH83t0vAIbIa5KBi Wm0BOGGzOPlKlUwoOMCATTl18CANEakzy5HrjgpFIiRCcGBiVqZqgCUdZeKv82k52sqS e1d2lzZBNwsgWn0oY+PLG1yDfdb7ydWhLQybL3NgMcdZu/EOaPpX3DiSZseBwWoWZ25u rHwCMf0m9IeQPRu1dTu+iBFW184iwI2OnAH9Xr8ejCwPL+bcnRA+eAxs+H/yPRFiQcKN 5su9k9E4/+7rpNo/0e0+HVtu6tlxZ744V+AtY7cZ/swagi4S2pqOJdqOftNnhtrJVEdJ oHkQ== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=Ia9UQCOpuW+A2iJPY8qR0J5rjDYZhtf3a3jx0/MSz9I=; b=WLa66aLXqvzRHcNMA2dokOVRkTvEPSqsv8wzXtGZnBAodN+/RtkRG2qiUcDilwWhi7 qXMzWUkZbeLki4fUgG3riMqd35R4fEeeTzdD1RDUhPsAT6tkALIS451C+gcIkGoSJ1Mw CUNOWK8yBaC/8WAoGgNmZpSgJ9g4DrSihPd7lVFGbv2dcVyO/Ed7FEoSAYMeA5lQ2WWf aA4dMTZZEBIn2a2R8ML7j/w8vG5bNx0HwWbe1EtmsYGJos8AraEWF4ApYA3nEWKoTOZq soA1JHj91Zmft6n7Zo4E6Nt0IW5UVO1FmfQub4kuWbzoAv2c/EoXkssF+Y9dv3iIiDZE 62Zg== |
| X-Gm-Message-State | AEkoouvhHRby/mZj0Ev+DbSTAkfpk0HkL3xU50Dl/es0bCpaq8QYk2ZNNNr1GMLfTbmeWg== |
| X-Received | by 10.66.25.171 with SMTP id d11mr34611747pag.3.1469498276017; Mon, 25 Jul 2016 18:57:56 -0700 (PDT) |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252 |
| Content-Transfer-Encoding | 7bit |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 60 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | mchehab@kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org |
| X-Original-Date | Mon, 25 Jul 2016 18:57:53 -0700 |
| X-Original-Message-ID | <18f9e081-018d-26c2-e35e-262627826ed3@gmail.com> |
| X-Original-References | <1469293249-6774-1-git-send-email-steve_longerbeam@mentor.com> <1469293249-6774-4-git-send-email-steve_longerbeam@mentor.com> <b2f5e6ab-86f0-7caf-40bd-8b3259dce5cd@gmail.com> <0fa0100f-3c7a-9dc0-2b29-7de9da7e86b5@mentor.com> <67a21914-cf3d-7d80-7b80-6abfd26c1a21@gmail.com> <cd28566d-acaa-8d04-bb6c-042c27e4d51d@mentor.com> <153fdfbc-a929-6584-3f06-26413498c1fa@gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1450319 |
Show key headers only | View raw
On 07/25/2016 03:24 PM, Ian Arkver wrote: > On 25/07/16 23:04, Steve Longerbeam wrote: >> >> >> On 07/25/2016 12:36 PM, Ian Arkver wrote: >>> On 25/07/16 18:55, Steve Longerbeam wrote: >>>> On 07/25/2016 05:04 AM, Ian Arkver wrote: >>>>> On 23/07/16 18:00, Steve Longerbeam wrote: >>>>>> <snip> >>>>>> +#define ADV7180_VSYNC_FIELD_CTL_1_NEWAVMODE 0x02 >>>>> See below re this value. >>>>> >>>> Hi Ian, I double-checked the ADV7180 datasheet, this value is >>>> correct. Bit 4, when cleared, _enables_ NEWAVMODE. >>> >>> Hah, ok. I'm not familiar enough with the history of this chip and didn't >>> know what "OLDAVMODE" was. So, to enable NEWAVMODE you clear >>> the NEWAVMODE bit. That makes perfect sense. >>> >>> Anyway, I still don't see what NEWAVMODE gets you. >> >> Hi Ian, >> >> With video standard auto-detect disabled in the chip (VID_SEL > 2), captured NTSC >> images by the i.mx6q SabreAuto are corrupted, best I can describe it as "extremely >> fuzzy". Only when newavmode is enabled do the images look good again, in manual >> mode. With auto-detect enabled, images look good with or without newavmode. >> >> The strange this is, the auto-detected standard is identical to the standard set >> explicitly in manual mode (NTSC-M). I did a complete i2c dump of the registers >> for both auto-detect and manual mode, and found no other differences besides >> the auto-detect/manual setting. >> >> Trying to track this down further would probably require a logic analyzer on the >> bt.656 bus, which I don't have access to. >> >> I will not be debugging this further so NEWAVMODE it will have to remain. >> >> Steve > > OK, interesting. And weird indeed. > > I may be interfacing an ADV7280 to the i.MX6 in the August timeframe, depending on > project needs etc. I'll see if I hit this with that chip. My test app does use autodetect. > > Incidentally, looking at the BT656-5 spec and comparing to the tvp5150, I see that > the spec calls for 244 and 243 lines per field for NTSC, and the tvp5150 provides > that number of lines. However this write... > > adv7180_write(state, ADV7180_REG_NTSC_V_BIT_END, > ADV7180_NTSC_V_BIT_END_MANUAL_NVEND); > > where NVEND is 0x4f, configures the adv7180 to send only 242 lines in each field. > Not sure if this is significant. Right. I thought for sure that was the reason for the image problems, but I tried commenting out that write (default value for ADV7180_REG_NTSC_V_BIT_END) with NEWAVMODE disabled, and still the images were corrupted in manual mode. Steve
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v3 3/9] media: adv7180: add support for NEWAVMODE Steve Longerbeam <slongerbeam@gmail.com> - 2016-07-23 19:10 +0200
Re: [PATCH v3 3/9] media: adv7180: add support for NEWAVMODE Steve Longerbeam <steve_longerbeam@mentor.com> - 2016-07-25 20:00 +0200
Re: [PATCH v3 3/9] media: adv7180: add support for NEWAVMODE Ian Arkver <ian.arkver.dev@gmail.com> - 2016-07-25 21:40 +0200
Re: [PATCH v3 3/9] media: adv7180: add support for NEWAVMODE Steve Longerbeam <steve_longerbeam@mentor.com> - 2016-07-26 00:10 +0200
Re: [PATCH v3 3/9] media: adv7180: add support for NEWAVMODE Ian Arkver <ian.arkver.dev@gmail.com> - 2016-07-26 00:30 +0200
Re: [PATCH v3 3/9] media: adv7180: add support for NEWAVMODE Steve Longerbeam <slongerbeam@gmail.com> - 2016-07-26 04:00 +0200
csiph-web