devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>,
	devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org
Subject: Re: [PATCH 2/2] arm64: dts: renesas: draak: Add overlay for CVBS input
Date: Thu, 8 Jun 2023 15:16:46 +0200	[thread overview]
Message-ID: <ZIHUvqYh1c6Rz_Ry@oden.dyn.berto.se> (raw)
In-Reply-To: <CAMuHMdW2ZUJXmYeKck5xaD04j_EtEtw7ndQfho-ynbd=-4mXig@mail.gmail.com>

Hi Geert,

On 2023-06-08 08:54:26 +0200, Geert Uytterhoeven wrote:
> Hi Niklas,
> 
> Resurrecting this thread...

I still have to resurrect work on this series, but it looks like I have 
to do so in next quarter. I will then try your suggestion of disabling 
the node, thanks for the suggestion.

> 
> On Sat, Feb 11, 2023 at 5:58 PM Niklas Söderlund
> <niklas.soderlund+renesas@ragnatech.se> wrote:
> > From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> >
> > The Draak board has an ADV7180 CVBS decoder and an ADV7612 HDMI decoder,
> > both connected to the same VIN input. DIP switches are used to select
> > one of the two devices, with the HDMI decoder being the default. Add an
> > overlay that selects the CVBS decoder.
> >
> > Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> > [Niklas: Inverted it from HDMI to CVBS]
> > Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
> 
> > --- a/arch/arm64/boot/dts/renesas/Makefile
> > +++ b/arch/arm64/boot/dts/renesas/Makefile
> > @@ -87,5 +87,6 @@ dtb-$(CONFIG_ARCH_R9A07G054) += r9a07g054l2-smarc.dtb
> >
> >  dtb-$(CONFIG_ARCH_R9A09G011) += r9a09g011-v2mevk2.dtb
> >
> > +dtb-$(CONFIG_ARCH_RCAR_GEN3) += draak-cvbs-input.dtbo
> >  dtb-$(CONFIG_ARCH_RCAR_GEN3) += draak-ebisu-panel-aa104xd12.dtbo
> >  dtb-$(CONFIG_ARCH_RCAR_GEN3) += salvator-panel-aa104xd12.dtbo
> > diff --git a/arch/arm64/boot/dts/renesas/draak-cvbs-input.dtso b/arch/arm64/boot/dts/renesas/draak-cvbs-input.dtso
> > new file mode 100644
> > index 000000000000..b833c58c2029
> > --- /dev/null
> > +++ b/arch/arm64/boot/dts/renesas/draak-cvbs-input.dtso
> > @@ -0,0 +1,33 @@
> > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> > +/*
> > + * Copyright 2023 Ideas on Board Oy
> > + *
> > + * Device tree overlay for the Draak board, to enable CVBS input. This requires
> > + * setting DIP switches SW49, SW50, SW51 and SW52 to OFF, and SW53 and SW54 to
> > + * ON.
> > + */
> > +
> > +/dts-v1/;
> > +/plugin/;
> > +
> > +&adv7180_out {
> > +       remote-endpoint = <&vin4_in>;
> > +};
> > +
> > +&i2c0 {
> > +       hdmi-decoder@4c {
> > +               ports {
> > +                       port@2 {
> > +                               /delete-node/ endpoint;
> 
> I'm afraid deleting a node doesn't work...
> Does it work if you change its status to disabled instead?
> 
> > +                       };
> > +               };
> > +       };
> > +};
> 
> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> -- 
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds

-- 
Kind Regards,
Niklas Söderlund

      reply	other threads:[~2023-06-08 13:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-11 16:57 [PATCH 0/2] arm64: dts: renesas: draak: Make HDMI default video source Niklas Söderlund
2023-02-11 16:57 ` [PATCH 1/2] arm64: dts: renesas: draak: Make HDMI the default video input Niklas Söderlund
2023-02-11 21:46   ` Laurent Pinchart
2023-02-11 16:57 ` [PATCH 2/2] arm64: dts: renesas: draak: Add overlay for CVBS input Niklas Söderlund
2023-02-11 21:37   ` Laurent Pinchart
2023-02-14  9:46   ` Geert Uytterhoeven
2023-02-14  9:52     ` Laurent Pinchart
2023-06-08  6:54   ` Geert Uytterhoeven
2023-06-08 13:16     ` Niklas Söderlund [this message]

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=ZIHUvqYh1c6Rz_Ry@oden.dyn.berto.se \
    --to=niklas.soderlund+renesas@ragnatech.se \
    --cc=devicetree@vger.kernel.org \
    --cc=geert@linux-m68k.org \
    --cc=laurent.pinchart+renesas@ideasonboard.com \
    --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).