Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'soc-arm-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc

Pull ARM SoC updates from Arnd Bergmann:
"These are mostly minor cleanups and bugfixes that address harmless
problems.

The largest branch is a conversion of the omap platform to use GPIO
descriptors throughout the tree, for any devices that are not fully
converted to devicetree.

The Samsung Exynos platform gains back support for the Exynos4212 chip
that was previously unused and removed but is now used for the Samsung
Galaxy Tab3"

* tag 'soc-arm-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (24 commits)
ARM: omap2: Fix copy/paste bug
MAINTAINERS: Replace my email address
Input: ads7846 - fix pointer cast warning
Input: ads7846 - Fix usage of match data
ARM: omap2: Fix checkpatch issues
arm: omap1: replace printk() with pr_err macro
ARM: omap: Fix checkpatch issues
ARM: s3c: Switch i2c drivers back to use .probe()
ARM: versatile: mark mmc_status() static
ARM: spear: include "pl080.h" for pl080_get_signal() prototype
ARM: sa1100: address missing prototype warnings
ARM: pxa: fix missing-prototypes warnings
ARM: orion5x: fix d2net gpio initialization
ARM: omap2: fix missing tick_broadcast() prototype
ARM: omap1: add missing include
ARM: lpc32xx: add missing include
ARM: imx: add missing include
ARM: highbank: add missing include
ARM: ep93xx: fix missing-prototype warnings
ARM: davinci: fix davinci_cpufreq_init() declaration
...

+135 -99
+21 -21
MAINTAINERS
··· 3893 3893 F: drivers/net/ethernet/broadcom/b44.* 3894 3894 3895 3895 BROADCOM B53/SF2 ETHERNET SWITCH DRIVER 3896 - M: Florian Fainelli <f.fainelli@gmail.com> 3896 + M: Florian Fainelli <florian.fainelli@broadcom.com> 3897 3897 L: netdev@vger.kernel.org 3898 3898 L: openwrt-devel@lists.openwrt.org (subscribers-only) 3899 3899 S: Supported ··· 3904 3904 F: include/linux/platform_data/b53.h 3905 3905 3906 3906 BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE 3907 - M: Florian Fainelli <f.fainelli@gmail.com> 3907 + M: Florian Fainelli <florian.fainelli@broadcom.com> 3908 3908 R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> 3909 3909 L: linux-rpi-kernel@lists.infradead.org (moderated for non-subscribers) 3910 3910 L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) ··· 3918 3918 N: raspberrypi 3919 3919 3920 3920 BROADCOM BCM281XX/BCM11XXX/BCM216XX ARM ARCHITECTURE 3921 - M: Florian Fainelli <f.fainelli@gmail.com> 3921 + M: Florian Fainelli <florian.fainelli@broadcom.com> 3922 3922 M: Ray Jui <rjui@broadcom.com> 3923 3923 M: Scott Branden <sbranden@broadcom.com> 3924 3924 R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> ··· 3957 3957 F: drivers/pinctrl/bcm/pinctrl-bcm4908.c 3958 3958 3959 3959 BROADCOM BCM5301X ARM ARCHITECTURE 3960 - M: Florian Fainelli <f.fainelli@gmail.com> 3960 + M: Florian Fainelli <florian.fainelli@broadcom.com> 3961 3961 M: Hauke Mehrtens <hauke@hauke-m.de> 3962 3962 M: Rafał Miłecki <zajec5@gmail.com> 3963 3963 R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> ··· 3970 3970 F: arch/arm/mach-bcm/bcm_5301x.c 3971 3971 3972 3972 BROADCOM BCM53573 ARM ARCHITECTURE 3973 - M: Florian Fainelli <f.fainelli@gmail.com> 3973 + M: Florian Fainelli <florian.fainelli@broadcom.com> 3974 3974 M: Rafał Miłecki <rafal@milecki.pl> 3975 3975 R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> 3976 3976 L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) ··· 3985 3985 F: drivers/usb/gadget/udc/bcm63xx_udc.* 3986 3986 3987 3987 BROADCOM BCM7XXX ARM ARCHITECTURE 3988 - M: Florian Fainelli <f.fainelli@gmail.com> 3988 + M: Florian Fainelli <florian.fainelli@broadcom.com> 3989 3989 R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> 3990 3990 L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) 3991 3991 S: Maintained ··· 4005 4005 M: William Zhang <william.zhang@broadcom.com> 4006 4006 M: Anand Gore <anand.gore@broadcom.com> 4007 4007 M: Kursad Oney <kursad.oney@broadcom.com> 4008 - M: Florian Fainelli <f.fainelli@gmail.com> 4008 + M: Florian Fainelli <florian.fainelli@broadcom.com> 4009 4009 M: Rafał Miłecki <rafal@milecki.pl> 4010 4010 R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> 4011 4011 L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) ··· 4030 4030 N: bcm[9]?6878 4031 4031 4032 4032 BROADCOM BDC DRIVER 4033 - M: Justin Chen <justinpopo6@gmail.com> 4033 + M: Justin Chen <justin.chen@broadcom.com> 4034 4034 M: Al Cooper <alcooperx@gmail.com> 4035 4035 R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> 4036 4036 L: linux-usb@vger.kernel.org ··· 4046 4046 F: drivers/cpufreq/bmips-cpufreq.c 4047 4047 4048 4048 BROADCOM BMIPS MIPS ARCHITECTURE 4049 - M: Florian Fainelli <f.fainelli@gmail.com> 4049 + M: Florian Fainelli <florian.fainelli@broadcom.com> 4050 4050 R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> 4051 4051 L: linux-mips@vger.kernel.org 4052 4052 S: Maintained ··· 4114 4114 4115 4115 BROADCOM BRCMSTB GPIO DRIVER 4116 4116 M: Doug Berger <opendmb@gmail.com> 4117 - M: Florian Fainelli <f.fainelli@gmail.com> 4117 + M: Florian Fainelli <florian.fainelli@broadcom> 4118 4118 R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> 4119 4119 S: Supported 4120 4120 F: Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.yaml 4121 4121 F: drivers/gpio/gpio-brcmstb.c 4122 4122 4123 4123 BROADCOM BRCMSTB I2C DRIVER 4124 - M: Kamal Dasu <kdasu.kdev@gmail.com> 4124 + M: Kamal Dasu <kamal.dasu@broadcom.com> 4125 4125 R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> 4126 4126 L: linux-i2c@vger.kernel.org 4127 4127 S: Supported ··· 4137 4137 F: drivers/tty/serial/8250/8250_bcm7271.c 4138 4138 4139 4139 BROADCOM BRCMSTB USB EHCI DRIVER 4140 - M: Justin Chen <justinpopo6@gmail.com> 4140 + M: Justin Chen <justin.chen@broadcom.com> 4141 4141 M: Al Cooper <alcooperx@gmail.com> 4142 4142 R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> 4143 4143 L: linux-usb@vger.kernel.org ··· 4154 4154 F: drivers/usb/misc/brcmstb-usb-pinmap.c 4155 4155 4156 4156 BROADCOM BRCMSTB USB2 and USB3 PHY DRIVER 4157 - M: Justin Chen <justinpopo6@gmail.com> 4157 + M: Justin Chen <justin.chen@broadcom.com> 4158 4158 M: Al Cooper <alcooperx@gmail.com> 4159 4159 R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> 4160 4160 L: linux-kernel@vger.kernel.org ··· 4173 4173 F: drivers/spi/spi-bcmbca-hsspi.c 4174 4174 4175 4175 BROADCOM ETHERNET PHY DRIVERS 4176 - M: Florian Fainelli <f.fainelli@gmail.com> 4176 + M: Florian Fainelli <florian.fainelli@broadcom.com> 4177 4177 R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> 4178 4178 L: netdev@vger.kernel.org 4179 4179 S: Supported ··· 4184 4184 4185 4185 BROADCOM GENET ETHERNET DRIVER 4186 4186 M: Doug Berger <opendmb@gmail.com> 4187 - M: Florian Fainelli <f.fainelli@gmail.com> 4187 + M: Florian Fainelli <florian.fainelli@broadcom.com> 4188 4188 R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> 4189 4189 L: netdev@vger.kernel.org 4190 4190 S: Supported ··· 4268 4268 4269 4269 BROADCOM PMB (POWER MANAGEMENT BUS) DRIVER 4270 4270 M: Rafał Miłecki <rafal@milecki.pl> 4271 - M: Florian Fainelli <f.fainelli@gmail.com> 4271 + M: Florian Fainelli <florian.fainelli@broadcom.com> 4272 4272 R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> 4273 4273 L: linux-pm@vger.kernel.org 4274 4274 S: Maintained ··· 4284 4284 F: include/linux/bcma/ 4285 4285 4286 4286 BROADCOM SPI DRIVER 4287 - M: Kamal Dasu <kdasu.kdev@gmail.com> 4287 + M: Kamal Dasu <kamal.dasu@broadcom.com> 4288 4288 R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> 4289 4289 S: Maintained 4290 4290 F: Documentation/devicetree/bindings/spi/brcm,spi-bcm-qspi.yaml ··· 4318 4318 4319 4319 BROADCOM STB NAND FLASH DRIVER 4320 4320 M: Brian Norris <computersforpeace@gmail.com> 4321 - M: Kamal Dasu <kdasu.kdev@gmail.com> 4321 + M: Kamal Dasu <kamal.dasu@broadcom.com> 4322 4322 R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> 4323 4323 L: linux-mtd@lists.infradead.org 4324 4324 S: Maintained ··· 4328 4328 BROADCOM STB PCIE DRIVER 4329 4329 M: Jim Quinlan <jim2101024@gmail.com> 4330 4330 M: Nicolas Saenz Julienne <nsaenz@kernel.org> 4331 - M: Florian Fainelli <f.fainelli@gmail.com> 4331 + M: Florian Fainelli <florian.fainelli@broadcom.com> 4332 4332 R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> 4333 4333 L: linux-pci@vger.kernel.org 4334 4334 S: Maintained ··· 4336 4336 F: drivers/pci/controller/pcie-brcmstb.c 4337 4337 4338 4338 BROADCOM SYSTEMPORT ETHERNET DRIVER 4339 - M: Florian Fainelli <f.fainelli@gmail.com> 4339 + M: Florian Fainelli <florian.fainelli@broadcom.com> 4340 4340 R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> 4341 4341 L: netdev@vger.kernel.org 4342 4342 S: Supported ··· 19032 19032 K: \bTIF_SECCOMP\b 19033 19033 19034 19034 SECURE DIGITAL HOST CONTROLLER INTERFACE (SDHCI) Broadcom BRCMSTB DRIVER 19035 - M: Kamal Dasu <kdasu.kdev@gmail.com> 19035 + M: Kamal Dasu <kamal.dasu@broadcom.com> 19036 19036 M: Al Cooper <alcooperx@gmail.com> 19037 19037 R: Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com> 19038 19038 L: linux-mmc@vger.kernel.org
+1 -1
arch/arm/common/sa1111.c
··· 695 695 /* 696 696 * Configure the SA1111 shared memory controller. 697 697 */ 698 - void 698 + static void 699 699 sa1111_configure_smc(struct sa1111 *sachip, int sdram, unsigned int drac, 700 700 unsigned int cas_latency) 701 701 {
+1
arch/arm/mach-davinci/common.c
··· 11 11 #include <linux/etherdevice.h> 12 12 #include <linux/davinci_emac.h> 13 13 #include <linux/dma-mapping.h> 14 + #include <linux/platform_data/davinci-cpufreq.h> 14 15 15 16 #include <asm/tlb.h> 16 17 #include <asm/mach/map.h>
-6
arch/arm/mach-davinci/common.h
··· 55 55 extern void davinci_init_ide(void); 56 56 void davinci_init_late(void); 57 57 58 - #ifdef CONFIG_CPU_FREQ 59 - int davinci_cpufreq_init(void); 60 - #else 61 - static inline int davinci_cpufreq_init(void) { return 0; } 62 - #endif 63 - 64 58 #ifdef CONFIG_SUSPEND 65 59 int davinci_pm_init(void); 66 60 #else
+2 -1
arch/arm/mach-ep93xx/timer-ep93xx.c
··· 9 9 #include <linux/io.h> 10 10 #include <asm/mach/time.h> 11 11 #include "soc.h" 12 + #include "platform.h" 12 13 13 14 /************************************************************************* 14 15 * Timer handling for EP93xx ··· 61 60 return ret; 62 61 } 63 62 64 - u64 ep93xx_clocksource_read(struct clocksource *c) 63 + static u64 ep93xx_clocksource_read(struct clocksource *c) 65 64 { 66 65 u64 ret; 67 66
+5
arch/arm/mach-exynos/Kconfig
··· 78 78 default y 79 79 depends on ARCH_EXYNOS4 80 80 81 + config SOC_EXYNOS4212 82 + bool "Samsung Exynos4212" 83 + default y 84 + depends on ARCH_EXYNOS4 85 + 81 86 config SOC_EXYNOS4412 82 87 bool "Samsung Exynos4412" 83 88 default y
+8
arch/arm/mach-exynos/common.h
··· 15 15 #define EXYNOS3_SOC_MASK 0xFFFFF000 16 16 17 17 #define EXYNOS4210_CPU_ID 0x43210000 18 + #define EXYNOS4212_CPU_ID 0x43220000 18 19 #define EXYNOS4412_CPU_ID 0xE4412200 19 20 #define EXYNOS4_CPU_MASK 0xFFFE0000 20 21 ··· 35 34 36 35 IS_SAMSUNG_CPU(exynos3250, EXYNOS3250_SOC_ID, EXYNOS3_SOC_MASK) 37 36 IS_SAMSUNG_CPU(exynos4210, EXYNOS4210_CPU_ID, EXYNOS4_CPU_MASK) 37 + IS_SAMSUNG_CPU(exynos4212, EXYNOS4212_CPU_ID, EXYNOS4_CPU_MASK) 38 38 IS_SAMSUNG_CPU(exynos4412, EXYNOS4412_CPU_ID, EXYNOS4_CPU_MASK) 39 39 IS_SAMSUNG_CPU(exynos5250, EXYNOS5250_SOC_ID, EXYNOS5_SOC_MASK) 40 40 IS_SAMSUNG_CPU(exynos5410, EXYNOS5410_SOC_ID, EXYNOS5_SOC_MASK) ··· 52 50 # define soc_is_exynos4210() is_samsung_exynos4210() 53 51 #else 54 52 # define soc_is_exynos4210() 0 53 + #endif 54 + 55 + #if defined(CONFIG_SOC_EXYNOS4212) 56 + # define soc_is_exynos4212() is_samsung_exynos4212() 57 + #else 58 + # define soc_is_exynos4212() 0 55 59 #endif 56 60 57 61 #if defined(CONFIG_SOC_EXYNOS4412)
+2
arch/arm/mach-exynos/exynos.c
··· 180 180 exynos_cpuidle.dev.platform_data = &cpuidle_coupled_exynos_data; 181 181 #endif 182 182 if (of_machine_is_compatible("samsung,exynos4210") || 183 + of_machine_is_compatible("samsung,exynos4212") || 183 184 (of_machine_is_compatible("samsung,exynos4412") && 184 185 (of_machine_is_compatible("samsung,trats2") || 185 186 of_machine_is_compatible("samsung,midas") || ··· 195 194 "samsung,exynos3250", 196 195 "samsung,exynos4", 197 196 "samsung,exynos4210", 197 + "samsung,exynos4212", 198 198 "samsung,exynos4412", 199 199 "samsung,exynos5", 200 200 "samsung,exynos5250",
+7 -1
arch/arm/mach-exynos/firmware.c
··· 63 63 * 64 64 * On Exynos5 devices the call is ignored by trustzone firmware. 65 65 */ 66 - if (!soc_is_exynos4210() && !soc_is_exynos4412()) 66 + if (!soc_is_exynos4210() && !soc_is_exynos4212() && 67 + !soc_is_exynos4412()) 67 68 return 0; 68 69 69 70 /* 70 71 * The second parameter of SMC_CMD_CPU1BOOT command means CPU id. 72 + * But, Exynos4212 has only one secondary CPU so second parameter 73 + * isn't used for informing secure firmware about CPU id. 71 74 */ 75 + if (soc_is_exynos4212()) 76 + cpu = 0; 77 + 72 78 exynos_smc(SMC_CMD_CPU1BOOT, cpu, 0, 0); 73 79 return 0; 74 80 }
+1 -1
arch/arm/mach-exynos/pm.c
··· 161 161 162 162 exynos_pm_central_suspend(); 163 163 164 - if (soc_is_exynos4412()) { 164 + if (soc_is_exynos4212() || soc_is_exynos4412()) { 165 165 /* Setting SEQ_OPTION register */ 166 166 pmu_raw_writel(S5P_USE_STANDBY_WFI0 | S5P_USE_STANDBY_WFE0, 167 167 S5P_CENTRAL_SEQ_OPTION);
+4
arch/arm/mach-exynos/suspend.c
··· 231 231 232 232 EXYNOS_PMU_IRQ(exynos3250_pmu_irq, "samsung,exynos3250-pmu"); 233 233 EXYNOS_PMU_IRQ(exynos4210_pmu_irq, "samsung,exynos4210-pmu"); 234 + EXYNOS_PMU_IRQ(exynos4212_pmu_irq, "samsung,exynos4212-pmu"); 234 235 EXYNOS_PMU_IRQ(exynos4412_pmu_irq, "samsung,exynos4412-pmu"); 235 236 EXYNOS_PMU_IRQ(exynos5250_pmu_irq, "samsung,exynos5250-pmu"); 236 237 EXYNOS_PMU_IRQ(exynos5420_pmu_irq, "samsung,exynos5420-pmu"); ··· 640 639 .data = &exynos3250_pm_data, 641 640 }, { 642 641 .compatible = "samsung,exynos4210-pmu", 642 + .data = &exynos4_pm_data, 643 + }, { 644 + .compatible = "samsung,exynos4212-pmu", 643 645 .data = &exynos4_pm_data, 644 646 }, { 645 647 .compatible = "samsung,exynos4412-pmu",
+2
arch/arm/mach-highbank/pm.c
··· 12 12 13 13 #include <uapi/linux/psci.h> 14 14 15 + #include "core.h" 16 + 15 17 #define HIGHBANK_SUSPEND_PARAM \ 16 18 ((0 << PSCI_0_2_POWER_STATE_ID_SHIFT) | \ 17 19 (1 << PSCI_0_2_POWER_STATE_AFFL_SHIFT) | \
+1
arch/arm/mach-imx/pm-imx25.c
··· 6 6 #include <linux/kernel.h> 7 7 #include <linux/suspend.h> 8 8 #include <linux/io.h> 9 + #include "common.h" 9 10 10 11 static int imx25_suspend_enter(suspend_state_t state) 11 12 {
+1
arch/arm/mach-lpc32xx/serial.c
··· 15 15 #include <linux/serial_8250.h> 16 16 #include <linux/clk.h> 17 17 #include <linux/io.h> 18 + #include <linux/soc/nxp/lpc32xx-misc.h> 18 19 19 20 #include "lpc32xx.h" 20 21 #include "common.h"
+1 -1
arch/arm/mach-omap1/pm.c
··· 632 632 633 633 error = sysfs_create_file(power_kobj, &sleep_while_idle_attr.attr); 634 634 if (error) 635 - printk(KERN_ERR "sysfs_create_file failed: %d\n", error); 635 + pr_err("sysfs_create_file failed: %d\n", error); 636 636 637 637 if (cpu_is_omap16xx()) { 638 638 /* configure LOW_PWR pin */
+1
arch/arm/mach-omap1/serial.c
··· 20 20 21 21 #include <asm/mach-types.h> 22 22 23 + #include "common.h" 23 24 #include "serial.h" 24 25 #include "mux.h" 25 26 #include "pm.h"
+1 -1
arch/arm/mach-omap1/sram-init.c
··· 23 23 24 24 #define OMAP1_SRAM_PA 0x20000000 25 25 #define SRAM_BOOTLOADER_SZ 0x80 26 - #define ROUND_DOWN(value,boundary) ((value) & (~((boundary)-1))) 26 + #define ROUND_DOWN(value, boundary) ((value) & (~((boundary) - 1))) 27 27 28 28 static void __iomem *omap_sram_base; 29 29 static unsigned long omap_sram_start;
+1
arch/arm/mach-omap2/board-generic.c
··· 13 13 #include <linux/of_platform.h> 14 14 #include <linux/irqdomain.h> 15 15 #include <linux/clocksource.h> 16 + #include <linux/clockchips.h> 16 17 17 18 #include <asm/setup.h> 18 19 #include <asm/mach/arch.h>
+1 -1
arch/arm/mach-omap2/board-n8x0.c
··· 158 158 "vsd", 1, GPIO_ACTIVE_HIGH), 159 159 /* Slot index 1, VIO power, GPIO 9 */ 160 160 GPIO_LOOKUP_IDX("gpio-0-15", 9, 161 - "vsd", 1, GPIO_ACTIVE_HIGH), 161 + "vio", 1, GPIO_ACTIVE_HIGH), 162 162 { } 163 163 }, 164 164 };
+1
arch/arm/mach-omap2/omap-wakeupgen.c
··· 374 374 static void irq_save_secure_context(void) 375 375 { 376 376 u32 ret; 377 + 377 378 ret = omap_secure_dispatcher(OMAP4_HAL_SAVEGIC_INDEX, 378 379 FLAG_START_CRITICAL, 379 380 0, 0, 0, 0, 0);
+5 -6
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
··· 1851 1851 .fw = { 1852 1852 .omap2 = { 1853 1853 .l4_fw_region = OMAP3_L4_CORE_FW_DSS_RFBI_REGION, 1854 - .l4_prot_group = OMAP3_L4_CORE_FW_DSS_PROT_GROUP , 1854 + .l4_prot_group = OMAP3_L4_CORE_FW_DSS_PROT_GROUP, 1855 1855 .flags = OMAP_FIREWALL_L4, 1856 1856 }, 1857 1857 }, ··· 2172 2172 /* 2173 2173 * According to Mark Greer, the MPU will not return from WFI 2174 2174 * when the EMAC signals an interrupt. 2175 - * http://www.spinics.net/lists/arm-kernel/msg174734.html 2175 + * https://lore.kernel.org/all/1336770778-23044-3-git-send-email-mgreer@animalcreek.com/ 2176 2176 */ 2177 2177 .flags = (HWMOD_NO_IDLEST | HWMOD_BLOCK_WFI), 2178 2178 }; ··· 2346 2346 NULL 2347 2347 }; 2348 2348 2349 - 2350 2349 /* 2351 2350 * Apparently the SHA/MD5 and AES accelerator IP blocks are 2352 2351 * only present on some AM35xx chips, and no one knows which 2353 - * ones. See 2354 - * http://www.spinics.net/lists/arm-kernel/msg215466.html So 2355 - * if you need these IP blocks on an AM35xx, try uncommenting 2352 + * ones. 2353 + * See https://lore.kernel.org/all/20130108203853.GB1876@animalcreek.com/ 2354 + * So if you need these IP blocks on an AM35xx, try uncommenting 2356 2355 * the following lines. 2357 2356 */ 2358 2357 static struct omap_hwmod_ocp_if *am35xx_sham_hwmod_ocp_ifs[] __initdata = {
+6 -6
arch/arm/mach-omap2/omap_phy_internal.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 2 /* 3 - * This file configures the internal USB PHY in OMAP4430. Used 4 - * with TWL6030 transceiver and MUSB on OMAP4430. 5 - * 6 - * Copyright (C) 2010 Texas Instruments Incorporated - https://www.ti.com 7 - * Author: Hema HK <hemahk@ti.com> 8 - */ 3 + * This file configures the internal USB PHY in OMAP4430. Used 4 + * with TWL6030 transceiver and MUSB on OMAP4430. 5 + * 6 + * Copyright (C) 2010 Texas Instruments Incorporated - https://www.ti.com 7 + * Author: Hema HK <hemahk@ti.com> 8 + */ 9 9 10 10 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 11 11
-2
arch/arm/mach-omap2/sdrc2xxx.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 - * linux/arch/arm/mach-omap2/sdrc2xxx.c 4 - * 5 3 * SDRAM timing related functions for OMAP2xxx 6 4 * 7 5 * Copyright (C) 2005, 2008 Texas Instruments Inc.
+2 -2
arch/arm/mach-omap2/sram.c
··· 45 45 46 46 #define GP_DEVICE 0x300 47 47 48 - #define ROUND_DOWN(value,boundary) ((value) & (~((boundary)-1))) 48 + #define ROUND_DOWN(value, boundary) ((value) & (~((boundary) - 1))) 49 49 50 50 static unsigned long omap_sram_start; 51 51 static unsigned long omap_sram_size; ··· 118 118 */ 119 119 static int is_sram_locked(void) 120 120 { 121 - if (OMAP2_DEVICE_TYPE_GP == omap_type()) { 121 + if (omap_type() == OMAP2_DEVICE_TYPE_GP) { 122 122 /* RAMFW: R/W access to all initiators for all qualifier sets */ 123 123 if (cpu_is_omap242x()) { 124 124 writel_relaxed(0xFF, OMAP24XX_VA_REQINFOPERM0); /* all q-vects */
+2 -1
arch/arm/mach-omap2/ti81xx-restart.c
··· 26 26 { 27 27 omap2_prm_set_mod_reg_bits(TI81XX_GLOBAL_RST_COLD, 0, 28 28 TI81XX_PRM_DEVICE_RSTCTRL); 29 - while (1); 29 + while (1) 30 + ; 30 31 }
+3
arch/arm/mach-orion5x/board-dt.c
··· 60 60 if (of_machine_is_compatible("maxtor,shared-storage-2")) 61 61 mss2_init(); 62 62 63 + if (of_machine_is_compatible("lacie,d2-network")) 64 + d2net_init(); 65 + 63 66 of_platform_default_populate(NULL, orion5x_auxdata_lookup, NULL); 64 67 } 65 68
+6
arch/arm/mach-orion5x/common.h
··· 73 73 static inline void mss2_init(void) {} 74 74 #endif 75 75 76 + #ifdef CONFIG_MACH_D2NET_DT 77 + void d2net_init(void); 78 + #else 79 + static inline void d2net_init(void) {} 80 + #endif 81 + 76 82 /***************************************************************************** 77 83 * Helpers to access Orion registers 78 84 ****************************************************************************/
-15
arch/arm/mach-pxa/generic.h
··· 27 27 extern void __init pxa26x_init_irq(void); 28 28 29 29 #define pxa27x_handle_irq ichp_handle_irq 30 - extern unsigned pxa27x_get_clk_frequency_khz(int); 31 30 extern void __init pxa27x_init_irq(void); 32 31 extern void __init pxa27x_map_io(void); 33 32 ··· 51 52 static inline void pxa2xx_clear_reset_status(unsigned int mask) {} 52 53 #endif 53 54 54 - /* 55 - * Once fully converted to the clock framework, all these functions should be 56 - * removed, and replaced with a clk_get(NULL, "core"). 57 - */ 58 - #ifdef CONFIG_PXA25x 59 - extern unsigned pxa25x_get_clk_frequency_khz(int); 60 - #else 61 - #define pxa25x_get_clk_frequency_khz(x) (0) 62 - #endif 63 - 64 - #ifdef CONFIG_PXA27x 65 - #else 66 - #define pxa27x_get_clk_frequency_khz(x) (0) 67 - #endif 68 55
+1
arch/arm/mach-pxa/mfp-pxa2xx.c
··· 20 20 21 21 #include "pxa2xx-regs.h" 22 22 #include "mfp-pxa2xx.h" 23 + #include "mfp-pxa27x.h" 23 24 24 25 #include "generic.h" 25 26
+1
arch/arm/mach-pxa/pxa25x.c
··· 27 27 #include <linux/irqchip.h> 28 28 #include <linux/platform_data/mmp_dma.h> 29 29 #include <linux/soc/pxa/cpu.h> 30 + #include <linux/soc/pxa/smemc.h> 30 31 31 32 #include <asm/mach/map.h> 32 33 #include <asm/suspend.h>
+3
arch/arm/mach-pxa/pxa27x.c
··· 24 24 #include <linux/platform_data/i2c-pxa.h> 25 25 #include <linux/platform_data/mmp_dma.h> 26 26 #include <linux/soc/pxa/cpu.h> 27 + #include <linux/soc/pxa/smemc.h> 27 28 28 29 #include <asm/mach/map.h> 29 30 #include <asm/irq.h> ··· 32 31 #include "irqs.h" 33 32 #include "pxa27x.h" 34 33 #include "reset.h" 34 + #include <linux/platform_data/pxa2xx_udc.h> 35 35 #include <linux/platform_data/usb-ohci-pxa27x.h> 36 + #include <linux/platform_data/asoc-pxa.h> 36 37 #include "pm.h" 37 38 #include "addr-map.h" 38 39 #include "smemc.h"
+1
arch/arm/mach-pxa/reset.c
··· 10 10 #include "regs-ost.h" 11 11 #include "reset.h" 12 12 #include "smemc.h" 13 + #include "generic.h" 13 14 14 15 static void do_hw_reset(void); 15 16
+1 -1
arch/arm/mach-pxa/spitz_pm.c
··· 166 166 gpio_get_value(SPITZ_GPIO_SYNC); 167 167 } 168 168 169 - unsigned long spitzpm_read_devdata(int type) 169 + static unsigned long spitzpm_read_devdata(int type) 170 170 { 171 171 switch (type) { 172 172 case SHARPSL_STATUS_ACIN:
-6
arch/arm/mach-s3c/Kconfig.s3c64xx
··· 69 69 help 70 70 Common setup code for i2c bus 1. 71 71 72 - config S3C64XX_SETUP_IDE 73 - bool 74 - help 75 - Common setup code for S3C64XX IDE. 76 - 77 72 config S3C64XX_SETUP_FB_24BPP 78 73 bool 79 74 help ··· 105 110 select S3C64XX_DEV_SPI0 106 111 select S3C64XX_SETUP_FB_24BPP 107 112 select S3C64XX_SETUP_I2C1 108 - select S3C64XX_SETUP_IDE 109 113 select S3C64XX_SETUP_KEYPAD 110 114 select S3C64XX_SETUP_SDHCI 111 115 select S3C64XX_SETUP_SPI
+1 -1
arch/arm/mach-s3c/mach-crag6410-module.c
··· 418 418 .driver = { 419 419 .name = "wlf-gf-module" 420 420 }, 421 - .probe_new = wlf_gf_module_probe, 421 + .probe = wlf_gf_module_probe, 422 422 .id_table = wlf_gf_module_id, 423 423 }; 424 424
+1 -1
arch/arm/mach-sa1100/assabet.c
··· 710 710 sa1100_register_uart(2, 3); 711 711 } 712 712 713 - void __init assabet_init_irq(void) 713 + static void __init assabet_init_irq(void) 714 714 { 715 715 u32 def_val; 716 716
+2
arch/arm/mach-sa1100/pm.c
··· 33 33 #include <asm/suspend.h> 34 34 #include <asm/mach/time.h> 35 35 36 + #include "generic.h" 37 + 36 38 extern int sa1100_finish_suspend(unsigned long); 37 39 38 40 #define SAVE(x) sleep_save[SLEEP_SAVE_##x] = x
+1
arch/arm/mach-spear/pl080.c
··· 16 16 #include <linux/spinlock_types.h> 17 17 #include "spear.h" 18 18 #include "misc_regs.h" 19 + #include "pl080.h" 19 20 20 21 static spinlock_t lock = __SPIN_LOCK_UNLOCKED(x); 21 22
+1 -1
arch/arm/mach-versatile/versatile.c
··· 53 53 54 54 static void __iomem *versatile_sys_base; 55 55 56 - unsigned int mmc_status(struct device *dev) 56 + static unsigned int mmc_status(struct device *dev) 57 57 { 58 58 struct amba_device *adev = container_of(dev, struct amba_device, dev); 59 59 u32 mask;
+2
drivers/clk/pxa/clk-pxa25x.c
··· 11 11 */ 12 12 #include <linux/clk-provider.h> 13 13 #include <linux/clk.h> 14 + #include <linux/clk/pxa.h> 14 15 #include <linux/clkdev.h> 15 16 #include <linux/io.h> 16 17 #include <linux/of.h> 17 18 #include <linux/soc/pxa/smemc.h> 19 + #include <linux/soc/pxa/cpu.h> 18 20 19 21 #include <dt-bindings/clock/pxa-clock.h> 20 22 #include "clk-pxa.h"
+2 -1
drivers/clk/pxa/clk-pxa27x.c
··· 12 12 #include <linux/clkdev.h> 13 13 #include <linux/of.h> 14 14 #include <linux/soc/pxa/smemc.h> 15 + #include <linux/clk/pxa.h> 15 16 16 17 #include <dt-bindings/clock/pxa-clock.h> 17 18 #include "clk-pxa.h" ··· 100 99 return (unsigned int)clks[0] / KHz; 101 100 } 102 101 103 - bool pxa27x_is_ppll_disabled(void) 102 + static bool pxa27x_is_ppll_disabled(void) 104 103 { 105 104 unsigned long ccsr = readl(clk_regs + CCSR); 106 105
+1
drivers/hwmon/max1111.c
··· 80 80 #ifdef CONFIG_SHARPSL_PM 81 81 static struct max1111_data *the_max1111; 82 82 83 + int max1111_read_channel(int channel); 83 84 int max1111_read_channel(int channel) 84 85 { 85 86 if (!the_max1111 || !the_max1111->spi)
+1 -8
drivers/input/touchscreen/ads7846.c
··· 1117 1117 static const struct ads7846_platform_data *ads7846_get_props(struct device *dev) 1118 1118 { 1119 1119 struct ads7846_platform_data *pdata; 1120 - const struct platform_device_id *pdev_id; 1121 1120 u32 value; 1122 - 1123 - pdev_id = device_get_match_data(dev); 1124 - if (!pdev_id) { 1125 - dev_err(dev, "Unknown device model\n"); 1126 - return ERR_PTR(-EINVAL); 1127 - } 1128 1121 1129 1122 pdata = devm_kzalloc(dev, sizeof(*pdata), GFP_KERNEL); 1130 1123 if (!pdata) 1131 1124 return ERR_PTR(-ENOMEM); 1132 1125 1133 - pdata->model = (unsigned long)pdev_id->driver_data; 1126 + pdata->model = (uintptr_t)device_get_match_data(dev); 1134 1127 1135 1128 device_property_read_u16(dev, "ti,vref-delay-usecs", 1136 1129 &pdata->vref_delay_usecs);
-6
drivers/usb/gadget/udc/pxa27x_udc.c
··· 2472 2472 udc_disable(udc); 2473 2473 } 2474 2474 2475 - #ifdef CONFIG_PXA27x 2476 - extern void pxa27x_clear_otgph(void); 2477 - #else 2478 - #define pxa27x_clear_otgph() do {} while (0) 2479 - #endif 2480 - 2481 2475 #ifdef CONFIG_PM 2482 2476 /** 2483 2477 * pxa_udc_suspend - Suspend udc device
+1 -6
drivers/usb/host/ohci-pxa27x.c
··· 29 29 #include <linux/of_platform.h> 30 30 #include <linux/of_gpio.h> 31 31 #include <linux/platform_data/usb-ohci-pxa27x.h> 32 + #include <linux/platform_data/pxa2xx_udc.h> 32 33 #include <linux/platform_device.h> 33 34 #include <linux/regulator/consumer.h> 34 35 #include <linux/signal.h> ··· 263 262 udelay(11); 264 263 __raw_writel(uhchr & ~UHCHR_FHR, pxa_ohci->mmio_base + UHCHR); 265 264 } 266 - 267 - #ifdef CONFIG_PXA27x 268 - extern void pxa27x_clear_otgph(void); 269 - #else 270 - #define pxa27x_clear_otgph() do {} while (0) 271 - #endif 272 265 273 266 static int pxa27x_start_hc(struct pxa27x_ohci *pxa_ohci, struct device *dev) 274 267 {
+1
include/linux/platform_data/asoc-pxa.h
··· 27 27 } pxa2xx_audio_ops_t; 28 28 29 29 extern void pxa_set_ac97_info(pxa2xx_audio_ops_t *ops); 30 + extern void pxa27x_configure_ac97reset(int reset_gpio, bool to_gpio); 30 31 31 32 #endif
+6
include/linux/platform_data/davinci-cpufreq.h
··· 16 16 int (*init)(void); 17 17 }; 18 18 19 + #ifdef CONFIG_CPU_FREQ 20 + int davinci_cpufreq_init(void); 21 + #else 22 + static inline int davinci_cpufreq_init(void) { return 0; } 23 + #endif 24 + 19 25 #endif /* _MACH_DAVINCI_CPUFREQ_H */
+6
include/linux/platform_data/pxa2xx_udc.h
··· 25 25 int gpio_pullup; /* high == pullup activated */ 26 26 }; 27 27 28 + #ifdef CONFIG_PXA27x 29 + extern void pxa27x_clear_otgph(void); 30 + #else 31 + #define pxa27x_clear_otgph() do {} while (0) 32 + #endif 33 + 28 34 #endif
+16
include/linux/soc/pxa/smemc.h
··· 10 10 unsigned int pxa3xx_smemc_get_memclkdiv(void); 11 11 void __iomem *pxa_smemc_get_mdrefr(void); 12 12 13 + /* 14 + * Once fully converted to the clock framework, all these functions should be 15 + * removed, and replaced with a clk_get(NULL, "core"). 16 + */ 17 + #ifdef CONFIG_PXA25x 18 + extern unsigned pxa25x_get_clk_frequency_khz(int); 19 + #else 20 + #define pxa25x_get_clk_frequency_khz(x) (0) 21 + #endif 22 + 23 + #ifdef CONFIG_PXA27x 24 + extern unsigned pxa27x_get_clk_frequency_khz(int); 25 + #else 26 + #define pxa27x_get_clk_frequency_khz(x) (0) 27 + #endif 28 + 13 29 #endif
-2
sound/arm/pxa2xx-ac97-lib.c
··· 33 33 static int reset_gpio; 34 34 static void __iomem *ac97_reg_base; 35 35 36 - extern void pxa27x_configure_ac97reset(int reset_gpio, bool to_gpio); 37 - 38 36 /* 39 37 * Beware PXA27x bugs: 40 38 *