From: Conor Dooley <conor@kernel.org>
To: Lukasz Majewski <lukma@denx.de>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof@spud, Kozlowski@spud,
Conor Dooley <conor+dt@kernel.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Heiko Stuebner <heiko@sntech.de>,
Aradhya Bhatia <a-bhatia1@ti.com>,
rafal@milecki.pl, devicetree@vger.kernel.org,
Guenter Roeck <linux@roeck-us.net>,
Noah Wang <noahwang.wang@outlook.com>,
linux-kernel@vger.kernel.org,
Peter Yin <peteryin.openbmc@gmail.com>,
Naresh Solanki <naresh.solanki@9elements.com>,
Alex Vdovydchenko <xzeol@yahoo.com>,
Grant Peltier <grantpeltier93@gmail.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Subject: Re: [PATCH 2/2] dt-bindings: trivial-devices: Document SPI measurement on LWE boards
Date: Tue, 25 Feb 2025 23:37:43 +0000 [thread overview]
Message-ID: <20250225-despair-rural-dc10216005f4@spud> (raw)
In-Reply-To: <20250224202131.1b77a23d@wsk>
[-- Attachment #1: Type: text/plain, Size: 2199 bytes --]
On Mon, Feb 24, 2025 at 08:21:31PM +0100, Lukasz Majewski wrote:
> Hi Conor,
>
> > On Fri, Feb 21, 2025 at 09:56:59PM +0100, Lukasz Majewski wrote:
> > > Hi Conor,
> > >
> > > > On Fri, Feb 21, 2025 at 04:54:18PM +0100, Lukasz Majewski wrote:
> > > > > The measurement device on Liebherr's (LWE) boards is used to
> > > > > monitor the overall state of the device. It does have SPI
> > > > > interface to communicate with Linux host via spidev driver.
> > > > > Document the SPI DT binding as trivial SPI device.
> > > > >
> > > > > Signed-off-by: Lukasz Majewski <lukma@denx.de>
> > > > > ---
> > > > > Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
> > > > > 1 file changed, 2 insertions(+)
> > > > >
> > > > > diff --git
> > > > > a/Documentation/devicetree/bindings/trivial-devices.yaml
> > > > > b/Documentation/devicetree/bindings/trivial-devices.yaml index
> > > > > fadbd3c041c8..5d736a9792c2 100644 ---
> > > > > a/Documentation/devicetree/bindings/trivial-devices.yaml +++
> > > > > b/Documentation/devicetree/bindings/trivial-devices.yaml @@
> > > > > -161,6 +161,8 @@ properties:
> > > > > - jedec,spd5118
> > > > > # Linear Technology LTC2488
> > > > > - lineartechnology,ltc2488
> > > > > + # Liebherr on-board measurement SPI device
> > > > > + - lwe,btt
> > ^^
> > Are these two trailing spaces an artefact of the mail?
> >
>
> No, there shall not be any.
>
> > > >
> > > > How does "btt" translate to what the device actually is? Seems
> > > > kinda random!
> > >
> > > Btt is a family of devices (bttc, btt3, xea) - to control heavy duty
> > > machines.
> > >
> > > That was the original codename - conceived probably 30+ years ago.
> >
> > If there's 3 different devices, how come there aren't 3 compatibles, 1
> > for each?
>
> There are devices from a single "family" of them, but different.
>
> They are using similar approach for spidev devices connected.
"Similar" means different, and therefore you need to differentiate
between devices. In turn that means they should have distinct
compatibles.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2025-02-25 23:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-21 15:54 [PATCH 1/2] dt-bindings: vendor-prefixes: Add prefix for Liebherr-Werk Ehingen GmbH Lukasz Majewski
2025-02-21 15:54 ` [PATCH 2/2] dt-bindings: trivial-devices: Document SPI measurement on LWE boards Lukasz Majewski
2025-02-21 16:50 ` Conor Dooley
2025-02-21 20:56 ` Lukasz Majewski
2025-02-24 18:58 ` Conor Dooley
2025-02-24 19:21 ` Lukasz Majewski
2025-02-25 23:37 ` Conor Dooley [this message]
2025-02-21 16:49 ` [PATCH 1/2] dt-bindings: vendor-prefixes: Add prefix for Liebherr-Werk Ehingen GmbH Conor Dooley
2025-02-21 20:54 ` Lukasz Majewski
2025-02-22 8:14 ` Krzysztof Kozlowski
2025-02-22 12:58 ` Lukasz Majewski
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=20250225-despair-rural-dc10216005f4@spud \
--to=conor@kernel.org \
--cc=Kozlowski@spud \
--cc=Krzysztof@spud \
--cc=a-bhatia1@ti.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=grantpeltier93@gmail.com \
--cc=heiko@sntech.de \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=lukma@denx.de \
--cc=naresh.solanki@9elements.com \
--cc=neil.armstrong@linaro.org \
--cc=noahwang.wang@outlook.com \
--cc=peteryin.openbmc@gmail.com \
--cc=rafal@milecki.pl \
--cc=robh@kernel.org \
--cc=xzeol@yahoo.com \
/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