All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: "H. Nikolaus Schaller" <hns@goldelico.com>
Cc: Linux-OMAP <linux-omap@vger.kernel.org>,
	Michael Allwright <allsey87@gmail.com>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Mauro Carvalho Chehab <mchehab@osg.samsung.com>,
	Sakari Ailus <sakari.ailus@iki.fi>,
	linux-media@vger.kernel.org
Subject: Re: iss: camera interface omap5
Date: Mon, 7 Oct 2019 09:35:41 -0700	[thread overview]
Message-ID: <20191007163541.GT5610@atomide.com> (raw)
In-Reply-To: <EDF29A32-77BB-4346-BBCC-C12F2BB4745E@goldelico.com>

* H. Nikolaus Schaller <hns@goldelico.com> [191004 16:27]:
> Hi Tony,
> 
> > Am 04.10.2019 um 18:11 schrieb Tony Lindgren <tony@atomide.com>:
> > 
> > * H. Nikolaus Schaller <hns@goldelico.com> [191004 07:25]:
> >> Hi Tony,
> >> is there a similar node for omap5 comparable to this for omap4:
> >> 
> >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/omap4.dtsi?h=v5.4-rc1#n176
> 
> (I just noticed there seems to be a missing empty line between 216 and 217)
> 
> > 
> > Not sure if it's the same interface as on omap4, but at
> > least TRM has "8.1.3.1 ISS Instance Summary" at 0x52000000.
> 
> Ok.
> 
> IMHO there was a patch where someone got it working a while ago so it is likely the same:
> 
> 	https://e2e.ti.com/support/interface/f/138/t/647460
> 
> Now I wonder how it can be updated to current target-module style.
> 
> Is it correct to do it similar to omap4 and replace
> 
> 	/* No child device binding, driver in staging */
> 
> by a child node that is compatible to "ti,omap4-iss".
> And there define a reg record like in the example on e2e?
> I.e. split into sysc registers for the target-module@52000000
> and driver specific registers in the child node?

Yeah something like that. Michael Alwright has a patch at [0]
with improvments for the iss staging driver to get it working.
Have you seen that one?

> Regarding clocks they likely have to stay with the target-module@52000000
> node, right?

I think it should be just something like this for
the target-module (on top of Michael's changes):

clocks = <&iss_clkctrl OMAP4_ISS_CLKCTRL 0>;
clock-names = "fck";

Then in the child node:

clocks = <&iss_clkctrl OMAP4_ISS_CLKCTRL 8>;
clock-names = "ctrlclk";

> And what about the dma nodes? Also keep in the target-module@52000000?

Those should be all in the child iss driver(s).

In general, it sounds like the iss is a private interconnect with
a control module for clocks etc, so doing it as multiple device
drivers probably makes sense.

Regards,

Tony

[0] https://github.com/allsey87/meta-builderbot/blob/master/recipes-kernel/linux/linux-stable-4.16/0008-omap4iss-Fix-multiple-bugs-and-use-device-tree.patch

           reply	other threads:[~2019-10-07 16:35 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <EDF29A32-77BB-4346-BBCC-C12F2BB4745E@goldelico.com>]

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=20191007163541.GT5610@atomide.com \
    --to=tony@atomide.com \
    --cc=allsey87@gmail.com \
    --cc=hns@goldelico.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=mchehab@osg.samsung.com \
    --cc=sakari.ailus@iki.fi \
    /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.