From: "Niklas Söderlund" <niklas.soderlund@ragnatech.se>
To: Simon Horman <horms@verge.net.au>
Cc: Jacopo Mondi <jacopo+renesas@jmondi.org>,
laurent.pinchart@ideasonboard.com, geert@glider.be,
linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH v2 4/4] ARM: dts: rcar-gen2: Remove unused VIN properties
Date: Mon, 4 Jun 2018 13:31:54 +0200 [thread overview]
Message-ID: <20180604113154.GC19674@bigcity.dyn.berto.se> (raw)
In-Reply-To: <20180604095308.pnlmd4aalxceuozq@verge.net.au>
Hi Simon,
On 2018-06-04 11:53:09 +0200, Simon Horman wrote:
> On Mon, May 21, 2018 at 07:27:43PM +0200, Jacopo Mondi wrote:
>
> > The 'bus-width' and 'pclk-sample' properties are not parsed by the VIN
> > driver and only confuse users. Remove them in all Gen2 SoC that use
> > them.
>
> I think that the rational for removing properties (or not) is their
> presence in the bindings as DT should describe the hardware and not the
> current state of the driver implementation.
>
> I see that 'bus-width' may be removed from the binding, as per discussion
> in a different sub-thread. I'd like that discussion to reach a conclusion
> before considering that part of this patch any further.
>
> And I'd appreciate Niklas's feedback on the 'pclk-sample' portion.
My thoughts on 'pclk-sample' is the same as for 'bus-width', they
describe the hardware. So we either should keep or remove both. As our
discussion in the other thread I'm leaning towards that both should be
kept.
>
> > Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
> > ---
> > arch/arm/boot/dts/r8a7790-lager.dts | 3 ---
> > arch/arm/boot/dts/r8a7791-koelsch.dts | 3 ---
> > arch/arm/boot/dts/r8a7791-porter.dts | 1 -
> > arch/arm/boot/dts/r8a7793-gose.dts | 3 ---
> > arch/arm/boot/dts/r8a7794-alt.dts | 1 -
> > arch/arm/boot/dts/r8a7794-silk.dts | 1 -
> > 6 files changed, 12 deletions(-)
> >
> > diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
> > index 092610e..9cdabfcf 100644
> > --- a/arch/arm/boot/dts/r8a7790-lager.dts
> > +++ b/arch/arm/boot/dts/r8a7790-lager.dts
> > @@ -885,10 +885,8 @@
> > port {
> > vin0ep2: endpoint {
> > remote-endpoint = <&adv7612_out>;
> > - bus-width = <24>;
> > hsync-active = <0>;
> > vsync-active = <0>;
> > - pclk-sample = <1>;
> > data-active = <1>;
> > };
> > };
> > @@ -904,7 +902,6 @@
> > port {
> > vin1ep0: endpoint {
> > remote-endpoint = <&adv7180>;
> > - bus-width = <8>;
> > };
> > };
> > };
> > diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
> > index 8ab793d..033c9e3 100644
> > --- a/arch/arm/boot/dts/r8a7791-koelsch.dts
> > +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
> > @@ -857,10 +857,8 @@
> > port {
> > vin0ep2: endpoint {
> > remote-endpoint = <&adv7612_out>;
> > - bus-width = <24>;
> > hsync-active = <0>;
> > vsync-active = <0>;
> > - pclk-sample = <1>;
> > data-active = <1>;
> > };
> > };
> > @@ -875,7 +873,6 @@
> > port {
> > vin1ep: endpoint {
> > remote-endpoint = <&adv7180>;
> > - bus-width = <8>;
> > };
> > };
> > };
> > diff --git a/arch/arm/boot/dts/r8a7791-porter.dts b/arch/arm/boot/dts/r8a7791-porter.dts
> > index a01101b..c16e870 100644
> > --- a/arch/arm/boot/dts/r8a7791-porter.dts
> > +++ b/arch/arm/boot/dts/r8a7791-porter.dts
> > @@ -388,7 +388,6 @@
> > port {
> > vin0ep: endpoint {
> > remote-endpoint = <&adv7180>;
> > - bus-width = <8>;
> > };
> > };
> > };
> > diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r8a7793-gose.dts
> > index aa209f6..60aaddb 100644
> > --- a/arch/arm/boot/dts/r8a7793-gose.dts
> > +++ b/arch/arm/boot/dts/r8a7793-gose.dts
> > @@ -765,10 +765,8 @@
> > port {
> > vin0ep2: endpoint {
> > remote-endpoint = <&adv7612_out>;
> > - bus-width = <24>;
> > hsync-active = <0>;
> > vsync-active = <0>;
> > - pclk-sample = <1>;
> > data-active = <1>;
> > };
> > };
> > @@ -784,7 +782,6 @@
> > port {
> > vin1ep: endpoint {
> > remote-endpoint = <&adv7180_out>;
> > - bus-width = <8>;
> > };
> > };
> > };
> > diff --git a/arch/arm/boot/dts/r8a7794-alt.dts b/arch/arm/boot/dts/r8a7794-alt.dts
> > index e170275..8ed7a71 100644
> > --- a/arch/arm/boot/dts/r8a7794-alt.dts
> > +++ b/arch/arm/boot/dts/r8a7794-alt.dts
> > @@ -388,7 +388,6 @@
> > port {
> > vin0ep: endpoint {
> > remote-endpoint = <&adv7180>;
> > - bus-width = <8>;
> > };
> > };
> > };
> > diff --git a/arch/arm/boot/dts/r8a7794-silk.dts b/arch/arm/boot/dts/r8a7794-silk.dts
> > index 7808aae..6adfcd6 100644
> > --- a/arch/arm/boot/dts/r8a7794-silk.dts
> > +++ b/arch/arm/boot/dts/r8a7794-silk.dts
> > @@ -477,7 +477,6 @@
> > port {
> > vin0ep: endpoint {
> > remote-endpoint = <&adv7180>;
> > - bus-width = <8>;
> > };
> > };
> > };
> > --
> > 2.7.4
> >
--
Regards,
Niklas Söderlund
next prev parent reply other threads:[~2018-06-04 11:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-21 17:27 [PATCH v2 0/4] media: rcar-vin: Brush endpoint properties Jacopo Mondi
2018-05-21 17:27 ` [PATCH v2 1/4] dt-bindings: media: rcar-vin: Describe optional ep properties Jacopo Mondi
2018-05-22 15:30 ` Niklas Söderlund
2018-05-21 17:27 ` [PATCH v2 2/4] dt-bindings: media: rcar-vin: Document data-active Jacopo Mondi
2018-05-22 15:32 ` Niklas Söderlund
2018-05-21 17:27 ` [PATCH v2 3/4] media: rcar-vin: Handle CLOCKENB pin polarity Jacopo Mondi
2018-05-22 15:36 ` Niklas Söderlund
2018-05-21 17:27 ` [PATCH v2 4/4] ARM: dts: rcar-gen2: Remove unused VIN properties Jacopo Mondi
2018-06-04 9:53 ` Simon Horman
2018-06-04 11:31 ` Niklas Söderlund [this message]
2018-06-04 12:25 ` Simon Horman
2018-06-04 12:57 ` jacopo mondi
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=20180604113154.GC19674@bigcity.dyn.berto.se \
--to=niklas.soderlund@ragnatech.se \
--cc=geert@glider.be \
--cc=horms@verge.net.au \
--cc=jacopo+renesas@jmondi.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).