linux-stable/arch/sh/cchips/Kconfig
Artur Rojek 7c28a35e19 sh: hd64461: Handle virq offset for offchip IRQ base and HD64461 IRQ
A recent change to start counting SuperH IRQ #s from 16 breaks support
for the Hitachi HD64461 companion chip.

Move the offchip IRQ base and HD64461 IRQ # by 16 in order to
accommodate for the new virq numbering rules.

Fixes: a8ac296114 ("sh: Avoid using IRQ0 on SH3 and SH4")
Signed-off-by: Artur Rojek <contact@artur-rojek.eu>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/20230710233132.69734-1-contact@artur-rojek.eu
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
2023-07-13 08:37:53 +02:00

46 lines
1 KiB
Text

# SPDX-License-Identifier: GPL-2.0
menu "Companion Chips"
config HD6446X_SERIES
bool
choice
prompt "HD6446x options"
depends on HD6446X_SERIES
default HD64461
config HD64461
bool "Hitachi HD64461 companion chip support"
help
The Hitachi HD64461 provides an interface for
the SH7709 CPU, supporting a LCD controller,
CRT color controller, IrDA up to 4 Mbps, and a
PCMCIA controller supporting 2 slots.
More information is available at
<http://semiconductor.hitachi.com/windowsce/superh/sld013.htm>.
Say Y if you want support for the HD64461.
Otherwise, say N.
endchoice
# These will also be split into the Kconfig's below
config HD64461_IRQ
int "HD64461 IRQ"
depends on HD64461
default "52"
help
The default setting of the HD64461 IRQ is 52.
Do not change this unless you know what you are doing.
config HD64461_ENABLER
bool "HD64461 PCMCIA enabler"
depends on HD64461
help
Say Y here if you want to enable PCMCIA support
via the HD64461 companion chip.
Otherwise, say N.
endmenu