ARM: dts: aspeed: add LCLK setting into LPC KCS nodes
If LPC KCS driver is registered ahead of lpc-ctrl module, LPC KCS hardware block will be enabled without heart beating of LCLK until lpc-ctrl enables the LCLK. This issue causes improper handling on host interrupts when the host sends interrupts in that time frame. Then kernel eventually forcibly disables the interrupt with dumping stack and printing a 'nobody cared this irq' message out. To prevent this issue, all LPC sub drivers should enable LCLK individually so this patch adds 'clocks' property setting into LPC KCS node as one of required properties to enable the LCLK by the LPC KCS driver. Note: dtbs should be re-compiled after applying this change since it's adding a new required property otherwise the driver will not be probed correctly. Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com> Reviewed-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Andrew Jeffery <andrew@aj.id.au> Link: https://lore.kernel.org/r/20211108190200.290957-5-jae.hyun.yoo@intel.com Signed-off-by: Joel Stanley <joel@jms.id.au>
This commit is contained in:
parent
002c42d37e
commit
45cd8bbaaa
@ -446,6 +446,7 @@
|
||||
compatible = "aspeed,ast2500-kcs-bmc-v2";
|
||||
reg = <0x24 0x1>, <0x30 0x1>, <0x3c 0x1>;
|
||||
interrupts = <8>;
|
||||
clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -453,6 +454,7 @@
|
||||
compatible = "aspeed,ast2500-kcs-bmc-v2";
|
||||
reg = <0x28 0x1>, <0x34 0x1>, <0x40 0x1>;
|
||||
interrupts = <8>;
|
||||
clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -460,6 +462,7 @@
|
||||
compatible = "aspeed,ast2500-kcs-bmc-v2";
|
||||
reg = <0x2c 0x1>, <0x38 0x1>, <0x44 0x1>;
|
||||
interrupts = <8>;
|
||||
clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -467,6 +470,7 @@
|
||||
compatible = "aspeed,ast2500-kcs-bmc-v2";
|
||||
reg = <0x114 0x1>, <0x118 0x1>, <0x11c 0x1>;
|
||||
interrupts = <8>;
|
||||
clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
@ -525,6 +525,7 @@
|
||||
compatible = "aspeed,ast2500-kcs-bmc-v2";
|
||||
reg = <0x24 0x1>, <0x30 0x1>, <0x3c 0x1>;
|
||||
interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
|
||||
kcs_chan = <1>;
|
||||
status = "disabled";
|
||||
};
|
||||
@ -533,6 +534,7 @@
|
||||
compatible = "aspeed,ast2500-kcs-bmc-v2";
|
||||
reg = <0x28 0x1>, <0x34 0x1>, <0x40 0x1>;
|
||||
interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -540,6 +542,7 @@
|
||||
compatible = "aspeed,ast2500-kcs-bmc-v2";
|
||||
reg = <0x2c 0x1>, <0x38 0x1>, <0x44 0x1>;
|
||||
interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@ -547,6 +550,7 @@
|
||||
compatible = "aspeed,ast2500-kcs-bmc-v2";
|
||||
reg = <0x114 0x1>, <0x118 0x1>, <0x11c 0x1>;
|
||||
interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&syscon ASPEED_CLK_GATE_LCLK>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user