Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1218097

Re: [PATCH] ARM: dts: Add ddc i2c reference to veyron

From Russell King - ARM Linux <linux@arm.linux.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH] ARM: dts: Add ddc i2c reference to veyron
Date 2015-09-03 10:30 +0200
Message-ID <q4y4a-6wl-5@gated-at.bofh.it> (permalink)
References <q4nLr-bH-5@gated-at.bofh.it> <q4qpX-3ZU-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Sep 02, 2015 at 07:13:24PM -0500, Rob Herring wrote:
> On Wed, Sep 2, 2015 at 4:25 PM, Douglas Anderson <dianders@chromium.org> wrote:
> > The ddc-i2c-bus property was missing from the veyron dtsi file since
> > downstream the ddc-i2c-bus was still being specified in rk3288.dtsi and
> > nobody noticed when the veyron dtsi was sent upstream.  Add it.
> >
> > Signed-off-by: Douglas Anderson <dianders@chromium.org>
> > ---
> > Note: I noticed that this was wrong but I don't currently have
> > graphics up and running on upstream on veyron.  Posting this anyway
> > since it's pretty clear that it's needed.  If someone else wants to
> > try it out that'd be nice, otherwise I'll put it on my list to figure
> > out how to get myself setup for graphics upstream.  ;)
> 
> Based on your other patch, this is temporary, right?
> 
> I've been looking at DRM a lot lately. I think specifying the i2c bus
> in the hdmi chip or IP block node is wrong. If the I2C host is
> separate from the HDMI block, then it's only connection is to the HDMI
> connector. So the I2C host to the connector relationship is what the
> DT should describe. HPD gpio is similar. Now if the HDMI bridge
> controls DDC and HPD directly, then we don't need to describe those
> connections.

Except... we don't generally model connectors under DRM as a general
rule.  (The fbdev video connector stuff happened without very much
publicity afaics.)

It's not always appropriate to split it out from the bridge in any
case.  Consider something like a TDA998x where the TDA998x itself
takes care of reading the DDC bus, and doesn't provide an I2C-like
interface.  If you try and split that into "bridge" or "encoder" and
"connector" you end up having to invent a new kind of I2C thing which
isn't an I2C adapter, or somehow squeezing an I2C adapter which isn't
into the I2C layer.

The TDA998x provides an interface to read a block of EDID at a time.
It always does the page register access.  You don't get to read it
byte wise.  It doesn't fit into I2C as an adapter at all.

-- 
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] ARM: dts: Add ddc i2c reference to veyron Douglas Anderson <dianders@chromium.org> - 2015-09-02 23:30 +0200
  Re: [PATCH] ARM: dts: Add ddc i2c reference to veyron Rob Herring <robherring2@gmail.com> - 2015-09-03 02:20 +0200
    Re: [PATCH] ARM: dts: Add ddc i2c reference to veyron Doug Anderson <dianders@chromium.org> - 2015-09-03 02:30 +0200
    Re: [PATCH] ARM: dts: Add ddc i2c reference to veyron Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-09-03 10:30 +0200
      Re: [PATCH] ARM: dts: Add ddc i2c reference to veyron Rob Herring <robherring2@gmail.com> - 2015-09-03 16:50 +0200
        Re: [PATCH] ARM: dts: Add ddc i2c reference to veyron Russell King - ARM Linux <linux@arm.linux.org.uk> - 2015-09-03 17:20 +0200
          Re: [PATCH] ARM: dts: Add ddc i2c reference to veyron Rob Herring <robherring2@gmail.com> - 2015-09-03 18:00 +0200
            Re: [PATCH] ARM: dts: Add ddc i2c reference to veyron Doug Anderson <dianders@chromium.org> - 2015-09-03 18:10 +0200
              Re: [PATCH] ARM: dts: Add ddc i2c reference to veyron Lucas Stach <l.stach@pengutronix.de> - 2015-09-03 18:20 +0200
                Re: [PATCH] ARM: dts: Add ddc i2c reference to veyron Doug Anderson <dianders@chromium.org> - 2015-09-03 18:30 +0200
          Re: [PATCH] ARM: dts: Add ddc i2c reference to veyron Doug Anderson <dianders@chromium.org> - 2015-09-03 18:00 +0200
  Re: [PATCH] ARM: dts: Add ddc i2c reference to veyron Doug Anderson <dianders@chromium.org> - 2015-09-03 23:10 +0200
    Re: [PATCH] ARM: dts: Add ddc i2c reference to veyron Heiko Stuebner <heiko@sntech.de> - 2015-09-04 00:10 +0200
    Re: [PATCH] ARM: dts: Add ddc i2c reference to veyron Brian Norris <briannorris@chromium.org> - 2015-09-04 01:00 +0200

csiph-web