[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <D2AYUH4XY0SK.1SYOUCT0PLAKT@kernel.org>
Date: Thu, 27 Jun 2024 19:12:52 +0200
From: "Michael Walle" <mwalle@...nel.org>
To: "Ayush Singh" <ayush@...gleboard.org>, "Mark Brown"
<broonie@...nel.org>, "Vaishnav M A" <vaishnav@...gleboard.org>, "Rob
Herring" <robh@...nel.org>, "Krzysztof Kozlowski" <krzk+dt@...nel.org>,
"Conor Dooley" <conor+dt@...nel.org>, "Derek Kiernan"
<derek.kiernan@....com>, "Dragan Cvetic" <dragan.cvetic@....com>, "Arnd
Bergmann" <arnd@...db.de>, "Greg Kroah-Hartman"
<gregkh@...uxfoundation.org>, "Nishanth Menon" <nm@...com>, "Vignesh
Raghavendra" <vigneshr@...com>, "Tero Kristo" <kristo@...nel.org>, "Andrew
Lunn" <andrew@...n.ch>, <jkridner@...gleboard.org>,
<robertcnelson@...gleboard.org>
Cc: <linux-spi@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<devicetree@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH v5 1/7] dt-bindings: connector: Add mikrobus-connector
Hi,
Could you give us a DT snippet of how this should look like with a
board?
On Thu Jun 27, 2024 at 6:26 PM CEST, Ayush Singh wrote:
> + board:
> + description: board attached to mikrobus connector
> + $ref: /schemas/types.yaml#/definitions/phandle-array
Shouldn't this be a subnode of the connector?
i.e.
connector {
compatible = "mikrobus-connector";
// phandles to the parent controllers
spi {
temp-sensor@0 {
compatible = "maxim,max31855k";
reg = <0>;
};
};
i2c {
..
};
};
I don't think you can introduce a new
compatible = "maxim,max31855k", "mikrobus,spi";
if there is already a binding for "maxim,max31855k". But I might be
wrong. Why is this compatible needed at all?
Also, the mikrobus-connector driver could translate the chipselects.
-michael
Powered by blists - more mailing lists