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

Configure Feed

Select the types of activity you want to include in your feed.

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

Pull ARM SoC cleanups from Arnd Bergmann:
"These are all minor cleanups for platform specific code in arch/arm/
and some of the associated drivers. The majority of these are work
done by Rob Herring to improve the way devicetreee header files are
handled"

* tag 'soc-arm-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (49 commits)
ARM: davinci: Drop unused includes
ARM: s5pv210: Explicitly include correct DT includes
ARM: dove: Drop unused includes
ARM: mvebu: Explicitly include correct DT includes
Documentation/process: maintainer-soc: document dtbs_check requirement for Samsung
MAINTAINER: samsung: document dtbs_check requirement for Samsung
Documentation/process: maintainer-soc: add clean platforms profile
MAINTAINERS: soc: reference maintainer profile
ARM: nspire: Remove unused header file mmio.h
ARM: nspire: Use syscon-reboot to handle restart
soc: fsl: Explicitly include correct DT includes
soc: xilinx: Explicitly include correct DT includes
soc: sunxi: Explicitly include correct DT includes
soc: rockchip: Explicitly include correct DT includes
soc: mediatek: Explicitly include correct DT includes
soc: aspeed: Explicitly include correct DT includes
firmware: Explicitly include correct DT includes
bus: Explicitly include correct DT includes
ARM: spear: Explicitly include correct DT includes
ARM: mvebu: Explicitly include correct DT includes
...

+137 -336
+1
Documentation/process/maintainer-handbooks.rst
··· 17 17 18 18 maintainer-netdev 19 19 maintainer-soc 20 + maintainer-soc-clean-dts 20 21 maintainer-tip 21 22 maintainer-kvm-x86
+25
Documentation/process/maintainer-soc-clean-dts.rst
··· 1 + .. SPDX-License-Identifier: GPL-2.0 2 + 3 + ============================================== 4 + SoC Platforms with DTS Compliance Requirements 5 + ============================================== 6 + 7 + Overview 8 + -------- 9 + 10 + SoC platforms or subarchitectures should follow all the rules from 11 + Documentation/process/maintainer-soc.rst. This document referenced in 12 + MAINTAINERS impose additional requirements listed below. 13 + 14 + Strict DTS DT Schema and dtc Compliance 15 + --------------------------------------- 16 + 17 + No changes to the SoC platform Devicetree sources (DTS files) should introduce 18 + new ``make dtbs_check W=1`` warnings. Warnings in a new board DTS, which are 19 + results of issues in an included DTSI file, are considered existing, not new 20 + warnings. The platform maintainers have automation in place which should point 21 + out any new warnings. 22 + 23 + If a commit introducing new warnings gets accepted somehow, the resulting 24 + issues shall be fixed in reasonable time (e.g. within one release) or the 25 + commit reverted.
+2 -2
Documentation/process/maintainer-soc.rst
··· 133 133 more information on the validation of devicetrees. 134 134 135 135 For new platforms, or additions to existing ones, ``make dtbs_check`` should not 136 - add any new warnings. For RISC-V, as it has the advantage of being a newer 137 - architecture, ``make dtbs_check W=1`` is required to not add any new warnings. 136 + add any new warnings. For RISC-V and Samsung SoC, ``make dtbs_check W=1`` is 137 + required to not add any new warnings. 138 138 If in any doubt about a devicetree change, reach out to the devicetree 139 139 maintainers. 140 140
+4 -1
MAINTAINERS
··· 1570 1570 M: soc@kernel.org 1571 1571 L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) 1572 1572 S: Maintained 1573 + P: Documentation/process/maintainer-soc.rst 1573 1574 C: irc://irc.libera.chat/armlinux 1574 1575 T: git git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git 1575 - F: Documentation/process/maintainer-soc.rst 1576 + F: Documentation/process/maintainer-soc*.rst 1576 1577 F: arch/arm/boot/dts/Makefile 1577 1578 F: arch/arm64/boot/dts/Makefile 1578 1579 ··· 2642 2641 L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) 2643 2642 L: linux-samsung-soc@vger.kernel.org 2644 2643 S: Maintained 2644 + P: Documentation/process/maintainer-soc-clean-dts.rst 2645 2645 Q: https://patchwork.kernel.org/project/linux-samsung-soc/list/ 2646 2646 B: mailto:linux-samsung-soc@vger.kernel.org 2647 2647 C: irc://irc.libera.chat/linux-exynos ··· 15605 15603 W: http://linux.omap.com/ 15606 15604 Q: http://patchwork.kernel.org/project/linux-omap/list/ 15607 15605 T: git git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git 15606 + F: Documentation/devicetree/bindings/arm/ti/omap.yaml 15608 15607 F: arch/arm/configs/omap2plus_defconfig 15609 15608 F: arch/arm/mach-omap2/ 15610 15609 F: drivers/bus/ti-sysc.c
+2
arch/arm/include/asm/hardware/cache-l2x0.h
··· 9 9 #define __ASM_ARM_HARDWARE_L2X0_H 10 10 11 11 #include <linux/errno.h> 12 + #include <linux/init.h> 13 + #include <linux/types.h> 12 14 13 15 #define L2X0_CACHE_ID 0x000 14 16 #define L2X0_CACHE_TYPE 0x004
-2
arch/arm/mach-alpine/alpine_machine.c
··· 5 5 * Copyright (C) 2015 Annapurna Labs Ltd. 6 6 */ 7 7 8 - #include <linux/of_platform.h> 9 - 10 8 #include <asm/mach/arch.h> 11 9 12 10 static const char * const al_match[] __initconst = {
+1
arch/arm/mach-at91/pm.c
··· 12 12 #include <linux/of.h> 13 13 #include <linux/of_fdt.h> 14 14 #include <linux/of_platform.h> 15 + #include <linux/platform_device.h> 15 16 #include <linux/parser.h> 16 17 #include <linux/suspend.h> 17 18
-7
arch/arm/mach-at91/samv7.c
··· 5 5 * Copyright (C) 2013 Atmel, 6 6 * 2016 Andras Szemzo <szemzo.andras@gmail.com> 7 7 */ 8 - #include <linux/of.h> 9 - #include <linux/of_platform.h> 10 - #include <linux/of_address.h> 11 - #include <linux/slab.h> 12 8 #include <asm/mach/arch.h> 13 - #include <asm/mach/map.h> 14 - #include <asm/system_misc.h> 15 - #include "generic.h" 16 9 17 10 static const char *const samv7_dt_board_compat[] __initconst = { 18 11 "atmel,samv7",
-2
arch/arm/mach-bcm/bcm_5301x.c
··· 5 5 * 6 6 * Licensed under the GNU/GPL. See COPYING for details. 7 7 */ 8 - #include <linux/of_platform.h> 9 - #include <asm/hardware/cache-l2x0.h> 10 8 11 9 #include <asm/mach/arch.h> 12 10 #include <asm/siginfo.h>
-2
arch/arm/mach-bcm/board_bcm23550.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 // Copyright (C) 2016 Broadcom 3 3 4 - #include <linux/of_platform.h> 5 - 6 4 #include <asm/mach/arch.h> 7 5 8 6 static const char * const bcm23550_dt_compat[] = {
-1
arch/arm/mach-bcm/brcmstb.c
··· 3 3 4 4 #include <linux/init.h> 5 5 #include <linux/irqchip.h> 6 - #include <linux/of_platform.h> 7 6 8 7 #include <asm/mach-types.h> 9 8 #include <asm/mach/arch.h>
+1 -1
arch/arm/mach-bcm/platsmp-brcmstb.c
··· 10 10 #include <linux/init.h> 11 11 #include <linux/io.h> 12 12 #include <linux/jiffies.h> 13 + #include <linux/of.h> 13 14 #include <linux/of_address.h> 14 - #include <linux/of_platform.h> 15 15 #include <linux/printk.h> 16 16 #include <linux/regmap.h> 17 17 #include <linux/smp.h>
-5
arch/arm/mach-berlin/berlin.c
··· 8 8 * (c) Marvell International Ltd. 9 9 */ 10 10 11 - #include <linux/init.h> 12 - #include <linux/io.h> 13 - #include <linux/kernel.h> 14 - #include <linux/of_platform.h> 15 - #include <asm/hardware/cache-l2x0.h> 16 11 #include <asm/mach/arch.h> 17 12 18 13 static const char * const berlin_dt_compat[] = {
+1 -1
arch/arm/mach-davinci/pdata-quirks.c
··· 5 5 * Copyright (C) 2016 BayLibre, Inc 6 6 */ 7 7 #include <linux/kernel.h> 8 - #include <linux/of_platform.h> 8 + #include <linux/of.h> 9 9 10 10 #include <media/i2c/tvp514x.h> 11 11 #include <media/i2c/adv7343.h>
-2
arch/arm/mach-dove/common.c
··· 9 9 #include <linux/dma-mapping.h> 10 10 #include <linux/init.h> 11 11 #include <linux/io.h> 12 - #include <linux/of.h> 13 - #include <linux/of_platform.h> 14 12 #include <linux/platform_data/dma-mv_xor.h> 15 13 #include <linux/platform_data/usb-ehci-orion.h> 16 14 #include <linux/platform_device.h>
-1
arch/arm/mach-hisi/hotplug.c
··· 8 8 #include <linux/delay.h> 9 9 #include <linux/io.h> 10 10 #include <linux/of_address.h> 11 - #include <linux/of_platform.h> 12 11 #include <asm/cacheflush.h> 13 12 #include <asm/smp_plat.h> 14 13 #include "core.h"
-1
arch/arm/mach-hpe/gxp.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* Copyright (C) 2022 Hewlett-Packard Enterprise Development Company, L.P. */ 3 3 4 - #include <linux/of_platform.h> 5 4 #include <asm/mach/arch.h> 6 5 7 6 static const char * const gxp_board_dt_compat[] = {
-4
arch/arm/mach-imx/mach-imx1.c
··· 3 3 * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru> 4 4 */ 5 5 6 - #include <linux/of_platform.h> 7 6 #include <asm/mach/arch.h> 8 - #include <asm/mach/map.h> 9 7 10 8 #include "common.h" 11 9 #include "hardware.h" 12 - 13 - #define MX1_AVIC_ADDR 0x00223000 14 10 15 11 static void __init imx1_init_early(void) 16 12 {
-5
arch/arm/mach-imx/mach-imx25.c
··· 3 3 * Copyright 2012 Sascha Hauer, Pengutronix 4 4 */ 5 5 6 - #include <linux/irq.h> 7 - #include <linux/of_address.h> 8 - #include <linux/of_irq.h> 9 - #include <linux/of_platform.h> 10 6 #include <asm/mach/arch.h> 11 - #include <asm/mach/time.h> 12 7 #include "common.h" 13 8 #include "hardware.h" 14 9
-6
arch/arm/mach-imx/mach-imx27.c
··· 4 4 */ 5 5 6 6 #include <linux/init.h> 7 - #include <linux/irq.h> 8 - #include <linux/of_address.h> 9 - #include <linux/of_irq.h> 10 - #include <linux/of_platform.h> 11 - #include <linux/mm.h> 12 7 #include <asm/mach/arch.h> 13 8 #include <asm/mach/map.h> 14 - #include <asm/mach/time.h> 15 9 16 10 #include "common.h" 17 11 #include "hardware.h"
-8
arch/arm/mach-imx/mach-imx35.c
··· 5 5 * based on imx27-dt.c 6 6 */ 7 7 8 - #include <linux/irq.h> 9 - #include <linux/irqdomain.h> 10 - #include <linux/of_irq.h> 11 - #include <linux/of_platform.h> 12 - #include <linux/clk-provider.h> 13 - #include <linux/clocksource.h> 14 8 #include <asm/mach/arch.h> 15 - #include <asm/mach/time.h> 16 - #include <asm/hardware/cache-l2x0.h> 17 9 #include "common.h" 18 10 #include "mx35.h" 19 11
-1
arch/arm/mach-imx/mach-imx50.c
··· 5 5 * Copyright 2011 Linaro Ltd. 6 6 */ 7 7 8 - #include <linux/of_platform.h> 9 8 #include <asm/mach/arch.h> 10 9 11 10 #include "common.h"
+1 -4
arch/arm/mach-imx/mach-imx51.c
··· 5 5 */ 6 6 7 7 #include <linux/io.h> 8 - #include <linux/irq.h> 8 + #include <linux/of.h> 9 9 #include <linux/of_address.h> 10 - #include <linux/of_irq.h> 11 - #include <linux/of_platform.h> 12 10 #include <asm/mach/arch.h> 13 - #include <asm/mach/time.h> 14 11 15 12 #include "common.h" 16 13 #include "hardware.h"
-8
arch/arm/mach-imx/mach-imx53.c
··· 4 4 * Copyright 2011 Linaro Ltd. 5 5 */ 6 6 7 - #include <linux/clk.h> 8 - #include <linux/clkdev.h> 9 - #include <linux/err.h> 10 - #include <linux/io.h> 11 - #include <linux/irq.h> 12 - #include <linux/of_irq.h> 13 - #include <linux/of_platform.h> 14 7 #include <asm/mach/arch.h> 15 - #include <asm/mach/time.h> 16 8 17 9 #include "common.h" 18 10 #include "hardware.h"
-2
arch/arm/mach-imx/mach-imx6sx.c
··· 5 5 6 6 #include <linux/irqchip.h> 7 7 #include <linux/of_platform.h> 8 - #include <linux/phy.h> 9 8 #include <linux/regmap.h> 10 9 #include <linux/mfd/syscon.h> 11 10 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 12 11 #include <asm/mach/arch.h> 13 - #include <asm/mach/map.h> 14 12 15 13 #include "common.h" 16 14 #include "cpuidle.h"
-4
arch/arm/mach-imx/mach-imx6ul.c
··· 3 3 * Copyright (C) 2015 Freescale Semiconductor, Inc. 4 4 */ 5 5 #include <linux/irqchip.h> 6 - #include <linux/mfd/syscon.h> 7 6 #include <linux/of_platform.h> 8 - #include <linux/phy.h> 9 - #include <linux/regmap.h> 10 7 #include <asm/mach/arch.h> 11 - #include <asm/mach/map.h> 12 8 13 9 #include "common.h" 14 10 #include "cpuidle.h"
+1 -1
arch/arm/mach-imx/mach-imx7d.c
··· 5 5 #include <linux/irqchip.h> 6 6 #include <linux/mfd/syscon.h> 7 7 #include <linux/mfd/syscon/imx7-iomuxc-gpr.h> 8 - #include <linux/of_platform.h> 8 + #include <linux/platform_device.h> 9 9 #include <linux/phy.h> 10 10 #include <linux/regmap.h> 11 11
+1
arch/arm/mach-imx/pm-imx5.c
··· 12 12 #include <linux/of.h> 13 13 #include <linux/of_address.h> 14 14 #include <linux/of_platform.h> 15 + #include <linux/platform_device.h> 15 16 16 17 #include <asm/cacheflush.h> 17 18 #include <asm/fncpy.h>
+1
arch/arm/mach-imx/pm-imx6.c
··· 16 16 #include <linux/of.h> 17 17 #include <linux/of_address.h> 18 18 #include <linux/of_platform.h> 19 + #include <linux/platform_device.h> 19 20 #include <linux/regmap.h> 20 21 #include <linux/suspend.h> 21 22 #include <asm/cacheflush.h>
-3
arch/arm/mach-keystone/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 obj-y := keystone.o 3 - 4 - # PM domain driver for Keystone SOCs 5 - obj-$(CONFIG_ARCH_KEYSTONE) += pm_domain.o
+45 -5
arch/arm/mach-keystone/keystone.c
··· 6 6 * Cyril Chemparathy <cyril@ti.com> 7 7 * Santosh Shilimkar <santosh.shillimkar@ti.com> 8 8 */ 9 + 9 10 #include <linux/io.h> 10 - #include <linux/of.h> 11 11 #include <linux/dma-map-ops.h> 12 12 #include <linux/init.h> 13 - #include <linux/of_platform.h> 14 - #include <linux/of_address.h> 13 + #include <linux/pm_runtime.h> 14 + #include <linux/pm_clock.h> 15 15 #include <linux/memblock.h> 16 + #include <linux/of.h> 17 + #include <linux/platform_device.h> 16 18 17 19 #include <asm/setup.h> 18 20 #include <asm/mach/map.h> ··· 22 20 #include <asm/mach/time.h> 23 21 #include <asm/page.h> 24 22 25 - #include "memory.h" 23 + #define KEYSTONE_LOW_PHYS_START 0x80000000ULL 24 + #define KEYSTONE_LOW_PHYS_SIZE 0x80000000ULL /* 2G */ 25 + #define KEYSTONE_LOW_PHYS_END (KEYSTONE_LOW_PHYS_START + \ 26 + KEYSTONE_LOW_PHYS_SIZE - 1) 26 27 27 - #include "keystone.h" 28 + #define KEYSTONE_HIGH_PHYS_START 0x800000000ULL 29 + #define KEYSTONE_HIGH_PHYS_SIZE 0x400000000ULL /* 16G */ 30 + #define KEYSTONE_HIGH_PHYS_END (KEYSTONE_HIGH_PHYS_START + \ 31 + KEYSTONE_HIGH_PHYS_SIZE - 1) 32 + 33 + static struct dev_pm_domain keystone_pm_domain = { 34 + .ops = { 35 + USE_PM_CLK_RUNTIME_OPS 36 + USE_PLATFORM_PM_SLEEP_OPS 37 + }, 38 + }; 39 + 40 + static struct pm_clk_notifier_block platform_domain_notifier = { 41 + .pm_domain = &keystone_pm_domain, 42 + .con_ids = { NULL }, 43 + }; 44 + 45 + static const struct of_device_id of_keystone_table[] = { 46 + {.compatible = "ti,k2hk"}, 47 + {.compatible = "ti,k2e"}, 48 + {.compatible = "ti,k2l"}, 49 + { /* end of list */ }, 50 + }; 51 + 52 + static int __init keystone_pm_runtime_init(void) 53 + { 54 + struct device_node *np; 55 + 56 + np = of_find_matching_node(NULL, of_keystone_table); 57 + if (!np) 58 + return 0; 59 + 60 + pm_clk_add_notifier(&platform_bus_type, &platform_domain_notifier); 61 + 62 + return 0; 63 + } 28 64 29 65 #ifdef CONFIG_ARM_LPAE 30 66 static int keystone_platform_notifier(struct notifier_block *nb,
-16
arch/arm/mach-keystone/keystone.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0-only */ 2 - /* 3 - * Copyright 2013 Texas Instruments, Inc. 4 - * Cyril Chemparathy <cyril@ti.com> 5 - * Santosh Shilimkar <santosh.shillimkar@ti.com> 6 - */ 7 - 8 - #ifndef __KEYSTONE_H__ 9 - #define __KEYSTONE_H__ 10 - 11 - #ifndef __ASSEMBLER__ 12 - 13 - extern int keystone_pm_runtime_init(void); 14 - 15 - #endif /* __ASSEMBLER__ */ 16 - #endif /* __KEYSTONE_H__ */
-18
arch/arm/mach-keystone/memory.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0-only */ 2 - /* 3 - * Copyright 2014 Texas Instruments, Inc. 4 - * Santosh Shilimkar <santosh.shilimkar@ti.com> 5 - */ 6 - #ifndef __MEMORY_H 7 - #define __MEMORY_H 8 - 9 - #define KEYSTONE_LOW_PHYS_START 0x80000000ULL 10 - #define KEYSTONE_LOW_PHYS_SIZE 0x80000000ULL /* 2G */ 11 - #define KEYSTONE_LOW_PHYS_END (KEYSTONE_LOW_PHYS_START + \ 12 - KEYSTONE_LOW_PHYS_SIZE - 1) 13 - 14 - #define KEYSTONE_HIGH_PHYS_START 0x800000000ULL 15 - #define KEYSTONE_HIGH_PHYS_SIZE 0x400000000ULL /* 16G */ 16 - #define KEYSTONE_HIGH_PHYS_END (KEYSTONE_HIGH_PHYS_START + \ 17 - KEYSTONE_HIGH_PHYS_SIZE - 1) 18 - #endif /* __MEMORY_H */
-50
arch/arm/mach-keystone/pm_domain.c
··· 1 - // SPDX-License-Identifier: GPL-2.0-only 2 - /* 3 - * PM domain driver for Keystone2 devices 4 - * 5 - * Copyright 2013 Texas Instruments, Inc. 6 - * Santosh Shilimkar <santosh.shillimkar@ti.com> 7 - * 8 - * Based on Kevins work on DAVINCI SOCs 9 - * Kevin Hilman <khilman@linaro.org> 10 - */ 11 - 12 - #include <linux/init.h> 13 - #include <linux/pm_runtime.h> 14 - #include <linux/pm_clock.h> 15 - #include <linux/platform_device.h> 16 - #include <linux/of.h> 17 - 18 - #include "keystone.h" 19 - 20 - static struct dev_pm_domain keystone_pm_domain = { 21 - .ops = { 22 - USE_PM_CLK_RUNTIME_OPS 23 - USE_PLATFORM_PM_SLEEP_OPS 24 - }, 25 - }; 26 - 27 - static struct pm_clk_notifier_block platform_domain_notifier = { 28 - .pm_domain = &keystone_pm_domain, 29 - .con_ids = { NULL }, 30 - }; 31 - 32 - static const struct of_device_id of_keystone_table[] = { 33 - {.compatible = "ti,k2hk"}, 34 - {.compatible = "ti,k2e"}, 35 - {.compatible = "ti,k2l"}, 36 - { /* end of list */ }, 37 - }; 38 - 39 - int __init keystone_pm_runtime_init(void) 40 - { 41 - struct device_node *np; 42 - 43 - np = of_find_matching_node(NULL, of_keystone_table); 44 - if (!np) 45 - return 0; 46 - 47 - pm_clk_add_notifier(&platform_bus_type, &platform_domain_notifier); 48 - 49 - return 0; 50 - }
-1
arch/arm/mach-meson/meson.c
··· 3 3 * Copyright (C) 2014 Carlo Caione <carlo@caione.org> 4 4 */ 5 5 6 - #include <linux/of_platform.h> 7 6 #include <asm/mach/arch.h> 8 7 9 8 static const char * const meson_common_board_compat[] = {
-3
arch/arm/mach-mmp/mmp-dt.c
··· 6 6 * Author: Haojian Zhuang <haojian.zhuang@marvell.com> 7 7 */ 8 8 9 - #include <linux/irqchip.h> 10 - #include <linux/of_platform.h> 11 9 #include <linux/of_clk.h> 12 10 #include <linux/clocksource.h> 13 11 #include <asm/mach/arch.h> 14 - #include <asm/mach/time.h> 15 12 #include <asm/hardware/cache-tauros2.h> 16 13 17 14 #include "common.h"
-4
arch/arm/mach-mmp/mmp2-dt.c
··· 6 6 * Author: Haojian Zhuang <haojian.zhuang@marvell.com> 7 7 */ 8 8 9 - #include <linux/io.h> 10 - #include <linux/irqchip.h> 11 - #include <linux/of_platform.h> 12 9 #include <linux/of_clk.h> 13 10 #include <linux/clocksource.h> 14 11 #include <asm/mach/arch.h> 15 - #include <asm/mach/time.h> 16 12 #include <asm/hardware/cache-tauros2.h> 17 13 18 14 #include "common.h"
-4
arch/arm/mach-mmp/mmp3.c
··· 5 5 * Copyright (C) 2019 Lubomir Rintel <lkundrak@v3.sk> 6 6 */ 7 7 8 - #include <linux/io.h> 9 - #include <linux/irqchip.h> 10 - #include <linux/of_platform.h> 11 - #include <linux/clk-provider.h> 12 8 #include <asm/mach/arch.h> 13 9 #include <asm/hardware/cache-l2x0.h> 14 10
+1
arch/arm/mach-mvebu/kirkwood.c
··· 15 15 #include <linux/of_address.h> 16 16 #include <linux/of_net.h> 17 17 #include <linux/of_platform.h> 18 + #include <linux/platform_device.h> 18 19 #include <linux/slab.h> 19 20 #include <asm/hardware/cache-feroceon-l2.h> 20 21 #include <asm/mach/arch.h>
+1 -1
arch/arm/mach-mvebu/pmsu.c
··· 23 23 #include <linux/kernel.h> 24 24 #include <linux/mbus.h> 25 25 #include <linux/mvebu-pmsu.h> 26 + #include <linux/of.h> 26 27 #include <linux/of_address.h> 27 - #include <linux/of_device.h> 28 28 #include <linux/platform_device.h> 29 29 #include <linux/resource.h> 30 30 #include <linux/slab.h>
-13
arch/arm/mach-nomadik/cpu-8815.c
··· 5 5 6 6 #include <linux/types.h> 7 7 #include <linux/init.h> 8 - #include <linux/device.h> 9 - #include <linux/amba/bus.h> 10 - #include <linux/platform_device.h> 11 8 #include <linux/io.h> 12 - #include <linux/slab.h> 13 - #include <linux/irq.h> 14 - #include <linux/dma-mapping.h> 15 - #include <linux/of_irq.h> 16 - #include <linux/of_address.h> 17 - #include <linux/of_platform.h> 18 9 19 10 #include <asm/mach/arch.h> 20 11 #include <asm/mach/map.h> 21 - #include <asm/mach/time.h> 22 12 #include <asm/mach-types.h> 23 - 24 - #include <asm/cacheflush.h> 25 - #include <asm/hardware/cache-l2x0.h> 26 13 27 14 /* 28 15 * These are the only hard-coded address offsets we still have to use.
-3
arch/arm/mach-npcm/platsmp.c
··· 5 5 #define pr_fmt(fmt) "nuvoton,npcm7xx-smp: " fmt 6 6 7 7 #include <linux/delay.h> 8 - #include <linux/device.h> 9 8 #include <linux/smp.h> 10 9 #include <linux/io.h> 11 10 #include <linux/of.h> 12 - #include <linux/of_device.h> 13 - #include <linux/of_platform.h> 14 11 #include <linux/of_address.h> 15 12 #include <asm/cacheflush.h> 16 13 #include <asm/smp.h>
+2
arch/arm/mach-nspire/Kconfig
··· 9 9 select ARM_VIC 10 10 select ARM_TIMER_SP804 11 11 select NSPIRE_TIMER 12 + select POWER_RESET 13 + select POWER_RESET_SYSCON 12 14 help 13 15 This enables support for systems using the TI-NSPIRE CPU
-16
arch/arm/mach-nspire/mmio.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0-only */ 2 - /* 3 - * linux/arch/arm/mach-nspire/mmio.h 4 - * 5 - * Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au> 6 - */ 7 - 8 - #define NSPIRE_MISC_PHYS_BASE 0x900A0000 9 - #define NSPIRE_MISC_HWRESET 0x08 10 - 11 - #define NSPIRE_PWR_PHYS_BASE 0x900B0000 12 - #define NSPIRE_PWR_VIRT_BASE 0xFEEB0000 13 - #define NSPIRE_PWR_BUS_DISABLE1 0x18 14 - #define NSPIRE_PWR_BUS_DISABLE2 0x20 15 - 16 - #define NSPIRE_LCD_PHYS_BASE 0xC0000000
-24
arch/arm/mach-nspire/nspire.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0-only 2 2 /* 3 - * linux/arch/arm/mach-nspire/nspire.c 4 - * 5 3 * Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au> 6 4 */ 7 - #include <linux/init.h> 8 - #include <linux/of_irq.h> 9 - #include <linux/of_address.h> 10 - #include <linux/of_platform.h> 11 - #include <linux/irqchip.h> 12 - #include <linux/irqchip/arm-vic.h> 13 - #include <linux/clkdev.h> 14 - #include <linux/amba/bus.h> 15 5 16 6 #include <asm/mach/arch.h> 17 - #include <asm/mach-types.h> 18 - #include <asm/mach/map.h> 19 - 20 - #include "mmio.h" 21 7 22 8 static const char *const nspire_dt_match[] __initconst = { 23 9 "ti,nspire", ··· 13 27 NULL, 14 28 }; 15 29 16 - static void nspire_restart(enum reboot_mode mode, const char *cmd) 17 - { 18 - void __iomem *base = ioremap(NSPIRE_MISC_PHYS_BASE, SZ_4K); 19 - if (!base) 20 - return; 21 - 22 - writel(2, base + NSPIRE_MISC_HWRESET); 23 - } 24 - 25 30 DT_MACHINE_START(NSPIRE, "TI-NSPIRE") 26 31 .dt_compat = nspire_dt_match, 27 - .restart = nspire_restart, 28 32 MACHINE_END
+1 -2
arch/arm/mach-omap2/board-generic.c
··· 9 9 * to support the OMAP2+ device tree boards with an unique board file. 10 10 */ 11 11 #include <linux/io.h> 12 - #include <linux/of_irq.h> 13 - #include <linux/of_platform.h> 14 12 #include <linux/irqdomain.h> 15 13 #include <linux/clocksource.h> 16 14 #include <linux/clockchips.h> 15 + #include <linux/mod_devicetable.h> 17 16 18 17 #include <asm/setup.h> 19 18 #include <asm/mach/arch.h>
+1 -2
arch/arm/mach-omap2/omap4-common.c
··· 12 12 #include <linux/io.h> 13 13 #include <linux/irq.h> 14 14 #include <linux/irqchip.h> 15 - #include <linux/platform_device.h> 16 15 #include <linux/memblock.h> 16 + #include <linux/of.h> 17 17 #include <linux/of_irq.h> 18 - #include <linux/of_platform.h> 19 18 #include <linux/export.h> 20 19 #include <linux/irqchip/arm-gic.h> 21 20 #include <linux/of_address.h>
+6 -39
arch/arm/mach-omap2/omap_hwmod.c
··· 2194 2194 struct resource *res) 2195 2195 { 2196 2196 struct property *prop; 2197 - const __be32 *ranges; 2198 2197 const char *name; 2199 - u32 nr_addr, nr_size; 2200 - u64 base, size; 2201 - int len, error; 2202 - 2203 - if (!res) 2204 - return -EINVAL; 2205 - 2206 - ranges = of_get_property(np, "ranges", &len); 2207 - if (!ranges) 2208 - return -ENOENT; 2209 - 2210 - len /= sizeof(*ranges); 2211 - 2212 - if (len < 3) 2213 - return -EINVAL; 2198 + int err; 2214 2199 2215 2200 of_property_for_each_string(np, "compatible", prop, name) 2216 2201 if (!strncmp("ti,sysc-", name, 8)) ··· 2204 2219 if (!name) 2205 2220 return -ENOENT; 2206 2221 2207 - error = of_property_read_u32(np, "#address-cells", &nr_addr); 2208 - if (error) 2209 - return -ENOENT; 2222 + err = of_range_to_resource(np, 0, res); 2223 + if (err) 2224 + return err; 2210 2225 2211 - error = of_property_read_u32(np, "#size-cells", &nr_size); 2212 - if (error) 2213 - return -ENOENT; 2214 - 2215 - if (nr_addr != 1 || nr_size != 1) { 2216 - pr_err("%s: invalid range for %s->%pOFn\n", __func__, 2217 - oh->name, np); 2218 - return -EINVAL; 2219 - } 2220 - 2221 - ranges++; 2222 - base = of_translate_address(np, ranges++); 2223 - size = be32_to_cpup(ranges); 2224 - 2225 - pr_debug("omap_hwmod: %s %pOFn at 0x%llx size 0x%llx\n", 2226 - oh->name, np, base, size); 2226 + pr_debug("omap_hwmod: %s %pOFn at %pR\n", 2227 + oh->name, np, &res); 2227 2228 2228 2229 if (oh && oh->mpu_rt_idx) { 2229 2230 omap_hwmod_fix_mpu_rt_idx(oh, np, res); 2230 2231 2231 2232 return 0; 2232 2233 } 2233 - 2234 - res->start = base; 2235 - res->end = base + size - 1; 2236 - res->flags = IORESOURCE_MEM; 2237 2234 2238 2235 return 0; 2239 2236 }
+1 -1
arch/arm/mach-omap2/powerdomain.c
··· 174 174 break; 175 175 case PWRDM_STATE_PREV: 176 176 prev = pwrdm_read_prev_pwrst(pwrdm); 177 - if (pwrdm->state != prev) 177 + if (prev >= 0 && pwrdm->state != prev) 178 178 pwrdm->state_counter[prev]++; 179 179 if (prev == PWRDM_POWER_RET) 180 180 _update_logic_membank_counters(pwrdm);
-6
arch/arm/mach-pxa/pxa-dt.c
··· 5 5 * Copyright (C) 2012 Daniel Mack 6 6 */ 7 7 8 - #include <linux/irq.h> 9 - #include <linux/irqdomain.h> 10 - #include <linux/of_irq.h> 11 - #include <linux/of_platform.h> 12 8 #include <asm/mach/arch.h> 13 - #include <asm/mach/time.h> 14 - #include "irqs.h" 15 9 16 10 #include "generic.h" 17 11
+1 -5
arch/arm/mach-rockchip/rockchip.c
··· 9 9 #include <linux/kernel.h> 10 10 #include <linux/init.h> 11 11 #include <linux/io.h> 12 + #include <linux/of.h> 12 13 #include <linux/of_clk.h> 13 - #include <linux/of_platform.h> 14 - #include <linux/irqchip.h> 15 14 #include <linux/clocksource.h> 16 - #include <linux/mfd/syscon.h> 17 - #include <linux/regmap.h> 18 15 #include <asm/mach/arch.h> 19 16 #include <asm/mach/map.h> 20 - #include <asm/hardware/cache-l2x0.h> 21 17 #include "core.h" 22 18 #include "pm.h" 23 19
+1 -1
arch/arm/mach-s5pv210/s5pv210.c
··· 7 7 // Tomasz Figa <t.figa@samsung.com> 8 8 9 9 #include <linux/of_fdt.h> 10 - #include <linux/of_platform.h> 10 + #include <linux/platform_device.h> 11 11 12 12 #include <asm/mach/arch.h> 13 13 #include <asm/mach/map.h>
-1
arch/arm/mach-shmobile/setup-rcar-gen2.c
··· 16 16 #include <linux/of.h> 17 17 #include <linux/of_clk.h> 18 18 #include <linux/of_fdt.h> 19 - #include <linux/of_platform.h> 20 19 #include <linux/psci.h> 21 20 #include <asm/mach/arch.h> 22 21 #include <asm/secure_cntvoff.h>
+1 -1
arch/arm/mach-socfpga/l2_cache.c
··· 3 3 * Copyright Altera Corporation (C) 2016. All rights reserved. 4 4 */ 5 5 #include <linux/io.h> 6 - #include <linux/of_platform.h> 6 + #include <linux/of.h> 7 7 #include <linux/of_address.h> 8 8 9 9 #include "core.h"
+1 -3
arch/arm/mach-socfpga/ocram.c
··· 4 4 */ 5 5 #include <linux/delay.h> 6 6 #include <linux/io.h> 7 - #include <linux/genalloc.h> 8 - #include <linux/module.h> 7 + #include <linux/of.h> 9 8 #include <linux/of_address.h> 10 - #include <linux/of_platform.h> 11 9 12 10 #include "core.h" 13 11
+2
arch/arm/mach-socfpga/pm.c
··· 13 13 #include <linux/genalloc.h> 14 14 #include <linux/init.h> 15 15 #include <linux/io.h> 16 + #include <linux/of.h> 16 17 #include <linux/of_platform.h> 18 + #include <linux/platform_device.h> 17 19 #include <linux/suspend.h> 18 20 #include <asm/suspend.h> 19 21 #include <asm/fncpy.h>
+1 -3
arch/arm/mach-socfpga/socfpga.c
··· 3 3 * Copyright (C) 2012-2015 Altera Corporation 4 4 */ 5 5 #include <linux/irqchip.h> 6 + #include <linux/of.h> 6 7 #include <linux/of_address.h> 7 - #include <linux/of_irq.h> 8 - #include <linux/of_platform.h> 9 8 #include <linux/reboot.h> 10 9 #include <linux/reset/socfpga.h> 11 10 12 - #include <asm/hardware/cache-l2x0.h> 13 11 #include <asm/mach/arch.h> 14 12 #include <asm/mach/map.h> 15 13 #include <asm/cacheflush.h>
+1 -1
arch/arm/mach-spear/spear1340.c
··· 10 10 11 11 #define pr_fmt(fmt) "SPEAr1340: " fmt 12 12 13 - #include <linux/of_platform.h> 13 + #include <linux/platform_device.h> 14 14 #include <asm/mach/arch.h> 15 15 #include "generic.h" 16 16
-2
arch/arm/mach-sti/board-dt.c
··· 4 4 * Author(s): Srinivas Kandagatla <srinivas.kandagatla@st.com> 5 5 */ 6 6 7 - #include <linux/irq.h> 8 - #include <linux/of_platform.h> 9 7 #include <asm/hardware/cache-l2x0.h> 10 8 #include <asm/mach/arch.h> 11 9
-2
arch/arm/mach-versatile/realview.c
··· 4 4 * 5 5 * Author: Linus Walleij <linus.walleij@linaro.org> 6 6 */ 7 - #include <linux/of_platform.h> 8 7 #include <asm/mach/arch.h> 9 - #include <asm/hardware/cache-l2x0.h> 10 8 11 9 static const char *const realview_dt_platform_compat[] __initconst = { 12 10 "arm,realview-eb",
+1
drivers/bus/fsl-mc/fsl-mc-bus.c
··· 14 14 #include <linux/of_device.h> 15 15 #include <linux/of_address.h> 16 16 #include <linux/ioport.h> 17 + #include <linux/platform_device.h> 17 18 #include <linux/slab.h> 18 19 #include <linux/limits.h> 19 20 #include <linux/bitops.h>
-2
drivers/bus/fsl-mc/fsl-mc-msi.c
··· 7 7 * 8 8 */ 9 9 10 - #include <linux/of_device.h> 11 - #include <linux/of_address.h> 12 10 #include <linux/of_irq.h> 13 11 #include <linux/irq.h> 14 12 #include <linux/irqdomain.h>
+1 -1
drivers/bus/hisi_lpc.c
··· 13 13 #include <linux/logic_pio.h> 14 14 #include <linux/module.h> 15 15 #include <linux/of.h> 16 - #include <linux/of_address.h> 17 16 #include <linux/of_platform.h> 18 17 #include <linux/pci.h> 18 + #include <linux/platform_device.h> 19 19 #include <linux/serial_8250.h> 20 20 #include <linux/slab.h> 21 21
-1
drivers/bus/omap_l3_smx.c
··· 15 15 #include <linux/io.h> 16 16 #include <linux/module.h> 17 17 #include <linux/of.h> 18 - #include <linux/of_device.h> 19 18 20 19 #include "omap_l3_smx.h" 21 20
+2
drivers/bus/simple-pm-bus.c
··· 11 11 12 12 #include <linux/clk.h> 13 13 #include <linux/module.h> 14 + #include <linux/of.h> 15 + #include <linux/of_device.h> 14 16 #include <linux/of_platform.h> 15 17 #include <linux/platform_device.h> 16 18 #include <linux/pm_runtime.h>
+1 -1
drivers/bus/sunxi-rsb.c
··· 39 39 #include <linux/module.h> 40 40 #include <linux/of.h> 41 41 #include <linux/of_irq.h> 42 - #include <linux/of_platform.h> 42 + #include <linux/of_device.h> 43 43 #include <linux/platform_device.h> 44 44 #include <linux/pm.h> 45 45 #include <linux/pm_runtime.h>
+1 -1
drivers/bus/ti-pwmss.c
··· 10 10 #include <linux/io.h> 11 11 #include <linux/err.h> 12 12 #include <linux/pm_runtime.h> 13 - #include <linux/of_device.h> 13 + #include <linux/of_platform.h> 14 14 15 15 static const struct of_device_id pwmss_of_match[] = { 16 16 { .compatible = "ti,am33xx-pwmss" },
+2 -2
drivers/firmware/arm_scmi/driver.c
··· 28 28 #include <linux/hashtable.h> 29 29 #include <linux/list.h> 30 30 #include <linux/module.h> 31 - #include <linux/of_address.h> 32 - #include <linux/of_device.h> 31 + #include <linux/of.h> 32 + #include <linux/platform_device.h> 33 33 #include <linux/processor.h> 34 34 #include <linux/refcount.h> 35 35 #include <linux/slab.h>
-1
drivers/firmware/imx/imx-dsp.c
··· 10 10 #include <linux/kernel.h> 11 11 #include <linux/mailbox_client.h> 12 12 #include <linux/module.h> 13 - #include <linux/of_platform.h> 14 13 #include <linux/platform_device.h> 15 14 #include <linux/slab.h> 16 15
+1
drivers/firmware/imx/imx-scu-irq.c
··· 11 11 #include <linux/firmware/imx/sci.h> 12 12 #include <linux/kobject.h> 13 13 #include <linux/mailbox_client.h> 14 + #include <linux/of.h> 14 15 #include <linux/suspend.h> 15 16 #include <linux/sysfs.h> 16 17
+1
drivers/firmware/imx/imx-scu.c
··· 16 16 #include <linux/mailbox_client.h> 17 17 #include <linux/module.h> 18 18 #include <linux/mutex.h> 19 + #include <linux/of.h> 19 20 #include <linux/of_platform.h> 20 21 #include <linux/platform_device.h> 21 22
-1
drivers/firmware/mtk-adsp-ipc.c
··· 8 8 #include <linux/kernel.h> 9 9 #include <linux/mailbox_client.h> 10 10 #include <linux/module.h> 11 - #include <linux/of_platform.h> 12 11 #include <linux/platform_device.h> 13 12 #include <linux/slab.h> 14 13
+1
drivers/firmware/raspberrypi.c
··· 10 10 #include <linux/kref.h> 11 11 #include <linux/mailbox_client.h> 12 12 #include <linux/module.h> 13 + #include <linux/of.h> 13 14 #include <linux/of_platform.h> 14 15 #include <linux/platform_device.h> 15 16 #include <linux/slab.h>
+2 -1
drivers/firmware/scpi_pm_domain.c
··· 8 8 #include <linux/err.h> 9 9 #include <linux/io.h> 10 10 #include <linux/module.h> 11 - #include <linux/of_platform.h> 11 + #include <linux/of.h> 12 + #include <linux/platform_device.h> 12 13 #include <linux/pm_domain.h> 13 14 #include <linux/scpi_protocol.h> 14 15
-1
drivers/firmware/stratix10-rsu.c
··· 10 10 #include <linux/module.h> 11 11 #include <linux/mutex.h> 12 12 #include <linux/of.h> 13 - #include <linux/of_platform.h> 14 13 #include <linux/platform_device.h> 15 14 #include <linux/firmware/intel/stratix10-svc-client.h> 16 15 #include <linux/string.h>
+1 -2
drivers/firmware/tegra/bpmp.c
··· 8 8 #include <linux/mailbox_client.h> 9 9 #include <linux/module.h> 10 10 #include <linux/of.h> 11 - #include <linux/of_address.h> 12 - #include <linux/of_device.h> 11 + #include <linux/of_platform.h> 13 12 #include <linux/platform_device.h> 14 13 #include <linux/pm.h> 15 14 #include <linux/semaphore.h>
+1
drivers/firmware/xilinx/zynqmp.c
··· 18 18 #include <linux/module.h> 19 19 #include <linux/of.h> 20 20 #include <linux/of_platform.h> 21 + #include <linux/platform_device.h> 21 22 #include <linux/slab.h> 22 23 #include <linux/uaccess.h> 23 24 #include <linux/hashtable.h>
-1
drivers/soc/aspeed/aspeed-lpc-snoop.c
··· 19 19 #include <linux/miscdevice.h> 20 20 #include <linux/module.h> 21 21 #include <linux/of.h> 22 - #include <linux/of_device.h> 23 22 #include <linux/platform_device.h> 24 23 #include <linux/poll.h> 25 24 #include <linux/regmap.h>
+1 -1
drivers/soc/aspeed/aspeed-p2a-ctrl.c
··· 18 18 #include <linux/mm.h> 19 19 #include <linux/module.h> 20 20 #include <linux/mutex.h> 21 + #include <linux/of.h> 21 22 #include <linux/of_address.h> 22 - #include <linux/of_device.h> 23 23 #include <linux/platform_device.h> 24 24 #include <linux/regmap.h> 25 25 #include <linux/slab.h>
+1 -2
drivers/soc/aspeed/aspeed-uart-routing.c
··· 5 5 */ 6 6 #include <linux/device.h> 7 7 #include <linux/module.h> 8 - #include <linux/of_device.h> 9 - #include <linux/of_platform.h> 8 + #include <linux/of.h> 10 9 #include <linux/mfd/syscon.h> 11 10 #include <linux/regmap.h> 12 11 #include <linux/platform_device.h>
-1
drivers/soc/atmel/sfr.c
··· 10 10 #include <linux/nvmem-provider.h> 11 11 #include <linux/random.h> 12 12 #include <linux/of.h> 13 - #include <linux/of_device.h> 14 13 #include <linux/platform_device.h> 15 14 #include <linux/regmap.h> 16 15
+2 -1
drivers/soc/fsl/dpaa2-console.c
··· 9 9 #define pr_fmt(fmt) "dpaa2-console: " fmt 10 10 11 11 #include <linux/module.h> 12 - #include <linux/of_device.h> 12 + #include <linux/of.h> 13 13 #include <linux/of_address.h> 14 14 #include <linux/miscdevice.h> 15 + #include <linux/platform_device.h> 15 16 #include <linux/uaccess.h> 16 17 #include <linux/slab.h> 17 18 #include <linux/fs.h>
+2 -1
drivers/soc/fsl/qe/qe.c
··· 25 25 #include <linux/iopoll.h> 26 26 #include <linux/crc32.h> 27 27 #include <linux/mod_devicetable.h> 28 - #include <linux/of_platform.h> 28 + #include <linux/of.h> 29 + #include <linux/platform_device.h> 29 30 #include <soc/fsl/qe/immap_qe.h> 30 31 #include <soc/fsl/qe/qe.h> 31 32
-1
drivers/soc/fsl/qe/qe_common.c
··· 16 16 #include <linux/genalloc.h> 17 17 #include <linux/init.h> 18 18 #include <linux/list.h> 19 - #include <linux/of_device.h> 20 19 #include <linux/spinlock.h> 21 20 #include <linux/export.h> 22 21 #include <linux/of.h>
+1 -3
drivers/soc/fsl/qe/qe_tdm.c
··· 9 9 */ 10 10 #include <linux/io.h> 11 11 #include <linux/kernel.h> 12 - #include <linux/of_address.h> 13 - #include <linux/of_irq.h> 14 - #include <linux/of_platform.h> 12 + #include <linux/of.h> 15 13 #include <soc/fsl/qe/qe_tdm.h> 16 14 17 15 static int set_tdm_framer(const char *tdm_framer_type)
+1
drivers/soc/mediatek/mtk-cmdq-helper.c
··· 7 7 #include <linux/dma-mapping.h> 8 8 #include <linux/module.h> 9 9 #include <linux/mailbox_controller.h> 10 + #include <linux/of.h> 10 11 #include <linux/soc/mediatek/mtk-cmdq.h> 11 12 12 13 #define CMDQ_WRITE_ENABLE_MASK BIT(0)
+1 -1
drivers/soc/mediatek/mtk-devapc.c
··· 8 8 #include <linux/iopoll.h> 9 9 #include <linux/module.h> 10 10 #include <linux/platform_device.h> 11 - #include <linux/of_device.h> 11 + #include <linux/of.h> 12 12 #include <linux/of_irq.h> 13 13 #include <linux/of_address.h> 14 14
+1 -1
drivers/soc/mediatek/mtk-mmsys.c
··· 8 8 #include <linux/device.h> 9 9 #include <linux/io.h> 10 10 #include <linux/module.h> 11 - #include <linux/of_device.h> 11 + #include <linux/of.h> 12 12 #include <linux/platform_device.h> 13 13 #include <linux/reset-controller.h> 14 14 #include <linux/soc/mediatek/mtk-mmsys.h>
+1 -2
drivers/soc/mediatek/mtk-mutex.c
··· 6 6 #include <linux/clk.h> 7 7 #include <linux/iopoll.h> 8 8 #include <linux/module.h> 9 - #include <linux/of_device.h> 10 - #include <linux/of_address.h> 9 + #include <linux/of.h> 11 10 #include <linux/platform_device.h> 12 11 #include <linux/regmap.h> 13 12 #include <linux/soc/mediatek/mtk-mmsys.h>
+2 -1
drivers/soc/mediatek/mtk-pmic-wrap.c
··· 8 8 #include <linux/io.h> 9 9 #include <linux/kernel.h> 10 10 #include <linux/module.h> 11 - #include <linux/of_device.h> 11 + #include <linux/of.h> 12 + #include <linux/of_platform.h> 12 13 #include <linux/platform_device.h> 13 14 #include <linux/regmap.h> 14 15 #include <linux/reset.h>
+1 -1
drivers/soc/microchip/mpfs-sys-controller.c
··· 13 13 #include <linux/module.h> 14 14 #include <linux/jiffies.h> 15 15 #include <linux/interrupt.h> 16 - #include <linux/of_platform.h> 16 + #include <linux/of.h> 17 17 #include <linux/mailbox_client.h> 18 18 #include <linux/platform_device.h> 19 19 #include <soc/microchip/mpfs.h>
+1 -1
drivers/soc/rockchip/grf.c
··· 7 7 8 8 #include <linux/err.h> 9 9 #include <linux/mfd/syscon.h> 10 - #include <linux/of_device.h> 10 + #include <linux/of.h> 11 11 #include <linux/platform_device.h> 12 12 #include <linux/regmap.h> 13 13
-3
include/soc/at91/atmel_tcb.h
··· 77 77 bool allocated; 78 78 }; 79 79 80 - extern struct atmel_tc *atmel_tc_alloc(unsigned block); 81 - extern void atmel_tc_free(struct atmel_tc *tc); 82 - 83 80 /* platform-specific ATMEL_TC_TIMER_CLOCKx divisors (0 means 32KiHz) */ 84 81 extern const u8 atmel_tc_divisors[5]; 85 82