From: Salih Erim <salih.erim@amd.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: jic23@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, git@amd.com, nuno.sa@analog.com,
andy@kernel.org, dlechner@baylibre.com, michal.simek@amd.com,
conall.ogriofa@amd.com, erimsalih@gmail.com,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/5] dt-bindings: iio: adc: add xlnx,versal-sysmon binding
Date: Sun, 3 May 2026 23:52:39 +0100 [thread overview]
Message-ID: <28c65ef6-a777-47ba-875b-5a75ac457815@amd.com> (raw)
In-Reply-To: <20260503-rebel-sassy-weasel-ed26ee@quoll>
Hi Krzysztof,
Thanks for the review, Replies inline.
On 5/3/2026 3:20 PM, Krzysztof Kozlowski wrote:
>> +
>> +properties:
>> + compatible:
>> + enum:
>> + - xlnx,versal-sysmon
>> + - xlnx,versal-sysmon-i2c
>
> This is explicitly mentioned in writing bindings. One device, one
> compatible (not two, not three, not four compatibles).
Accepted. Will use single "xlnx,versal-sysmon" compatible. The I2C
driver will match via the I2C bus, so the bus type provides the
differentiation.
>
>> +
>> + reg:
>> + maxItems: 1
>> +
>> + interrupts:
>> + maxItems: 1
>> +
>> + '#io-channel-cells':
>> + const: 1
>> +
>> + supply-channels:
>> + type: object
>> + description:
>> + Container for supply voltage measurement channels.
>
> voltage, not supply. Supply is the source of energy coming to this
> device. But are you measuring that source?
Accepted. Will rename to "voltage-channels".
>
>> +
>> + properties:
>> + '#address-cells':
>> + const: 1
>> +
>> + '#size-cells':
>> + const: 0
>> +
>> + patternProperties:
>> + "^channel@([0-9a-f]|[1-9][0-9a-f])$":
>
> Keep consistent quotes, either ' or "
Will use single quotes throughout.
>
>> + $ref: adc.yaml
>> +
>> + description:
>> + Measures a supply rail voltage. The register index and rail
>> + name are assigned by the hardware design tool (Vivado).
>> +
>> + properties:
>> + reg:
>> + minimum: 0
>> + maximum: 159
>> + description:
>> + Supply measurement register index assigned by the hardware
>> + design tool.
>> +
>> + label:
>> + description:
>> + Name of the supply rail being monitored.
>
> Drop property, it's already in adc.yaml.
Accepted, will drop from both voltage and temperature channel blocks.
>
>> +
>> + bipolar: true
>
> Drop
Accepted, already defined in adc.yaml.
>
>> +
>> + required:
>> + - reg
>> + - label
>> +
>> + unevaluatedProperties: false
>> +
>> + required:
>> + - '#address-cells'
>> + - '#size-cells'
>> +
>> + additionalProperties: false
>> +
>> + temperature-channels:
>> + type: object
>> + description:
>> + Container for temperature satellite measurement channels.
>> +
>> + properties:
>> + '#address-cells':
>> + const: 1
>> +
>> + '#size-cells':
>> + const: 0
>> +
>> + patternProperties:
>> + "^channel@([1-9a-f]|[1-3][0-9a-f]|40)$":
>> + $ref: adc.yaml
>> +
>> + description:
>> + Reads a temperature satellite sensor. Each satellite monitors
>> + a specific region of the SoC die.
>> +
>> + properties:
>> + reg:
>> + minimum: 1
>> + maximum: 64
>> + description:
>> + Temperature satellite number (1-based hardware index).
>> +
>> + label:
>> + description:
>> + Name identifying this temperature satellite.
>
> Drop property
>
>> +
>> + xlnx,aie-temp:
>> + type: boolean
>> + description:
>> + Indicates this satellite monitors an AI Engine tile.
>
> What for? What is on the other side of the channel is not really
> relevant to this device, but rather to that other side (consumer).
Agreed. The driver does not use this property. Will remove.
>
>> +
>> + required:
>> + - reg
>> + - label
>> +
>> + unevaluatedProperties: false
>> +
>> + required:
>> + - '#address-cells'
>> + - '#size-cells'
>> +
>> + additionalProperties: false
>> +
>> +required:
>> + - compatible
>> + - reg
>
> Best regards,
> Krzysztof
>
I will address all items in v3.
Salih.
next prev parent reply other threads:[~2026-05-03 22:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-02 11:19 [PATCH v2 0/5] iio: adc: add AMD/Xilinx Versal SysMon driver Salih Erim
2026-05-02 11:19 ` [PATCH v2 1/5] dt-bindings: iio: adc: add xlnx,versal-sysmon binding Salih Erim
2026-05-03 14:20 ` Krzysztof Kozlowski
2026-05-03 22:52 ` Salih Erim [this message]
2026-05-02 11:19 ` [PATCH v2 2/5] iio: adc: add Versal SysMon driver Salih Erim
2026-05-02 11:19 ` [PATCH v2 3/5] iio: adc: versal-sysmon: add I2C driver Salih Erim
2026-05-02 11:19 ` [PATCH v2 4/5] iio: adc: versal-sysmon: add threshold event support Salih Erim
2026-05-02 11:19 ` [PATCH v2 5/5] iio: adc: versal-sysmon: add oversampling support Salih Erim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=28c65ef6-a777-47ba-875b-5a75ac457815@amd.com \
--to=salih.erim@amd.com \
--cc=andy@kernel.org \
--cc=conall.ogriofa@amd.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=erimsalih@gmail.com \
--cc=git@amd.com \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michal.simek@amd.com \
--cc=nuno.sa@analog.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox