diff options
| author | Olof Johansson <olof@lixom.net> | 2017-12-09 23:23:29 -0500 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2017-12-09 23:23:29 -0500 |
| commit | ce39882eb1d87dd9bb4f89d4ae09ef2547aee079 (patch) | |
| tree | 17eb01f9806102123aabbc64ff6c02eaef799cb4 | |
| parent | 3dda7f63e0e46db96b5373e740d03be2c44529c7 (diff) | |
| parent | 39005e562a88c61fa77acef1d2c0cb81ee6b0423 (diff) | |
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 <olof@lixom.net>
| -rw-r--r-- | arch/arm/boot/dts/meson.dtsi | 18 | ||||
| -rw-r--r-- | arch/arm/mach-meson/platsmp.c | 2 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 4 | ||||
| -rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 6 | ||||
| -rw-r--r-- | drivers/soc/amlogic/meson-gx-socinfo.c | 4 |
5 files changed, 17 insertions, 17 deletions
diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi index 4926133077b3..0d9faf1a51ea 100644 --- a/arch/arm/boot/dts/meson.dtsi +++ b/arch/arm/boot/dts/meson.dtsi | |||
| @@ -85,15 +85,6 @@ | |||
| 85 | reg = <0x7c00 0x200>; | 85 | reg = <0x7c00 0x200>; |
| 86 | }; | 86 | }; |
| 87 | 87 | ||
| 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 | |||
| 97 | hwrng: rng@8100 { | 88 | hwrng: rng@8100 { |
| 98 | compatible = "amlogic,meson-rng"; | 89 | compatible = "amlogic,meson-rng"; |
| 99 | reg = <0x8100 0x8>; | 90 | reg = <0x8100 0x8>; |
| @@ -191,6 +182,15 @@ | |||
| 191 | status = "disabled"; | 182 | status = "disabled"; |
| 192 | }; | 183 | }; |
| 193 | 184 | ||
| 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 | |||
| 194 | wdt: watchdog@9900 { | 194 | wdt: watchdog@9900 { |
| 195 | compatible = "amlogic,meson6-wdt"; | 195 | compatible = "amlogic,meson6-wdt"; |
| 196 | reg = <0x9900 0x8>; | 196 | reg = <0x9900 0x8>; |
diff --git a/arch/arm/mach-meson/platsmp.c b/arch/arm/mach-meson/platsmp.c index 2555f9056a33..cad7ee8f0d6b 100644 --- a/arch/arm/mach-meson/platsmp.c +++ b/arch/arm/mach-meson/platsmp.c | |||
| @@ -102,7 +102,7 @@ static void __init meson_smp_prepare_cpus(const char *scu_compatible, | |||
| 102 | 102 | ||
| 103 | scu_base = of_iomap(node, 0); | 103 | scu_base = of_iomap(node, 0); |
| 104 | if (!scu_base) { | 104 | if (!scu_base) { |
| 105 | pr_err("Couln't map SCU registers\n"); | 105 | pr_err("Couldn't map SCU registers\n"); |
| 106 | return; | 106 | return; |
| 107 | } | 107 | } |
| 108 | 108 | ||
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index ead895a4e9a5..1fb8b9d6cb4e 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | |||
| @@ -753,12 +753,12 @@ | |||
| 753 | 753 | ||
| 754 | &uart_B { | 754 | &uart_B { |
| 755 | clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>; | 755 | clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>; |
| 756 | clock-names = "xtal", "core", "baud"; | 756 | clock-names = "xtal", "pclk", "baud"; |
| 757 | }; | 757 | }; |
| 758 | 758 | ||
| 759 | &uart_C { | 759 | &uart_C { |
| 760 | clocks = <&xtal>, <&clkc CLKID_UART2>, <&xtal>; | 760 | clocks = <&xtal>, <&clkc CLKID_UART2>, <&xtal>; |
| 761 | clock-names = "xtal", "core", "baud"; | 761 | clock-names = "xtal", "pclk", "baud"; |
| 762 | }; | 762 | }; |
| 763 | 763 | ||
| 764 | &vpu { | 764 | &vpu { |
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi index 8ed981f59e5a..6524b89e7115 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | |||
| @@ -688,7 +688,7 @@ | |||
| 688 | 688 | ||
| 689 | &uart_A { | 689 | &uart_A { |
| 690 | clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>; | 690 | clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>; |
| 691 | clock-names = "xtal", "core", "baud"; | 691 | clock-names = "xtal", "pclk", "baud"; |
| 692 | }; | 692 | }; |
| 693 | 693 | ||
| 694 | &uart_AO { | 694 | &uart_AO { |
| @@ -703,12 +703,12 @@ | |||
| 703 | 703 | ||
| 704 | &uart_B { | 704 | &uart_B { |
| 705 | clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>; | 705 | clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>; |
| 706 | clock-names = "xtal", "core", "baud"; | 706 | clock-names = "xtal", "pclk", "baud"; |
| 707 | }; | 707 | }; |
| 708 | 708 | ||
| 709 | &uart_C { | 709 | &uart_C { |
| 710 | clocks = <&xtal>, <&clkc CLKID_UART2>, <&xtal>; | 710 | clocks = <&xtal>, <&clkc CLKID_UART2>, <&xtal>; |
| 711 | clock-names = "xtal", "core", "baud"; | 711 | clock-names = "xtal", "pclk", "baud"; |
| 712 | }; | 712 | }; |
| 713 | 713 | ||
| 714 | &vpu { | 714 | &vpu { |
diff --git a/drivers/soc/amlogic/meson-gx-socinfo.c b/drivers/soc/amlogic/meson-gx-socinfo.c index 89f4cf507be6..f2d8c3c53ea4 100644 --- a/drivers/soc/amlogic/meson-gx-socinfo.c +++ b/drivers/soc/amlogic/meson-gx-socinfo.c | |||
| @@ -20,8 +20,8 @@ | |||
| 20 | #define AO_SEC_SOCINFO_OFFSET AO_SEC_SD_CFG8 | 20 | #define AO_SEC_SOCINFO_OFFSET AO_SEC_SD_CFG8 |
| 21 | 21 | ||
| 22 | #define SOCINFO_MAJOR GENMASK(31, 24) | 22 | #define SOCINFO_MAJOR GENMASK(31, 24) |
| 23 | #define SOCINFO_MINOR GENMASK(23, 16) | 23 | #define SOCINFO_PACK GENMASK(23, 16) |
| 24 | #define SOCINFO_PACK GENMASK(15, 8) | 24 | #define SOCINFO_MINOR GENMASK(15, 8) |
| 25 | #define SOCINFO_MISC GENMASK(7, 0) | 25 | #define SOCINFO_MISC GENMASK(7, 0) |
| 26 | 26 | ||
| 27 | static const struct meson_gx_soc_id { | 27 | static const struct meson_gx_soc_id { |
