Re: [PATCH 2/2] dt-bindings: trivial-devices: Document SPI measurement on LWE boards

From: Lukasz Majewski
Date: Fri Feb 21 2025 - 15:57:45 EST


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@xxxxxxx>
> > ---
> > 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
>
> 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.

> 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@xxxxxxx

Attachment: pgpKgB1odI5ai.pgp
Description: OpenPGP digital signature