From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: "Lad, Prabhakar" <prabhakar.csengg@gmail.com>
Cc: Hans Verkuil <hverkuil@xs4all.nl>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
linux-media <linux-media@vger.kernel.org>
Subject: Re: [Query] : DT: Adding mezzanine board
Date: Wed, 19 Feb 2020 14:08:08 +0200 [thread overview]
Message-ID: <20200219120808.GA5070@pendragon.ideasonboard.com> (raw)
In-Reply-To: <CA+V-a8tnsxJP2CfwgrkPum6mYQEEP9+0=Fap4dFu-3x+fXdadw@mail.gmail.com>
Hi Prabhakar,
On Wed, Feb 19, 2020 at 11:42:42AM +0000, Lad, Prabhakar wrote:
> Hi,
>
> I am working Renesas RZ/Gx platforms, these boards have support for
> connecting MIPI adapter mezzanine board [1]. To enable this support I
> am planning to create a dtsi which will include the board file and
> enable the necessary VIN/CSI and the camera endpoint.
>
> For example: to add support for G2E board I would create a file named
> r8a774c0-cat874-mipi-adapter.dtsi which will include the board file
> r8a774c0.dtsi and enable necessary VIN/CSI/Camera endpoint and when
> user wants to enable this support for the G2E board he could just
> include r8a774c0-cat874-mipi-adapter.dtsi to r8a774c0-cat874.dts
>
> Would this be a good approach or is there an alternative way which I am missing.
DT overlays are another option. They can't be applied on a running
system though. It doesn't seem like the mezzanine boards can be detected
by the boot loader, so overlays can't be applied automatically before
the kernel is started. One option would still be to provide them to
U-Boot and apply a selected overlay based on environment variables.
Another option would be to apply overlays as part of the build process,
which shouldn't require modifying the DT sources to #include the .dtsi
file for the mezzanine board.
> [1] https://github.com/Kevin-WSCU/96Boards-Camera/blob/master/AISTARVISION%20MIPI%20Adapter%20V2.1/AISTARVISION%20MIPI%20Adapter%20V2.1.pdf
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2020-02-19 12:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-19 11:42 [Query] : DT: Adding mezzanine board Lad, Prabhakar
2020-02-19 12:08 ` Laurent Pinchart [this message]
2020-02-19 12:25 ` Lad, Prabhakar
2020-02-19 12:32 ` Laurent Pinchart
2020-02-19 13:56 ` Lad, Prabhakar
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=20200219120808.GA5070@pendragon.ideasonboard.com \
--to=laurent.pinchart@ideasonboard.com \
--cc=hverkuil@xs4all.nl \
--cc=linux-media@vger.kernel.org \
--cc=prabhakar.csengg@gmail.com \
--cc=sakari.ailus@linux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox