[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b4cda0c2-bfb1-bdea-2511-e2952fa5fdf8@kernel.org>
Date: Fri, 25 Mar 2022 13:21:59 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Shreeya Patel <shreeya.patel@...labora.com>, jic23@...nel.org,
lars@...afoo.de, robh+dt@...nel.org, Zhigang.Shi@...eon.com,
krisman@...labora.com
Cc: linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel@...labora.com,
alvaro.soliverez@...labora.com
Subject: Re: [PATCH 1/3] dt-bindings: vendor-prefixes: Add 'ltr' as deprecated
vendor prefix
On 25/03/2022 11:30, Shreeya Patel wrote:
> 'liteon' is the correct vendor prefix for devices released by
> LITE-ON Technology Corp. But one of the released device which uses
> ltr216a light sensor exposes the vendor prefix name as 'ltr' through
> ACPI.
>
> Hence, add 'ltr' as a deprecated vendor prefix which would suppress the
> following warning in case the compatible string used in ltrf216a driver
> is "ltr,ltrf216a"
>
> WARNING: DT compatible string vendor "ltr" appears un-documented --
> check ./Documentation/devicetree/bindings/vendor-prefixes.yaml
> 364: FILE: drivers/iio/light/ltrf216a.c:313:
> + { .compatible = "ltr,ltrf216a" },
>
>
> Signed-off-by: Shreeya Patel <shreeya.patel@...labora.com>
> ---
> Documentation/devicetree/bindings/vendor-prefixes.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> index baed2b007d0e..e78091d51443 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> @@ -691,6 +691,9 @@ patternProperties:
> description: Linx Technologies
> "^liteon,.*":
> description: LITE-ON Technology Corp.
> + "^ltr,.*":
> + description: LITE-ON Technology Corp.
> + deprecated: true
Keep in alphabetical order. With the change:
Reviewed-by: Krzysztof Kozlowski <krzk@...nel.org>
Best regards,
Krzysztof
Powered by blists - more mailing lists