Skip to content

Commit

Permalink
dt-bindings: iio: adc: zynqmp_ams: Add clock entry
Browse files Browse the repository at this point in the history
commit 5165102 upstream.

The AMS driver DT binding was missing the clock entry, which is actually
mandatory according to the driver implementation. Add this in.

Fixes: 39dd2d1 ("dt-bindings: iio: adc: Add Xilinx AMS binding documentation")
Signed-off-by: Robert Hancock <robert.hancock@calian.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/20220127173450.3684318-2-robert.hancock@calian.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Robert Hancock authored and Greg Kroah-Hartman committed Apr 8, 2022
1 parent 412225b commit 49035aa
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ properties:
description: AMS Controller register space
maxItems: 1

clocks:
items:
- description: AMS reference clock

ranges:
description:
Maps the child address space for PS and/or PL.
Expand Down Expand Up @@ -181,12 +185,15 @@ properties:
required:
- compatible
- reg
- clocks
- ranges

additionalProperties: false

examples:
- |
#include <dt-bindings/clock/xlnx-zynqmp-clk.h>
bus {
#address-cells = <2>;
#size-cells = <2>;
Expand All @@ -196,6 +203,7 @@ examples:
interrupt-parent = <&gic>;
interrupts = <0 56 4>;
reg = <0x0 0xffa50000 0x0 0x800>;
clocks = <&zynqmp_clk AMS_REF>;
#address-cells = <1>;
#size-cells = <1>;
#io-channel-cells = <1>;
Expand Down

0 comments on commit 49035aa

Please sign in to comment.