mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-12 01:45:24 +07:00
![Rob Herring](/assets/img/avatar_default.png)
'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>
22 lines
595 B
Plaintext
22 lines
595 B
Plaintext
SBS sbs-charger
|
|
~~~~~~~~~~
|
|
|
|
Required properties:
|
|
- compatible: "<vendor>,<part-number>", "sbs,sbs-charger" as fallback. The part
|
|
number compatible string might be used in order to take care of vendor
|
|
specific registers.
|
|
|
|
Optional properties:
|
|
- interrupts: Interrupt mapping for GPIO IRQ. Use in conjunction with
|
|
"interrupt-parent". If an interrupt is not provided the driver will switch
|
|
automatically to polling.
|
|
|
|
Example:
|
|
|
|
ltc4100@9 {
|
|
compatible = "lltc,ltc4100", "sbs,sbs-charger";
|
|
reg = <0x9>;
|
|
interrupt-parent = <&gpio6>;
|
|
interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
|
|
};
|