mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-16 13:46:32 +07:00
791d3ef2e1
'interrupt-parent' is often documented as part of define bindings, but it is really outside the scope of a device binding. It's never required in a given node as it is often inherited from a parent node. Or it can be implicit if a parent node is an 'interrupt-controller' node. So remove it from all the binding files. Cc: Mark Rutland <mark.rutland@arm.com> Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
21 lines
622 B
Plaintext
21 lines
622 B
Plaintext
* Maxim 1027/1029/1031 Analog to Digital Converter (ADC)
|
|
|
|
Required properties:
|
|
- compatible: Should be "maxim,max1027" or "maxim,max1029" or "maxim,max1031"
|
|
- reg: SPI chip select number for the device
|
|
- interrupts: IRQ line for the ADC
|
|
see: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
|
|
|
|
Recommended properties:
|
|
- spi-max-frequency: Definition as per
|
|
Documentation/devicetree/bindings/spi/spi-bus.txt
|
|
|
|
Example:
|
|
adc@0 {
|
|
compatible = "maxim,max1027";
|
|
reg = <0>;
|
|
interrupt-parent = <&gpio5>;
|
|
interrupts = <15 IRQ_TYPE_EDGE_RISING>;
|
|
spi-max-frequency = <1000000>;
|
|
};
|