Message ID | 7fbde64be07dc3c78343890e6597c1b2636d4815.1583515710.git.hns@goldelico.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 130ab8819d81bd96f1a71e8461a8f73edf1fbe82 |
Headers | show |
Series | [v6] MIPS: DTS: CI20: fix interrupt for pcf8563 RTC | expand |
On Fri, Mar 06, 2020 at 06:28:30PM +0100, H. Nikolaus Schaller wrote: > Interrupts should not be specified by interrupt line but by > gpio parent and reference. > > Fixes: 73f2b940474d ("MIPS: CI20: DTS: Add I2C nodes") > Cc: stable@vger.kernel.org > Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com> > Reviewed-by: Paul Cercueil <paul@crapouillou.net> > --- > arch/mips/boot/dts/ingenic/ci20.dts | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) applied to mips-fixes. Thomas.
diff --git a/arch/mips/boot/dts/ingenic/ci20.dts b/arch/mips/boot/dts/ingenic/ci20.dts index 8b5fb635c66f..c340f947baa0 100644 --- a/arch/mips/boot/dts/ingenic/ci20.dts +++ b/arch/mips/boot/dts/ingenic/ci20.dts @@ -4,6 +4,7 @@ #include "jz4780.dtsi" #include <dt-bindings/clock/ingenic,tcu.h> #include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/regulator/active-semi,8865-regulator.h> / { @@ -270,7 +271,9 @@ rtc@51 { compatible = "nxp,pcf8563"; reg = <0x51>; - interrupts = <110>; + + interrupt-parent = <&gpf>; + interrupts = <30 IRQ_TYPE_LEVEL_LOW>; }; };