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


Groups > linux.kernel > #1435515

Re: Portable Device Tree Connector -- conceptual

From Frank Rowand <frowand.list@gmail.com>
Newsgroups linux.kernel
Subject Re: Portable Device Tree Connector -- conceptual
Date 2016-07-01 19:30 +0200
Message-ID <rQaqm-ZW-23@gated-at.bofh.it> (permalink)
References <rPUbT-7Nl-9@gated-at.bofh.it> <rQ9ND-xE-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 07/01/16 09:44, Frank Rowand wrote:
> On 06/30/16 17:02, Frank Rowand wrote:
>> Hi All,
>>
>> I've been trying to wrap my head around what Pantelis and Rob have written
>> on the subject of a device tree representation of a connector for a
>> daughter board to connect to (eg a cape or a shield) and the representation
>> of the daughter board.  (Or any other physically pluggable object.)
>>
>> After trying to make sense of what had been written (or presented via slides
>> at a conference - thanks Pantelis!), I decided to go back to first principals
>> of what we are trying to accomplish.  I came up with some really simple bogus
>> examples to try to explain what my thought process is.
> 
> I was trying to keep the example as simple as possible because I wanted to
> focus on the concept.  I was trying to avoid getting into a big discussion
> about implementation details until getting feedback on the concepts.
> 
> Secondly, thinking through the whole thing was complex enough for me that
> I missed some obvious answers to my hand waving.
> 
> So in this reply, I will add the obvious fix to my hand waving, and add
> some complexity with one more important implementation detail.

< big snip >


>> Of course the overlay loader will also have to be modified to understand
>> the new information.
>>
>> Exact format of the __symbols__ and __fixups__ are implementation
>> details, I am just trying to present the model.
>>
>> Ignoring device tree source syntax and dtc implementation issues, does
>> this conceptual model look more straight forward and a better direction
>> for how to represent connectors?
>>
>> -Frank
>>
> 
> One more detail is how to ensure that a host board connector and a
> daughter board connector match (pin meaning, electrical characteristics,
> etc).  Both the host board connector .dtb node and the daughter board
> connector .dtbo node would have a compatible property that was specific
> to a connector specification.  For instance, there could be a
> "96boards,40-pin-connector" and a "96boards,60-pin-connector".  If a
> new incompatible version of the connector spec was created, a new
> compatible would have to be created, for example "96boards,40-pin-connector-gen2".

One more detail.

What if the host board has two identical connectors and you want to plug two
identical daughter boards into the two host board connectors.

The host board dts will have to have two different connector nodes,
because the connector nodes connect to whatever host board hardware
they connect to.

The daughter board dts _should_ be identical for each of the daughter
boards.  The only difference is which connector node on the host
board the daughter board connecter node has to be remapped to.  This
could be specified by remapping info supplied to the overlay manager,
such as "map overlay node 'connector_1' to host node 'connector_7'".
Of course the true implementation would not be this verbose and
hard to parse - I'm just trying to show the concept here.

-Frank

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


Thread

Portable Device Tree Connector -- conceptual Frank Rowand <frowand.list@gmail.com> - 2016-07-01 02:10 +0200
  Re: Portable Device Tree Connector -- conceptual Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2016-07-01 13:10 +0200
    Re: Portable Device Tree Connector -- conceptual Frank Rowand <frowand.list@gmail.com> - 2016-07-01 18:40 +0200
      Re: Portable Device Tree Connector -- conceptual Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2016-07-01 19:10 +0200
        Re: Portable Device Tree Connector -- conceptual Frank Rowand <frowand.list@gmail.com> - 2016-07-01 20:30 +0200
          Re: Portable Device Tree Connector -- conceptual Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2016-07-01 21:50 +0200
            Re: Portable Device Tree Connector -- conceptual Frank Rowand <frowand.list@gmail.com> - 2016-07-01 23:20 +0200
    Re: Portable Device Tree Connector -- conceptual David Gibson <david@gibson.dropbear.id.au> - 2016-07-07 07:20 +0200
  Re: Portable Device Tree Connector -- conceptual Frank Rowand <frowand.list@gmail.com> - 2016-07-01 18:50 +0200
    Re: Portable Device Tree Connector -- conceptual Frank Rowand <frowand.list@gmail.com> - 2016-07-01 19:30 +0200

csiph-web