mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 09:46:46 +07:00
36ecbcab84
Enable power management. This patch enables the clocks before transfer and disables after the transfer. It also adds the clock description. Signed-off-by: Shubhrajyoti Datta <shubhraj@xilinx.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
26 lines
601 B
Plaintext
26 lines
601 B
Plaintext
Xilinx IIC controller:
|
|
|
|
Required properties:
|
|
- compatible : Must be "xlnx,xps-iic-2.00.a"
|
|
- reg : IIC register location and length
|
|
- interrupts : IIC controller unterrupt
|
|
- #address-cells = <1>
|
|
- #size-cells = <0>
|
|
- clocks: Input clock specifier. Refer to common clock bindings.
|
|
|
|
Optional properties:
|
|
- Child nodes conforming to i2c bus binding
|
|
- clock-names: Input clock name, should be 'pclk'.
|
|
|
|
Example:
|
|
|
|
axi_iic_0: i2c@40800000 {
|
|
compatible = "xlnx,xps-iic-2.00.a";
|
|
clocks = <&clkc 15>;
|
|
interrupts = < 1 2 >;
|
|
reg = < 0x40800000 0x10000 >;
|
|
|
|
#size-cells = <0>;
|
|
#address-cells = <1>;
|
|
};
|