All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Figa <tfiga@google.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>,
	Cao Bing Bu <bingbu.cao@intel.com>,
	"Mani, Rajmohan" <rajmohan.mani@intel.com>,
	bingbu.cao@linux.intel.com, "Qiu,
	Tian Shu" <tian.shu.qiu@intel.com>,
	"Zheng, Jian Xu" <jian.xu.zheng@intel.com>,
	"Rapolu, Chiranjeevi" <chiranjeevi.rapolu@intel.com>
Subject: Re: [PATCH v7] media: add imx319 camera sensor driver
Date: Fri, 12 Oct 2018 13:51:10 +0900	[thread overview]
Message-ID: <CAAFQd5Cv1r_d01ZM2z4wwyGNtrgXnfVivGXxqoVO5eiCQhPauQ@mail.gmail.com> (raw)
In-Reply-To: <1537929738-27745-1-git-send-email-bingbu.cao@intel.com>

Hi Sakari,

On Wed, Sep 26, 2018 at 11:38 AM <bingbu.cao@intel.com> wrote:
>
> From: Bingbu Cao <bingbu.cao@intel.com>
>
> Add a v4l2 sub-device driver for the Sony imx319 image sensor.
> This is a camera sensor using the i2c bus for control and the
> csi-2 bus for data.
>
> This driver supports following features:
> - manual exposure and analog/digital gain control support
> - vblank/hblank control support
> -  4 test patterns control support
> - vflip/hflip control support (will impact the output bayer order)
> - support following resolutions:
>     - 3264x2448, 3280x2464 @ 30fps
>     - 1936x1096, 1920x1080 @ 60fps
>     - 1640x1232, 1640x922, 1296x736, 1280x720 @ 120fps
> - support 4 bayer orders output (via change v/hflip)
>     - SRGGB10(default), SGRBG10, SGBRG10, SBGGR10
>
> Cc: Tomasz Figa <tfiga@chromium.org>
> Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
> Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
> Signed-off-by: Tianshu Qiu <tian.shu.qiu@intel.com>
>
> ---
>
> This patch is based on sakari's media-tree git:
> https://git.linuxtv.org/sailus/media_tree.git/log/?h=for-4.20-1
>
> Changes from v5:
>  - add some comments for gain calculation
>  - use lock to protect the format
>  - fix some style issues
>
> Changes from v4 to v5:
>  - use single PLL for all internal clocks
>  - change link frequency to 482.4MHz
>  - adjust frame timing for 2x2 binning modes
>    and enlarge frame readout time
>  - get CSI-2 link frequencies and external clock
>    from firmware

If I remember correctly, that was suggested by you. Why do we need to
specify link frequency in firmware if it's fully configured by the
driver, with the only external dependency being the external clock?

We're having problems with firmware listing the link frequency from v4
and we can't easily change it anymore to report the new one. I feel
like this dependency on the firmware here is unnecessary, as long as
the external clock frequency matches.

Best regards,
Tomasz

  parent reply	other threads:[~2018-10-12 12:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-26  2:42 [PATCH v7] media: add imx319 camera sensor driver bingbu.cao
2018-09-26  7:57 ` Sakari Ailus
2018-09-26  8:08   ` Bing Bu Cao
2018-10-12  4:51 ` Tomasz Figa [this message]
2018-10-12  7:58   ` Sakari Ailus
2018-10-12  8:06     ` Tomasz Figa
2018-10-16 11:50       ` Sakari Ailus
2018-10-18  3:24         ` Tomasz Figa
2018-10-20 21:52           ` Sakari Ailus
2018-10-21  5:29             ` Tomasz Figa

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=CAAFQd5Cv1r_d01ZM2z4wwyGNtrgXnfVivGXxqoVO5eiCQhPauQ@mail.gmail.com \
    --to=tfiga@google.com \
    --cc=bingbu.cao@intel.com \
    --cc=bingbu.cao@linux.intel.com \
    --cc=chiranjeevi.rapolu@intel.com \
    --cc=jian.xu.zheng@intel.com \
    --cc=linux-media@vger.kernel.org \
    --cc=rajmohan.mani@intel.com \
    --cc=sakari.ailus@linux.intel.com \
    --cc=tian.shu.qiu@intel.com \
    /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.