[PATCH 1/3] dt-bindings: vendor-prefixes: Add 'lge,*' for LG Electronics

Chanho Min posted 3 patches 1 month ago
There is a newer version of this series
[PATCH 1/3] dt-bindings: vendor-prefixes: Add 'lge,*' for LG Electronics
Posted by Chanho Min 1 month ago
Currently 'lg,*' is used for LG Corporation, but LG Electronics uses
'lge' as vendor prefix for many of its device tree bindings
(lg1k SoCs, etc).

Add 'lge' vendor prefix entry to avoid confusion with 'lg'.

Signed-off-by: Chanho Min <chanho.min@lge.com>
---
 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 c7591b2aec2a..6c31fa4bee6a 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -907,6 +907,8 @@ patternProperties:
     description: Lenovo Group Ltd.
   "^lg,.*":
     description: LG Corporation
+  "^lge,.*":
+    description: LG Electronics
   "^lgphilips,.*":
     description: LG Display
   "^libretech,.*":
Re: [PATCH 1/3] dt-bindings: vendor-prefixes: Add 'lge,*' for LG Electronics
Posted by Krzysztof Kozlowski 1 month ago
On 08/01/2026 09:22, Chanho Min wrote:
> Currently 'lg,*' is used for LG Corporation, but LG Electronics uses
> 'lge' as vendor prefix for many of its device tree bindings
> (lg1k SoCs, etc).
> 
> Add 'lge' vendor prefix entry to avoid confusion with 'lg'.
> 
> Signed-off-by: Chanho Min <chanho.min@lge.com>
> ---
>  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 c7591b2aec2a..6c31fa4bee6a 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> @@ -907,6 +907,8 @@ patternProperties:
>      description: Lenovo Group Ltd.
>    "^lg,.*":
>      description: LG Corporation
> +  "^lge,.*":

NAK, we have been there and I do not change my stance.

Best regards,
Krzysztof
Re: [PATCH 1/3] dt-bindings: vendor-prefixes: Add 'lge,*' for LG Electronics
Posted by Krzysztof Kozlowski 1 month ago
On 08/01/2026 17:39, Krzysztof Kozlowski wrote:
> On 08/01/2026 09:22, Chanho Min wrote:
>> Currently 'lg,*' is used for LG Corporation, but LG Electronics uses
>> 'lge' as vendor prefix for many of its device tree bindings
>> (lg1k SoCs, etc).
>>
>> Add 'lge' vendor prefix entry to avoid confusion with 'lg'.
>>
>> Signed-off-by: Chanho Min <chanho.min@lge.com>
>> ---
>>  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 c7591b2aec2a..6c31fa4bee6a 100644
>> --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
>> +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
>> @@ -907,6 +907,8 @@ patternProperties:
>>      description: Lenovo Group Ltd.
>>    "^lg,.*":
>>      description: LG Corporation
>> +  "^lge,.*":
> 
> NAK, we have been there and I do not change my stance.

Unless you meant to add it because of EXISTING device trees (predating
commit fc75109288709 from Rob), then add with deprecated: true and don't
use it any new compatibles.

Best regards,
Krzysztof
Re: [PATCH 1/3] dt-bindings: vendor-prefixes: Add 'lge,*' for LG Electronics
Posted by Chanho Min 1 month ago
On Thu, Jan 08, 2026 at 05:46:53PM +0100, Krzysztof Kozlowski wrote:
> On 08/01/2026 17:39, Krzysztof Kozlowski wrote:
> > On 08/01/2026 09:22, Chanho Min wrote:
> >> Currently 'lg,*' is used for LG Corporation, but LG Electronics uses
> >> 'lge' as vendor prefix for many of its device tree bindings
> >> (lg1k SoCs, etc).
> >>
> >> Add 'lge' vendor prefix entry to avoid confusion with 'lg'.
> >>
> >> Signed-off-by: Chanho Min <chanho.min@lge.com>
> >> ---
> >>  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 c7591b2aec2a..6c31fa4bee6a 100644
> >> --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
> >> +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> >> @@ -907,6 +907,8 @@ patternProperties:
> >>      description: Lenovo Group Ltd.
> >>    "^lg,.*":
> >>      description: LG Corporation
> >> +  "^lge,.*":
> > 
> > NAK, we have been there and I do not change my stance.
> 
> Unless you meant to add it because of EXISTING device trees (predating
> commit fc75109288709 from Rob), then add with deprecated: true and don't
> use it any new compatibles.
> 
> Best regards,
> Krzysztof

Hi Krzysztof

v2 will include:
 - "lg," prefix only ("lg,lg1215-ref", "lg,lg1215")
 - Drop "^lge,.*" from vendor-prefixes.yaml
 - dts coding style fixes in patch 3

Existing "lge," → "lg," conversion will be sent separately soon.

Thanks
Chanho Min

Re: [PATCH 1/3] dt-bindings: vendor-prefixes: Add 'lge,*' for LG Electronics
Posted by Chanho Min 1 month ago
On Thu, Jan 08, 2026 at 05:46:53PM +0100, Krzysztof Kozlowski wrote:
> On 08/01/2026 17:39, Krzysztof Kozlowski wrote:
> > On 08/01/2026 09:22, Chanho Min wrote:
> >> Currently 'lg,*' is used for LG Corporation, but LG Electronics uses
> >> 'lge' as vendor prefix for many of its device tree bindings
> >> (lg1k SoCs, etc).
> >>
> >> Add 'lge' vendor prefix entry to avoid confusion with 'lg'.
> >>
> >> Signed-off-by: Chanho Min <chanho.min@lge.com>
> >> ---
> >>  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 c7591b2aec2a..6c31fa4bee6a 100644
> >> --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
> >> +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> >> @@ -907,6 +907,8 @@ patternProperties:
> >>      description: Lenovo Group Ltd.
> >>    "^lg,.*":
> >>      description: LG Corporation
> >> +  "^lge,.*":
> > 
> > NAK, we have been there and I do not change my stance.
> 
> Unless you meant to add it because of EXISTING device trees (predating
> commit fc75109288709 from Rob), then add with deprecated: true and don't
> use it any new compatibles.
> 
> Best regards,
> Krzysztof

Hi Krzysztof,

v2 will include:
 - "lg," prefix only ("lg,lg1215-ref", "lg,lg1215")
 - Drop "^lge,.*" from vendor-prefixes.yaml
 - dts coding style fixes in patch 3

Existing "lge," → "lg," conversion will be sent separately soon.

Thanks
Chanho
Re: [PATCH 1/3] dt-bindings: vendor-prefixes: Add 'lge,*' for LG Electronics
Posted by Krzysztof Kozlowski 1 month ago
On 09/01/2026 02:31, Chanho Min wrote:
> On Thu, Jan 08, 2026 at 05:46:53PM +0100, Krzysztof Kozlowski wrote:
>> On 08/01/2026 17:39, Krzysztof Kozlowski wrote:
>>> On 08/01/2026 09:22, Chanho Min wrote:
>>>> Currently 'lg,*' is used for LG Corporation, but LG Electronics uses
>>>> 'lge' as vendor prefix for many of its device tree bindings
>>>> (lg1k SoCs, etc).
>>>>
>>>> Add 'lge' vendor prefix entry to avoid confusion with 'lg'.
>>>>
>>>> Signed-off-by: Chanho Min <chanho.min@lge.com>
>>>> ---
>>>>  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 c7591b2aec2a..6c31fa4bee6a 100644
>>>> --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
>>>> +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
>>>> @@ -907,6 +907,8 @@ patternProperties:
>>>>      description: Lenovo Group Ltd.
>>>>    "^lg,.*":
>>>>      description: LG Corporation
>>>> +  "^lge,.*":
>>>
>>> NAK, we have been there and I do not change my stance.
>>
>> Unless you meant to add it because of EXISTING device trees (predating
>> commit fc75109288709 from Rob), then add with deprecated: true and don't
>> use it any new compatibles.
>>
>> Best regards,
>> Krzysztof
> 
> Hi Krzysztof,
> 
> v2 will include:
>  - "lg," prefix only ("lg,lg1215-ref", "lg,lg1215")
>  - Drop "^lge,.*" from vendor-prefixes.yaml
>  - dts coding style fixes in patch 3
> 
> Existing "lge," → "lg," conversion will be sent separately soon.

If you have existing compatibles released as ABI then they should stay
and you can document a deprecated lge prefix. But not for new devices.

One of many previous threads:
https://lore.kernel.org/all/9942f964-442e-e782-3926-6d7d1123418a@canonical.com/

Best regards,
Krzysztof
Re: [PATCH 1/3] dt-bindings: vendor-prefixes: Add 'lge,*' for LG Electronics
Posted by Chanho Min 3 weeks, 6 days ago
On Fri, Jan 09, 2026 at 08:33:43AM +0100, Krzysztof Kozlowski wrote:
> > 
> > Existing "lge," → "lg," conversion will be sent separately soon.
> 
> If you have existing compatibles released as ABI then they should stay
> and you can document a deprecated lge prefix. But not for new devices.
OK, I'll send the deprecated "lge," prefix documentation as a separate
follow-up patch.

Thanks,
Chanho

> 
> One of many previous threads:
> https://lore.kernel.org/all/9942f964-442e-e782-3926-6d7d1123418a@canonical.com/
> 
> Best regards,
> Krzysztof