[PATCH v1] ARM: dts: add Nuvoton NPCM730 device tree

2020-11-19 Thread Tomer Maimon
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

[PATCH v8 4/5] arm: dts: add new device nodes to NPCM7XX device tree

2020-09-29 Thread Tomer Maimon
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

[PATCH v8 3/5] arm: dts: add pinctrl and GPIO node to NPCM7XX device tree

2020-09-29 Thread Tomer Maimon
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

[PATCH v8 2/5] arm: dts: modify NPCM7xx device tree timer register size

2020-09-29 Thread Tomer Maimon
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

[PATCH v8 1/5] arm: dts: modify NPCM7xx device tree clock parameter

2020-09-29 Thread Tomer Maimon
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

[PATCH v8 5/5] arm: dts: add new device nodes to NPCM750 device tree EVB

2020-09-29 Thread Tomer Maimon
. - 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

[PATCH v8 0/5] arm: dts: add and modify device node in NPCM7xx device tree

2020-09-29 Thread Tomer Maimon
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

[PATCH v1] hw_random: npcm: modify readl to readb

2020-09-23 Thread Tomer Maimon
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

[PATCH v7 4/5] arm: dts: add new device nodes to NPCM7XX device tree

2020-09-23 Thread Tomer Maimon
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

[PATCH v7 1/5] arm: dts: modify NPCM7xx device tree clock parameter

2020-09-23 Thread Tomer Maimon
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

[PATCH v7 2/5] arm: dts: modify NPCM7xx device tree timer register size

2020-09-23 Thread Tomer Maimon
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

[PATCH v7 3/5] arm: dts: add pinctrl and GPIO node to NPCM7XX device tree

2020-09-23 Thread Tomer Maimon
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

[PATCH v7 5/5] arm: dts: add new device nodes to NPCM750 device tree EVB

2020-09-23 Thread Tomer Maimon
. - 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

[PATCH v7 0/5] arm: dts: add and modify device node in NPCM7xx device tree

2020-09-23 Thread Tomer Maimon
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

[PATCH v6 1/3] arm: dts: modify NPCM7xx device tree clock parameter

2020-09-17 Thread Tomer Maimon
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

[PATCH v6 3/3] arm: dts: add new device nodes to NPCM750 device tree

2020-09-17 Thread Tomer Maimon
. - 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

[PATCH v6 2/3] arm: dts: modify NPCM7xx device tree timer register size

2020-09-17 Thread Tomer Maimon
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

[PATCH v6 0/3] arm: dts: add and modify device node in NPCM7xx device tree

2020-09-17 Thread Tomer Maimon
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

[PATCH v5 3/3] arm: dts: add new device nodes to NPCM750 device tree

2020-09-16 Thread Tomer Maimon
. - 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

[PATCH v5 2/3] arm: dts: modify NPCM7xx device tree timer register size

2020-09-16 Thread Tomer Maimon
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

[PATCH v5 0/3] arm: dts: add and modify device node in NPCM7xx device tree

2020-09-16 Thread Tomer Maimon
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

[PATCH v5 1/3] arm: dts: modify NPCM7xx device tree clock parameter

2020-09-16 Thread Tomer Maimon
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

[PATCH v3 0/2] hwrng: npcm: add NPCM RNG driver support

2019-09-12 Thread Tomer Maimon
. - 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

[PATCH v3 1/2] dt-binding: spi: add NPCM FIU controller

2019-08-28 Thread Tomer Maimon
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

[PATCH v3 0/2] spi: add NPCM FIU controller driver

2019-08-28 Thread Tomer Maimon
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

[PATCH v3 2/2] spi: npcm-fiu: add NPCM FIU controller driver

2019-08-28 Thread Tomer Maimon
/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

[PATCH v2 1/2] dt-binding: spi: add NPCM FIU controller

2019-08-08 Thread Tomer Maimon
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

[PATCH v2 0/2] spi: add NPCM FIU controller driver

2019-08-08 Thread Tomer Maimon
.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

[PATCH v2 2/2] spi: npcm-fiu: add NPCM FIU controller driver

2019-08-08 Thread Tomer Maimon
/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

[PATCH v1 1/2] dt-binding: spi: add NPCM FIU controller

2019-08-01 Thread Tomer Maimon
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

[PATCH v1 0/2] spi: add NPCM FIU controller driver

2019-08-01 Thread Tomer Maimon
-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

[PATCH v1 2/2] spi: npcm-fiu: add NPCM FIU controller driver

2019-08-01 Thread Tomer Maimon
/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

[RFC v1 3/3] mtd: m25p80: add get Flash size callback support

2019-07-29 Thread Tomer Maimon
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

[RFC v1 1/3] spi: spi-mem: add spi-mem setup function

2019-07-29 Thread Tomer Maimon
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

[RFC v1 0/3] *spi-mem: adding setup and callback function

2019-07-29 Thread Tomer Maimon
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

[RFC v1 2/3] spi: spi-mem: add callback function to spi-mem device

2019-07-29 Thread Tomer Maimon
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

[PATCH v1 1/2] dt-binding: soc: Add common LPC snoop documentation

2019-06-10 Thread Tomer Maimon
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

[PATCH v1 2/2] soc: nuvoton: add NPCM LPC BPC driver

2019-06-10 Thread Tomer Maimon
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

[PATCH v1 0/2] soc: add NPCM LPC BPC driver support

2019-06-10 Thread Tomer Maimon
://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

[PATCH v1] iio: adc: modify NPCM ADC read reference voltage

2019-04-07 Thread Tomer Maimon
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

[PATCH v2 2/2] MAINTAINERS: Add maintainer and replacing reviewer ARM/NUVOTON NPCM

2019-03-28 Thread Tomer Maimon
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

[PATCH v2 1/2] MAINTAINERS: fix bad pattern in ARM/NUVOTON NPCM

2019-03-28 Thread Tomer Maimon
: 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

[PATCH v1 1/2] MAINTAINERS: fix bad pattern in ARM/NUVOTON NPCM

2019-03-28 Thread Tomer Maimon
: 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

[PATCH v1 2/2] MAINTAINERS: Add maintainer and replacing reviewer ARM/NUVOTON NPCM

2019-03-28 Thread Tomer Maimon
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

[PATCH v1 1/1] dt-binding: iio: remove rst node from NPCM ADC document

2019-02-10 Thread Tomer Maimon
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

[PATCH v3 2/2] iio: adc: add NPCM ADC driver

2019-01-16 Thread Tomer Maimon
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

[PATCH v3 0/2] iio: adc: npcm: add NPCM ADC driver

2019-01-16 Thread Tomer Maimon
. 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

[PATCH v3 1/2] dt-binding: iio: add NPCM ADC documentation

2019-01-16 Thread Tomer Maimon
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

[PATCH v2 2/2] iio: adc: add NPCM ADC driver

2019-01-09 Thread Tomer Maimon
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

[PATCH v2 1/2] dt-binding: iio: add NPCM ADC documentation

2019-01-09 Thread Tomer Maimon
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

[PATCH v2 0/2] iio: adc: npcm: add NPCM ADC driver

2019-01-09 Thread Tomer Maimon
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

[PATCH v1 1/2] dt-binding: iio: add NPCM ADC documentation

2018-12-24 Thread Tomer Maimon
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

[PATCH v1 2/2] iio: adc: add NPCM ADC driver

2018-12-24 Thread Tomer Maimon
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

[PATCH v1 0/2] iio: adc: npcm: add NPCm ADC driver

2018-12-24 Thread Tomer Maimon
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

[PATCH v1] dt-binding: spi: Update NPCM PSPI controller documentation

2018-12-04 Thread Tomer Maimon
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

[PATCH v1] dt-binding: spi: Update NPCM PSPI controller documentation

2018-12-04 Thread Tomer Maimon
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

[PATCH v1] spi: npcm: Modify pspi send function

2018-12-04 Thread Tomer Maimon
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

[PATCH v1] spi: npcm: Modify pspi send function

2018-12-04 Thread Tomer Maimon
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

[PATCH v1 1/2] dt-binding: mtd: add NPCM FIU controller

2018-12-03 Thread Tomer Maimon
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

[PATCH v1 1/2] dt-binding: mtd: add NPCM FIU controller

2018-12-03 Thread Tomer Maimon
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

[PATCH v1 2/2] mtd: spi-nor: add NPCM FIU controller driver

2018-12-03 Thread Tomer Maimon
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

[PATCH v1 2/2] mtd: spi-nor: add NPCM FIU controller driver

2018-12-03 Thread Tomer Maimon
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

[PATCH v1 0/2] SPI-NOR add NPCM FIU controller driver

2018-12-03 Thread Tomer Maimon
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

[PATCH v1 0/2] SPI-NOR add NPCM FIU controller driver

2018-12-03 Thread Tomer Maimon
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

[PATCH v1 1/1] spi: npcm: fix uninitialized 'val' warning in receive function

2018-11-18 Thread Tomer Maimon
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

[PATCH v1 0/1] npcm: fix uninitialized 'val' warning in receive function

2018-11-18 Thread Tomer Maimon
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

[PATCH v1 1/1] spi: npcm: fix uninitialized 'val' warning in receive function

2018-11-18 Thread Tomer Maimon
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

[PATCH v1 0/1] npcm: fix uninitialized 'val' warning in receive function

2018-11-18 Thread Tomer Maimon
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

[PATCH v1 2/2] spi: npcm: add NPCM PSPI controller driver

2018-11-12 Thread Tomer Maimon
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

[PATCH v1 2/2] spi: npcm: add NPCM PSPI controller driver

2018-11-12 Thread Tomer Maimon
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

[PATCH v1 0/2] spi: npcm: add NPCM Peripheral SPI driver

2018-11-12 Thread Tomer Maimon
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

[PATCH v1 0/2] spi: npcm: add NPCM Peripheral SPI driver

2018-11-12 Thread Tomer Maimon
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

[PATCH v1 1/2] dt-binding: spi: add NPCM PSPI controller documentation

2018-11-12 Thread Tomer Maimon
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

[PATCH v1 1/2] dt-binding: spi: add NPCM PSPI controller documentation

2018-11-12 Thread Tomer Maimon
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

[PATCH v1 0/1] pinctrl: nuvoton: modify NPCM7xx pin configuration

2018-11-07 Thread Tomer Maimon
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

[PATCH v1 1/1] pinctrl: nuvoton: modify NPCM7xx pin configuration function

2018-11-07 Thread Tomer Maimon
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

[PATCH v1 0/1] pinctrl: nuvoton: modify NPCM7xx pin configuration

2018-11-07 Thread Tomer Maimon
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

[PATCH v1 1/1] pinctrl: nuvoton: modify NPCM7xx pin configuration function

2018-11-07 Thread Tomer Maimon
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

[PATCH v1] watchdog: npcm: Modify npcm watchdog kconfig arch parameter

2018-11-05 Thread Tomer Maimon
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

[PATCH v1] watchdog: npcm: Modify npcm watchdog kconfig arch parameter

2018-11-05 Thread Tomer Maimon
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

[PATCH v6 2/2] pinctrl: nuvoton: add NPCM7xx pinctrl and GPIO driver

2018-08-08 Thread Tomer Maimon
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

[PATCH v6 2/2] pinctrl: nuvoton: add NPCM7xx pinctrl and GPIO driver

2018-08-08 Thread Tomer Maimon
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

[PATCH v6 1/2] dt-binding: pinctrl: Add NPCM7xx pinctrl and GPIO documentation

2018-08-08 Thread Tomer Maimon
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

[PATCH v6 1/2] dt-binding: pinctrl: Add NPCM7xx pinctrl and GPIO documentation

2018-08-08 Thread Tomer Maimon
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

[PATCH v6 0/2] pinctrl: nuvoton: add driver for NPCM7xx

2018-08-08 Thread Tomer Maimon
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

[PATCH v6 0/2] pinctrl: nuvoton: add driver for NPCM7xx

2018-08-08 Thread Tomer Maimon
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

[PATCH v5 1/2] dt-binding: pinctrl: Add NPCM7xx pinctrl and GPIO documentation

2018-08-06 Thread Tomer Maimon
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

[PATCH v5 1/2] dt-binding: pinctrl: Add NPCM7xx pinctrl and GPIO documentation

2018-08-06 Thread Tomer Maimon
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

[PATCH v5 2/2] pinctrl: nuvoton: add NPCM7xx pinctrl and GPIO driver

2018-08-06 Thread Tomer Maimon
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

[PATCH v5 2/2] pinctrl: nuvoton: add NPCM7xx pinctrl and GPIO driver

2018-08-06 Thread Tomer Maimon
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

[PATCH v5 0/2] pinctrl: nuvoton: add driver for NPCM7xx

2018-08-06 Thread Tomer Maimon
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

[PATCH v5 0/2] pinctrl: nuvoton: add driver for NPCM7xx

2018-08-06 Thread Tomer Maimon
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

[PATCH v4 2/2] pinctrl: nuvoton: add NPCM7xx pinctrl and GPIO driver

2018-07-30 Thread Tomer Maimon
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

[PATCH v4 1/2] dt-binding: pinctrl: Add NPCM7xx pinctrl and GPIO documentation

2018-07-30 Thread Tomer Maimon
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

[PATCH v4 2/2] pinctrl: nuvoton: add NPCM7xx pinctrl and GPIO driver

2018-07-30 Thread Tomer Maimon
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

[PATCH v4 1/2] dt-binding: pinctrl: Add NPCM7xx pinctrl and GPIO documentation

2018-07-30 Thread Tomer Maimon
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

[PATCH v4 0/2] pinctrl: nuvoton: add driver for NPCM7xx

2018-07-30 Thread Tomer Maimon
. - 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

[PATCH v4 0/2] pinctrl: nuvoton: add driver for NPCM7xx

2018-07-30 Thread Tomer Maimon
. - 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

[PATCH v1 0/1] gpio: mmio: add get_set inverted direction io support

2018-07-30 Thread Tomer Maimon
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

[PATCH v1 0/1] gpio: mmio: add get_set inverted direction io support

2018-07-30 Thread Tomer Maimon
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   2   3   >