Re: [PATCH] thermal: solve compilation errors in rcar_thermal

2012-10-30 Thread Kuninori Morimoto
, thermal zone device is NULL\n); -- 1.7.9.5 Best regards --- Kuninori Morimoto -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

[PATCH] thermal: solve compilation errors in rcar_thermal

2012-10-31 Thread Kuninori Morimoto
From: Devendra Naga develkernel412...@gmail.com following were the errors reported drivers/thermal/rcar_thermal.c: In function ‘rcar_thermal_probe’: drivers/thermal/rcar_thermal.c:214:10: warning: passing argument 3 of ‘thermal_zone_device_register’ makes integer from pointer without a cast

[PATCH] thermal: rcar_thermal: remove explicitly used devm_kfree/iounap()

2012-10-03 Thread Kuninori Morimoto
devm_kfree and devm_iounmap should not have to be explicitly used Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- This patch is based on Devendra's [PATCH] thermal: solve compilation errors in rcar_thermal drivers/thermal/rcar_thermal.c | 18 ++ 1 file

[PATCH] thermal: rcar: fixup compilation errors

2012-10-09 Thread Kuninori Morimoto
...@gmail.com Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- for linus/master branch drivers/thermal/rcar_thermal.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c index b13fe5d..762f637 100644

Re: [PATCH 1/1] Add TI TCA9554 to supported devices table

2013-03-27 Thread Kuninori Morimoto
Dear Linus From: Nikolay Balandin nbalan...@dev.rtsoft.ru Signed-off-by: Nikolay Balandin nbalan...@dev.rtsoft.ru Tentatively applied. Kuninoro, does this look OK? Yours, Linus Walleij Acked-by: Kuninori Morimoto kuninori.morimoto...@renesas.com Best regards -- Kuninori

Re: [PATCH] ARM: shmobile: armadillo800eva: set clock rates before timer init

2013-01-17 Thread Kuninori Morimoto
file changed, 3 insertions(+), 2 deletions(-) Acked-by: Kuninori Morimoto kuninori.morimoto...@renesas.com Best regards --- Kuninori Morimoto -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH] irqchip: Renesas INTC External IRQ pin driver

2013-02-18 Thread Kuninori Morimoto
; + bool control_parent; +}; + +#endif /* __IRQ_RENESAS_INTC_IRQPIN_H__ */ Best regards --- Kuninori Morimoto -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

[PATCH] gpio: pcf857x: fixup smatch WARNING

2012-09-11 Thread Kuninori Morimoto
: variable dereferenced\ before check 'pdata' (see line 292) drivers/gpio/gpio-pcf857x.c:421 pcf857x_remove() error: we previously\ assumed 'pdata' could be null (see line 410) This patch fixes it Reported-by: Fengguang Wu fengguang...@intel.com Signed-off-by: Kuninori Morimoto

[PATCH 0/2][resend] genirq: export patches

2012-07-30 Thread Kuninori Morimoto
Hi all These are resend of genirq export patches. Kuninori Morimoto (2): genirq: export irq_set_chip_and_handler_name() genirq: export dummy_irq_chip Hi Thomas Could you please teach me current status of these patches ? Kuninori Morimoto (2): genirq: export

[PATCH 1/2][resend] genirq: export irq_set_chip_and_handler_name()

2012-07-30 Thread Kuninori Morimoto
. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- kernel/irq/chip.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index eebd6d5..57d86d0 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -671,6 +671,7

[PATCH 2/2][resend] genirq: export dummy_irq_chip

2012-07-30 Thread Kuninori Morimoto
gpio-pcf857x.c is being built as a module. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- kernel/irq/dummychip.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/kernel/irq/dummychip.c b/kernel/irq/dummychip.c index b5fcd96..988dc58 100644

Re: linux-next: build failure after merge of the gpio-lw tree

2012-08-21 Thread Kuninori Morimoto
(https://lkml.org/lkml/2012/6/14/654) I can resend this patch if you want Best regards --- Kuninori Morimoto -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: linux-next: build failure after merge of the gpio-lw tree

2012-08-26 Thread Kuninori Morimoto
nicely in -next. Thank you ! It works on my board. Best regards --- Kuninori Morimoto -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

Re: [PATCH] thermal: solve compilation errors in rcar_thermal

2012-08-27 Thread Kuninori Morimoto
] Error 1 make: *** [drivers/thermal/rcar_thermal.o] Error 2 with gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) Signed-off-by: Devendra Naga develkernel412...@gmail.com --- Acked-by: Kuninori Morimoto kuninori.morimoto...@renesas.com Best regards --- Kuninori Morimoto -- To unsubscribe

Re: thermal patches in linux-next

2012-08-06 Thread Kuninori Morimoto
: Kuninori Morimoto kuninori.morimoto...@renesas.com Date: Tue, 7 Aug 2012 13:32:14 +0900 c56f5c0342dfee11a1a13d2f5bb7618de5b17590 (Thermal: Make Thermal trip points writeable) added mask, and 062f7fed5c79b3d2f7274fcd6f05f8c8f2fa5674 (Thermal: Remove tc1/tc2 in generic thermal layer.) removed tc1/tc2

Re: [PATCH 0/2][resend] genirq: export patches

2012-08-20 Thread Kuninori Morimoto
Hi all These are resend of genirq export patches. Kuninori Morimoto (2): genirq: export irq_set_chip_and_handler_name() genirq: export dummy_irq_chip get_maintainer.pl showed me that Thomas is the maintainer of ${LINUX}/kernel/irq/, but am I wrong ? I think

Re: linux-next: build failure after merge of the gpio-lw tree

2012-07-08 Thread Kuninori Morimoto
/git/linusw/linux-gpio.git;a=summary branch devel/for-next In my check, these are export symbol issue. I think above 2 function/struct were not exported for module. Is it poosible to solve this issue by these patches ? Kuninori Morimoto (2): genirq: export irq_set_chip_and_handler_name

[PATCH 1/2] genirq: export irq_set_chip_and_handler_name()

2012-07-08 Thread Kuninori Morimoto
\ [drivers/gpio/gpio-pcf857x.ko] undefined! when gpio-pcf857x.c is being built as a module. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- kernel/irq/chip.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c

[PATCH 2/2] genirq: export dummy_irq_chip

2012-07-08 Thread Kuninori Morimoto
gpio-pcf857x.c is being built as a module. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- kernel/irq/dummychip.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/kernel/irq/dummychip.c b/kernel/irq/dummychip.c index b5fcd96..988dc58 100644

[PATCH] thermal: add Renesas R-Car thermal sensor support

2012-07-09 Thread Kuninori Morimoto
This patch add basic Renesas R-Car thermal sensor support. It was tested on R-Car H1 Marzen board. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/thermal/Kconfig|8 ++ drivers/thermal/Makefile |3 +- drivers/thermal/rcar_thermal.c | 239

[PATCH v2] thermal: add Renesas R-Car thermal sensor support

2012-07-12 Thread Kuninori Morimoto
This patch add basic Renesas R-Car thermal sensor support. It was tested on R-Car H1 Marzen board. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- v1 - v2 - used spin_lock - added explain of udelay(300) - used a single space before = drivers/thermal/Kconfig

Re: linux-next: build failure after merge of the gpio-lw tree

2012-07-23 Thread Kuninori Morimoto
Hi Thomas Could you please teach me current status of these patches ? Kuninori Morimoto (2): genirq: export irq_set_chip_and_handler_name() genirq: export dummy_irq_chip At Mon, 9 Jul 2012 22:34:23 +0200, Linus Walleij wrote: On Mon, Jul 9, 2012 at 4:04 AM, Kuninori Morimoto

[PATCH] gpio: pcf857x: use client-irq for gpio_to_irq()

2012-12-06 Thread Kuninori Morimoto
. This patch is tested on kzm9g board Reported-by: ENGELMAYER Christian christian.engelma...@frequentis.com Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- Simon This patch modify kzm9g board settings. Please give your acked-by on this patch arch/arm/mach-shmobile/board-kzm9g.c

Re: [PATCH 5/5] spi: fix return value check in hspi_probe().

2012-12-11 Thread Kuninori Morimoto
Hi According to its documentation, clk_get() returns a valid IS_ERR() condition containing errno, so we should call IS_ERR() rather than a NULL check. Signed-off-by: Cyril Roelandt tipec...@gmail.com Acked-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/spi/spi-sh

Re: [PATCH -next] ASoC: rcar: fix return value check in rsnd_gen1_probe()

2013-07-29 Thread Kuninori Morimoto
to avoid redundants error message. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- Acked-by: Kuninori Morimoto kuninori.morimoto...@renesas.com sound/soc/sh/rcar/gen.c | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/sound/soc/sh/rcar/gen.c b

Re: [PATCH v2 2/3] gpio: pcf857x: Remove pdata argument to pcf857x_irq_domain_init()

2013-08-25 Thread Kuninori Morimoto
, unless Kuninori has some objections. Acked-by: Kuninori Morimoto kuninori.morimoto...@renesas.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: [PATCH v2 4/4] ASoC: rsnd: use regmap instead of original register mapping method

2013-09-17 Thread Kuninori Morimoto
), but ADG is only 1 device. On this driver, all devices are using rsnd_write/read() to access register. I can re-check it, but it will be next week Thank you Best regards -- Kuninori Morimoto -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH 0/3] rcar-hpbdma: fixup patches for double plane

2013-11-11 Thread Kuninori Morimoto
Hi Vinod Cc: Simon Please teach me current status of these patches These patches fixup R-Car HBPDMA driver for double plane. I tested these patches on my R-Car sound driver in local environment. It doesn't work without these patches. Kuninori Morimoto (3): rcar-hpbdma: add max

[PATCH] sh: sh7757lcr: fixup SDHI register size

2013-11-14 Thread Kuninori Morimoto
sh7757lcr SDHI register size is 0x100 Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- Hi Simon, and Linux ML This patch is bug fix for arch/sh, but, there is no SH maintainer today. So, I don't know who can care this. arch/sh/boards/board-sh7757lcr.c |2 +- 1 file

Re: [PATCH] sh: sh7757lcr: fixup SDHI register size

2013-11-19 Thread Kuninori Morimoto
Hi Simon, Linux ML This patch is bug fix for arch/sh, but, there is no SH maintainer today. What should I do for this ? At Thu, 14 Nov 2013 02:08:59 -0800 (PST), 【RSO】森本 wrote: sh7757lcr SDHI register size is 0x100 Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- Hi

Re: [PATCH 00/05] ARM: shmobile: r8a7790 and r8a7791 thermal update

2013-11-20 Thread Kuninori Morimoto
to be multiplatform aware and is used to point out the future direction. Hardware support may however be limited there due to lacking DT bindings. For all patches Acked-by: Kuninori Morimoto kuninori.morimoto...@renesas.com Best regards --- Kuninori Morimoto -- To unsubscribe from this list: send the line

Re: [PATCH v2] dma: add R-Car Audio DMAC peri peri driver

2014-02-24 Thread Kuninori Morimoto
Hi Vinod, Linux-kernel ML ping ? Can I ask you about current status of this patch ? From: Kuninori Morimoto kuninori.morimoto...@renesas.com Add support Audio DMAC peri peri driver for Renesas R-Car Gen2 SoC, using 'shdma-base' DMA driver framework. Signed-off-by: Kuninori

Re: [PATCH 2/2] thermal,rcar_thermal: Add dependency on HAS_IOMEM

2014-02-27 Thread Kuninori Morimoto
Hi Zhang On Sat, 2014-01-25 at 23:29 +0100, Richard Weinberger wrote: Commit beeb5a1e (thermal: rcar-thermal: Enable driver compilation with COMPILE_TEST) broke build on archs wihout io memory. On archs like S390 or um this driver cannot build nor work. Make it depend on HAS_IOMEM

Re: [PATCH 2/2] thermal,rcar_thermal: Add dependency on HAS_IOMEM

2014-02-28 Thread Kuninori Morimoto
! Acked-by: Kuninori Morimoto kuninori.morimoto...@renesas.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org

[PATCH v2][RESENT] dma: add R-Car Audio DMAC peri peri driver

2014-03-09 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com Add support Audio DMAC peri peri driver for Renesas R-Car Gen2 SoC, using 'shdma-base' DMA driver framework. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- resent - add missing dmaeng...@vger.kernel.org v1 - v2

Re: [PATCH v2][RESENT] dma: add R-Car Audio DMAC peri peri driver

2014-03-09 Thread Kuninori Morimoto
Hi Joe diff --git a/drivers/dma/sh/rcar-audmapp.c b/drivers/dma/sh/rcar-audmapp.c [] +static int audmapp_chan_probe(struct platform_device *pdev, + struct audmapp_device *audev, int id) +{ [] + auchan = devm_kzalloc(dev, sizeof(struct audmapp_chan),

[PATCH v3] shdma: add R-Car Audio DMAC peri peri driver

2014-03-09 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com Add support Audio DMAC peri peri driver for Renesas R-Car Gen2 SoC, using 'shdma-base' DMA driver framework. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- v2 - v3 - remove error message when devm_kzalloc

[PATCH v3] shdma: add R-Car Audio DMAC peri peri driver

2014-03-10 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com Add support Audio DMAC peri peri driver for Renesas R-Car Gen2 SoC, using 'shdma-base' DMA driver framework. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- v2 - v3 - modiry copyright - use %pad for dma_addr_t

Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai-fmt

2014-03-11 Thread Kuninori Morimoto
Hi Nicolin The current simple-card driver separates the daimft for cpu_dai and codec_dai. So we might get different values for them (0x4003 and 0x1003 for example): asoc-simple-card sound-cs42888.12: cpu : 2024000.esai / 4003 / 13200 asoc-simple-card sound-cs42888.12: codec : cs42888 /

Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai-fmt

2014-03-11 Thread Kuninori Morimoto
Hi Mark asoc-simple-card sound-cs42888.12: cpu : 2024000.esai / 4003 / 13200 asoc-simple-card sound-cs42888.12: codec : cs42888 / 1003 / 24576000 asoc-simple-card sound-cs42888.12: cs42888 - 2024000.esai mapping ok cpu = 4003 : SND_SOC_DAIFMT_CBS_CFS | SND_SOC_DAIFMT_LEFT_J

Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai-fmt

2014-03-11 Thread Kuninori Morimoto
Hi Nicolin static struct asoc_simple_card_info fsi_wm8978_info = { ... .daifmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBM_CFM, .cpu_dai = { ... .fmt= SND_SOC_DAIFMT_IB_NF, }, .codec_dai = { ...

Re: [alsa-devel] [RFC][PATCH] ASoC: simple-card: Add asoc_simple_card_data for the simple card driver data

2014-01-13 Thread Kuninori Morimoto
But, how about add this line to each function ? struct asoc_simple_card_info *info = sdata-info; Patch will be more readable Best regards --- Kuninori Morimoto -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

[PATCH][RESENT] sh: sh7757lcr: fixup SDHI register size

2014-02-20 Thread Kuninori Morimoto
sh7757lcr SDHI register size is 0x100 Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- Simon, Geert, Andrew Now, no-one is maintenance SH patch. Who can apply this patch ?? arch/sh/boards/board-sh7757lcr.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 1/2] regulator: gpio: print warning if gpios - gpios-states mismatch on DT

2014-02-11 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/regulator/gpio-regulator.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/gpio-regulator.c b/drivers/regulator/gpio

[PATCH 2/2] regulator: gpio: explain detail of gpios-states

2014-02-11 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com gpios-states is array, and default is 0 Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- .../bindings/regulator/gpio-regulator.txt |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v2] dma: add R-Car Audio DMAC peri peri driver

2014-02-11 Thread Kuninori Morimoto
Hi Vinod Can I ask you about current status of this patch ? From: Kuninori Morimoto kuninori.morimoto...@renesas.com Add support Audio DMAC peri peri driver for Renesas R-Car Gen2 SoC, using 'shdma-base' DMA driver framework. Signed-off-by: Kuninori Morimoto kuninori.morimoto

[PATCH] regulator: gpio: reborn necessary prop

2014-02-12 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com 934624d6e9f0b3d41557c4105c286e8daeaadb4e (regulator: gpio-regulator: do not open-code counting and access of dt array elements) removed struct property *prop from of_get_gpio_regulator_config() but, it is still used

How to get actual received data size on DMAEngine ?

2013-06-24 Thread Kuninori Morimoto
Hi Vinod, and all Cc Guennadi I need your opinion Now, my USB driver is using DMAEngine, but, in data receive case, it doesn't know the exact received data size before DMA starting, since USB device doesn't know how many data will be sent. Then, (I think) USB driver is using enough size buffer

[PATCH] mtd: m25p80: add support for the Spansion s25fl008k chip

2013-05-16 Thread Kuninori Morimoto
Signed-off-by: Yusuke Goda yusuke.goda...@renesas.com Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/mtd/devices/m25p80.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index 5b6b072..058172c 100644

[PATCH 0/3] rcar-hpbdma: fixup patches for double plane

2013-10-29 Thread Kuninori Morimoto
Hi Vinod Cc: Simon, Max These patches fixup R-Car HBPDMA driver for double plane. I tested these patches on my R-Car sound driver in local environment. It doesn't work without these patches. Kuninori Morimoto (3): rcar-hpbdma: add max transfer size rcar-hpbdma: initialise plane

[PATCH 3/3] rcar-hpbdma: fixup channel busy check for double plane

2013-10-29 Thread Kuninori Morimoto
The device busy check method is different between single and double planes. It will always return busy without this patch if channel used as double plane. Reviewed-by: Max Filippov max.filip...@cogentembedded.com Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/dma

[PATCH 2/3] rcar-hpbdma: initialise plane information when halted

2013-10-29 Thread Kuninori Morimoto
Plane information should be initialized when halted. It may restart from the wrong plane without this patch. Reviewed-by: Max Filippov max.filip...@cogentembedded.com Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/dma/sh/rcar-hpbdma.c |3 +++ 1 file changed, 3

[PATCH 1/3] rcar-hpbdma: add max transfer size

2013-10-29 Thread Kuninori Morimoto
shdma_chan_probe() can set max transfer size, but it will be PAGE_SIZE with out this patch. Reviewed-by: Max Filippov max.filip...@cogentembedded.com Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/dma/sh/rcar-hpbdma.c |2 ++ 1 file changed, 2 insertions

Re: [PATCH v4 0/3] cleanup of gpio_pcf857x.c

2013-09-05 Thread Kuninori Morimoto
: call the gpio user handler iff gpio_to_irq is done drivers/gpio/gpio-pcf857x.c | 53 ++--- 1 file changed, 26 insertions(+), 27 deletions(-) For all patches Acked-by: Kuninori Morimoto kuninori.morimoto...@renesas.com Best regards --- Kuninori Morimoto

[PATCH 0/4] add regmap_filelds and use it on Renesas Sound driver

2013-08-29 Thread Kuninori Morimoto
that regmap_filelds is good naming or not. Please let me know if you have good naming idea. These are based on below branchs regmap/for-next + asoc/for-next Kuninori Morimoto (4): regmap: add regmap_field_update_bits() regmap: Add regmap_fields APIs ASoC: rsnd: gen: rsnd_gen_ops

[PATCH 1/4] regmap: add regmap_field_update_bits()

2013-08-29 Thread Kuninori Morimoto
Current regmap_field is supporting read/write functions. This patch adds new update_bits function for it. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/base/regmap/regmap.c | 20 include/linux/regmap.h |2 ++ 2 files changed, 22

[PATCH 2/4] regmap: Add regmap_fields APIs

2013-08-29 Thread Kuninori Morimoto
API needs many regmap_field for such device, but it is not good. This patch adds new regmap_fileds API which can care about multi port/offset access via regmap. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/base/regmap/internal.h |3 ++ drivers/base/regmap

[PATCH 3/4] ASoC: rsnd: gen: rsnd_gen_ops cares .probe and .remove

2013-08-29 Thread Kuninori Morimoto
Current rsnd_gen_ops didn't care about .probe and .remove functions, but it was not good sense. This patch tidyup it Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- sound/soc/sh/rcar/gen.c | 41 - 1 file changed, 24 insertions

[PATCH 4/4] ASoC: rsnd: use regmap instead of original register mapping method

2013-08-29 Thread Kuninori Morimoto
Current Linux kernel is supporting regmap/regmap_field, and, it is good match for Renesas Sound Gen1/Gen2 register mapping. This patch uses regmap instead of original method for register access Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- sound/soc/sh/rcar/core.c | 45

Re: [PATCH v2 1/3] gpio: pcf857x: change to devm_request_threaded_irq

2013-09-01 Thread Kuninori Morimoto
and using devm_request_threaded_irq() have any relationship ? Separate patch seems nice ? Best regards --- Kuninori Morimoto -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: [PATCH 2/4] regmap: Add regmap_fields APIs

2013-09-01 Thread Kuninori Morimoto
offset. Current API needs many regmap_field for such device, but it is not good. This patch adds new regmap_fileds API which can care about multi port/offset access via regmap. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com I noticed that this series didin't care

Re: [PATCH v2 0/4] add regmap_filelds and use it on Renesas Sound driver

2013-09-01 Thread Kuninori Morimoto
me know if you have good naming idea. The difference between v1 - v2 is EXPORT_SYMBOL_GPL() naming on regmap_filelds these are based on below branchs regmap/for-next + asoc/for-next Kuninori Morimoto (4): regmap: add regmap_field_update_bits() regmap: Add regmap_fields APIs

[PATCH v2 1/4] regmap: add regmap_field_update_bits()

2013-09-01 Thread Kuninori Morimoto
Current regmap_field is supporting read/write functions. This patch adds new update_bits function for it. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- v1 - v2 - fixup EXPORT_SYMBOL_GPL() naming drivers/base/regmap/regmap.c | 20 include/linux

[PATCH v2 2/4] regmap: Add regmap_fields APIs

2013-09-01 Thread Kuninori Morimoto
needs many regmap_field for such device, but it is not good. This patch adds new regmap_fileds API which can care about multi port/offset access via regmap. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- v1 - v2 - fixup EXPORT_SYMBOL_GPL() naming drivers/base/regmap

[PATCH v2 3/4] ASoC: rsnd: gen: rsnd_gen_ops cares .probe and .remove

2013-09-01 Thread Kuninori Morimoto
Current rsnd_gen_ops didn't care about .probe and .remove functions, but it was not good sense. This patch tidyup it Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- v1 - v2 - no change sound/soc/sh/rcar/gen.c | 41 - 1 file

[PATCH v2 4/4] ASoC: rsnd: use regmap instead of original register mapping method

2013-09-01 Thread Kuninori Morimoto
Current Linux kernel is supporting regmap/regmap_field, and, it is good match for Renesas Sound Gen1/Gen2 register mapping. This patch uses regmap instead of original method for register access Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- v1 - v2 - exchange macro naming

Re: [PATCH v3 0/3] cleanup of gpio_pcf857x.c

2013-09-02 Thread Kuninori Morimoto
(+), 25 deletions(-) Basically, I have no objection about these patches, but I have 2 opinions - I guess we can merge #1 and #2 patches ? (as is is very OK for me though) - we don't need gpio-irq any more ? (additional patch is very OK for me) Best regards --- Kuninori Morimoto

Re: [PATCH v3 0/2] ASoC: rsnd: use regmap instead of original register mapping method

2013-09-24 Thread Kuninori Morimoto
than asking regmap. OK, new patch uses only fields access by using offset = 0. then, un-needed rsnd_priv_read/write/bset() are removed by 1st patch. Kuninori Morimoto (2): ASoC: rsnd: remove rsnd_priv_read/write/bset() ASoC: rsnd: use regmap instead of original register mapping method

[PATCH 2/2] ASoC: rsnd: use regmap instead of original register mapping method

2013-09-24 Thread Kuninori Morimoto
Current Linux kernel is supporting regmap/regmap_field, and, it is good match for Renesas Sound Gen1/Gen2 register mapping. This patch uses regmap instead of original method for register access Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- sound/soc/sh/rcar/core.c | 45

[PATCH 1/2] ASoC: rsnd: remove rsnd_priv_read/write/bset()

2013-09-24 Thread Kuninori Morimoto
adg.c only used rsnd_priv_read/write/bset() which is the only user of NULL mod. but, it can be removed. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- sound/soc/sh/rcar/adg.c | 10 +++--- sound/soc/sh/rcar/rsnd.h |4 2 files changed, 7 insertions(+), 7

Re: [PATCH 0/6] ARM: shmobile: kzm9d-reference: migrate to common clock framework with DT

2013-09-25 Thread Kuninori Morimoto
and implementation in one patch, and dts in other patch, are normal style IMO I mean 4/6 + 5/6's implementation part, 5/6's dts part Best regards --- Kuninori Morimoto -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] ASoC: generic: add simple card with devicetree support

2013-07-21 Thread Kuninori Morimoto
... Best regards --- Kuninori Morimoto -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH resend] shdma: fixup sh_dmae_get_partial() calculation error

2013-07-24 Thread Kuninori Morimoto
sh_desc-hw.tcr is controlling real data size, and, register TCR is controlling data transfer count which was xmit_shifted value of hw.tcr. Current sh_dmae_get_partial() is calculating in different unit. This patch fixes it. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com

[PATCH] of: Add vendor 2nd prefix for Asahi Kasei Corp

2014-06-11 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com Current vendor-prefixes.txt already has ak prefix for Asahi Kasei Corp by ae8c4209af2cec065fef15d200a42a04130799f7 (of: Add vendor prefix for Asahi Kasei Corp.) It went through the appropriate review process, and is already in use

[PATCH 0/3] dma: rcar-audmapp: add DT support

2014-06-18 Thread Kuninori Morimoto
Hi Vinod These patches add DT support to Renesas Audio DMAC peri peri driver. Kuninori Morimoto (3): dma: rcar-audmapp: enable .set_slave dma: rcar-audmapp: don't keep audmapp_slave_config for each channeles dma: rcar-audmapp: add DT support .../devicetree/bindings/dma/rcar

[PATCH 3/3] dma: rcar-audmapp: add DT support

2014-06-18 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com This patch adds DT support to Audio DMAC peri peri driver. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- .../devicetree/bindings/dma/rcar-audmapp.txt | 30 + drivers/dma/sh/rcar-audmapp.c

[PATCH 2/3] dma: rcar-audmapp: don't keep audmapp_slave_config for each channeles

2014-06-18 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com Current audmapp driver is keeping audmapp_slave_config for each channeles, but, nessasary information is only chcr. Current style (= keeping audmapp_slave_config) is not good match for DT support. Keep chcr instead of audmapp_slave_config

[PATCH 1/3] dma: rcar-audmapp: enable .set_slave

2014-06-18 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com Current .set_slave callback did nothing, since it assumed src/dst address come from platform settings. But, it isn't good match to DT probing. This patch enables .set_slave callback to this issue. Signed-off-by: Kuninori Morimoto

[PATCH] shdma: add R-Car Audio DMAC peri peri driver

2014-01-23 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com Add support Audio DMAC peri peri driver for Renesas R-Car Gen2 SoC, using 'shdma-base' DMA driver framework. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/dma/sh/Kconfig |6

Re: [PATCH] shdma: add R-Car Audio DMAC peri peri driver

2014-01-24 Thread Kuninori Morimoto
of the constants in the definition of AUDMAPP_LEN_MAX. + *len = (size_t)AUDMAPP_LEN_MAX; The cast is not needed (I think even without the change above). I will fixup these in v2 Thank you Best regards --- Kuninori Morimoto -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] shdma: add R-Car Audio DMAC peri peri driver

2014-01-24 Thread Kuninori Morimoto
on that) What should I do ? OK, then you should keep using int, and change the test to: if (slave_id 0 || slave_id = AUDMAPP_SLAVE_NUMBER) I see Thank you Best regards --- Kuninori Morimoto -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

[PATCH v2] dma: add R-Car Audio DMAC peri peri driver

2014-01-24 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com Add support Audio DMAC peri peri driver for Renesas R-Car Gen2 SoC, using 'shdma-base' DMA driver framework. Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- v1 - v2 - run scripts/checkpatch.pl - ecchange length

Re: [alsa-devel] Problems with simple-card

2014-01-15 Thread Kuninori Morimoto
Hi The main problem is about sysclk: when there is no clock in the DT, you get the clock of the CPU or CODEC DAI. In my system, two clocks are declared in the controller CPU DAI, but there is no .set_sysclk pointer. So, snd_soc_dai_set_sysclk() returns -EINVAL and the card is not

Re: [alsa-devel] [PATCH] ASoC: simple-card: Use devm_snd_soc_register_card()

2013-12-18 Thread Kuninori Morimoto
Hi Makes the code slightly shorter. Signed-off-by: Xiubo Li li.xi...@freescale.com --- Nice catch Acked-by: Kuninori Morimoto kuninori.morimoto...@renesas.com Best regards --- Kuninori Morimoto -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

About gpio-regulator setting on DT

2014-01-29 Thread Kuninori Morimoto
-nr_gpios; i++) { gpio = of_get_named_gpio(np, gpios, i); if (gpio 0) break; config-gpios[i].gpio = gpio; } How to set GPIOF_OUT_INIT_HIGH via DT ? Or, am I misunderstanding ? Best regards --- Kuninori Morimoto

Re: About gpio-regulator setting on DT

2014-01-29 Thread Kuninori Morimoto
cfg.ena_gpio_flags |= GPIOF_OUT_INIT_LOW; } else { if (config-enable_high) cfg.ena_gpio_flags |= GPIOF_OUT_INIT_LOW; else cfg.ena_gpio_flags |= GPIOF_OUT_INIT_HIGH; } ) Best regards --- Kuninori Morimoto -- To unsubscribe from this list

[PATCH] regulator: gpio: bugfix: add gpios-status for DT

2014-01-30 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com config-gpios[x].flags indicates initial pin status, and it will be used for drvdata-state on gpio_regulator_probe(). But, current of_get_gpio_regulator_config() doesn't care about this flags. This patch adds new gpios-status property

Re: [PATCH v3] shdma: add R-Car Audio DMAC peri peri driver

2014-03-24 Thread Kuninori Morimoto
Hi Vinod, and all Could you please teach me current status of this patch ?? From: Kuninori Morimoto kuninori.morimoto...@renesas.com Add support Audio DMAC peri peri driver for Renesas R-Car Gen2 SoC, using 'shdma-base' DMA driver framework. Signed-off-by: Kuninori Morimoto

Re: [PATCH 0/2] DMA: shdma: add DMA cyclic transfer support

2014-04-18 Thread Kuninori Morimoto
Hi Vinod ping ? These patches adds DMA cyclic transfer support on shdma driver Kuninori Morimoto (2): DMA: shdma: tidyup callback chunk finder DMA: shdma: add cyclic transfer support drivers/dma/sh/shdma-base.c | 90 +++ include

Re: [PATCH 0/2 v2]: sh-pfc: r8a7791: Add sound pin support

2014-04-13 Thread Kuninori Morimoto
Hi Linus Walleij Cc Simon, Laurent, Geert, Magnus These are r8a7791 sound pin support patches I added To Linus Walleij, Cc linux kernel on V2 patches. Kuninori Morimoto (2): sh-pfc: r8a7791: Add SSI pin support sh-pfc: r8a7791: Add Audio pin support drivers/pinctrl/sh-pfc/pfc

[PATCH 1/2 v2] sh-pfc: r8a7791: Add SSI pin support

2014-04-13 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com Reviewed-by: Geert Uytterhoeven ge...@linux-m68k.org Reviewed-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- v1 - v2 - To Linus Walleij, Cc Linux kernel

[PATCH 2/2] sh-pfc: r8a7791: Add Audio pin support

2014-04-13 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com Reviewed-by: Geert Uytterhoeven ge...@linux-m68k.org Reviewed-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- v1 - v2 - To Linus Walleij, Cc Linux kernel

[PATCH 0/2] DMA: shdma: add DMA cyclic transfer support

2014-04-02 Thread Kuninori Morimoto
Hi Vinod, all These patches adds DMA cyclic transfer support on shdma driver Kuninori Morimoto (2): DMA: shdma: tidyup callback chunk finder DMA: shdma: add cyclic transfer support drivers/dma/sh/shdma-base.c | 90 +++ include/linux/shdma

[PATCH 1/2] DMA: shdma: tidyup callback chunk finder

2014-04-02 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com Current shdma is using last which indicates last desc which needs to have callback function. but, that desc's chunks is always 1 We can use it as finder Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/dma/sh

[PATCH 2/2] DMA: shdma: add cyclic transfer support

2014-04-02 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com This patch add cyclic transfer support and enables dmaengine_prep_dma_cyclic() Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/dma/sh/shdma-base.c | 72 ++- include

[PATCH] shdma: fixup sh_dmae_get_partial() calculation error

2013-07-01 Thread Kuninori Morimoto
sh_desc-hw.tcr is controlling data size, and register TCR is controlling data transfer count which was xmit_shift'ed value of hw.tcr. Current sh_dmae_get_partial() is calculating in different unit. This patch fixes it. Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de Signed-off-by: Kuninori

[PATCH] clocksource: tidyup Kconfig typo for MTU2

2014-07-08 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com It should be MTU2 instead of TMU2 Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/clocksource/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/Kconfig b

Re: [PATCH 0/3] dma: rcar-audmapp: add DT support

2014-07-08 Thread Kuninori Morimoto
of that tree and should appear in linux-next in the near future. My intention is to send a pull-request for this branch once it has sat in next for a short time. I hope that this approach is useful to all parties. On Wed, Jun 18, 2014 at 01:58:41AM -0700, Kuninori Morimoto wrote: Hi Vinod

[PATCH] dma: rcar-audmapp: add NULL terminater on audmapp_of_match

2014-07-08 Thread Kuninori Morimoto
From: Kuninori Morimoto kuninori.morimoto...@renesas.com This patch solve this issue drivers/dma/sh/rcar-audmapp.c:357:41-42: audmapp_of_match is not NULL terminated at line 357 Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/dma/sh/rcar-audmapp.c |1 + 1

Re: [PATCH 05/13] thermal: rcar: Document SoC-specific bindings

2014-07-15 Thread Kuninori Morimoto
Hi The documentation only mentioned the generic fallback compatible property. Add the missing SoC-specific compatible properties, some of which are already in use. Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be Cc: Zhang Rui rui.zh...@intel.com Cc: Eduardo

  1   2   3   4   5   6   7   >