2021-03-29 10:02:41

by Nicolas Ferre

[permalink] [raw]
Subject: [PATCH 0/7] 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(-)

--
2.31.1


2021-03-29 10:03:21

by Nicolas Ferre

[permalink] [raw]
Subject: [PATCH 2/7] ARM: configs: at91: sama5: PIOBU as built-in

From: Razvan Stefanescu <[email protected]>

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

Signed-off-by: Razvan Stefanescu <[email protected]>
[[email protected]: adap to newer kernel]
Signed-off-by: Nicolas Ferre <[email protected]>
---
arch/arm/configs/sama5_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig
index 72e58a835c37..26222046a9cb 100644
--- a/arch/arm/configs/sama5_defconfig
+++ b/arch/arm/configs/sama5_defconfig
@@ -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
--
2.31.1

2021-03-29 10:03:27

by Nicolas Ferre

[permalink] [raw]
Subject: [PATCH 3/7] ARM: configs: at91: sama5: Enable LAN78XX as module

From: Razvan Stefanescu <[email protected]>

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

Signed-off-by: Razvan Stefanescu <[email protected]>
[[email protected]: update commit subject and message]
Signed-off-by: Nicolas Ferre <[email protected]>
---
arch/arm/configs/sama5_defconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig
index 26222046a9cb..a528438ed678 100644
--- a/arch/arm/configs/sama5_defconfig
+++ b/arch/arm/configs/sama5_defconfig
@@ -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
--
2.31.1

2021-03-29 10:03:43

by Nicolas Ferre

[permalink] [raw]
Subject: [PATCH 7/7] ARM: configs: at91: Modernize UBI defconfig part

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.

Signed-off-by: Nicolas Ferre <[email protected]>
---
arch/arm/configs/at91_dt_defconfig | 2 +-
arch/arm/configs/sama5_defconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs/at91_dt_defconfig
index e033d08c9cda..06c888a45eb3 100644
--- a/arch/arm/configs/at91_dt_defconfig
+++ b/arch/arm/configs/at91_dt_defconfig
@@ -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
diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig
index 99d167623940..17db3b3e2dd3 100644
--- a/arch/arm/configs/sama5_defconfig
+++ b/arch/arm/configs/sama5_defconfig
@@ -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
--
2.31.1

2021-03-29 10:03:48

by Nicolas Ferre

[permalink] [raw]
Subject: [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.

Signed-off-by: Nicolas Ferre <[email protected]>
---
arch/arm/configs/sama5_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig
index 5bcf16aecf2f..72e58a835c37 100644
--- a/arch/arm/configs/sama5_defconfig
+++ b/arch/arm/configs/sama5_defconfig
@@ -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
--
2.31.1

2021-03-29 10:04:24

by Nicolas Ferre

[permalink] [raw]
Subject: [PATCH 4/7] ARM: configs: at91: sama5: Add audio MIKROE PROTO board

From: Codrin Ciubotariu <[email protected]>

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

Signed-off-by: Codrin Ciubotariu <[email protected]>
[[email protected]: adap to newer kernel]
Signed-off-by: Nicolas Ferre <[email protected]>
---
arch/arm/configs/sama5_defconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig
index a528438ed678..774e25a7b246 100644
--- a/arch/arm/configs/sama5_defconfig
+++ b/arch/arm/configs/sama5_defconfig
@@ -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
--
2.31.1

2021-03-29 10:05:25

by Nicolas Ferre

[permalink] [raw]
Subject: [PATCH 6/7] ARM: configs: at91: Add USB Video webcam class

From: Nicolas Ferre <[email protected]>

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

Signed-off-by: Nicolas Ferre <[email protected]>
---
arch/arm/configs/at91_dt_defconfig | 2 ++
arch/arm/configs/sama5_defconfig | 2 ++
2 files changed, 4 insertions(+)

diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs/at91_dt_defconfig
index a462d0ddaa2f..e033d08c9cda 100644
--- a/arch/arm/configs/at91_dt_defconfig
+++ b/arch/arm/configs/at91_dt_defconfig
@@ -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
diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig
index bb8c8000318b..99d167623940 100644
--- a/arch/arm/configs/sama5_defconfig
+++ b/arch/arm/configs/sama5_defconfig
@@ -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
--
2.31.1

2021-03-29 10:05:25

by Nicolas Ferre

[permalink] [raw]
Subject: [PATCH 5/7] ARM: configs: at91: Add mtd tests as modules

From: Nicolas Ferre <[email protected]>

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

Signed-off-by: Nicolas Ferre <[email protected]>
---
arch/arm/configs/at91_dt_defconfig | 1 +
arch/arm/configs/sama5_defconfig | 1 +
2 files changed, 2 insertions(+)

diff --git a/arch/arm/configs/at91_dt_defconfig b/arch/arm/configs/at91_dt_defconfig
index 6403b064e8dc..a462d0ddaa2f 100644
--- a/arch/arm/configs/at91_dt_defconfig
+++ b/arch/arm/configs/at91_dt_defconfig
@@ -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
diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig
index 774e25a7b246..bb8c8000318b 100644
--- a/arch/arm/configs/sama5_defconfig
+++ b/arch/arm/configs/sama5_defconfig
@@ -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
--
2.31.1