linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ARM: defconfig: Update Gemini defconfig
@ 2018-04-20  9:00 Linus Walleij
  2018-04-26 14:57 ` Arnd Bergmann
  0 siblings, 1 reply; 3+ messages in thread
From: Linus Walleij @ 2018-04-20  9:00 UTC (permalink / raw)
  To: linux-arm-kernel

This updates the Gemini defconfig with a config that will bring
up most of the recently merged and updated devices to some
functional level:

- We enable high resolution timers (the right thing to do)
- Enable CMA for the framebuffer, and the new TVE200
  framebuffer driver and the Ilitek ILI9322 driver for
  graphics on the D-Link DIR-685. HIGHMEM support comes in
  as part of this.
- Enable networking and the new Cortina Gemini ethernet
  driver.
- Enable MDIO over GPIO and the Realtek PHY devices used on
  several of these systems.
- Enable I2C over GPIO and SPI over GPIO which is used on
  several of these devices.
- Enable the Thermal framework, GPIO fan control and LM75 sensor
  adding cooling on the D-Link DNS-313 with no userspace
  involved even if only the kernel is working, rock solid
  thermal for this platform.
- Enable JEDEC flash probing to support the Eon flash chip in
  D-Link DNS-313.
- Enable LED disk triggers for the NAS type devices.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
ChangeLog v1->v2:
- This update didn't get applied for v4.16 so we gained even
  more stuff in v4.17
- Drop the wireless devices: it is better if people configure
  those in themselves, and it is also what OpenWRT does.
- Drop UHCI and EHCI configs as these may conflict with the
  SoC intrinsic FTOTG adapter.

ARM SoC folks: please apply this for fixes.
---
 arch/arm/configs/gemini_defconfig | 27 +++++++++++++++++++++++++--
 1 file changed, 25 insertions(+), 2 deletions(-)

diff --git a/arch/arm/configs/gemini_defconfig b/arch/arm/configs/gemini_defconfig
index 2a63fa10c813..553777ac2814 100644
--- a/arch/arm/configs/gemini_defconfig
+++ b/arch/arm/configs/gemini_defconfig
@@ -1,6 +1,7 @@
 # CONFIG_LOCALVERSION_AUTO is not set
 CONFIG_SYSVIPC=y
 CONFIG_NO_HZ_IDLE=y
+CONFIG_HIGH_RES_TIMERS=y
 CONFIG_BSD_PROCESS_ACCT=y
 CONFIG_USER_NS=y
 CONFIG_RELAY=y
@@ -12,15 +13,21 @@ CONFIG_ARCH_GEMINI=y
 CONFIG_PCI=y
 CONFIG_PREEMPT=y
 CONFIG_AEABI=y
+CONFIG_HIGHMEM=y
+CONFIG_CMA=y
 CONFIG_CMDLINE="console=ttyS0,115200n8"
 CONFIG_KEXEC=y
 CONFIG_BINFMT_MISC=y
 CONFIG_PM=y
+CONFIG_NET=y
+CONFIG_UNIX=y
+CONFIG_INET=y
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_DEVTMPFS=y
 CONFIG_MTD=y
 CONFIG_MTD_BLOCK=y
 CONFIG_MTD_CFI=y
+CONFIG_MTD_JEDECPROBE=y
 CONFIG_MTD_CFI_INTELEXT=y
 CONFIG_MTD_CFI_AMDSTD=y
 CONFIG_MTD_CFI_STAA=y
@@ -33,6 +40,11 @@ CONFIG_BLK_DEV_SD=y
 # CONFIG_SCSI_LOWLEVEL is not set
 CONFIG_ATA=y
 CONFIG_PATA_FTIDE010=y
+CONFIG_NETDEVICES=y
+CONFIG_GEMINI_ETHERNET=y
+CONFIG_MDIO_BITBANG=y
+CONFIG_MDIO_GPIO=y
+CONFIG_REALTEK_PHY=y
 CONFIG_INPUT_EVDEV=y
 CONFIG_KEYBOARD_GPIO=y
 # CONFIG_INPUT_MOUSE is not set
@@ -43,9 +55,19 @@ CONFIG_SERIAL_8250_NR_UARTS=1
 CONFIG_SERIAL_8250_RUNTIME_UARTS=1
 CONFIG_SERIAL_OF_PLATFORM=y
 # CONFIG_HW_RANDOM is not set
-# CONFIG_HWMON is not set
+CONFIG_I2C_GPIO=y
+CONFIG_SPI=y
+CONFIG_SPI_GPIO=y
+CONFIG_SENSORS_GPIO_FAN=y
+CONFIG_SENSORS_LM75=y
+CONFIG_THERMAL=y
 CONFIG_WATCHDOG=y
-CONFIG_GEMINI_WATCHDOG=y
+CONFIG_REGULATOR=y
+CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_DRM=y
+CONFIG_DRM_PANEL_ILITEK_IL9322=y
+CONFIG_DRM_TVE200=y
+CONFIG_LOGO=y
 CONFIG_USB=y
 CONFIG_USB_MON=y
 CONFIG_USB_FOTG210_HCD=y
@@ -54,6 +76,7 @@ CONFIG_NEW_LEDS=y
 CONFIG_LEDS_CLASS=y
 CONFIG_LEDS_GPIO=y
 CONFIG_LEDS_TRIGGERS=y
+CONFIG_LEDS_TRIGGER_DISK=y
 CONFIG_LEDS_TRIGGER_HEARTBEAT=y
 CONFIG_RTC_CLASS=y
 CONFIG_DMADEVICES=y
-- 
2.14.3

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

* [PATCH v2] ARM: defconfig: Update Gemini defconfig
  2018-04-20  9:00 [PATCH v2] ARM: defconfig: Update Gemini defconfig Linus Walleij
@ 2018-04-26 14:57 ` Arnd Bergmann
  2018-04-30  7:13   ` Linus Walleij
  0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2018-04-26 14:57 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Apr 20, 2018 at 11:00 AM, Linus Walleij
<linus.walleij@linaro.org> wrote:
> This updates the Gemini defconfig with a config that will bring
> up most of the recently merged and updated devices to some
> functional level:
>
> - We enable high resolution timers (the right thing to do)
> - Enable CMA for the framebuffer, and the new TVE200
>   framebuffer driver and the Ilitek ILI9322 driver for
>   graphics on the D-Link DIR-685. HIGHMEM support comes in
>   as part of this.
> - Enable networking and the new Cortina Gemini ethernet
>   driver.
> - Enable MDIO over GPIO and the Realtek PHY devices used on
>   several of these systems.
> - Enable I2C over GPIO and SPI over GPIO which is used on
>   several of these devices.
> - Enable the Thermal framework, GPIO fan control and LM75 sensor
>   adding cooling on the D-Link DNS-313 with no userspace
>   involved even if only the kernel is working, rock solid
>   thermal for this platform.
> - Enable JEDEC flash probing to support the Eon flash chip in
>   D-Link DNS-313.
> - Enable LED disk triggers for the NAS type devices.
>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> ChangeLog v1->v2:
> - This update didn't get applied for v4.16 so we gained even
>   more stuff in v4.17
> - Drop the wireless devices: it is better if people configure
>   those in themselves, and it is also what OpenWRT does.
> - Drop UHCI and EHCI configs as these may conflict with the
>   SoC intrinsic FTOTG adapter.
>
> ARM SoC folks: please apply this for fixes.

I've applied it to the fixes branch now, but I don't see why I didn't
get the patch before the merge window when you already
had a version for the v4.16 window.

       Arnd

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

* [PATCH v2] ARM: defconfig: Update Gemini defconfig
  2018-04-26 14:57 ` Arnd Bergmann
@ 2018-04-30  7:13   ` Linus Walleij
  0 siblings, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2018-04-30  7:13 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Apr 26, 2018 at 4:57 PM, Arnd Bergmann <arnd@arndb.de> wrote:

>> ARM SoC folks: please apply this for fixes.
>
> I've applied it to the fixes branch now, but I don't see why I didn't
> get the patch before the merge window when you already
> had a version for the v4.16 window.

It's because of my ways of working: I work on a target and then right after
the merge window at -rc1 I usually check what new drivers I managed
to get upstream and then for those that made it I send a patch enabling
them in in the defconfig in the target system.

After sending the defconfig patch for v4.16-rc1 I simply forgot about
it until the next -rc1...

Yours,
Linus Walleij

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

end of thread, other threads:[~2018-04-30  7:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-20  9:00 [PATCH v2] ARM: defconfig: Update Gemini defconfig Linus Walleij
2018-04-26 14:57 ` Arnd Bergmann
2018-04-30  7:13   ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).