drivers: gpio: add support for RA8P1
RA8P1 has 14 ports (from 0 to d) and 32 external irq while current driver support 12 ports (0 to b) and 16 external irq. This add addtional support for remain ports and external irq to be able to work with RA8P1. Fix the lack condition GPIO_RA_IOPORT for GPIO_RA_HAS_VBTICTLR config Signed-off-by: Thao Luong <thao.luong.uw@renesas.com> Signed-off-by: Khoa Nguyen <khoa.nguyen.xh@renesas.com>
This commit is contained in:
@@ -8,7 +8,11 @@ config GPIO_RA_IOPORT
|
||||
help
|
||||
Enable the Renesas RA GPIO IO port driver.
|
||||
|
||||
if GPIO_RA_IOPORT
|
||||
|
||||
config GPIO_RA_HAS_VBTICTLR
|
||||
bool "Support VBATT input control"
|
||||
help
|
||||
Enable for Renesas RA which support VBATT input control.
|
||||
|
||||
endif # GPIO_RA_IOPORT
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2024 Renesas Electronics Corporation
|
||||
* Copyright (c) 2024-2025 Renesas Electronics Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -359,3 +359,5 @@ GPIO_DEVICE_INIT_RA_IF_OKAY(8);
|
||||
GPIO_DEVICE_INIT_RA_IF_OKAY(9);
|
||||
GPIO_DEVICE_INIT_RA_IF_OKAY(a);
|
||||
GPIO_DEVICE_INIT_RA_IF_OKAY(b);
|
||||
GPIO_DEVICE_INIT_RA_IF_OKAY(c);
|
||||
GPIO_DEVICE_INIT_RA_IF_OKAY(d);
|
||||
|
||||
@@ -91,6 +91,70 @@ properties:
|
||||
type: array
|
||||
description: Pins allow to assign port-irq15
|
||||
|
||||
port-irq16-pins:
|
||||
type: array
|
||||
description: Pins allow to assign port-irq16
|
||||
|
||||
port-irq17-pins:
|
||||
type: array
|
||||
description: Pins allow to assign port-irq17
|
||||
|
||||
port-irq18-pins:
|
||||
type: array
|
||||
description: Pins allow to assign port-irq18
|
||||
|
||||
port-irq19-pins:
|
||||
type: array
|
||||
description: Pins allow to assign port-irq19
|
||||
|
||||
port-irq20-pins:
|
||||
type: array
|
||||
description: Pins allow to assign port-irq20
|
||||
|
||||
port-irq21-pins:
|
||||
type: array
|
||||
description: Pins allow to assign port-irq21
|
||||
|
||||
port-irq22-pins:
|
||||
type: array
|
||||
description: Pins allow to assign port-irq22
|
||||
|
||||
port-irq23-pins:
|
||||
type: array
|
||||
description: Pins allow to assign port-irq23
|
||||
|
||||
port-irq24-pins:
|
||||
type: array
|
||||
description: Pins allow to assign port-irq24
|
||||
|
||||
port-irq25-pins:
|
||||
type: array
|
||||
description: Pins allow to assign port-irq25
|
||||
|
||||
port-irq26-pins:
|
||||
type: array
|
||||
description: Pins allow to assign port-irq26
|
||||
|
||||
port-irq27-pins:
|
||||
type: array
|
||||
description: Pins allow to assign port-irq27
|
||||
|
||||
port-irq28-pins:
|
||||
type: array
|
||||
description: Pins allow to assign port-irq28
|
||||
|
||||
port-irq29-pins:
|
||||
type: array
|
||||
description: Pins allow to assign port-irq29
|
||||
|
||||
port-irq30-pins:
|
||||
type: array
|
||||
description: Pins allow to assign port-irq30
|
||||
|
||||
port-irq31-pins:
|
||||
type: array
|
||||
description: Pins allow to assign port-irq31
|
||||
|
||||
"#gpio-cells":
|
||||
const: 2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user