Re: [PATCH] dt-bindings: iio: light: fix missing type definition
From: Krzysztof Kozlowski
Date: Thu Feb 06 2025 - 02:38:45 EST
On 06/02/2025 03:41, Dharma.B@xxxxxxxxxxxxx wrote:
> On 05/02/25 5:07 pm, Krzysztof Kozlowski wrote:
>> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
>>
>> On Wed, Feb 05, 2025 at 09:48:45AM +0530, Dharma Balasubiramani wrote:
>>> Add the missing type definition for ps-cancellation-current-picoamp property.
>>
>> It is not missing. You are using some older schema probably.
>
> Sorry, if I miss something here..
>
> There is no $Ref or type for ps-cancellation-current-picoamp property
There is a ref in dtschema.
>
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/devicetree/bindings/iio/light/brcm,apds9160.yaml#n39
>
> I checked in other bindings as well.
>
> I get the following warning while make dtbs_check or dt_binding_check
>
> Documentation/devicetree/bindings/iio/light/brcm,apds9160.yaml:
> ps-cancellation-current-picoamp: missing type definition
>
> Should I need to update anything?
As I said - older schema, so yes, you need to update your dtschema or
wait for new release.
Best regards,
Krzysztof