Re: [PATCH 2/3] dt-bindings: trivial-devices: add asair,ags02ma

From: Krzysztof Kozlowski
Date: Thu Nov 09 2023 - 03:44:04 EST


On 08/11/2023 13:53, Anshul Dalal wrote:
>> If you are unsure and you just work on some sensor not used for final
>> product, I think it's fine as is, so to add the regulator later if ever
>> needed.
>
> No problem, I can add the required properties in the next patch version.
> I need to make a few changes to the driver anyways.
>
> Just out of curiosity, the sensor supports reassigning of the i2c
> address by writing to the 0x21 register from the default address of
> 0x1a.

You can list allowed addresses, but we rarely do it.

> Is there some way to represent this in the binding.
> For future reference, is there some exhaustive list or specification
> document for all the allowed properties.

Any property could be allowed so the is no list of them.

dt-extract-props -v Documentation/devicetree/bindings/

Best regards,
Krzysztof