Re: [PATCH RFC v2 1/9] dt-bindings: iio: frequency: add ad9910
From: Rodrigo Alencar <hidden>
Date: 2026-03-20 11:21:53
Also in:
linux-doc, linux-iio, lkml
On 26/03/19 05:25PM, Conor Dooley wrote:
On Wed, Mar 18, 2026 at 05:56:01PM +0000, Rodrigo Alencar via B4 Relay wrote:quoted
From: Rodrigo Alencar <rodrigo.alencar@analog.com> DT-bindings for AD9910, a 1 GSPS DDS with 14-bit DAC. It includes configurations for clocks, DAC current, reset and basic GPIO control. Signed-off-by: Rodrigo Alencar <rodrigo.alencar@analog.com>
...
quoted
+ + clock-names: + oneOf: + - items: + - const: ref_clks/_clk//, not like it can be anything else!quoted
+ - items: + - const: ref_clk + - const: sync_in + + '#clock-cells': + const: 1 + + clock-output-names: + minItems: 1 + maxItems: 3 + items: + enum: [ sync_clk, pdclk, sync_out ]I'd say same here, but then you've got some issues with differentiation, so idk.
so I've got the names as they are referred in the device pins in the datasheet ...
quoted
+dependencies: + adi,charge-pump-current-microamp: [ 'adi,pll-enable' ] + adi,refclk-out-drive-strength: [ 'adi,pll-enable' ] + interrupts: [ interrupt-names ] + clocks: [ clock-names ] + '#clock-cells': [ clock-output-names ] + +required: + - compatible + - reg + - clocksWorth pointing out, you haven't made either clock-names or interrupt-names (when interrupts are used) mandatory, so the properties cannot be used by a driver. I suggest you make clock-names mandatory and interrupts depend on interrupt-names.
the dependecies is not enought make them required then? understood! -- Kind regards, Rodrigo Alencar