Skip to contentSkip to conversation

ARM: configs: at91: updates to defconfigs

PATCH New [email protected] 1 participant 8 messages Mar 29, 2021

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

cover ARM: configs: at91: updates to defconfigs

From: Nicolas Ferre <[email protected]>

Hi,

I collected some of the defconfig modifications that we carry in our vendor tree for some time. They are interesting for both users and validation process as most are part of validation plans or CI.

Don't hesitate to indicate missing pieces to add to this serries.

The base of this serries are patches by Emil Velikov as part of "[PATCH v2 00/10] Microship SAMA5D4 VPU support et al" and not included here. They will be part of pull-request to ARM-SOC.

Best regards,
Nicolas

Codrin Ciubotariu (1):
ARM: configs: at91: sama5: Add audio MIKROE PROTO board

Nicolas Ferre (4):
ARM: configs: at91: sama5: MCP16502 regulator as built-in
ARM: configs: at91: Add mtd tests as modules
ARM: configs: at91: Add USB Video webcam class
ARM: configs: at91: Modernize UBI defconfig part

Razvan Stefanescu (2):
ARM: configs: at91: sama5: PIOBU as built-in
ARM: configs: at91: sama5: Enable LAN78XX as module

 arch/arm/configs/at91_dt_defconfig |  5 ++++-
 arch/arm/configs/sama5_defconfig   | 11 ++++++++---
 2 files changed, 12 insertions(+), 4 deletions(-)
Signature · 1 line
2.31.1
author maintainer
#1 lore raw

PATCH 1/7 ARM: configs: at91: sama5: MCP16502 regulator as built-in

From: Nicolas Ferre <[email protected]>

This regulator is needed by several SoC or external peripherals on different boards, providing required power rails. Make it built-in to match usual use-cases.

---
 arch/arm/configs/sama5_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/configs/sama5_defconfig +1 -1
index 5bcf16aecf2f..72e58a835c37 100644
@@ -138,7 +138,7 @@ CONFIG_REGULATOR=y
 CONFIG_REGULATOR_FIXED_VOLTAGE=y
 CONFIG_REGULATOR_ACT8865=y
 CONFIG_REGULATOR_ACT8945A=y
-CONFIG_REGULATOR_MCP16502=m
+CONFIG_REGULATOR_MCP16502=y
 CONFIG_REGULATOR_PWM=m
 CONFIG_MEDIA_SUPPORT=y
 CONFIG_MEDIA_SUPPORT_FILTER=y
Signature · 1 line
2.31.1
author maintainer
#2 lore raw

PATCH 2/7 ARM: configs: at91: sama5: PIOBU as built-in

In reply to [email protected]

From: Razvan Stefanescu <[email protected]>

Include as built-in as it's used by multiple boards.

---
 arch/arm/configs/sama5_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/configs/sama5_defconfig +1 -1
index 72e58a835c37..26222046a9cb 100644
@@ -123,7 +123,7 @@ CONFIG_SPI_ATMEL=y
 CONFIG_SPI_ATMEL_QUADSPI=y
 CONFIG_SPI_GPIO=y
 CONFIG_GPIO_SYSFS=y
-CONFIG_GPIO_SAMA5D2_PIOBU=m
+CONFIG_GPIO_SAMA5D2_PIOBU=y
 CONFIG_POWER_RESET=y
 CONFIG_POWER_SUPPLY=y
 CONFIG_BATTERY_ACT8945A=y
Signature · 1 line
2.31.1
author maintainer
#3 lore raw

PATCH 3/7 ARM: configs: at91: sama5: Enable LAN78XX as module

In reply to [email protected]

From: Razvan Stefanescu <[email protected]>

Include this driver as the USB-Ethernet chip is present on SAMA5D2-ICP board.

[[email protected]: update commit subject and message]
---
 arch/arm/configs/sama5_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/sama5_defconfig +1 -0
index 26222046a9cb..a528438ed678 100644
@@ -89,6 +89,7 @@ CONFIG_MACB=y
 # CONFIG_NET_VENDOR_STMICRO is not set
 # CONFIG_NET_VENDOR_WIZNET is not set
 CONFIG_MICREL_PHY=y
+CONFIG_USB_LAN78XX=m
 CONFIG_LIBERTAS_THINFIRM=m
 CONFIG_LIBERTAS_THINFIRM_USB=m
 CONFIG_MWIFIEX=m
Signature · 1 line
2.31.1
author maintainer
#4 lore raw

PATCH 4/7 ARM: configs: at91: sama5: Add audio MIKROE PROTO board

In reply to [email protected]

From: Codrin Ciubotariu <[email protected]>

Add this board as a module as it's useful for testing audio on multiple AT91 boards.

---
 arch/arm/configs/sama5_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/sama5_defconfig +1 -0
index a528438ed678..774e25a7b246 100644
@@ -170,6 +170,7 @@ CONFIG_SND_ATMEL_SOC_CLASSD=y
 CONFIG_SND_ATMEL_SOC_PDMIC=y
 CONFIG_SND_ATMEL_SOC_TSE850_PCM5142=m
 CONFIG_SND_ATMEL_SOC_I2S=y
+CONFIG_SND_SOC_MIKROE_PROTO=m
 # CONFIG_HID_GENERIC is not set
 CONFIG_USB=y
 CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
Signature · 1 line
2.31.1
author maintainer
#5 lore raw

PATCH 5/7 ARM: configs: at91: Add mtd tests as modules

In reply to [email protected]

From: Nicolas Ferre <[email protected]>

Add MTD tests as they are used in CI and for validation plan.

---
 arch/arm/configs/at91_dt_defconfig | 1 +
 arch/arm/configs/sama5_defconfig   | 1 +
 2 files changed, 2 insertions(+)
arch/arm/configs/at91_dt_defconfig +1 -0
index 6403b064e8dc..a462d0ddaa2f 100644
@@ -46,6 +46,7 @@ CONFIG_DEVTMPFS_MOUNT=y
 # CONFIG_STANDALONE is not set
 # CONFIG_PREVENT_FIRMWARE_BUILD is not set
 CONFIG_MTD=y
+CONFIG_MTD_TESTS=m
 CONFIG_MTD_CMDLINE_PARTS=y
 CONFIG_MTD_BLOCK=y
 CONFIG_MTD_DATAFLASH=y
arch/arm/configs/sama5_defconfig +1 -0
index 774e25a7b246..bb8c8000318b 100644
@@ -55,6 +55,7 @@ CONFIG_DEVTMPFS_MOUNT=y
 # CONFIG_STANDALONE is not set
 # CONFIG_PREVENT_FIRMWARE_BUILD is not set
 CONFIG_MTD=y
+CONFIG_MTD_TESTS=m
 CONFIG_MTD_CMDLINE_PARTS=y
 CONFIG_MTD_BLOCK=y
 CONFIG_MTD_CFI=y
Signature · 1 line
2.31.1
author maintainer
#6 lore raw

PATCH 6/7 ARM: configs: at91: Add USB Video webcam class

In reply to [email protected]

From: Nicolas Ferre <[email protected]>

USB webcams are used during validation process, add them as modules.

---
 arch/arm/configs/at91_dt_defconfig | 2 ++
 arch/arm/configs/sama5_defconfig   | 2 ++
 2 files changed, 4 insertions(+)
arch/arm/configs/at91_dt_defconfig +2 -0
index a462d0ddaa2f..e033d08c9cda 100644
@@ -132,6 +132,8 @@ CONFIG_MEDIA_SUPPORT_FILTER=y
 # CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set
 CONFIG_MEDIA_CAMERA_SUPPORT=y
 CONFIG_MEDIA_PLATFORM_SUPPORT=y
+CONFIG_MEDIA_USB_SUPPORT=y
+CONFIG_USB_VIDEO_CLASS=m
 CONFIG_V4L_PLATFORM_DRIVERS=y
 CONFIG_VIDEO_ATMEL_ISI=y
 CONFIG_VIDEO_OV2640=m
arch/arm/configs/sama5_defconfig +2 -0
index bb8c8000318b..99d167623940 100644
@@ -147,6 +147,8 @@ CONFIG_MEDIA_SUPPORT_FILTER=y
 # CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set
 CONFIG_MEDIA_CAMERA_SUPPORT=y
 CONFIG_MEDIA_PLATFORM_SUPPORT=y
+CONFIG_MEDIA_USB_SUPPORT=y
+CONFIG_USB_VIDEO_CLASS=m
 CONFIG_V4L_PLATFORM_DRIVERS=y
 CONFIG_VIDEO_ATMEL_ISC=y
 CONFIG_VIDEO_ATMEL_ISI=y
Signature · 1 line
2.31.1
author maintainer
#7 lore raw

PATCH 7/7 ARM: configs: at91: Modernize UBI defconfig part

In reply to [email protected]

From: Nicolas Ferre <[email protected]>

UBI_GLUEBI is not so common and UBI_FASTMAP is used for several years. Make them part of a modernization of UBI defconfig options.

---
 arch/arm/configs/at91_dt_defconfig | 2 +-
 arch/arm/configs/sama5_defconfig   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/configs/at91_dt_defconfig +1 -1
index e033d08c9cda..06c888a45eb3 100644
@@ -54,7 +54,7 @@ CONFIG_MTD_RAW_NAND=y
 CONFIG_MTD_NAND_ATMEL=y
 CONFIG_MTD_SPI_NOR=y
 CONFIG_MTD_UBI=y
-CONFIG_MTD_UBI_GLUEBI=y
+CONFIG_MTD_UBI_FASTMAP=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_COUNT=4
arch/arm/configs/sama5_defconfig +1 -1
index 99d167623940..17db3b3e2dd3 100644
@@ -63,7 +63,7 @@ CONFIG_MTD_RAW_NAND=y
 CONFIG_MTD_NAND_ATMEL=y
 CONFIG_MTD_SPI_NOR=y
 CONFIG_MTD_UBI=y
-CONFIG_MTD_UBI_GLUEBI=y
+CONFIG_MTD_UBI_FASTMAP=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_COUNT=4
Signature · 1 line
2.31.1