Broadcom's IPROC Static ADC controller
Schema identifier ($id): "http://devicetree.org/schemas/iio/adc/brcm,iproc-static-adc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Raveendra Padasalagi <raveendra.padasalagi@broadcom.com>"
Broadcom iProc ADC controller has 8 10bit channels
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "brcm,iproc-static-adc"
adc-syscon — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
syscon node defining physical base address of the controller and length of memory mapped region.
#io-channel-cells — required here #
Exact value (const): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "tsc_clk"
interrupts — required here #
Maximum number of items (maxItems): 1
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "adc-syscon", "#io-channel-cells", "clocks", "clock-names", "interrupts"
Examples (examples) #
#include <dt-bindings/clock/bcm-cygnus.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
soc {
#address-cells = <1>;
#size-cells = <1>;
adc {
compatible = "brcm,iproc-static-adc";
adc-syscon = <&ts_adc_syscon>;
#io-channel-cells = <1>;
clocks = <&asiu_clks BCM_CYGNUS_ASIU_ADC_CLK>;
clock-names = "tsc_clk";
interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)