mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 08:46:49 +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>
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
Aspeed GPIO controller Device Tree Bindings
|
|
-------------------------------------------
|
|
|
|
Required properties:
|
|
- compatible : Either "aspeed,ast2400-gpio" or "aspeed,ast2500-gpio"
|
|
|
|
- #gpio-cells : Should be two
|
|
- First cell is the GPIO line number
|
|
- Second cell is used to specify optional
|
|
parameters (unused)
|
|
|
|
- reg : Address and length of the register set for the device
|
|
- gpio-controller : Marks the device node as a GPIO controller.
|
|
- interrupts : Interrupt specifier (see interrupt bindings for
|
|
details)
|
|
- interrupt-controller : Mark the GPIO controller as an interrupt-controller
|
|
|
|
Optional properties:
|
|
|
|
- clocks : A phandle to the clock to use for debounce timings
|
|
|
|
The gpio and interrupt properties are further described in their respective
|
|
bindings documentation:
|
|
|
|
- Documentation/devicetree/bindings/gpio/gpio.txt
|
|
- Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
|
|
|
|
Example:
|
|
gpio@1e780000 {
|
|
#gpio-cells = <2>;
|
|
compatible = "aspeed,ast2400-gpio";
|
|
gpio-controller;
|
|
interrupts = <20>;
|
|
reg = <0x1e780000 0x1000>;
|
|
interrupt-controller;
|
|
};
|