Add Nuvoton NPCM730 SoC device tree.
The Nuvoton NPCN730 SoC is a part of the
Nuvoton NPCM7xx SoCs family.
Signed-off-by: Tomer Maimon
---
arch/arm/boot/dts/nuvoton-npcm730.dtsi | 44 ++
1 file changed, 44 insertions(+)
create mode 100644 arch/arm/boot/dts/nuvoton
Add the following new device nodes to NPCM7XX:
- NPCM7xx PWM and FAN.
- NPCM7xx EHCI USB.
- NPCM7xx KCS.
- NPCM Reset.
- NPCM Peripheral SPI.
- NPCM FIU SPI.
- NPCM HWRNG.
- NPCM I2C.
- STMicro STMMAC.
Signed-off-by: Tomer
Add pin controller and GPIO node to NPCM7XX device tree.
Signed-off-by: Tomer Maimon
Reviewed-by: Joel Stanley
---
arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 564 ++
1 file changed, 564 insertions(+)
diff --git a/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi
b/arch/arm
Modify NPCM7xx device tree timer register size
from 0x50 to 0x1C to control only the timer registers
and not other hw modules.
Signed-off-by: Tomer Maimon
Reviewed-by: Joel Stanley
---
arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
Modify NPCM7xx device tree clock parameter to clock constants that
define at include/dt-bindings/clock/nuvoton,npcm7xx-clock.h file.
Signed-off-by: Tomer Maimon
Reviewed-by: Joel Stanley
---
arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 19 ++-
arch/arm/boot/dts/nuvoton
.
- NPCM I2C.
- STMicro STMMAC.
Signed-off-by: Tomer Maimon
---
arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 367 +-
.../boot/dts/nuvoton-npcm750-pincfg-evb.dtsi | 157
2 files changed, 523 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/boot
kernel 5.9.
Changes since version 3:
- Tested patches in Linux kernel 5.6.
Changes since version 2:
- Remove unnecessary output-enable flags.
Changes since version 1:
- Add NPCM reset device node.
- Add reset parameters to NPCM driver device nodes.
Tomer Maimon (5):
arm: dts: modify NPCM7xx
Modify the read size to the correct HW random
registers size, 8bit.
The incorrect read size caused and faulty
HW random value.
Signed-off-by: Tomer Maimon
---
drivers/char/hw_random/npcm-rng.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/char
Add the following new device nodes to NPCM7XX:
- NPCM7xx PWM and FAN.
- NPCM7xx EHCI USB.
- NPCM7xx KCS.
- NPCM Reset.
- NPCM Peripheral SPI.
- NPCM FIU SPI.
- NPCM HWRNG.
- NPCM I2C.
- STMicro STMMAC.
Signed-off-by: Tomer
Modify NPCM7xx device tree clock parameter to clock constants that
define at include/dt-bindings/clock/nuvoton,npcm7xx-clock.h file.
Signed-off-by: Tomer Maimon
---
arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 19 ++-
arch/arm/boot/dts/nuvoton-npcm750.dtsi| 6
Modify NPCM7xx device tree timer register size
from 0x50 to 0x1C to control only the timer registers
and not other hw modules.
Signed-off-by: Tomer Maimon
---
arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts
Add pin controller and GPIO node to NPCM7XX device tree.
Signed-off-by: Tomer Maimon
---
arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 565 ++
1 file changed, 565 insertions(+)
diff --git a/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi
b/arch/arm/boot/dts/nuvoton-common
.
- NPCM I2C.
- STMicro STMMAC.
Signed-off-by: Tomer Maimon
---
arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 405 +-
.../boot/dts/nuvoton-npcm750-pincfg-evb.dtsi | 157 +++
2 files changed, 546 insertions(+), 16 deletions(-)
create mode 100644 arch/arm/boot
unnecessary output-enable flags.
Changes since version 1:
- Add NPCM reset device node.
- Add reset parameters to NPCM driver device nodes.
Tomer Maimon (5):
arm: dts: modify NPCM7xx device tree clock parameter
arm: dts: modify NPCM7xx device tree timer register size
arm: dts: add pinctrl and GPIO
Modify NPCM7xx device tree clock parameter to clock constants that
define at include/dt-bindings/clock/nuvoton,npcm7xx-clock.h file.
Signed-off-by: Tomer Maimon
Reviewed-by: Joel Stanley
---
arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 19 ++-
arch/arm/boot/dts/nuvoton
.
- NPCM HWRNG.
- NPCM I2C.
- STMicro STMMAC.
Signed-off-by: Tomer Maimon
---
arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 947 +-
arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 404 +++-
.../boot/dts/nuvoton-npcm750-pincfg-evb.dtsi | 157 +++
arch/arm/boot
Modify NPCM7xx device tree timer register size
from 0x50 to 0x1C to control only the timer registers
and not other hw modules.
Signed-off-by: Tomer Maimon
---
arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts
version 1:
- Add NPCM reset device node.
- Add reset parameters to NPCM driver device nodes.
Tomer Maimon (3):
arm: dts: modify NPCM7xx device tree clock parameter
arm: dts: modify NPCM7xx device tree timer register size
arm: dts: add new device nodes to NPCM750 device tree
arch/arm/boot/dts
.
- NPCM HWRNG.
- NPCM I2C.
- STMicro STMMAC.
Signed-off-by: Tomer Maimon
---
arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 953 +-
arch/arm/boot/dts/nuvoton-npcm750-evb.dts | 404 +++-
.../boot/dts/nuvoton-npcm750-pincfg-evb.dtsi | 157 +++
arch/arm/boot
Modify NPCM7xx device tree timer register size
from 0x50 to 0x1C.
Signed-off-by: Tomer Maimon
---
arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi
b/arch/arm/boot/dts/nuvoton-common
version 4:
- Tested patches in Linux kernel 5.9.
Changes since version 3:
- Tested patches in Linux kernel 5.6.
Changes since version 2:
- Remove unnecessary output-enable flags.
Changes since version 1:
- Add NPCM reset device node.
- Add reset parameters to NPCM driver device nodes.
Tomer
Modify NPCM7xx device tree clock parameter to clock constants that
define at include/dt-bindings/clock/nuvoton,npcm7xx-clock.h file.
Signed-off-by: Tomer Maimon
---
arch/arm/boot/dts/nuvoton-common-npcm7xx.dtsi | 19 ++-
arch/arm/boot/dts/nuvoton-npcm750.dtsi| 6
.
- Using readl_poll_timeout in rng_read function.
- Honor wait parameter in rng_read function.
- Using local variable instead of #ifndef.
- Remove probe print.
Tomer Maimon (2):
dt-binding: hwrng: add NPCM RNG documentation
hwrng: npcm: add NPCM RNG driver
.../bindings/rng/nuvoton,npcm
Added device tree binding documentation for Nuvoton BMC
NPCM Flash Interface Unit(FIU) SPI master controller
using SPI-MEM interface.
Signed-off-by: Tomer Maimon
---
.../bindings/spi/nuvoton,npcm-fiu.txt | 47 +++
1 file changed, 47 insertions(+)
create mode 100644
dev_info probe print.
- Support address SPI memory operation.
- Limit address size support.
- Add vendor prefix to spi-mode property dt-binding documentation.
Changes since version 1:
- Support spi-mem no data transferred option (SPI_MEM_NO_DATA)
Tomer Maimon (2):
dt-binding: spi: add NPCM FIU
/data mechanism.
- direct rd/wr mode: maps the flash memory into the core
address space.
- SPI-X mode: used for an expansion bus to an ASIC or CPLD.
Signed-off-by: Tomer Maimon
---
drivers/spi/Kconfig| 10 +
drivers/spi/Makefile | 1 +
drivers/spi/spi-npcm-fiu.c | 771
Added device tree binding documentation for Nuvoton BMC
NPCM Flash Interface Unit(FIU) SPI master controller
using SPI-MEM interface.
Signed-off-by: Tomer Maimon
---
.../bindings/spi/nuvoton,npcm-fiu.txt | 47 +++
1 file changed, 47 insertions(+)
create mode 100644
.html
Changes since version 1:
- Support spi-mem no data transferred option (SPI_MEM_NO_DATA)
Tomer Maimon (2):
dt-binding: spi: add NPCM FIU controller
spi: npcm-fiu: add NPCM FIU controller driver
.../bindings/spi/nuvoton,npcm-fiu.txt | 47 ++
drivers/spi/Kconfig
/data mechanism.
- direct rd/wr mode: maps the flash memory into the core
address space.
- SPI-X mode: used for an expansion bus to an ASIC or CPLD.
Signed-off-by: Tomer Maimon
---
drivers/spi/Kconfig| 10 +
drivers/spi/Makefile | 1 +
drivers/spi/spi-npcm-fiu.c | 761
Added device tree binding documentation for Nuvoton BMC
NPCM Flash Interface Unit(FIU) SPI master controller
using SPI-MEM interface.
Signed-off-by: Tomer Maimon
---
.../bindings/spi/nuvoton,npcm-fiu.txt | 47 +++
1 file changed, 47 insertions(+)
create mode 100644
-MEM API
https://www.spinics.net/lists/linux-mtd/msg08225.html
The m25p80 driver will merge to the spi-nor driver we
need to make sure the m25p80 direct SPI-MEM will merge
as well.
Tomer Maimon (2):
dt-binding: spi: add NPCM FIU controller
spi: npcm-fiu: add NPCM FIU controller driver
/data mechanism.
- direct rd/wr mode: maps the flash memory into the core
address space.
- SPI-X mode: used for an expansion bus to an ASIC or CPLD.
Signed-off-by: Tomer Maimon
---
drivers/spi/Kconfig| 10 +
drivers/spi/Makefile | 1 +
drivers/spi/spi-npcm-fiu.c | 760
Add get Flash size function support for
passing Flash size through callback use
to the spi layer.
Add get Flash size function support
Signed-off-by: Tomer Maimon
---
drivers/mtd/devices/m25p80.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/mtd/devices/m25p80.c b
Add spi-mem setup function support SPI memory
operations the spi-mem setup function running
after the spi-mem probe function if the spi-mem
setup function implemented.
Signed-off-by: Tomer Maimon
---
drivers/spi/spi-mem.c | 27 ++-
include/linux/spi/spi-mem.h | 4
that execute
get Flash size.
The patch set tested on NPCM750 EVB with FIU driver (implemented with SPI-MEM
interface).
Thanks for your attention.
Tomer
Tomer Maimon (3):
spi: spi-mem: add spi-mem setup function
spi: spi-mem: add callback function to spi-mem device
mtd: m25p80: add get
Add callback function support to the spi-mem device
for passing an argument from the spi-mem layer
to the spi layer.
Signed-off-by: Tomer Maimon
---
include/linux/spi/spi-mem.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/include/linux/spi/spi-mem.h b/include/linux/spi/spi-mem.h
Added device tree binding documentation for Nuvoton BMC
NPCM BIOS Post Code (BPC) and Aspeed AST2500 LPC snoop.
The LPC snoop monitoring two configurable I/O addresses
written by the host on Low Pin Count (LPC) bus.
Signed-off-by: Tomer Maimon
Reviewed-by: Andrew Jeffery
Reviewed-by: Rob
Add Nuvoton BMC NPCM BIOS post code (BPC) driver.
The NPCM BPC monitoring two I/O address written by
the host on the Low Pin Count (LPC) bus, the capure
data stored in 128-word FIFO.
Signed-off-by: Tomer Maimon
---
drivers/soc/Kconfig | 1 +
drivers/soc/Makefile
://patchwork.kernel.org/patch/10506269/
I add Andrew and Rob reviewed signature because they already reviewed
and signed the lpc-snoop documentation in the misc folder
https://lkml.org/lkml/2019/4/29/998
Tomer Maimon (2):
dt-binding: soc: Add common LPC snoop documentation
soc: nuvoton: add NPCM LPC BPC
Checking if regulator is valid before reading
NPCM ADC regulator voltage to avoid system crash
in a case the regulator is not valid.
Signed-off-by: Tomer Maimon
---
drivers/iio/adc/npcm_adc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/adc/npcm_adc.c b
Adding Tali Perry as Nuvoton NPCM maintainer
Replacing Brendan Higgins Nuvoton NPCM reviewer with
Benjamin Fair.
Signed-off-by: Tomer Maimon
Reviewed-by: Brendan Higgins
---
MAINTAINERS | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index
: 6a498e06ba22 ("MAINTAINERS: Add entry for the Nuvoton NPCM architecture")
Reported-by: Joe Perches
Signed-off-by: Brendan Higgins
Signed-off-by: Tomer Maimon
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 3e5a5d263f29..8b
: 6a498e06ba22 ("MAINTAINERS: Add entry for the Nuvoton NPCM architecture")
Reported-by: Joe Perches
Signed-off-by: Brendan Higgins
Signed-off-by: Tomer Maimon
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 3e5a5d263f29..8b
Adding Tali Perry as Nuvoton NPCM maintainer
Replacing Brendan Higgins Nuvoton NPCM reviewer with
Benjamin Fair.
Signed-off-by: Tomer Maimon
---
MAINTAINERS | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 8b305d2f2a8a..4ece87fcc166 100644
Remove NPCM7xx rst node for preparing the NPCM ADC
document to describe ADC reset binding.
Signed-off-by: Tomer Maimon
---
.../devicetree/bindings/iio/adc/nuvoton,npcm-adc.txt | 11 ---
1 file changed, 11 deletions(-)
diff --git a/Documentation/devicetree/bindings/iio/adc
Add Nuvoton NPCM BMC Analog-to-Digital Converter(ADC) driver.
The NPCM ADC is a 10-bit converter for eight channel inputs.
Signed-off-by: Tomer Maimon
---
drivers/iio/adc/Kconfig| 10 ++
drivers/iio/adc/Makefile | 1 +
drivers/iio/adc/npcm_adc.c | 335
.
Changes since version 1:
- Add NPCM prefix.
- Remove unnecessary parameter initialization.
- Modify read function to avoid racy condition.
- Reading the reference voltage when needed.
- Modify dt-binding documentation according Jonathan comments.
Tomer Maimon (2):
dt-binding: iio: add NPCM
Added device tree binding documentation for Nuvoton BMC
NPCM Analog-to-Digital Converter(ADC).
Signed-off-by: Tomer Maimon
Reviewed-by: Rob Herring
---
.../bindings/iio/adc/nuvoton,npcm-adc.txt | 35 ++
1 file changed, 35 insertions(+)
create mode 100644
Add Nuvoton NPCM BMC Analog-to-Digital Converter(ADC) driver.
The NPCM ADC is a 10-bit converter for eight channel inputs.
Signed-off-by: Tomer Maimon
---
drivers/iio/adc/Kconfig| 10 ++
drivers/iio/adc/Makefile | 1 +
drivers/iio/adc/npcm_adc.c | 338
Added device tree binding documentation for Nuvoton BMC
NPCM Analog-to-Digital Converter(ADC).
Signed-off-by: Tomer Maimon
---
.../bindings/iio/adc/nuvoton,npcm-adc.txt | 35 ++
1 file changed, 35 insertions(+)
create mode 100644
Documentation/devicetree/bindings
condition.
- Reading the reference voltage when needed.
- Modify dt-binding documentation according Jonathan comments.
Tomer Maimon (2):
dt-binding: iio: add NPCM ADC documentation
iio: adc: add NPCM ADC driver
.../bindings/iio/adc/nuvoton,npcm-adc.txt | 35 +++
drivers/iio/adc/Kconfig
Added device tree binding documentation for Nuvoton BMC
NPCM Analog-to-Digital Converter(ADC).
Signed-off-by: Tomer Maimon
---
.../bindings/iio/adc/nuvoton,npcm-adc.txt | 35 ++
1 file changed, 35 insertions(+)
create mode 100644
Documentation/devicetree/bindings
Add Nuvoton NPCM BMC Analog-to-Digital Converter(ADC) driver.
The NPCM ADC is a 10-bit converter for eight channel inputs.
Signed-off-by: Tomer Maimon
---
drivers/iio/adc/Kconfig| 10 ++
drivers/iio/adc/Makefile | 1 +
drivers/iio/adc/npcm_adc.c | 336
This patch set adds Analog-to-Digital Converter (ADC) support
for the Nuvoton NPCM Baseboard Management Controller (BMC).
The NPCM ADC is a 10-bit converter for eight channel inputs.
The NPCM ADC driver tested on NPCM750 evaluation board.
Tomer Maimon (2):
dt-binding: iio: add NPCM ADC
Update the PSPI NPCM binding document of the spi aliases use
to define the spi ID number.
Signed-off-by: Tomer Maimon
---
Documentation/devicetree/bindings/spi/nuvoton,npcm-pspi.txt | 8
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/spi/nuvoton,npcm
Update the PSPI NPCM binding document of the spi aliases use
to define the spi ID number.
Signed-off-by: Tomer Maimon
---
Documentation/devicetree/bindings/spi/nuvoton,npcm-pspi.txt | 8
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/spi/nuvoton,npcm
Align pspi send function code with the recieve function
code, Also simplify the code a bit with early return.
Signed-off-by: Tomer Maimon
---
drivers/spi/spi-npcm-pspi.c | 20 ++--
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/drivers/spi/spi-npcm-pspi.c b
Align pspi send function code with the recieve function
code, Also simplify the code a bit with early return.
Signed-off-by: Tomer Maimon
---
drivers/spi/spi-npcm-pspi.c | 20 ++--
1 file changed, 14 insertions(+), 6 deletions(-)
diff --git a/drivers/spi/spi-npcm-pspi.c b
Added device tree binding documentation for Nuvoton BMC
NPCM Flash Interface Unit(FIU) SPI-NOR controller.
Signed-off-by: Tomer Maimon
---
Documentation/devicetree/bindings/mtd/npcm-fiu.txt | 64 ++
1 file changed, 64 insertions(+)
create mode 100644 Documentation
Added device tree binding documentation for Nuvoton BMC
NPCM Flash Interface Unit(FIU) SPI-NOR controller.
Signed-off-by: Tomer Maimon
---
Documentation/devicetree/bindings/mtd/npcm-fiu.txt | 64 ++
1 file changed, 64 insertions(+)
create mode 100644 Documentation
mode: maps the flash memory into the core
address space.
- SPI-X mode: used for an expansion bus to an ASIC or CPLD.
Signed-off-by: Tomer Maimon
---
drivers/mtd/spi-nor/Kconfig| 8 +
drivers/mtd/spi-nor/Makefile | 1 +
drivers/mtd/spi-nor/npcm-fiu.c | 930
mode: maps the flash memory into the core
address space.
- SPI-X mode: used for an expansion bus to an ASIC or CPLD.
Signed-off-by: Tomer Maimon
---
drivers/mtd/spi-nor/Kconfig| 8 +
drivers/mtd/spi-nor/Makefile | 1 +
drivers/mtd/spi-nor/npcm-fiu.c | 930
select.
- FIUX supports two chip select.
The NPCM FIU driver tested on NPCM750 evaluation board.
Tomer Maimon (2):
dt-binding: mtd: add NPCM FIU controller
mtd: spi-nor: add NPCM FIU controller driver
Documentation/devicetree/bindings/mtd/npcm-fiu.txt | 64 ++
drivers/mtd/spi-nor/Kconfig
select.
- FIUX supports two chip select.
The NPCM FIU driver tested on NPCM750 evaluation board.
Tomer Maimon (2):
dt-binding: mtd: add NPCM FIU controller
mtd: spi-nor: add NPCM FIU controller driver
Documentation/devicetree/bindings/mtd/npcm-fiu.txt | 64 ++
drivers/mtd/spi-nor/Kconfig
Fix uninitialized 'val' warning receive function, send function
has been modify to be aligned with the receive function.
Signed-off-by: Tomer Maimon
---
drivers/spi/spi-npcm-pspi.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/spi/spi-npcm-pspi.c b
tested on NPCM750 evaluation board.
Tomer Maimon (1):
spi: npcm: fix uninitialized 'val' warning in receive function
drivers/spi/spi-npcm-pspi.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
--
2.14.1
Fix uninitialized 'val' warning receive function, send function
has been modify to be aligned with the receive function.
Signed-off-by: Tomer Maimon
---
drivers/spi/spi-npcm-pspi.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/spi/spi-npcm-pspi.c b
tested on NPCM750 evaluation board.
Tomer Maimon (1):
spi: npcm: fix uninitialized 'val' warning in receive function
drivers/spi/spi-npcm-pspi.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
--
2.14.1
Add Nuvoton NPCM BMC Peripheral SPI controller driver.
Signed-off-by: Tomer Maimon
---
drivers/spi/Kconfig | 7 +
drivers/spi/Makefile| 1 +
drivers/spi/spi-npcm-pspi.c | 480
3 files changed, 488 insertions(+)
create mode 100644
Add Nuvoton NPCM BMC Peripheral SPI controller driver.
Signed-off-by: Tomer Maimon
---
drivers/spi/Kconfig | 7 +
drivers/spi/Makefile| 1 +
drivers/spi/spi-npcm-pspi.c | 480
3 files changed, 488 insertions(+)
create mode 100644
This patch set adds Peripheral SPI (PSPI) support for the
Nuvoton NPCM Baseboard Management Controller (BMC).
The NPCM PSPI operates in master mode.
The NPCM750/730/715/710 supports up to two PSPI devices.
The NPCM PSPI driver tested on NPCM750 evaluation board.
Tomer Maimon (2):
dt-binding
This patch set adds Peripheral SPI (PSPI) support for the
Nuvoton NPCM Baseboard Management Controller (BMC).
The NPCM PSPI operates in master mode.
The NPCM750/730/715/710 supports up to two PSPI devices.
The NPCM PSPI driver tested on NPCM750 evaluation board.
Tomer Maimon (2):
dt-binding
Added device tree binding documentation for Nuvoton BMC
NPCM Peripheral SPI controller.
Signed-off-by: Tomer Maimon
---
.../devicetree/bindings/spi/nuvoton,npcm-pspi.txt | 35 ++
1 file changed, 35 insertions(+)
create mode 100644 Documentation/devicetree/bindings/spi
Added device tree binding documentation for Nuvoton BMC
NPCM Peripheral SPI controller.
Signed-off-by: Tomer Maimon
---
.../devicetree/bindings/spi/nuvoton,npcm-pspi.txt | 35 ++
1 file changed, 35 insertions(+)
create mode 100644 Documentation/devicetree/bindings/spi
This patch Modify GPIO direction setting in pin configuration function.
please refer patch:
Kun Yi https://patchwork.ozlabs.org/patch/985540/
Tomer Maimon (1):
pinctrl: nuvoton: modify NPCM7xx pin configuration function
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c | 13 +++--
1 file
Modify GPIO direction setting in pin configuration function by using
generic GPIO functions to set the GPIO direction instead of direct
access to the GPIO direction register.
Signed-off-by: Tomer Maimon
---
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c | 13 +++--
1 file changed, 3
This patch Modify GPIO direction setting in pin configuration function.
please refer patch:
Kun Yi https://patchwork.ozlabs.org/patch/985540/
Tomer Maimon (1):
pinctrl: nuvoton: modify NPCM7xx pin configuration function
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c | 13 +++--
1 file
Modify GPIO direction setting in pin configuration function by using
generic GPIO functions to set the GPIO direction instead of direct
access to the GPIO direction register.
Signed-off-by: Tomer Maimon
---
drivers/pinctrl/nuvoton/pinctrl-npcm7xx.c | 13 +++--
1 file changed, 3
Modify Nuvoton watchdog Kconfig default supported architecture
name to ARCH_NPCM7XX because ARCH_NPCM750 architecture name
is not supported.
Signed-off-by: Tomer Maimon
---
drivers/watchdog/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/watchdog/Kconfig b
Modify Nuvoton watchdog Kconfig default supported architecture
name to ARCH_NPCM7XX because ARCH_NPCM750 architecture name
is not supported.
Signed-off-by: Tomer Maimon
---
drivers/watchdog/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/watchdog/Kconfig b
Add Nuvoton BMC NPCM750/730/715/705 Pinmux and
GPIO controller driver.
Signed-off-by: Tomer Maimon
---
drivers/pinctrl/Kconfig |1 +
drivers/pinctrl/Makefile |1 +
drivers/pinctrl/nuvoton/Kconfig | 12 +
drivers/pinctrl/nuvoton/Makefile
Add Nuvoton BMC NPCM750/730/715/705 Pinmux and
GPIO controller driver.
Signed-off-by: Tomer Maimon
---
drivers/pinctrl/Kconfig |1 +
drivers/pinctrl/Makefile |1 +
drivers/pinctrl/nuvoton/Kconfig | 12 +
drivers/pinctrl/nuvoton/Makefile
Added device tree binding documentation for Nuvoton BMC
NPCM750/730/715/705 pinmux and GPIO controller.
Signed-off-by: Tomer Maimon
Reviewed-by: Rob Herring
---
.../bindings/pinctrl/nuvoton,npcm7xx-pinctrl.txt | 216 +
1 file changed, 216 insertions(+)
create mode 100644
Added device tree binding documentation for Nuvoton BMC
NPCM750/730/715/705 pinmux and GPIO controller.
Signed-off-by: Tomer Maimon
Reviewed-by: Rob Herring
---
.../bindings/pinctrl/nuvoton,npcm7xx-pinctrl.txt | 216 +
1 file changed, 216 insertions(+)
create mode 100644
function.
- dt-binding documentation haven't changed.
Changes since version 1:
- Remove Kconfig MFD_SYSCON dependency.
- Modify setfunc function.
- Modify dt-binding documentation according Rob comments.
Tomer Maimon (2):
dt-binding: pinctrl: Add NPCM7xx pinctrl
function.
- dt-binding documentation haven't changed.
Changes since version 1:
- Remove Kconfig MFD_SYSCON dependency.
- Modify setfunc function.
- Modify dt-binding documentation according Rob comments.
Tomer Maimon (2):
dt-binding: pinctrl: Add NPCM7xx pinctrl
Added device tree binding documentation for Nuvoton BMC
NPCM750/730/715/705 pinmux and GPIO controller.
Signed-off-by: Tomer Maimon
---
.../bindings/pinctrl/nuvoton,npcm7xx-pinctrl.txt | 216 +
1 file changed, 216 insertions(+)
create mode 100644
Documentation/devicetree
Added device tree binding documentation for Nuvoton BMC
NPCM750/730/715/705 pinmux and GPIO controller.
Signed-off-by: Tomer Maimon
---
.../bindings/pinctrl/nuvoton,npcm7xx-pinctrl.txt | 216 +
1 file changed, 216 insertions(+)
create mode 100644
Documentation/devicetree
Add Nuvoton BMC NPCM750/730/715/705 Pinmux and
GPIO controller driver.
Signed-off-by: Tomer Maimon
---
drivers/pinctrl/Kconfig |1 +
drivers/pinctrl/Makefile |1 +
drivers/pinctrl/nuvoton/Kconfig | 12 +
drivers/pinctrl/nuvoton/Makefile
Add Nuvoton BMC NPCM750/730/715/705 Pinmux and
GPIO controller driver.
Signed-off-by: Tomer Maimon
---
drivers/pinctrl/Kconfig |1 +
drivers/pinctrl/Makefile |1 +
drivers/pinctrl/nuvoton/Kconfig | 12 +
drivers/pinctrl/nuvoton/Makefile
code from the direction output function.
- dt-binding documentation haven't changed.
Changes since version 1:
- Remove Kconfig MFD_SYSCON dependency.
- Modify setfunc function.
- Modify dt-binding documentation according Rob comments.
Tomer Maimon (2):
dt
code from the direction output function.
- dt-binding documentation haven't changed.
Changes since version 1:
- Remove Kconfig MFD_SYSCON dependency.
- Modify setfunc function.
- Modify dt-binding documentation according Rob comments.
Tomer Maimon (2):
dt
Add Nuvoton BMC NPCM750/730/715/705 Pinmux and
GPIO controller driver.
Signed-off-by: Tomer Maimon
---
drivers/pinctrl/Kconfig |1 +
drivers/pinctrl/Makefile |1 +
drivers/pinctrl/nuvoton/Kconfig | 12 +
drivers/pinctrl/nuvoton/Makefile
Added device tree binding documentation for Nuvoton BMC
NPCM750/730/715/705 pinmux and GPIO controller.
Signed-off-by: Tomer Maimon
---
.../bindings/pinctrl/nuvoton,npcm7xx-pinctrl.txt | 216 +
1 file changed, 216 insertions(+)
create mode 100644
Documentation/devicetree
Add Nuvoton BMC NPCM750/730/715/705 Pinmux and
GPIO controller driver.
Signed-off-by: Tomer Maimon
---
drivers/pinctrl/Kconfig |1 +
drivers/pinctrl/Makefile |1 +
drivers/pinctrl/nuvoton/Kconfig | 12 +
drivers/pinctrl/nuvoton/Makefile
Added device tree binding documentation for Nuvoton BMC
NPCM750/730/715/705 pinmux and GPIO controller.
Signed-off-by: Tomer Maimon
---
.../bindings/pinctrl/nuvoton,npcm7xx-pinctrl.txt | 216 +
1 file changed, 216 insertions(+)
create mode 100644
Documentation/devicetree
.
- Remove unnecessary code from the direction output function.
- dt-binding documentation haven't changed.
Changes since version 1:
- Remove Kconfig MFD_SYSCON dependency.
- Modify setfunc function.
- Modify dt-binding documentation according Rob comments.
Tomer
.
- Remove unnecessary code from the direction output function.
- dt-binding documentation haven't changed.
Changes since version 1:
- Remove Kconfig MFD_SYSCON dependency.
- Modify setfunc function.
- Modify dt-binding documentation according Rob comments.
Tomer
is output.
the functions will linked to the I/O get functions if the user set
BGPIOF_INVERTED_REG_DIR flag in the bgpio initialization.
Tomer Maimon (1):
gpio: mmio: add inverted direction get_set io support
drivers/gpio/gpio-mmio.c| 48 ++---
include/linux
is output.
the functions will linked to the I/O get functions if the user set
BGPIOF_INVERTED_REG_DIR flag in the bgpio initialization.
Tomer Maimon (1):
gpio: mmio: add inverted direction get_set io support
drivers/gpio/gpio-mmio.c| 48 ++---
include/linux
1 - 100 of 240 matches
Mail list logo