Re: [PATCH v6 2/6] drivers: mfd: Add a driver for iEi WT61P803 PUZZLE MCU

2020-11-10 Thread Luka Kovacic
ed in > > https://git-scm.com/docs/git-format-patch] > > > > url: > > https://github.com/0day-ci/linux/commits/Luka-Kovacic/Add-support-for-the-iEi-WT61P803-PUZZLE-MCU/20201020-062048 > > base: > > https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-stagi

Re: [PATCH v7 3/6] drivers: hwmon: Add the IEI WT61P803 PUZZLE HWMON driver

2020-11-10 Thread Luka Kovacic
Hello Guenter, On Sun, Nov 8, 2020 at 5:51 PM Guenter Roeck wrote: > > On Sun, Oct 25, 2020 at 02:59:13AM +0200, Luka Kovacic wrote: > > Add the IEI WT61P803 PUZZLE HWMON driver, that handles the fan speed > > control via PWM, reading fan speed and reading on-board tempe

Re: [PATCH v7 2/6] drivers: mfd: Add a driver for IEI WT61P803 PUZZLE MCU

2020-11-02 Thread Luka Kovacic
Hello Andy, On Mon, Nov 2, 2020 at 12:18 PM Andy Shevchenko wrote: > > On Sun, Nov 1, 2020 at 3:22 PM Luka Kovacic wrote: > > On Mon, Oct 26, 2020 at 11:54 PM Andy Shevchenko > > wrote: > > > On Sun, Oct 25, 2020 at 3:59 AM Luka Kovacic > > >

Re: [PATCH v7 0/6] Add support for the IEI WT61P803 PUZZLE MCU

2020-11-02 Thread Luka Kovacic
Hello, On Mon, Nov 2, 2020 at 7:30 PM Dan Murphy wrote: > > Hello > > On 11/1/20 3:56 AM, Luka Kovacic wrote: > > Hello Pavel, > > > > On Thu, Oct 29, 2020 at 7:01 PM Pavel Machek wrote: > >> Hi! > >> > >>> +What:

Re: [PATCH v7 2/6] drivers: mfd: Add a driver for IEI WT61P803 PUZZLE MCU

2020-11-01 Thread Luka Kovacic
Hello Andy, On Mon, Oct 26, 2020 at 11:54 PM Andy Shevchenko wrote: > > On Sun, Oct 25, 2020 at 3:59 AM Luka Kovacic wrote: > > > > Add a driver for the IEI WT61P803 PUZZLE microcontroller, used in some > > IEI Puzzle series devices. The microcontroller controls syste

Re: [PATCH v7 0/6] Add support for the IEI WT61P803 PUZZLE MCU

2020-11-01 Thread Luka Kovacic
Hello Pavel, On Thu, Oct 29, 2020 at 7:01 PM Pavel Machek wrote: > > Hi! > > > +What: > > /sys/bus/serial/devices/.../iei_wt61p803_puzzle_core/power_status > > +Date:September 2020 > > +Contact: Luka Kovacic > > +Descr

Re: [PATCH v7 1/6] dt-bindings: Add IEI vendor prefix and IEI WT61P803 PUZZLE driver bindings

2020-11-01 Thread Luka Kovacic
Hello Rob, On Wed, Oct 28, 2020 at 4:15 PM Rob Herring wrote: > > On Sun, Oct 25, 2020 at 02:59:11AM +0200, Luka Kovacic wrote: > > Add the IEI WT61P803 PUZZLE Device Tree bindings for MFD, HWMON and LED > > drivers. A new vendor prefix is also added accordingly for > &

Re: [PATCH v7 4/6] drivers: leds: Add the IEI WT61P803 PUZZLE LED driver

2020-11-01 Thread Luka Kovacic
> Not too bad. > > > This driver depends on the IEI WT61P803 PUZZLE MFD driver. > > > > Signed-off-by: Luka Kovacic > > Cc: Luka Perkov > > Cc: Robert Marko > > --- > > drivers/leds/Kconfig| 8 ++ > > drivers/leds/Make

Re: [PATCH v6 3/6] drivers: hwmon: Add the iEi WT61P803 PUZZLE HWMON driver

2020-10-24 Thread Luka Kovacic
Hello Andy, On Fri, Oct 23, 2020 at 11:47 PM Luka Kovacic wrote: > > Hi Andy, > > On Tue, Oct 20, 2020 at 10:59 AM Andy Shevchenko > wrote: > > > > On Tue, Oct 20, 2020 at 1:19 AM Luka Kovacic > > wrote: > > > > > > Add the iEi WT61P

[PATCH v2 1/1] arm64: dts: marvell: Add a device tree for the IEI Puzzle-M801 board

2020-10-24 Thread Luka Kovacic
: Luka Kovacic Acked-by: Andrew Lunn Cc: Luka Perkov Cc: Robert Marko --- Changes for v2: - Use the correct vendor title (IEI instead of iEi) - Sync the device tree with dt-bindings This patch is now sent separately from the IEI WT61P803 PUZZLE MCU patchset. Go to the following link for

[PATCH v7 3/6] drivers: hwmon: Add the IEI WT61P803 PUZZLE HWMON driver

2020-10-24 Thread Luka Kovacic
PUZZLE MFD driver. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- drivers/hwmon/Kconfig | 8 + drivers/hwmon/Makefile| 1 + drivers/hwmon/iei-wt61p803-puzzle-hwmon.c | 412 ++ 3 files changed, 421 insertions

[PATCH v7 5/6] Documentation/ABI: Add iei-wt61p803-puzzle driver sysfs interface documentation

2020-10-24 Thread Luka Kovacic
Add the iei-wt61p803-puzzle driver sysfs interface documentation to allow monitoring and control of the microcontroller from user space. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- .../testing/sysfs-driver-iei-wt61p803-puzzle | 55 +++ 1 file changed, 55

[PATCH v7 4/6] drivers: leds: Add the IEI WT61P803 PUZZLE LED driver

2020-10-24 Thread Luka Kovacic
be added in case more boards implement this microcontroller, as LEDs use many different GPIOs. This driver depends on the IEI WT61P803 PUZZLE MFD driver. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- drivers/leds/Kconfig| 8 ++ drivers/leds/Makefile

[PATCH v7 2/6] drivers: mfd: Add a driver for IEI WT61P803 PUZZLE MCU

2020-10-24 Thread Luka Kovacic
MCU messages and the internal MCU properties. Some properties can be managed over sysfs. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- drivers/mfd/Kconfig |8 + drivers/mfd/Makefile|1 + drivers/mfd/iei-wt61p803-puzzle.c

[PATCH v7 0/6] Add support for the IEI WT61P803 PUZZLE MCU

2020-10-24 Thread Luka Kovacic
styling issues - Styling changes in the IEI WT61P803 PUZZLE HWMON driver - Add missing commas in array definitions - Check reply_size, where possible - Clean up kernel-doc comments Luka Kovacic (6): dt-bindings: Add IEI vendor prefix and IEI WT61P803 PUZZLE driver bindings drivers

[PATCH v7 6/6] MAINTAINERS: Add an entry for the IEI WT61P803 PUZZLE driver

2020-10-24 Thread Luka Kovacic
Add an entry for the IEI WT61P803 PUZZLE driver (MFD, HWMON, LED drivers). Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- MAINTAINERS | 14 ++ 1 file changed, 14 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 867157311dc8..d56fdc300066 100644 --- a

[PATCH v7 1/6] dt-bindings: Add IEI vendor prefix and IEI WT61P803 PUZZLE driver bindings

2020-10-24 Thread Luka Kovacic
Add the IEI WT61P803 PUZZLE Device Tree bindings for MFD, HWMON and LED drivers. A new vendor prefix is also added accordingly for IEI Integration Corp. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- .../hwmon/iei,wt61p803-puzzle-hwmon.yaml | 53 .../leds

Re: [PATCH v6 1/6] dt-bindings: Add iEi vendor prefix and iEi WT61P803 PUZZLE driver bindings

2020-10-23 Thread Luka Kovacic
Hello Rob, On Tue, Oct 20, 2020 at 5:30 PM Rob Herring wrote: > > On Tue, Oct 20, 2020 at 12:18:54AM +0200, Luka Kovacic wrote: > > Add the iEi WT61P803 PUZZLE Device Tree bindings for MFD, HWMON and LED > > drivers. A new vendor prefix is also added accordingly for > &

Re: [PATCH v6 3/6] drivers: hwmon: Add the iEi WT61P803 PUZZLE HWMON driver

2020-10-23 Thread Luka Kovacic
Hi Andy, On Tue, Oct 20, 2020 at 10:59 AM Andy Shevchenko wrote: > > On Tue, Oct 20, 2020 at 1:19 AM Luka Kovacic wrote: > > > > Add the iEi WT61P803 PUZZLE HWMON driver, that handles the fan speed > > control via PWM, reading fan speed and reading on-board temperature

[PATCH v6 3/6] drivers: hwmon: Add the iEi WT61P803 PUZZLE HWMON driver

2020-10-19 Thread Luka Kovacic
PUZZLE MFD driver. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- drivers/hwmon/Kconfig | 8 + drivers/hwmon/Makefile| 1 + drivers/hwmon/iei-wt61p803-puzzle-hwmon.c | 410 ++ 3 files changed, 419 insertions

[PATCH v6 2/6] drivers: mfd: Add a driver for iEi WT61P803 PUZZLE MCU

2020-10-19 Thread Luka Kovacic
MCU messages and the internal MCU properties. Some properties can be managed over sysfs. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- drivers/mfd/Kconfig |8 + drivers/mfd/Makefile|1 + drivers/mfd/iei-wt61p803-puzzle.c

[PATCH v6 6/6] MAINTAINERS: Add an entry for the iEi WT61P803 PUZZLE driver

2020-10-19 Thread Luka Kovacic
Add an entry for the iEi WT61P803 PUZZLE driver (MFD, HWMON, LED drivers). Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- MAINTAINERS | 14 ++ 1 file changed, 14 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 867157311dc8..d56fdc300066 100644 --- a

[PATCH v6 0/6] Add support for the iEi WT61P803 PUZZLE MCU

2020-10-19 Thread Luka Kovacic
- Add Luka Perkov to MAINTAINERS Changes for v6: - Use the container_of() macro to get the led_cdev parent struct - Use %u instead of %lu in a printf() (LED driver) Luka Kovacic (6): dt-bindings: Add iEi vendor prefix and iEi WT61P803 PUZZLE driver bindings drivers: mfd: Add a

[PATCH v6 5/6] Documentation/ABI: Add iei-wt61p803-puzzle driver sysfs interface documentation

2020-10-19 Thread Luka Kovacic
Add the iei-wt61p803-puzzle driver sysfs interface documentation to allow monitoring and control of the microcontroller from user space. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- .../testing/sysfs-driver-iei-wt61p803-puzzle | 55 +++ 1 file changed, 55

[PATCH v6 4/6] drivers: leds: Add the iEi WT61P803 PUZZLE LED driver

2020-10-19 Thread Luka Kovacic
be added in case more boards implement this microcontroller, as LEDs use many different GPIOs. This driver depends on the iEi WT61P803 PUZZLE MFD driver. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- drivers/leds/Kconfig| 8 ++ drivers/leds/Makefile

[PATCH v6 1/6] dt-bindings: Add iEi vendor prefix and iEi WT61P803 PUZZLE driver bindings

2020-10-19 Thread Luka Kovacic
Add the iEi WT61P803 PUZZLE Device Tree bindings for MFD, HWMON and LED drivers. A new vendor prefix is also added accordingly for IEI Integration Corp. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- .../hwmon/iei,wt61p803-puzzle-hwmon.yaml | 41 ++ .../leds/iei

Re: [PATCH v5 4/6] drivers: leds: Add the iEi WT61P803 PUZZLE LED driver

2020-10-19 Thread Luka Kovacic
Hello Andy, On Sun, Oct 18, 2020 at 8:50 PM Andy Shevchenko wrote: > > On Sun, Oct 18, 2020 at 12:18 AM Luka Kovacic wrote: > > > > Add support for the iEi WT61P803 PUZZLE LED driver. > > Currently only the front panel power LED is supported. > > > > Thi

[PATCH v5 3/6] drivers: hwmon: Add the iEi WT61P803 PUZZLE HWMON driver

2020-10-17 Thread Luka Kovacic
PUZZLE MFD driver. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- drivers/hwmon/Kconfig | 8 + drivers/hwmon/Makefile| 1 + drivers/hwmon/iei-wt61p803-puzzle-hwmon.c | 410 ++ 3 files changed, 419 insertions

[PATCH v5 5/6] Documentation/ABI: Add iei-wt61p803-puzzle driver sysfs interface documentation

2020-10-17 Thread Luka Kovacic
Add the iei-wt61p803-puzzle driver sysfs interface documentation to allow monitoring and control of the microcontroller from user space. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- .../testing/sysfs-driver-iei-wt61p803-puzzle | 55 +++ 1 file changed, 55

[PATCH v5 0/6] Add support for the iEi WT61P803 PUZZLE MCU

2020-10-17 Thread Luka Kovacic
Luka Kovacic (6): dt-bindings: Add iEi vendor prefix and iEi WT61P803 PUZZLE driver bindings drivers: mfd: Add a driver for iEi WT61P803 PUZZLE MCU drivers: hwmon: Add the iEi WT61P803 PUZZLE HWMON driver drivers: leds: Add the iEi WT61P803 PUZZLE LED driver Documentation/ABI: Add iei

[PATCH v5 6/6] MAINTAINERS: Add an entry for the iEi WT61P803 PUZZLE driver

2020-10-17 Thread Luka Kovacic
Add an entry for the iEi WT61P803 PUZZLE driver (MFD, HWMON, LED drivers). Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- MAINTAINERS | 14 ++ 1 file changed, 14 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 867157311dc8..d56fdc300066 100644 --- a

[PATCH v5 2/6] drivers: mfd: Add a driver for iEi WT61P803 PUZZLE MCU

2020-10-17 Thread Luka Kovacic
MCU messages and the internal MCU properties. Some properties can be managed over sysfs. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- drivers/mfd/Kconfig |8 + drivers/mfd/Makefile|1 + drivers/mfd/iei-wt61p803-puzzle.c

[PATCH v5 1/6] dt-bindings: Add iEi vendor prefix and iEi WT61P803 PUZZLE driver bindings

2020-10-17 Thread Luka Kovacic
Add the iEi WT61P803 PUZZLE Device Tree bindings for MFD, HWMON and LED drivers. A new vendor prefix is also added accordingly for IEI Integration Corp. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- .../hwmon/iei,wt61p803-puzzle-hwmon.yaml | 41 ++ .../leds/iei

[PATCH v5 4/6] drivers: leds: Add the iEi WT61P803 PUZZLE LED driver

2020-10-17 Thread Luka Kovacic
Add support for the iEi WT61P803 PUZZLE LED driver. Currently only the front panel power LED is supported. This driver depends on the iEi WT61P803 PUZZLE MFD driver. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- drivers/leds/Kconfig| 8 ++ drivers

Re: [PATCH v4 3/6] drivers: hwmon: Add the iEi WT61P803 PUZZLE HWMON driver

2020-10-14 Thread Luka Kovacic
Hello Guenter, On Tue, Oct 13, 2020 at 8:51 PM Guenter Roeck wrote: > > On 10/13/20 11:09 AM, Luka Kovacic wrote: > > Hello Guenter, > > > > On Sun, Oct 11, 2020 at 11:26 PM Guenter Roeck wrote: > >> > >> On Wed, Oct 07, 2020 at 02:48:58AM +0200, Luka

Re: [PATCH v4 3/6] drivers: hwmon: Add the iEi WT61P803 PUZZLE HWMON driver

2020-10-13 Thread Luka Kovacic
Hello Guenter, On Sun, Oct 11, 2020 at 11:26 PM Guenter Roeck wrote: > > On Wed, Oct 07, 2020 at 02:48:58AM +0200, Luka Kovacic wrote: > > Add the iEi WT61P803 PUZZLE HWMON driver, that handles the fan speed > > control via PWM, reading fan speed and reading on-board tempe

[PATCH v5 4/7] drivers: leds: Add the iEi WT61P803 PUZZLE LED driver

2020-10-09 Thread Luka Kovacic
Add support for the iEi WT61P803 PUZZLE LED driver. Currently only the front panel power LED is supported. This driver depends on the iEi WT61P803 PUZZLE MFD driver. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- Changes for v5: - Remove the return before goto to also

Re: [PATCH v4 4/6] drivers: leds: Add the iEi WT61P803 PUZZLE LED driver

2020-10-09 Thread Luka Kovacic
On Wed, Oct 7, 2020 at 1:27 PM Pavel Machek wrote: > > Hi! > > > Add support for the iEi WT61P803 PUZZLE LED driver. > > Currently only the front panel power LED is supported. > > > > This driver depends on the iEi WT61P803 PUZZLE MFD driver. > > > +static int iei_wt61p803_puzzle_led_brightness_se

Re: [PATCH v3 4/7] drivers: leds: Add the iEi WT61P803 PUZZLE LED driver

2020-10-06 Thread Luka Kovacic
On Tue, Oct 6, 2020 at 8:41 AM Luka Kovacic wrote: > > On Wed, Sep 30, 2020 at 9:48 PM Pavel Machek wrote: > > > > Hi! > > > > > +static int iei_wt61p803_puzzle_led_brightness_set_blocking(struct > > > led_classdev *cdev, > >

[PATCH 1/1] arm64: dts: marvell: Add a device tree for the iEi Puzzle-M801 board

2020-10-06 Thread Luka Kovacic
: Luka Kovacic Acked-by: Andrew Lunn Cc: Luka Perkov Cc: Robert Marko --- This patch is now sent separately from the iEi WT61P803 PUZZLE MCU patchset. Go to the following link for reference: https://lore.kernel.org/linux-hwmon/20201007004901.39859-1-luka.kova...@sartura.hr/ arch/arm64/boot/dts

[PATCH v4 5/6] Documentation/ABI: Add iei-wt61p803-puzzle driver sysfs interface documentation

2020-10-06 Thread Luka Kovacic
Add the iei-wt61p803-puzzle driver sysfs interface documentation to allow monitoring and control of the microcontroller from user space. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- .../testing/sysfs-driver-iei-wt61p803-puzzle | 55 +++ 1 file changed, 55

[PATCH v4 4/6] drivers: leds: Add the iEi WT61P803 PUZZLE LED driver

2020-10-06 Thread Luka Kovacic
Add support for the iEi WT61P803 PUZZLE LED driver. Currently only the front panel power LED is supported. This driver depends on the iEi WT61P803 PUZZLE MFD driver. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- drivers/leds/Kconfig| 8 ++ drivers

[PATCH v4 6/6] MAINTAINERS: Add an entry for the iEi WT61P803 PUZZLE driver

2020-10-06 Thread Luka Kovacic
Add an entry for the iEi WT61P803 PUZZLE driver (MFD, HWMON, LED drivers). Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 33b27e62ce19..7b17195511ae 100644 --- a

[PATCH v4 3/6] drivers: hwmon: Add the iEi WT61P803 PUZZLE HWMON driver

2020-10-06 Thread Luka Kovacic
PUZZLE MFD driver. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- drivers/hwmon/Kconfig | 8 + drivers/hwmon/Makefile| 1 + drivers/hwmon/iei-wt61p803-puzzle-hwmon.c | 457 ++ 3 files changed, 466 insertions

[PATCH v4 1/6] dt-bindings: Add iEi vendor prefix and iEi WT61P803 PUZZLE driver bindings

2020-10-06 Thread Luka Kovacic
Add the iEi WT61P803 PUZZLE Device Tree bindings for MFD, HWMON and LED drivers. A new vendor prefix is also added accordingly for IEI Integration Corp. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- .../hwmon/iei,wt61p803-puzzle-hwmon.yaml | 41 ++ .../leds/iei

[PATCH v4 0/6] Add support for the iEi WT61P803 PUZZLE MCU

2020-10-06 Thread Luka Kovacic
LED driver - Fix error handling and code styling issues in the HWMON driver - Break up the patchset and send the iEi Puzzle-M801 board support patch separately Luka Kovacic (6): dt-bindings: Add iEi vendor prefix and iEi WT61P803 PUZZLE driver bindings drivers: mfd: Add a driver for iEi

[PATCH v4 2/6] drivers: mfd: Add a driver for iEi WT61P803 PUZZLE MCU

2020-10-06 Thread Luka Kovacic
MCU messages and the internal MCU properties. Some properties can be managed over sysfs. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- drivers/mfd/Kconfig |8 + drivers/mfd/Makefile|1 + drivers/mfd/iei-wt61p803-puzzle.c

Re: [PATCH v2 3/7] drivers: hwmon: Add the iEi WT61P803 PUZZLE HWMON driver

2020-10-06 Thread Luka Kovacic
On Wed, Sep 30, 2020 at 10:31 PM Guenter Roeck wrote: > > On Sat, Sep 26, 2020 at 03:55:10PM +0200, Luka Kovacic wrote: > > Add the iEi WT61P803 PUZZLE HWMON driver, that handles the fan speed > > control via PWM, reading fan speed and reading on-board temperature > > sen

Re: [PATCH v3 4/7] drivers: leds: Add the iEi WT61P803 PUZZLE LED driver

2020-10-05 Thread Luka Kovacic
On Wed, Sep 30, 2020 at 9:48 PM Pavel Machek wrote: > > Hi! > > > +static int iei_wt61p803_puzzle_led_brightness_set_blocking(struct > > led_classdev *cdev, > > + enum led_brightness brightness) > > +{ > > + struct iei_wt61p803_puzzle_led *priv = > > cdev_to_iei_wt61p803_puzzle_l

[PATCH v3 6/7] MAINTAINERS: Add an entry for the iEi WT61P803 PUZZLE driver

2020-09-29 Thread Luka Kovacic
Add an entry for the iEi WT61P803 PUZZLE driver (MFD, HWMON, LED drivers). Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 190c7fa2ea01..0adf6cc499e5 100644 --- a

[PATCH v3 7/7] arm64: dts: marvell: Add a device tree for the iEi Puzzle-M801 board

2020-09-29 Thread Luka Kovacic
: Luka Kovacic Acked-by: Andrew Lunn Cc: Luka Perkov Cc: Robert Marko --- arch/arm64/boot/dts/marvell/Makefile | 1 + .../dts/marvell/armada-8040-puzzle-m801.dts | 524 ++ 2 files changed, 525 insertions(+) create mode 100644 arch/arm64/boot/dts/marvell/armada-8040

[PATCH v3 5/7] Documentation/ABI: Add iei-wt61p803-puzzle driver sysfs interface documentation

2020-09-29 Thread Luka Kovacic
Add the iei-wt61p803-puzzle driver sysfs interface documentation to allow monitoring and control of the microcontroller from user space. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- .../testing/sysfs-driver-iei-wt61p803-puzzle | 55 +++ 1 file changed, 55

[PATCH v3 3/7] drivers: hwmon: Add the iEi WT61P803 PUZZLE HWMON driver

2020-09-29 Thread Luka Kovacic
PUZZLE MFD driver. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- drivers/hwmon/Kconfig | 8 + drivers/hwmon/Makefile| 1 + drivers/hwmon/iei-wt61p803-puzzle-hwmon.c | 513 ++ 3 files changed, 522 insertions

[PATCH v3 2/7] drivers: mfd: Add a driver for iEi WT61P803 PUZZLE MCU

2020-09-29 Thread Luka Kovacic
MCU messages and the internal MCU properties. Some properties can be managed over sysfs. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- drivers/mfd/Kconfig |8 + drivers/mfd/Makefile|1 + drivers/mfd/iei-wt61p803-puzzle.c

[PATCH v3 4/7] drivers: leds: Add the iEi WT61P803 PUZZLE LED driver

2020-09-29 Thread Luka Kovacic
Add support for the iEi WT61P803 PUZZLE LED driver. Currently only the front panel power LED is supported. This driver depends on the iEi WT61P803 PUZZLE MFD driver. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- drivers/leds/Kconfig| 8 ++ drivers

[PATCH v3 0/7] Add support for the iEi Puzzle-M801 board

2020-09-29 Thread Luka Kovacic
) - Add an error check for hwmon_dev - Use devm_led_classdev_register_ext() in the LED driver Luka Kovacic (7): dt-bindings: Add iEi vendor prefix and iEi WT61P803 PUZZLE driver bindings drivers: mfd: Add a driver for iEi WT61P803 PUZZLE MCU drivers: hwmon: Add the iEi WT61P803 PUZZLE HWMON

[PATCH v3 1/7] dt-bindings: Add iEi vendor prefix and iEi WT61P803 PUZZLE driver bindings

2020-09-29 Thread Luka Kovacic
Add the iEi WT61P803 PUZZLE Device Tree bindings for MFD, HWMON and LED drivers. A new vendor prefix is also added accordingly for IEI Integration Corp. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- .../hwmon/iei,wt61p803-puzzle-hwmon.yaml | 41 ++ .../leds/iei

Re: [PATCH v2 2/7] drivers: mfd: Add a driver for iEi WT61P803 PUZZLE MCU

2020-09-27 Thread Luka Kovacic
9:28 PM Marek Behun wrote: > > On Sat, 26 Sep 2020 15:55:09 +0200 > Luka Kovacic wrote: > > > Add a driver for the iEi WT61P803 PUZZLE microcontroller, used in some > > iEi Puzzle series devices. The microcontroller controls system power, > > temperature sensors,

Re: [PATCH v2 5/7] Documentation/ABI: Add iei-wt61p803-puzzle driver sysfs interface documentation

2020-09-27 Thread Luka Kovacic
Luka On Sat, Sep 26, 2020 at 8:25 PM Marek Behun wrote: > > On Sat, 26 Sep 2020 15:55:12 +0200 > Luka Kovacic wrote: > > > Add the iei-wt61p803-puzzle driver sysfs interface documentation to allow > > monitoring and control of the microcontroller from user space. > &

Re: [PATCH v2 4/7] drivers: leds: Add the iEi WT61P803 PUZZLE LED driver

2020-09-27 Thread Luka Kovacic
LEDs functionality, I will just keep the framework prepared. Also I'll use the devm_led_classdev_register_ext() API, thanks for letting me know. Kind regards, Luka On Sat, Sep 26, 2020 at 8:09 PM Marek Behun wrote: > > On Sat, 26 Sep 2020 15:55:11 +0200 > Luka Kovacic wrote: > >

Re: [PATCH v2 7/7] arm64: dts: marvell: Add a device tree for the iEi Puzzle-M801 board

2020-09-27 Thread Luka Kovacic
API is solved. There are currently many similar boards with no real solution for the network LED triggers. I'll add the color and correct the function properties for the LEDs. Kind regards, Luka On Sat, Sep 26, 2020 at 7:50 PM Marek Behun wrote: > > On Sat, 26 Sep 2020 15:55:14 +

[PATCH v2 1/7] dt-bindings: Add iEi vendor prefix and iEi WT61P803 PUZZLE driver bindings

2020-09-26 Thread Luka Kovacic
Add the iEi WT61P803 PUZZLE Device Tree bindings for MFD, HWMON and LED drivers. A new vendor prefix is also added accordingly for IEI Integration Corp. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- .../hwmon/iei,wt61p803-puzzle-hwmon.yaml | 41 ++ .../leds/iei

[PATCH v2 5/7] Documentation/ABI: Add iei-wt61p803-puzzle driver sysfs interface documentation

2020-09-26 Thread Luka Kovacic
Add the iei-wt61p803-puzzle driver sysfs interface documentation to allow monitoring and control of the microcontroller from user space. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- .../stable/sysfs-driver-iei-wt61p803-puzzle | 65 +++ 1 file changed, 65

[PATCH v2 2/7] drivers: mfd: Add a driver for iEi WT61P803 PUZZLE MCU

2020-09-26 Thread Luka Kovacic
MCU messages and the internal MCU properties. Some properties can be managed over sysfs. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- drivers/mfd/Kconfig |8 + drivers/mfd/Makefile|1 + drivers/mfd/iei-wt61p803-puzzle.c

[PATCH v2 7/7] arm64: dts: marvell: Add a device tree for the iEi Puzzle-M801 board

2020-09-26 Thread Luka Kovacic
: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- arch/arm64/boot/dts/marvell/Makefile | 1 + .../dts/marvell/armada-8040-puzzle-m801.dts | 519 ++ 2 files changed, 520 insertions(+) create mode 100644 arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts diff

[PATCH v2 4/7] drivers: leds: Add the iEi WT61P803 PUZZLE LED driver

2020-09-26 Thread Luka Kovacic
Add support for the iEi WT61P803 PUZZLE LED driver. Currently only the front panel power LED is supported. This driver depends on the iEi WT61P803 PUZZLE MFD driver. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- drivers/leds/Kconfig| 8 ++ drivers

[PATCH v2 6/7] MAINTAINERS: Add an entry for the iEi WT61P803 PUZZLE driver

2020-09-26 Thread Luka Kovacic
Add an entry for the iEi WT61P803 PUZZLE driver (MFD, HWMON, LED drivers). Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d746519253c3..6feacd8ad422 100644 --- a

[PATCH v2 3/7] drivers: hwmon: Add the iEi WT61P803 PUZZLE HWMON driver

2020-09-26 Thread Luka Kovacic
PUZZLE MFD driver. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Robert Marko --- drivers/hwmon/Kconfig | 8 + drivers/hwmon/Makefile| 1 + drivers/hwmon/iei-wt61p803-puzzle-hwmon.c | 511 ++ 3 files changed, 520 insertions

[PATCH v2 0/7] Add support for the iEi Puzzle-M801 board

2020-09-26 Thread Luka Kovacic
devm_hwmon_device_register_with_info() - Reduce the number of mutex locks - Allocate memory once for the response buffer - Reduce managed memory allocations Luka Kovacic (7): dt-bindings: Add iEi vendor prefix and iEi WT61P803 PUZZLE driver bindings drivers: mfd: Add a driver for iEi WT61P803 PUZZLE

[PATCH 5/7] Documentation/ABI: Add iei-wt61p803-puzzle driver sysfs interface documentation

2020-09-05 Thread Luka Kovacic
Add the iei-wt61p803-puzzle driver sysfs interface documentation to allow monitoring and control of the microcontroller from user space. Signed-off-by: Luka Kovacic Cc: Luka Perkov --- .../stable/sysfs-driver-iei-wt61p803-puzzle | 65 +++ 1 file changed, 65 insertions

[PATCH 4/7] drivers: leds: Add the iEi WT61P803 PUZZLE LED driver

2020-09-05 Thread Luka Kovacic
Add support for the iEi WT61P803 PUZZLE LED driver. Currently only the front panel power LED is supported. This driver depends on the iEi WT61P803 PUZZLE MFD driver. Signed-off-by: Luka Kovacic Cc: Luka Perkov --- drivers/leds/Kconfig| 8 ++ drivers/leds/Makefile

[PATCH 7/7] arm64: dts: marvell: Add a device tree for the iEi Puzzle-M801 board

2020-09-05 Thread Luka Kovacic
: Luka Kovacic Cc: Luka Perkov --- arch/arm64/boot/dts/marvell/Makefile | 1 + .../dts/marvell/armada-8040-puzzle-m801.dts | 519 ++ 2 files changed, 520 insertions(+) create mode 100644 arch/arm64/boot/dts/marvell/armada-8040-puzzle-m801.dts diff --git a/arch/arm64

[PATCH 3/7] drivers: hwmon: Add the iEi WT61P803 PUZZLE HWMON driver

2020-09-05 Thread Luka Kovacic
PUZZLE MFD driver. Signed-off-by: Luka Kovacic Cc: Luka Perkov --- drivers/hwmon/Kconfig | 8 + drivers/hwmon/Makefile| 1 + drivers/hwmon/iei-wt61p803-puzzle-hwmon.c | 613 ++ 3 files changed, 622 insertions(+) create mode 100644

[PATCH 2/7] drivers: mfd: Add a driver for iEi WT61P803 PUZZLE MCU

2020-09-05 Thread Luka Kovacic
MCU messages and the internal MCU properties. Some properties can be managed over sysfs. Signed-off-by: Luka Kovacic Cc: Luka Perkov --- drivers/mfd/Kconfig |8 + drivers/mfd/Makefile|1 + drivers/mfd/iei-wt61p803-puzzle.c | 1242

[PATCH 6/7] MAINTAINERS: Add an entry for the iEi WT61P803 PUZZLE driver

2020-09-05 Thread Luka Kovacic
Add an entry for the iEi WT61P803 PUZZLE driver (MFD, HWMON, LED drivers). Signed-off-by: Luka Kovacic Cc: Luka Perkov --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e4647c84c987..01a85d753d81 100644 --- a/MAINTAINERS +++ b

[PATCH 0/7] Add support for the iEi Puzzle-M801 board

2020-09-05 Thread Luka Kovacic
Marvell Armada 8040 SoC and supports up to 16 GB of DDR4 2400 MHz ECC RAM. It has a PCIe x16 slot (x2 lanes only) and an M.2 type B slot. External chassis ports: 2x 10 GbE SFP+ 4x 1 GbE (Marvell 88E1512P) 2x USB 3.0 1x RJ45 serial port All notable board components are supported in this patchset. Luka

[PATCH 1/7] dt-bindings: Add iEi vendor prefix and iEi WT61P803 PUZZLE driver bindings

2020-09-05 Thread Luka Kovacic
Add the iEi WT61P803 PUZZLE Device Tree bindings for MFD, HWMON and LED drivers. A new vendor prefix is also added accordingly for IEI Integration Corp. Signed-off-by: Luka Kovacic Cc: Luka Perkov --- .../hwmon/iei,wt61p803-puzzle-hwmon.yaml | 41 ++ .../leds/iei,wt61p803-puzzle

[PATCH 4/4] MAINTAINERS: Add an entry for MikroTik CRS3xx 98DX3236 boards

2020-07-24 Thread Luka Kovacic
An entry is added for MikroTik CRS3xx 98DX3236 based switches. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Jakov Petrina --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d53db30d1365..9da194a33b7a 100644 --- a/MAINTAINERS

[PATCH 0/4] Add support for a series of MikroTik CRS3xx switches

2020-07-24 Thread Luka Kovacic
+ (including the Bit variant) The Bit board variant is added for each of the boards. These boards were modified to use a bigger Macronix flash. Currently only basic board support is added, but the support will be extended in a new patchset. Luka Kovacic (4): arm: mvebu: dts: Add CRS326-24G-2S board

[PATCH 1/4] arm: mvebu: dts: Add CRS326-24G-2S board

2020-07-24 Thread Luka Kovacic
: Luka Kovacic Cc: Luka Perkov Cc: Jakov Petrina --- arch/arm/boot/dts/Makefile| 2 + .../boot/dts/armada-xp-crs326-24g-2s-bit.dts | 43 arch/arm/boot/dts/armada-xp-crs326-24g-2s.dts | 17 +++ .../arm/boot/dts/armada-xp-crs326-24g-2s.dtsi | 104

[PATCH 3/4] arm: mvebu: dts: Add CRS328-4C-20S-4S board

2020-07-24 Thread Luka Kovacic
-by: Luka Kovacic Cc: Luka Perkov Cc: Jakov Petrina --- arch/arm/boot/dts/Makefile| 2 + .../dts/armada-xp-crs328-4c-20s-4s-bit.dts| 43 .../boot/dts/armada-xp-crs328-4c-20s-4s.dts | 17 +++ .../boot/dts/armada-xp-crs328-4c-20s-4s.dtsi | 104

[PATCH 2/4] arm: mvebu: dts: Add CRS305-1G-4S board

2020-07-24 Thread Luka Kovacic
: Luka Kovacic Cc: Luka Perkov Cc: Jakov Petrina --- arch/arm/boot/dts/Makefile| 2 + .../boot/dts/armada-xp-crs305-1g-4s-bit.dts | 43 arch/arm/boot/dts/armada-xp-crs305-1g-4s.dts | 17 +++ arch/arm/boot/dts/armada-xp-crs305-1g-4s.dtsi | 104