Linux-OMAP Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 1/7] ARM: omap2plus_defconfig: Enable ext4 security for setcap
@ 2020-03-14 21:43 Tony Lindgren
  2020-03-14 21:43 ` [PATCH 2/7] ARM: omap2plus_defconfig: Enable simple-pm-bus Tony Lindgren
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Tony Lindgren @ 2020-03-14 21:43 UTC (permalink / raw)
  To: linux-omap; +Cc: linux-arm-kernel

---
 arch/arm/configs/omap2plus_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -514,6 +514,7 @@ CONFIG_TI_PIPE3=y
 CONFIG_TWL4030_USB=m
 CONFIG_EXT2_FS=y
 CONFIG_EXT3_FS=y
+CONFIG_EXT4_FS_SECURITY=y
 CONFIG_FANOTIFY=y
 CONFIG_QUOTA=y
 CONFIG_QFMT_V2=y
-- 
2.25.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 2/7] ARM: omap2plus_defconfig: Enable simple-pm-bus
  2020-03-14 21:43 [PATCH 1/7] ARM: omap2plus_defconfig: Enable ext4 security for setcap Tony Lindgren
@ 2020-03-14 21:43 ` Tony Lindgren
  2020-03-14 21:43 ` [PATCH 3/7] ARM: omap2plus_defconfig: Enable zram as loadable modules Tony Lindgren
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Tony Lindgren @ 2020-03-14 21:43 UTC (permalink / raw)
  To: linux-omap; +Cc: linux-arm-kernel

We can use simple-pm-bus instead of simple-bus, let's enable it to allow
configuring it in dts files for using things like genpd.

Signed-off-by: Tony Lindgren <tony@atomide.com>
---
 arch/arm/configs/omap2plus_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -130,6 +130,7 @@ CONFIG_PCI_EPF_TEST=m
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_OMAP_OCP2SCP=y
+CONFIG_SIMPLE_PM_BUS=y
 CONFIG_CONNECTOR=m
 CONFIG_MTD=y
 CONFIG_MTD_CMDLINE_PARTS=y
-- 
2.25.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 3/7] ARM: omap2plus_defconfig: Enable zram as loadable modules
  2020-03-14 21:43 [PATCH 1/7] ARM: omap2plus_defconfig: Enable ext4 security for setcap Tony Lindgren
  2020-03-14 21:43 ` [PATCH 2/7] ARM: omap2plus_defconfig: Enable simple-pm-bus Tony Lindgren
@ 2020-03-14 21:43 ` Tony Lindgren
  2020-03-14 21:43 ` [PATCH 4/7] ARM: omap2plus_defconfig: Enable more droid4 devices " Tony Lindgren
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Tony Lindgren @ 2020-03-14 21:43 UTC (permalink / raw)
  To: linux-omap; +Cc: linux-arm-kernel

Enable zram as loadable modules. This allows mounting some part of
memory as swap on low memory devices.

Signed-off-by: Tony Lindgren <tony@atomide.com>
---
 arch/arm/configs/omap2plus_defconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -78,6 +78,8 @@ CONFIG_MODULE_SRCVERSION_ALL=y
 CONFIG_PARTITION_ADVANCED=y
 CONFIG_BINFMT_MISC=y
 CONFIG_CMA=y
+CONFIG_ZSMALLOC=m
+CONFIG_PGTABLE_MAPPING=y
 CONFIG_NET=y
 CONFIG_PACKET=y
 CONFIG_UNIX=y
@@ -150,6 +152,8 @@ CONFIG_MTD_NAND_OMAP2=y
 CONFIG_MTD_NAND_OMAP_BCH=y
 CONFIG_MTD_SPI_NOR=m
 CONFIG_MTD_UBI=y
+CONFIG_ZRAM=m
+CONFIG_ZRAM_WRITEBACK=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_SIZE=16384
-- 
2.25.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 4/7] ARM: omap2plus_defconfig: Enable more droid4 devices as loadable modules
  2020-03-14 21:43 [PATCH 1/7] ARM: omap2plus_defconfig: Enable ext4 security for setcap Tony Lindgren
  2020-03-14 21:43 ` [PATCH 2/7] ARM: omap2plus_defconfig: Enable simple-pm-bus Tony Lindgren
  2020-03-14 21:43 ` [PATCH 3/7] ARM: omap2plus_defconfig: Enable zram as loadable modules Tony Lindgren
@ 2020-03-14 21:43 ` " Tony Lindgren
  2020-03-14 21:43 ` [PATCH 5/7] ARM: omap2plus_defconfig: Enable McPDM optional PMIC clock as modules Tony Lindgren
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Tony Lindgren @ 2020-03-14 21:43 UTC (permalink / raw)
  To: linux-omap; +Cc: linux-arm-kernel

Enable more droid4 devices as loadable modules:

- We have an isl29028 proximity sensor

- Battery has an EEPROM that can be read with w1_ds250x

Signed-off-by: Tony Lindgren <tony@atomide.com>
---
 arch/arm/configs/omap2plus_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -283,6 +283,7 @@ CONFIG_GPIO_PALMAS=y
 CONFIG_GPIO_TWL4030=y
 CONFIG_W1=m
 CONFIG_HDQ_MASTER_OMAP=m
+CONFIG_W1_SLAVE_DS250X=m
 CONFIG_POWER_AVS=y
 CONFIG_POWER_RESET=y
 CONFIG_POWER_RESET_GPIO=y
@@ -504,6 +505,7 @@ CONFIG_IIO_SW_TRIGGER=m
 CONFIG_IIO_ST_ACCEL_3AXIS=m
 CONFIG_CPCAP_ADC=m
 CONFIG_TI_AM335X_ADC=m
+CONFIG_SENSORS_ISL29028=m
 CONFIG_BMP280=m
 CONFIG_PWM=y
 CONFIG_PWM_OMAP_DMTIMER=m
-- 
2.25.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 5/7] ARM: omap2plus_defconfig: Enable McPDM optional PMIC clock as modules
  2020-03-14 21:43 [PATCH 1/7] ARM: omap2plus_defconfig: Enable ext4 security for setcap Tony Lindgren
                   ` (2 preceding siblings ...)
  2020-03-14 21:43 ` [PATCH 4/7] ARM: omap2plus_defconfig: Enable more droid4 devices " Tony Lindgren
@ 2020-03-14 21:43 ` Tony Lindgren
  2020-03-14 21:43 ` [PATCH 6/7] ARM: omap2plus_defconfig: Enable ina2xx_adc as a loadable module Tony Lindgren
  2020-03-14 21:43 ` [PATCH 7/7] ARM: omap2plus_defconfig: Update for moved and dropped options Tony Lindgren
  5 siblings, 0 replies; 7+ messages in thread
From: Tony Lindgren @ 2020-03-14 21:43 UTC (permalink / raw)
  To: linux-omap; +Cc: linux-arm-kernel

The McPDM module is only usable on hardware where it's module clock
is wired to the PMIC. Let's enable the optional PMIC module clocks
for this so boards can use McPDM.

Signed-off-by: Tony Lindgren <tony@atomide.com>
---
 arch/arm/configs/omap2plus_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -488,6 +488,8 @@ CONFIG_RTC_DRV_PALMAS=m
 CONFIG_RTC_DRV_OMAP=m
 CONFIG_RTC_DRV_CPCAP=m
 CONFIG_DMADEVICES=y
+CONFIG_CLK_TWL6040=m
+CONFIG_COMMON_CLK_PALMAS=m
 CONFIG_OMAP_IOMMU=y
 CONFIG_REMOTEPROC=y
 CONFIG_OMAP_REMOTEPROC=m
-- 
2.25.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 6/7] ARM: omap2plus_defconfig: Enable ina2xx_adc as a loadable module
  2020-03-14 21:43 [PATCH 1/7] ARM: omap2plus_defconfig: Enable ext4 security for setcap Tony Lindgren
                   ` (3 preceding siblings ...)
  2020-03-14 21:43 ` [PATCH 5/7] ARM: omap2plus_defconfig: Enable McPDM optional PMIC clock as modules Tony Lindgren
@ 2020-03-14 21:43 ` Tony Lindgren
  2020-03-14 21:43 ` [PATCH 7/7] ARM: omap2plus_defconfig: Update for moved and dropped options Tony Lindgren
  5 siblings, 0 replies; 7+ messages in thread
From: Tony Lindgren @ 2020-03-14 21:43 UTC (permalink / raw)
  To: linux-omap; +Cc: linux-arm-kernel

Some devices have ina2xx_adc on i2c for measuring power consumption
and can nowadays just read the output via IIO.

Signed-off-by: Tony Lindgren <tony@atomide.com>
---
 arch/arm/configs/omap2plus_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -506,6 +506,7 @@ CONFIG_IIO_SW_DEVICE=m
 CONFIG_IIO_SW_TRIGGER=m
 CONFIG_IIO_ST_ACCEL_3AXIS=m
 CONFIG_CPCAP_ADC=m
+CONFIG_INA2XX_ADC=m
 CONFIG_TI_AM335X_ADC=m
 CONFIG_SENSORS_ISL29028=m
 CONFIG_BMP280=m
-- 
2.25.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 7/7] ARM: omap2plus_defconfig: Update for moved and dropped options
  2020-03-14 21:43 [PATCH 1/7] ARM: omap2plus_defconfig: Enable ext4 security for setcap Tony Lindgren
                   ` (4 preceding siblings ...)
  2020-03-14 21:43 ` [PATCH 6/7] ARM: omap2plus_defconfig: Enable ina2xx_adc as a loadable module Tony Lindgren
@ 2020-03-14 21:43 ` Tony Lindgren
  5 siblings, 0 replies; 7+ messages in thread
From: Tony Lindgren @ 2020-03-14 21:43 UTC (permalink / raw)
  To: linux-omap; +Cc: linux-arm-kernel

Looks like CONFIG_MTD_M25P80 no longer exists and the others just
move around the existing options. This makes it easier to create
patches against omap2plus_defconfig.

Signed-off-by: Tony Lindgren <tony@atomide.com>
---
 arch/arm/configs/omap2plus_defconfig | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -142,7 +142,6 @@ CONFIG_MTD_CFI=y
 CONFIG_MTD_CFI_INTELEXT=y
 CONFIG_MTD_PHYSMAP=y
 CONFIG_MTD_PHYSMAP_OF=y
-CONFIG_MTD_M25P80=m
 CONFIG_MTD_ONENAND=y
 CONFIG_MTD_ONENAND_VERIFY_WRITE=y
 CONFIG_MTD_ONENAND_OMAP2=y
@@ -191,10 +190,10 @@ CONFIG_TI_CPSW_SWITCHDEV=y
 CONFIG_TI_CPTS=y
 # CONFIG_NET_VENDOR_VIA is not set
 # CONFIG_NET_VENDOR_WIZNET is not set
-CONFIG_AT803X_PHY=y
 CONFIG_DP83848_PHY=y
 CONFIG_DP83867_PHY=y
 CONFIG_MICREL_PHY=y
+CONFIG_AT803X_PHY=y
 CONFIG_SMSC_PHY=y
 CONFIG_PPP=m
 CONFIG_PPP_BSDCOMP=m
@@ -363,13 +362,13 @@ CONFIG_DRM_OMAP_CONNECTOR_ANALOG_TV=m
 CONFIG_DRM_OMAP_PANEL_DSI_CM=m
 CONFIG_DRM_TILCDC=m
 CONFIG_DRM_PANEL_SIMPLE=m
-CONFIG_DRM_TI_TFP410=m
 CONFIG_DRM_PANEL_LG_LB035Q02=m
 CONFIG_DRM_PANEL_NEC_NL8048HL11=m
 CONFIG_DRM_PANEL_SHARP_LS037V7DW01=m
 CONFIG_DRM_PANEL_SONY_ACX565AKM=m
 CONFIG_DRM_PANEL_TPO_TD028TTEC1=m
 CONFIG_DRM_PANEL_TPO_TD043MTEA1=m
+CONFIG_DRM_TI_TFP410=m
 CONFIG_FB=y
 CONFIG_FIRMWARE_EDID=y
 CONFIG_FB_MODE_HELPERS=y
@@ -563,10 +562,10 @@ CONFIG_FONTS=y
 CONFIG_FONT_8x8=y
 CONFIG_FONT_8x16=y
 CONFIG_PRINTK_TIME=y
+# CONFIG_DEBUG_BUGVERBOSE is not set
 CONFIG_DEBUG_INFO=y
 CONFIG_DEBUG_INFO_SPLIT=y
 CONFIG_DEBUG_INFO_DWARF4=y
 CONFIG_MAGIC_SYSRQ=y
 CONFIG_DEBUG_FS=y
 CONFIG_SCHEDSTATS=y
-# CONFIG_DEBUG_BUGVERBOSE is not set
-- 
2.25.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, back to index

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-14 21:43 [PATCH 1/7] ARM: omap2plus_defconfig: Enable ext4 security for setcap Tony Lindgren
2020-03-14 21:43 ` [PATCH 2/7] ARM: omap2plus_defconfig: Enable simple-pm-bus Tony Lindgren
2020-03-14 21:43 ` [PATCH 3/7] ARM: omap2plus_defconfig: Enable zram as loadable modules Tony Lindgren
2020-03-14 21:43 ` [PATCH 4/7] ARM: omap2plus_defconfig: Enable more droid4 devices " Tony Lindgren
2020-03-14 21:43 ` [PATCH 5/7] ARM: omap2plus_defconfig: Enable McPDM optional PMIC clock as modules Tony Lindgren
2020-03-14 21:43 ` [PATCH 6/7] ARM: omap2plus_defconfig: Enable ina2xx_adc as a loadable module Tony Lindgren
2020-03-14 21:43 ` [PATCH 7/7] ARM: omap2plus_defconfig: Update for moved and dropped options Tony Lindgren

Linux-OMAP Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-omap/0 linux-omap/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-omap linux-omap/ https://lore.kernel.org/linux-omap \
		linux-omap@vger.kernel.org
	public-inbox-index linux-omap

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-omap


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git