Skip to content

Commit 4c4a5c9

Browse files
committed
Merge tag 'armsoc-late' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull ARM SoC late updates from Olof Johansson: "This is some material that we picked up into our tree late. Most of it are smaller fixes and additions, some defconfig updates due to recent development, etc. Code-wise the largest portion is a series of PM updates for the at91 platform, and those have been in linux-next a while through the at91 tree before we picked them up" * tag 'armsoc-late' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc: (29 commits) arm64: dts: sprd: Add clock properties for serial devices Opt out of scripts/get_maintainer.pl ARM: ixp4xx: Remove duplicated include from common.c soc: ixp4xx: qmgr: Fix an NULL vs IS_ERR() check in probe arm64: tegra: Disable XUSB support on Jetson TX2 arm64: tegra: Enable SMMU translation for PCI on Tegra186 arm64: tegra: Fix insecure SMMU users for Tegra186 arm64: tegra: Select ARM_GIC_PM amba: tegra-ahb: Mark PM functions as __maybe_unused ARM: dts: logicpd-som-lv: Fix MMC1 card detect ARM: mvebu: drop return from void function ARM: mvebu: prefix coprocessor operand with p ARM: mvebu: drop unnecessary label ARM: mvebu: fix a leaked reference by adding missing of_node_put ARM: socfpga_defconfig: enable LTC2497 ARM: mvebu: kirkwood: remove error message when retrieving mac address ARM: at91: sama5: make ov2640 as a module ARM: OMAP1: ams-delta: fix early boot crash when LED support is disabled ARM: at91: remove HAVE_FB_ATMEL for sama5 SoC as they use DRM soc/fsl/qe: Fix an error code in qe_pin_request() ...
2 parents 86a78a8 + 15d574f commit 4c4a5c9

File tree

25 files changed

+277
-124
lines changed

25 files changed

+277
-124
lines changed

.get_maintainer.ignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
Christoph Hellwig <[email protected]>
2+
Marc Gonzalez <[email protected]>

Documentation/devicetree/bindings/arm/atmel-at91.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ compatible: must be one of:
2525
o "atmel,at91sam9n12"
2626
o "atmel,at91sam9rl"
2727
o "atmel,at91sam9xe"
28+
o "microchip,sam9x60"
2829
* "atmel,sama5" for SoCs using a Cortex-A5, shall be extended with the specific
2930
SoC family:
3031
o "atmel,sama5d2" shall be extended with the specific SoC compatible:

arch/arm/boot/dts/logicpd-som-lv-baseboard.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
pinctrl-names = "default";
154154
pinctrl-0 = <&mmc1_pins>;
155155
wp-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>; /* gpio_126 */
156-
cd-gpios = <&gpio4 14 IRQ_TYPE_LEVEL_LOW>; /* gpio_110 */
156+
cd-gpios = <&gpio4 14 GPIO_ACTIVE_LOW>; /* gpio_110 */
157157
vmmc-supply = <&vmmc1>;
158158
bus-width = <4>;
159159
cap-power-off-card;

arch/arm/configs/sama5_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ CONFIG_MEDIA_CAMERA_SUPPORT=y
150150
CONFIG_V4L_PLATFORM_DRIVERS=y
151151
CONFIG_SOC_CAMERA=y
152152
CONFIG_VIDEO_ATMEL_ISI=y
153-
CONFIG_SOC_CAMERA_OV2640=y
153+
CONFIG_SOC_CAMERA_OV2640=m
154154
CONFIG_DRM=y
155155
CONFIG_DRM_ATMEL_HLCDC=y
156156
CONFIG_DRM_PANEL_SIMPLE=y

arch/arm/configs/socfpga_defconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ CONFIG_NEON=y
2121
CONFIG_OPROFILE=y
2222
CONFIG_MODULES=y
2323
CONFIG_MODULE_UNLOAD=y
24-
# CONFIG_LBDAF is not set
2524
# CONFIG_BLK_DEV_BSG is not set
2625
CONFIG_NET=y
2726
CONFIG_PACKET=y
@@ -128,6 +127,8 @@ CONFIG_RTC_DRV_DS1307=y
128127
CONFIG_DMADEVICES=y
129128
CONFIG_PL330_DMA=y
130129
CONFIG_DMATEST=m
130+
CONFIG_IIO=y
131+
CONFIG_LTC2497=y
131132
CONFIG_FPGA=y
132133
CONFIG_FPGA_MGR_SOCFPGA=y
133134
CONFIG_FPGA_MGR_SOCFPGA_A10=y

arch/arm/mach-at91/Kconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ config SOC_SAMA5D2
2121
depends on ARCH_MULTI_V7
2222
select SOC_SAMA5
2323
select CACHE_L2X0
24-
select HAVE_FB_ATMEL
2524
select HAVE_AT91_UTMI
2625
select HAVE_AT91_USB_CLK
2726
select HAVE_AT91_H32MX
@@ -36,7 +35,6 @@ config SOC_SAMA5D3
3635
bool "SAMA5D3 family"
3736
depends on ARCH_MULTI_V7
3837
select SOC_SAMA5
39-
select HAVE_FB_ATMEL
4038
select HAVE_AT91_UTMI
4139
select HAVE_AT91_SMD
4240
select HAVE_AT91_USB_CLK
@@ -50,7 +48,6 @@ config SOC_SAMA5D4
5048
depends on ARCH_MULTI_V7
5149
select SOC_SAMA5
5250
select CACHE_L2X0
53-
select HAVE_FB_ATMEL
5451
select HAVE_AT91_UTMI
5552
select HAVE_AT91_SMD
5653
select HAVE_AT91_USB_CLK

arch/arm/mach-at91/at91sam9.c

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,21 @@ DT_MACHINE_START(at91sam_dt, "Atmel AT91SAM9")
3232
.init_machine = at91sam9_init,
3333
.dt_compat = at91_dt_board_compat,
3434
MACHINE_END
35+
36+
static void __init sam9x60_init(void)
37+
{
38+
of_platform_default_populate(NULL, NULL, NULL);
39+
40+
sam9x60_pm_init();
41+
}
42+
43+
static const char *const sam9x60_dt_board_compat[] __initconst = {
44+
"microchip,sam9x60",
45+
NULL
46+
};
47+
48+
DT_MACHINE_START(sam9x60_dt, "Microchip SAM9X60")
49+
/* Maintainer: Microchip */
50+
.init_machine = sam9x60_init,
51+
.dt_compat = sam9x60_dt_board_compat,
52+
MACHINE_END

arch/arm/mach-at91/generic.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@
1414
#ifdef CONFIG_PM
1515
extern void __init at91rm9200_pm_init(void);
1616
extern void __init at91sam9_pm_init(void);
17+
extern void __init sam9x60_pm_init(void);
1718
extern void __init sama5_pm_init(void);
1819
extern void __init sama5d2_pm_init(void);
1920
#else
2021
static inline void __init at91rm9200_pm_init(void) { }
2122
static inline void __init at91sam9_pm_init(void) { }
23+
static inline void __init sam9x60_pm_init(void) { }
2224
static inline void __init sama5_pm_init(void) { }
2325
static inline void __init sama5d2_pm_init(void) { }
2426
#endif

0 commit comments

Comments
 (0)