RE: [EXTERNAL] Re: [PATCH v2 2/5] ASoC: dt-bindings: Add tas2781 amplifier

From: Ding, Shenghao
Date: Thu May 11 2023 - 09:23:11 EST

On 11/05/2023 07:49, Mark Brown wrote:
>> Missing minItems, but...
>>> + items:
>>> + minimum: 0x38
>>> + maximum: 0x3f
>> ... So these are fixed? No need to encode them in such case...
> I'm not sure I understand your concern here, there's up to 4 possible
> values from 0x38-0x3f which has more than 4 possible values.

Aren't the addresses going to be incremented by one (up to 8 of devices in total)?

No, the i2c address order is not always monotonic increase or decrease, sometime it would be disorder, according to the application.
Each device would have eight possible i2c address, the final address depends on the hardware connections.

Best regards,