Skip to content

Commit ce39882

Browse files
committed
Merge tag 'amlogic-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into fixes
Amlogic fixes for v4.15-rc - GPIO interrupt fixes - socinfo fix for GX series - fix typo * tag 'amlogic-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic: ARM64: dts: meson-gx: fix UART pclk clock name meson-gx-socinfo: Fix package id parsing ARM: meson: fix spelling mistake: "Couln't" -> "Couldn't" ARM: dts: meson: fix the memory region of the GPIO interrupt controller ARM: dts: meson: correct the sort order for the the gpio_intc node Signed-off-by: Olof Johansson <[email protected]>
2 parents 3dda7f6 + 39005e5 commit ce39882

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

arch/arm/boot/dts/meson.dtsi

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,6 @@
8585
reg = <0x7c00 0x200>;
8686
};
8787

88-
gpio_intc: interrupt-controller@9880 {
89-
compatible = "amlogic,meson-gpio-intc";
90-
reg = <0xc1109880 0x10>;
91-
interrupt-controller;
92-
#interrupt-cells = <2>;
93-
amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
94-
status = "disabled";
95-
};
96-
9788
hwrng: rng@8100 {
9889
compatible = "amlogic,meson-rng";
9990
reg = <0x8100 0x8>;
@@ -191,6 +182,15 @@
191182
status = "disabled";
192183
};
193184

185+
gpio_intc: interrupt-controller@9880 {
186+
compatible = "amlogic,meson-gpio-intc";
187+
reg = <0x9880 0x10>;
188+
interrupt-controller;
189+
#interrupt-cells = <2>;
190+
amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
191+
status = "disabled";
192+
};
193+
194194
wdt: watchdog@9900 {
195195
compatible = "amlogic,meson6-wdt";
196196
reg = <0x9900 0x8>;

arch/arm/mach-meson/platsmp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ static void __init meson_smp_prepare_cpus(const char *scu_compatible,
102102

103103
scu_base = of_iomap(node, 0);
104104
if (!scu_base) {
105-
pr_err("Couln't map SCU registers\n");
105+
pr_err("Couldn't map SCU registers\n");
106106
return;
107107
}
108108

arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,12 +753,12 @@
753753

754754
&uart_B {
755755
clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>;
756-
clock-names = "xtal", "core", "baud";
756+
clock-names = "xtal", "pclk", "baud";
757757
};
758758

759759
&uart_C {
760760
clocks = <&xtal>, <&clkc CLKID_UART2>, <&xtal>;
761-
clock-names = "xtal", "core", "baud";
761+
clock-names = "xtal", "pclk", "baud";
762762
};
763763

764764
&vpu {

arch/arm64/boot/dts/amlogic/meson-gxl.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@
688688

689689
&uart_A {
690690
clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>;
691-
clock-names = "xtal", "core", "baud";
691+
clock-names = "xtal", "pclk", "baud";
692692
};
693693

694694
&uart_AO {
@@ -703,12 +703,12 @@
703703

704704
&uart_B {
705705
clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>;
706-
clock-names = "xtal", "core", "baud";
706+
clock-names = "xtal", "pclk", "baud";
707707
};
708708

709709
&uart_C {
710710
clocks = <&xtal>, <&clkc CLKID_UART2>, <&xtal>;
711-
clock-names = "xtal", "core", "baud";
711+
clock-names = "xtal", "pclk", "baud";
712712
};
713713

714714
&vpu {

drivers/soc/amlogic/meson-gx-socinfo.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
#define AO_SEC_SOCINFO_OFFSET AO_SEC_SD_CFG8
2121

2222
#define SOCINFO_MAJOR GENMASK(31, 24)
23-
#define SOCINFO_MINOR GENMASK(23, 16)
24-
#define SOCINFO_PACK GENMASK(15, 8)
23+
#define SOCINFO_PACK GENMASK(23, 16)
24+
#define SOCINFO_MINOR GENMASK(15, 8)
2525
#define SOCINFO_MISC GENMASK(7, 0)
2626

2727
static const struct meson_gx_soc_id {

0 commit comments

Comments
 (0)