From: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Date: 2018-05-07 14:20:55
v1: https://www.spinics.net/lists/kernel/msg2790389.htmlhttps://www.spinics.net/lists/kernel/msg2790385.html
In the previous version of patch 2, I forgot to set CONFIG_NEW_LEDS and
CONFIG_LEDS_TRIGGERS, so the more specific LED-related options weren't
actually enabled, due to Kconfig dependencies. This is now fixed.
I took the opportunity of a v2 to add two more patches that I wanted to
send anyway. The SDHCIs in the Wii are currently unusable due to bugs/
problems in the flipper-pic/hlwd-pic drivers, but I know how to fix
those, and will send patches.
Jonathan Neuschäfer (4):
powerpc: wii_defconfig: Disable Ethernet driver support code
powerpc: wii_defconfig: Enable GPIO-related options
powerpc: wii_defconfig: Enable Wii SDHCI driver
powerpc: wii_defconfig: Disable BCMA support
arch/powerpc/configs/wii_defconfig | 14 ++++++++++++++
1 file changed, 14 insertions(+)
--
2.17.0
From: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Date: 2018-05-07 14:20:16
The Wii doesn't have built-in Ethernet and USB Ethernet adapters are in
a different menu. Disable CONFIG_ETHERNET to save some space in support
code for Ethernet drivers.
Note that this patch doesn't disable any Ethernet drivers, because they
are not enabled by default.
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
v2:
- Drop the bloat-o-meter output from the commit message
---
arch/powerpc/configs/wii_defconfig | 1 +
1 file changed, 1 insertion(+)
@@ -49,6 +49,7 @@ CONFIG_BLK_DEV_RAM_COUNT=2 CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y CONFIG_NETDEVICES=y+# CONFIG_ETHERNET is not set CONFIG_B43=y CONFIG_B43_SDIO=y # CONFIG_B43_PHY_LP is not set
From: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Date: 2018-05-07 14:20:17
Now that there's a GPIO driver for the Wii, let's enable the following
drivers:
- the GPIO driver itself
- gpio-keys
- gpio-poweroff
- gpio-leds and a few LED triggers
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
v2:
- Set CONFIG_NEW_LEDS=y and CONFIG_LEDS_TRIGGERS=y, without which some
of the other options can't be set.
---
arch/powerpc/configs/wii_defconfig | 10 ++++++++++
1 file changed, 10 insertions(+)
@@ -58,6 +58,7 @@ CONFIG_INPUT_FF_MEMLESS=m CONFIG_INPUT_JOYDEV=y CONFIG_INPUT_EVDEV=y # CONFIG_KEYBOARD_ATKBD is not set+CONFIG_KEYBOARD_GPIO=y # CONFIG_MOUSE_PS2 is not set CONFIG_INPUT_JOYSTICK=y CONFIG_INPUT_MISC=y
@@ -72,6 +73,9 @@ CONFIG_I2C_CHARDEV=y CONFIG_I2C_GPIO=y CONFIG_GPIOLIB=y CONFIG_GPIO_SYSFS=y+CONFIG_GPIO_HLWD=y+CONFIG_POWER_RESET=y+CONFIG_POWER_RESET_GPIO=y # CONFIG_HWMON is not set CONFIG_SSB_DEBUG=y CONFIG_FB=y
From: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Date: 2018-05-07 14:20:18
This allows access to the SD card and the BCM4318 Wifi module.
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
Note that until some fixes in the interrupt controller drivers used on
the Wii, the SDHCI controllers will not be usable.
v2:
- Patch added to the series
---
arch/powerpc/configs/wii_defconfig | 2 ++
1 file changed, 2 insertions(+)
From: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Date: 2018-05-07 14:20:19
The B43 driver only needs CONFIG_SSB to support the WLAN card found in
the Wii. Configure it accordingly, and disable BCMA bus support to save
a bit of space.
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
v2:
- Patch added to the series
---
arch/powerpc/configs/wii_defconfig | 1 +
1 file changed, 1 insertion(+)
@@ -51,6 +51,7 @@ CONFIG_BLK_DEV_SD=y CONFIG_NETDEVICES=y # CONFIG_ETHERNET is not set CONFIG_B43=y+CONFIG_B43_BUSES_SSB=y CONFIG_B43_SDIO=y # CONFIG_B43_PHY_LP is not set CONFIG_B43_DEBUG=y
From: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Date: 2018-05-07 17:47:33
I forgot to CC the right set of people/mailing lists on the cover
letter. Sorry. Here it is:
On Mon, May 07, 2018 at 04:20:15PM +0200, Jonathan Neuschäfer wrote:
v1: https://www.spinics.net/lists/kernel/msg2790389.htmlhttps://www.spinics.net/lists/kernel/msg2790385.html
In the previous version of patch 2, I forgot to set CONFIG_NEW_LEDS and
CONFIG_LEDS_TRIGGERS, so the more specific LED-related options weren't
actually enabled, due to Kconfig dependencies. This is now fixed.
I took the opportunity of a v2 to add two more patches that I wanted to
send anyway. The SDHCIs in the Wii are currently unusable due to bugs/
problems in the flipper-pic/hlwd-pic drivers, but I know how to fix
those, and will send patches.
Jonathan Neuschäfer (4):
powerpc: wii_defconfig: Disable Ethernet driver support code
powerpc: wii_defconfig: Enable GPIO-related options
powerpc: wii_defconfig: Enable Wii SDHCI driver
powerpc: wii_defconfig: Disable BCMA support
arch/powerpc/configs/wii_defconfig | 14 ++++++++++++++
1 file changed, 14 insertions(+)
--
2.17.0
From: Michael Ellerman <hidden> Date: 2018-05-10 14:06:42
On Mon, 2018-05-07 at 14:20:16 UTC, =?utf-8?q?Jonathan_Neusch=C3=A4fer?= wrote:
The Wii doesn't have built-in Ethernet and USB Ethernet adapters are in
a different menu. Disable CONFIG_ETHERNET to save some space in support
code for Ethernet drivers.
Note that this patch doesn't disable any Ethernet drivers, because they
are not enabled by default.
Signed-off-by: Jonathan Neusch��fer <j.neuschaefer@gmx.net>