Re: [PATCH 2/2] ARM: mvebu: Enable ARCH_WANT_LIBATA_LEDS in Armada 38x

2018-09-25 Thread Aditya Prayoga
On Thu, Sep 20, 2018 at 2:26 PM Pavel Machek wrote: > > On Wed 2018-09-19 11:45:30, Aditya Prayoga wrote: > > Enable hidden symbol ARCH_WANT_LIBATA_LEDS so CONFIG_ATA_LEDS can be > > used in kernel configuration. > > Should that be hidden symbol and should that be archi

Re: [PATCH 1/2] libata: add ledtrig support

2018-09-20 Thread Aditya Prayoga
Hi Andrew, thank you for your feedback. It seem i also need to resolve the issue reported by kbuild test robot. Aditya

[PATCH 2/2] ARM: mvebu: Enable ARCH_WANT_LIBATA_LEDS in Armada 38x

2018-09-18 Thread Aditya Prayoga
Enable hidden symbol ARCH_WANT_LIBATA_LEDS so CONFIG_ATA_LEDS can be used in kernel configuration. URL: https://lists.openwrt.org/pipermail/openwrt- devel/2017-March/006582.html Signed-off-by: Aditya Prayoga --- arch/arm/mach-mvebu/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a

[PATCH 1/2] libata: add ledtrig support

2018-09-18 Thread Aditya Prayoga
it/tj/libata.git plus small corrections and comments added Signed-off-by: Daniel Golle URL: https://patchwork.ozlabs.org/patch/420733/ [Aditya Prayoga: * Port forward * Change ATA_LEDS default to no * Reduce performance impact by moving ata_led_act() call from ata_qc_new() to ata_qc_complete()] S

[PATCH 0/2] Add support per ATA port ledtrigger on armada 38x

2018-09-18 Thread Aditya Prayoga
sabled and selected trigger is disk-activity read : iops=325 write : iops=108 * CONFIG_ATA_LEDS enabled and selected trigger is ata1 read : iops=325 write : iops=108 --- Aditya Prayoga (1): ARM: mvebu: Enable ARCH_WANT_LIBATA_LEDS in Armada 38x Daniel Golle (1): libata: a

Re: [PATCH v2 1/1] gpio: mvebu: Add support for multiple PWM lines per GPIO chip

2018-09-13 Thread Aditya Prayoga
On Wed, Sep 12, 2018 at 8:01 PM Andrew Lunn wrote: > > > static int mvebu_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm) > > { > > struct mvebu_pwm *mvpwm = to_mvebu_pwm(chip); > > struct mvebu_gpio_chip *mvchip = mvpwm->mvchip; > > struct gpio_desc *desc; > > +

[PATCH v2 0/1] gpio: mvebu: Add support for multiple PWM lines

2018-09-11 Thread Aditya Prayoga
o: mvebu: Allow to use non-default PWM counter" * Allow only two PWMs as suggested by Andrew Lunn and Richard Genoud --- Aditya Prayoga (1): gpio: mvebu: Add support for multiple PWM lines per GPIO chip drivers/gpio/gpio-mvebu.c | 73 ++- 1 fil

[PATCH v2 1/1] gpio: mvebu: Add support for multiple PWM lines per GPIO chip

2018-09-11 Thread Aditya Prayoga
PWMs supported. Signed-off-by: Aditya Prayoga --- drivers/gpio/gpio-mvebu.c | 73 ++- 1 file changed, 60 insertions(+), 13 deletions(-) diff --git a/drivers/gpio/gpio-mvebu.c b/drivers/gpio/gpio-mvebu.c index 6e02148..2d46b87 100644 --- a/drivers/gpio

Re: [PATCH RESEND 2/2] gpio: mvebu: Allow to use non-default PWM counter

2018-08-08 Thread Aditya Prayoga
On Mon, Aug 6, 2018 at 8:53 PM Andrew Lunn wrote: > > On Mon, Aug 06, 2018 at 10:29:16AM +0800, Aditya Prayoga wrote: > > On multiple PWM lines, if the other PWM counter is unused, allocate it > > to next PWM request. The priority would be: > > 1. Default counter as

Re: [PATCH RESEND 1/2] gpio: mvebu: Add support for multiple PWM lines per GPIO chip

2018-08-08 Thread Aditya Prayoga
On Mon, Aug 6, 2018 at 10:38 AM Andrew Lunn wrote: > > On Mon, Aug 06, 2018 at 10:29:15AM +0800, Aditya Prayoga wrote: > > Hi Aditya > > > + item = kzalloc(sizeof(*item), GFP_KERNEL); > > + if (!item) > > + return -ENODEV; > > ENOME

[PATCH RESEND 1/2] gpio: mvebu: Add support for multiple PWM lines per GPIO chip

2018-08-05 Thread Aditya Prayoga
Allow more than 1 PWM request (eg. PWM fan) on the same GPIO chip. based on initial work on LK4.4 by Alban Browaeys. URL: https://github.com/helios-4/linux-marvell/commit/743ae97 [Aditya Prayoga: forward port, cleanup] Signed-off-by: Aditya Prayoga --- drivers/gpio/gpio-mvebu.c | 63

[PATCH RESEND 0/2] gpio: mvebu: Add support for multiple PWM lines

2018-08-05 Thread Aditya Prayoga
Hi everyone, Helios4, an Armada 388 based NAS SBC, provides 2 (4-pins) fan connectors. The PWM pins on both connector are connected to GPIO on bank 1. Current gpio- mvebu does not allow more than one PWM on the same bank. Resend the patch to add more reviewer. Aditya --- Aditya Prayoga (2

[PATCH RESEND 2/2] gpio: mvebu: Allow to use non-default PWM counter

2018-08-05 Thread Aditya Prayoga
one would use default counter (counter B), second one would try to use counter A, and the third one would use counter B. Signed-off-by: Aditya Prayoga --- drivers/gpio/gpio-mvebu.c | 58 +-- 1 file changed, 56 insertions(+), 2 deletions(-) diff --git a

[PATCH 2/2] gpio: mvebu: Allow to use non-default PWM counter

2018-07-20 Thread Aditya Prayoga
one would use default counter (counter B), second one would try to use counter A, and the third one would use counter B. Signed-off-by: Aditya Prayoga --- drivers/gpio/gpio-mvebu.c | 58 +-- 1 file changed, 56 insertions(+), 2 deletions(-) diff --git a

[PATCH 1/2] gpio: mvebu: Add support for multiple PWM lines per GPIO chip

2018-07-20 Thread Aditya Prayoga
Allow more than 1 PWM request (eg. PWM fan) on the same GPIO chip. based on initial work on LK4.4 by Alban Browaeys. URL: https://github.com/helios-4/linux-marvell/commit/743ae97 [Aditya Prayoga: forward port, cleanup] Signed-off-by: Aditya Prayoga --- drivers/gpio/gpio-mvebu.c | 63

[PATCH 0/2] gpio: mvebu: Add support for multiple PWM lines

2018-07-20 Thread Aditya Prayoga
Hi everyone, Helios4, an Armada 388 based NAS SBC, provides 2 (4-pins) fan connectors. The PWM pins on both connector are connected to GPIO on bank 1. Current gpio- mvebu does not allow more than one PWM on the same bank. Aditya --- Aditya Prayoga (2): gpio: mvebu: Add support for multiple