Skip to contentSkip to conversation

dt-bindings: vendor-prefixes: Add prefix for Liebherr-Werk Ehingen GmbH

PATCH In review Lukasz Majewski 3 participants 11 messages Feb 21, 2025 – Feb 25, 2025 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dt-bindings: vendor-prefixes: Add prefix for Liebherr-Werk Ehingen GmbH

This entry adds vendor prefix for Liebherr-Werk Ehingen GmbH.

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 5079ca6ce1d1..20ea550ac328 100644
@@ -882,6 +882,8 @@ patternProperties:
     description: Shenzhen Lunzn Technology Co., Ltd.
   "^luxul,.*":
     description: Lagrand | AV
+  "^lwe,.*":
+    description: Liebherr-Werk Ehingen GmbH
   "^lwn,.*":
     description: Liebherr-Werk Nenzing GmbH
   "^lxa,.*":
Signature · 1 line
2.39.5
#1 lore raw

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

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.

---
 Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/trivial-devices.yaml +2 -0
index fadbd3c041c8..5d736a9792c2 100644
@@ -161,6 +161,8 @@ properties:
           - jedec,spd5118
             # Linear Technology LTC2488
           - lineartechnology,ltc2488
+            # Liebherr on-board measurement SPI device
+          - lwe,btt
             # 5 Bit Programmable, Pulse-Width Modulator
           - maxim,ds1050
             # 10 kOhm digital potentiometer with I2C interface
Signature · 1 line
2.39.5
#2 lore raw

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

Quoted 15 lines · Lukasz Majewski

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.

---
 Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/trivial-devices.yaml +0 -0
index fadbd3c041c8..5d736a9792c2 100644

Documentation/devicetree/bindings/trivial-devices.yaml properties: · line 165

Quoted 5 lines
Documentation/devicetree/bindings/trivial-devices.yaml +2 -0
@@ -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!
Also, where is patch 3, adding the lwe,btt to the spidev driver so that it will probe?

Cheers,
Conor.

Quoted 6 lines
Documentation/devicetree/bindings/trivial-devices.yaml +0 -0
             # 5 Bit Programmable, Pulse-Width Modulator
           - maxim,ds1050
             # 10 kOhm digital potentiometer with I2C interface
Signature · 1 line
2.39.5
#3 lore raw

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

Hi Conor,

Quoted 11 lines · Lukasz Majewski
Quoted 10 lines

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.

---
 Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
 1 file changed, 2 insertions(+)
Quoted 14 lines

Documentation/devicetree/bindings/trivial-devices.yaml properties: · line 165

Quoted 11 lines
(quoted diff) +0 -0

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

Documentation/devicetree/bindings/trivial-devices.yaml +2 -0
+            # 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.

Quoted 2 lines

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.

Quoted 10 lines

Cheers,
Conor.

Quoted 6 lines

# 5 Bit Programmable, Pulse-Width Modulator
- maxim,ds1050
# 10 kOhm digital potentiometer with I2C interface

Signature · 1 line
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: [email protected]

#4 lore raw

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

Quoted 13 lines · Lukasz Majewski

Hi Conor,

Quoted 11 lines · Lukasz Majewski
Quoted 10 lines

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.

---
 Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
 1 file changed, 2 insertions(+)
Quoted 11 lines
Quoted 11 lines

Documentation/devicetree/bindings/trivial-devices.yaml properties: · line 165

Quoted 11 lines
(quoted diff) +0 -0

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

Documentation/devicetree/bindings/trivial-devices.yaml +2 -0
+            # Liebherr on-board measurement SPI device
+          - lwe,btt  
                          ^^

Are these two trailing spaces an artefact of the mail?

Quoted 8 lines
Quoted 3 lines

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?

Quoted 29 lines
Quoted 3 lines

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.

Quoted 10 lines

Cheers,
Conor.

Quoted 6 lines

# 5 Bit Programmable, Pulse-Width Modulator
- maxim,ds1050
# 10 kOhm digital potentiometer with I2C interface

Signature · 1 line
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: [email protected]

#5 lore raw

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

Hi Conor,

Quoted 26 lines · Lukasz Majewski
Quoted 25 lines

Hi Conor,

Quoted 23 lines · Lukasz Majewski
Quoted 22 lines

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.

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

Documentation/devicetree/bindings/trivial-devices.yaml +2 -0
+            # Liebherr on-board measurement SPI device
+          - lwe,btt    
Quoted 3 lines
                          ^^

Are these two trailing spaces an artefact of the mail?

No, there shall not be any.

Quoted 11 lines
Quoted 8 lines
Quoted 3 lines

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.

Quoted 23 lines
Quoted 23 lines
Quoted 4 lines

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.

Quoted 10 lines

Cheers,
Conor.

Quoted 6 lines

# 5 Bit Programmable, Pulse-Width Modulator
- maxim,ds1050
# 10 kOhm digital potentiometer with I2C interface

Signature · 1 line
2.39.5

Best regards,

Quoted 10 lines
Quoted 8 lines

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:
[email protected]

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: [email protected]

#6 lore raw

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

Quoted 41 lines · Lukasz Majewski

Hi Conor,

Quoted 26 lines · Lukasz Majewski
Quoted 25 lines

Hi Conor,

Quoted 23 lines · Lukasz Majewski
Quoted 22 lines

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.

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

Documentation/devicetree/bindings/trivial-devices.yaml +2 -0
+            # Liebherr on-board measurement SPI device
+          - lwe,btt    
Quoted 3 lines
                          ^^

Are these two trailing spaces an artefact of the mail?

No, there shall not be any.

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

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.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

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.

#7 lore raw
In reply to Lukasz Majewski
Quoted 12 lines · Lukasz Majewski

This entry adds vendor prefix for Liebherr-Werk Ehingen GmbH.

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +0 -0
index 5079ca6ce1d1..20ea550ac328 100644

Documentation/devicetree/bindings/vendor-prefixes.yaml patternProperties: · line 888

Quoted 7 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -882,6 +882,8 @@ patternProperties:
     description: Shenzhen Lunzn Technology Co., Ltd.
   "^luxul,.*":
     description: Lagrand | AV
+  "^lwe,.*":
+    description: Liebherr-Werk Ehingen GmbH
   "^lwn,.*":
     description: Liebherr-Werk Nenzing GmbH

What's the difference between these two?

Quoted 4 lines
Documentation/devicetree/bindings/vendor-prefixes.yaml +0 -0
   "^lxa,.*":
Signature · 1 line
2.39.5
#8 lore raw

Hi Conor,

Quoted 8 lines · Lukasz Majewski
Quoted 7 lines

This entry adds vendor prefix for Liebherr-Werk Ehingen GmbH.

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Quoted 14 lines

Documentation/devicetree/bindings/vendor-prefixes.yaml patternProperties: · line 888

Quoted 12 lines
(quoted diff) +0 -0

b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 5079ca6ce1d1..20ea550ac328 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -882,6 +882,8 @@ patternProperties: description: Shenzhen Lunzn Technology Co., Ltd. "^luxul,.*":
description: Lagrand | AV

Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
+  "^lwe,.*":
+    description: Liebherr-Werk Ehingen GmbH
   "^lwn,.*":
     description: Liebherr-Werk Nenzing GmbH  

What's the difference between these two?

They are in fact targetting different types of industrial markets. Hence, their devices and way of using SPI devs are totally different.

Quoted 5 lines
Quoted 5 lines
   "^lxa,.*":
Signature · 1 line
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: [email protected]

#9 lore raw
Quoted 25 lines · Lukasz Majewski

Hi Conor,

Quoted 8 lines · Lukasz Majewski
Quoted 7 lines

This entry adds vendor prefix for Liebherr-Werk Ehingen GmbH.

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Quoted 14 lines

Documentation/devicetree/bindings/vendor-prefixes.yaml patternProperties: · line 888

Quoted 12 lines
(quoted diff) +0 -0

b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 5079ca6ce1d1..20ea550ac328 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -882,6 +882,8 @@ patternProperties: description: Shenzhen Lunzn Technology Co., Ltd. "^luxul,.*":
description: Lagrand | AV

Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
+  "^lwe,.*":
+    description: Liebherr-Werk Ehingen GmbH
   "^lwn,.*":
     description: Liebherr-Werk Nenzing GmbH  

What's the difference between these two?

Quoted 2 lines

They are in fact targetting different types of industrial markets. Hence, their devices and way of using SPI devs are totally different.

We don't take multiple samsung or lg vendor prefixes, even though they have multiple separate companies, so we shouldn't take these either. Both use the same domain (at least first search result pointed me there)
- liebherr - so that's the same entry.

Best regards,
Krzysztof

#10 lore raw

Hi Krzysztof,

Quoted 30 lines · Lukasz Majewski
Quoted 23 lines

Hi Conor,

Quoted 21 lines · Lukasz Majewski
Quoted 19 lines

This entry adds vendor prefix for Liebherr-Werk Ehingen GmbH.

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 5079ca6ce1d1..20ea550ac328 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -882,6 +882,8 @@ patternProperties: description: Shenzhen Lunzn Technology Co., Ltd. "^luxul,.*": description: Lagrand | AV

Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
+  "^lwe,.*":
+    description: Liebherr-Werk Ehingen GmbH
   "^lwn,.*":
     description: Liebherr-Werk Nenzing GmbH    
Quoted 5 lines
Quoted 1 line

What's the difference between these two?

They are in fact targetting different types of industrial markets. Hence, their devices and way of using SPI devs are totally different.

Quoted 6 lines

We don't take multiple samsung or lg vendor prefixes, even though they have multiple separate companies, so we shouldn't take these either. Both use the same domain (at least first search result pointed me there)
- liebherr - so that's the same entry.

Ok, so then I will just add "lwn.btt" in the other patches and drop this particular one.

Thanks for input.

Quoted 2 lines

Best regards,
Krzysztof

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: [email protected]