From: Lukasz Majewski <lukma@denx.de>
To: Conor Dooley <conor@kernel.org>
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: Mon, 24 Feb 2025 20:21:31 +0100 [thread overview]
Message-ID: <20250224202131.1b77a23d@wsk> (raw)
In-Reply-To: <20250224-crux-tabasco-4107deee169e@spud>
[-- Attachment #1: Type: text/plain, Size: 2948 bytes --]
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.
>
> >
> > > Also, where is patch 3, adding the lwe,btt to the spidev driver so
> > > that it will probe?
> >
> > I've posted it to Mark Brown (and also linux-spi ML) for review.
> >
> > >
> > > Cheers,
> > > Conor.
> > >
> > > > # 5 Bit Programmable, Pulse-Width Modulator
> > > > - maxim,ds1050
> > > > # 10 kOhm digital potentiometer with I2C interface
> > > > --
> > > > 2.39.5
> > > >
> >
> >
> >
> >
> > Best regards,
> >
> > Lukasz Majewski
> >
> > --
> >
> > DENX Software Engineering GmbH, Managing Director: Erika Unter
> > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell,
> > Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email:
> > lukma@denx.de
>
>
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2025-02-24 19:21 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 [this message]
2025-02-25 23:37 ` Conor Dooley
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=20250224202131.1b77a23d@wsk \
--to=lukma@denx.de \
--cc=Kozlowski@spud \
--cc=Krzysztof@spud \
--cc=a-bhatia1@ti.com \
--cc=conor+dt@kernel.org \
--cc=conor@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=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;
as well as URLs for NNTP newsgroup(s).