[PATCH 3/3] reset: uniphier: add analog amplifiers reset control

2017-08-10 Thread Katsuhiro Suzuki
Add a reset line for analog signal amplifier core (ADAMV) on UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- drivers/reset/reset-uniphier.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/reset/reset-uniphier.c b/d

[PATCH 2/2] clk: uniphier: add video input subsystem clock

2017-08-10 Thread Katsuhiro Suzuki
Add a clock for video input subsystem (EXIV) on UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- drivers/clk/uniphier/clk-uniphier-sys.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/uniphier/clk-uniphier-sys.c b/drive

[PATCH 1/2] clk: uniphier: add audio system clock

2017-08-10 Thread Katsuhiro Suzuki
Add clock for audio subsystem (AIO) and SoC internal audio codec (EVEA) on UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- drivers/clk/uniphier/clk-uniphier-sys.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/clk/un

[PATCH 2/3] reset: uniphier: add video input subsystem reset control

2017-08-10 Thread Katsuhiro Suzuki
Add a reset line for video input subsystem (EXIV) on UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- drivers/reset/reset-uniphier.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/reset/reset-uniphier.c b/drivers/reset/reset-unip

[PATCH 1/3] reset: uniphier: add audio systems reset control

2017-08-10 Thread Katsuhiro Suzuki
Add reset lines for audio subsystem (AIO) and SoC internal audio codec (EVEA) on UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- drivers/reset/reset-uniphier.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/reset/reset-uniphi

[PATCH v2 2/3] reset: uniphier: add video input subsystem reset control

2017-08-13 Thread Katsuhiro Suzuki
Add a reset line for video input subsystem (EXIV) on UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> Acked-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/reset/reset-uniphier.c | 2 ++ 1 file changed, 2 insertions(+)

[PATCH v2 1/3] reset: uniphier: add audio systems reset control

2017-08-13 Thread Katsuhiro Suzuki
Add reset lines for audio subsystem (AIO) and SoC internal audio codec (EVEA) on UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> Acked-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/reset/reset-uniphier.c | 4 1 fil

[PATCH v2 3/3] reset: uniphier: add analog amplifiers reset control

2017-08-13 Thread Katsuhiro Suzuki
Add a reset line for analog signal amplifier core (ADAMV) on UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- Changes for v2: - ID changes to 0 because ADAMV reset controller independents from other reset controllers. - Add DT-b

Re: [PATCH 3/3] reset: uniphier: add analog amplifiers reset control

2017-08-10 Thread Katsuhiro Suzuki
Hi Yamada-san, On 2017年08月10日 20:23, Masahiro Yamada wrote: Hi. 2017-08-10 20:11 GMT+09:00 Masahiro Yamada <yamada.masah...@socionext.com>: 2017-08-10 19:37 GMT+09:00 Philipp Zabel <p.za...@pengutronix.de>: Hi Katsuhiro, On Thu, 2017-08-10 at 16:27 +0900, Katsuhiro Suzuki

Re: [PATCH 3/3] reset: uniphier: add analog amplifiers reset control

2017-08-10 Thread Katsuhiro Suzuki
Hi Philipp, On 2017年08月10日 19:37, Philipp Zabel wrote: Hi Katsuhiro, On Thu, 2017-08-10 at 16:27 +0900, Katsuhiro Suzuki wrote: Add a reset line for analog signal amplifier core (ADAMV) on UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.

[PATCH] ARM: dts: uniphier: add audio out pin-mux node

2017-08-09 Thread Katsuhiro Suzuki
The UniPhier AIO2013 audio system needs I2S and clock signal pins to connect external codec chip. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- arch/arm/boot/dts/uniphier-pinctrl.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/un

[PATCH] pinctrl: uniphier: add Audio out pin-mux settings

2017-08-09 Thread Katsuhiro Suzuki
The UniPhier LD11/20 SoC audio core use following 8 pins: AO1IEC, AO1ARC, AO1DACCK, AO1BCK, AO1LRCK, AO1D[0-2] Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c | 5 + drivers/pinctrl/uniphier/pinctrl-uniphier-ld20

[PATCH] arm64: dts: uniphier: add reset controller node of analog amplifier

2017-08-21 Thread Katsuhiro Suzuki
This patch adds reset controller node of analog signal amplifier core (ADAMV) for UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 11 +++ arch/arm64/boot/dts/socionext/uniphier-ld20.dts

Re: [PATCH 2/2] clk: uniphier: add video input subsystem clock

2017-09-02 Thread Katsuhiro Suzuki
Hello Stephen, > Applied to clk-next with some conflict resolving, please check. No problem. Thank you for applying! Regards, -- Katsuhiro Suzuki > -Original Message- > From: Stephen Boyd [mailto:sb...@codeaurora.org] > Sent: Friday, September 1, 2017 10:42 AM > To: Su

[PATCH 7/8] MAINTAINERS: add entries for UniPhier ASoC sound drivers

2017-11-22 Thread Katsuhiro Suzuki
Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b05bc2c5e85c..0959fd951f80 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12579,6 +12579,12 @@ F: include/media/s

[PATCH 4/8] ASoC: uniphier: add support for UniPhier EVEA codec

2017-11-22 Thread Katsuhiro Suzuki
This patch adds EVEA codec driver. This codec core is in inside of UniPhier SoC. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- sound/soc/Kconfig | 1 + sound/soc/Makefile | 1 + sound/soc/uniphier/Kconfig | 19 ++ sound/soc/uniphier/Makefile

[PATCH 8/8] arm64: dts: uniphier: add sound node for UniPhier

2017-11-22 Thread Katsuhiro Suzuki
This patch adds audio controller, codec and simple card node of UniPhier AIO sound system for LD11/20 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- .../boot/dts/socionext/uniphier-ld11-global.dts| 72 ++ arch/arm64/boot/dts/socionext/un

[PATCH 0/8] add UniPhier audio system support

2017-11-22 Thread Katsuhiro Suzuki
register areas for each sound devices. UniPhier EVEA is a codec core for Line-In, Line-Out. Since this core is only in internal of UniPhier series SoC, this driver works independently but only UniPhier SoC can use it. Katsuhiro Suzuki (8): ASoC: spdif: Add S32_LE support for S/PDIF dummy codec

[PATCH 5/8] ASoC: uniphier: add support for UniPhier AIO driver

2017-11-22 Thread Katsuhiro Suzuki
register areas for each sound devices. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- sound/soc/uniphier/Kconfig | 5 + sound/soc/uniphier/Makefile | 4 + sound/soc/uniphier/aio-core.c| 368 + sound/soc/uniphier/aio-dma.c

[PATCH 6/8] ASoC: uniphier: add support for UniPhier LD11/LD20 AIO driver

2017-11-22 Thread Katsuhiro Suzuki
This patch adds support for UniPhier AIO sound driver which is included in UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- sound/soc/uniphier/Kconfig| 10 ++ sound/soc/uniphier/Makefile | 1 + sound/soc/uniphier/aio-ld11.c

[PATCH 1/8] ASoC: spdif: Add S32_LE support for S/PDIF dummy codec drivers

2017-11-22 Thread Katsuhiro Suzuki
of cpu_dai's formats and codec_dai's formats. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- sound/soc/codecs/spdif_receiver.c| 5 +++-- sound/soc/codecs/spdif_transmitter.c | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/sound/soc/

[PATCH 2/8] ASoC: uniphier: add DT bindings documentation for UniPhier EVEA

2017-11-22 Thread Katsuhiro Suzuki
This patch adds DT binding documentation for UniPhier EVEA that is SoC inner sound codec of UniPhier series. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- .../devicetree/bindings/sound/uniphier,evea.txt| 26 ++ 1 file changed, 26 inse

[PATCH 3/8] ASoC: uniphier: add DT bindings documentation for UniPhier AIO

2017-11-22 Thread Katsuhiro Suzuki
This patch adds DT binding documentation for UniPhier AIO audio subsystem. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- .../devicetree/bindings/sound/uniphier,aio.txt | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 Documen

Re: [PATCH 5/8] ASoC: uniphier: add support for UniPhier AIO driver

2017-12-04 Thread Katsuhiro Suzuki
l.org > Subject: Re: [PATCH 5/8] ASoC: uniphier: add support for UniPhier AIO driver > > On Wed, Nov 22, 2017 at 08:43:18PM +0900, Katsuhiro Suzuki wrote: > > > sound/soc/uniphier/Makefile | 4 + > > sound/soc/uniphier/aio-core.c| 368 + >

Re: [PATCH 5/8] ASoC: uniphier: add support for UniPhier AIO driver

2017-12-05 Thread Katsuhiro Suzuki
C: uniphier: add support for UniPhier AIO driver > > On Tue, Dec 05, 2017 at 01:48:39PM +0900, Katsuhiro Suzuki wrote: > > Please fix your mail client to word wrap within paragraphs at something > substantially less than 80 columns. Doing this makes your messages much > easier to

Re: [PATCH 5/8] ASoC: uniphier: add support for UniPhier AIO driver

2017-12-11 Thread Katsuhiro Suzuki
compress-offload.rst, but I can't find how do I test it. It seems aplay of alsa-util doesn't know compress audio formats. Should I use PulseAudio or Android HAL to test compress audio APIs? Regards, -- Katsuhiro Suzuki > -Original Message- > From: Mark Brown [mailto:broo...@kernel.or

Re: [alsa-devel] [PATCH 5/8] ASoC: uniphier: add support for UniPhier AIO driver

2017-12-11 Thread Katsuhiro Suzuki
-ker...@lists.infradead.org > Subject: Re: [alsa-devel] [PATCH 5/8] ASoC: uniphier: add support for UniPhier > AIO driver > > On Mon, Dec 11, 2017 at 03:16:29PM +0000, Mark Brown wrote: > > On Mon, Dec 11, 2017 at 06:21:58PM +0900, Katsuhiro Suzuki wrote: > > > > > Bu

[PATCH] media: dvb-frontends: add Socionext SC1501A ISDB-S/T demodulator driver

2018-05-14 Thread Katsuhiro Suzuki
This patch adds a frontend driver for the Socionext SC1501A series and Socionext MN88443x ISDB-S/T demodulators. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- drivers/media/dvb-frontends/Kconfig | 10 + drivers/media/dvb-frontends/Makefile | 1 + drivers/med

[PATCH RESEND] clk: uniphier: add LD11/LD20 stream demux system clock

2018-05-14 Thread Katsuhiro Suzuki
Add clock for MPEG2 transport stream I/O and demux system (HSC) on UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> Acked-by: Masahiro Yamada <yamada.masah...@socionext.com> --- drivers/clk/uniphier/clk-uniphier-sys.c | 5 + 1 fil

[PATCH] media: helene: add I2C device probe function

2018-05-14 Thread Katsuhiro Suzuki
This patch adds I2C probe function to use dvb_module_probe() with this driver. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- drivers/media/dvb-frontends/helene.c | 88 ++-- drivers/media/dvb-frontends/helene.h | 2 + 2 files changed, 86 inse

[PATCH] ASoC: uniphier: add digital output volume for UniPhier sound system

2018-05-07 Thread Katsuhiro Suzuki
This patch adds controllers for digital volume of PCM output. Volume effects simply linear, not dB scale as follows: Gained PCM = Original * 0x4000 / Volume The value range of volume is from 0x0001 to 0x. 0x works as mute. Initial value is 0x4000 (+0dB). Signed-off-by: Katsuhiro Suzuki

[PATCH] ASoC: uniphier: evea: use DAPM to change source of line-in

2018-05-08 Thread Katsuhiro Suzuki
This patch replaces mixer switch to DAPM one for changing audio source of line-in. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- sound/soc/uniphier/evea.c | 55 +++ 1 file changed, 33 insertions(+), 22 deletions(-) diff --git a

[PATCH v2] media: helene: add I2C device probe function

2018-05-16 Thread Katsuhiro Suzuki
This patch adds I2C probe function to use dvb_module_probe() with this driver. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- Changes since v1: - Add documents for dvb_frontend member of helene_config --- drivers/media/dvb-frontends/helene.

[PATCH] media: helene: fix tuning frequency of satellite

2018-05-16 Thread Katsuhiro Suzuki
This patch fixes tuning frequency of satellite to kHz. That as same as terrestrial one. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- drivers/media/dvb-frontends/helene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-fro

[PATCH] media: helene: fix xtal frequency setting at power on

2018-05-16 Thread Katsuhiro Suzuki
This patch fixes crystal frequency setting when power on this device. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- drivers/media/dvb-frontends/helene.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/helene.c b/d

[PATCH v2] media: dvb-frontends: add Socionext SC1501A ISDB-S/T demodulator driver

2018-05-15 Thread Katsuhiro Suzuki
This patch adds a frontend driver for the Socionext SC1501A series and Socionext MN88443x ISDB-S/T demodulators. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- Changes since v1: - Fix sparse warning about type of constant - Use div_s64() instead of divide op

[PATCH v3 1/2] media: helene: add I2C device probe function

2018-05-22 Thread Katsuhiro Suzuki
This patch adds I2C probe function to use dvb_module_probe() with this driver. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- Changes since v2: - Nothing Changes since v1: - Add documents for dvb_frontend member of helene_config --- drivers/media/dvb-fro

[PATCH v3 2/2] media: helene: support IF frequency of ISDB-S

2018-05-22 Thread Katsuhiro Suzuki
. --- Changes since v2: - Newly added Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- drivers/media/dvb-frontends/helene.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-frontends/helene.c b/drivers/media/dvb-frontends/he

Re: [PATCH] media: helene: fix tuning frequency of satellite

2018-05-16 Thread Katsuhiro Suzuki
> I'm curious but how did it worked before ... > Which hardware (dvb adapter) are you using ? > I'm using evaluation boards of my company. So it's not exist in market... Tuner module is SONY SUT-PJ series for ISDB-S/ISDB-T (not for DVB). Regards, -- Katsuhiro Suzuki > 2018-05-16 4:41 G

Re: [PATCH v2] media: helene: add I2C device probe function

2018-05-16 Thread Katsuhiro Suzuki
ulator has 1 port, and can use ISDB-S or ISDB-T exclusively. So I think I cannot use ISDB-S features of this tuner if I use helene_attach(), and I cannot use ISDB-T if I use helene_attach_s() too. Regards, -- Katsuhiro Suzuki > > 2018-05-16 4:37 GMT-04:00 Katsuhiro Suzuki <suzuki.kat

Re: [PATCH] ASoC: audio-graph-card: add hp and mic detect gpios same as simple-card

2018-06-10 Thread Katsuhiro Suzuki
s same > > as simple-card driver. This feature move into simple-card-utils from > > simple-card to avoid the duplicating code. > > > > Signed-off-by: Katsuhiro Suzuki > > --- > > I think it can be 2 patches ? > 1. move function from simple-card to simple-card

Re: [alsa-devel] [PATCH] ASoC: audio-graph-card: add hp and mic detect gpios same as simple-card

2018-06-10 Thread Katsuhiro Suzuki
to avoid the duplicating code. Signed-off-by: Katsuhiro Suzuki --- I think it can be 2 patches ? 1. move function from simple-card to simple-card-utils 2. use it from audio-graph-card OK, I'll split this patch. +static int asoc_graph_soc_card_probe(struct snd_soc_card *card

[PATCH] ASoC: audio-graph-card: add hp and mic detect gpios same as simple-card

2018-06-08 Thread Katsuhiro Suzuki
This patch adds headphone and microphone jack detection gpios as same as simple-card driver. This feature move into simple-card-utils from simple-card to avoid the duplicating code. Signed-off-by: Katsuhiro Suzuki --- include/sound/simple_card_utils.h | 15 +++ sound/soc/generic/audio

[PATCH v2 1/3] ASoC: simple-card-utils: move hp and mic detect gpios from simple-card

2018-06-10 Thread Katsuhiro Suzuki
This patch moves headphone and microphone jack detection gpios from simple-card driver. It is preparing for using this feature from other drivers. Signed-off-by: Katsuhiro Suzuki --- Changes from v1: - Move changes of audio-graph-card to other patch --- include/sound/simple_card_utils.h

[PATCH v2 3/3] ASoC: audio-graph-card: add hp and mic detect gpios same as simple-card

2018-06-10 Thread Katsuhiro Suzuki
This patch adds headphone and microphone jack detection gpios as same as simple-card driver. Signed-off-by: Katsuhiro Suzuki --- Changes from v1: - Move changes of audio-graph-card to other patch --- sound/soc/generic/audio-graph-card.c | 20 +++- 1 file changed, 19

[PATCH v2 2/3] ASoC: simple-card: move hp and mic detection to soc_card probe

2018-06-10 Thread Katsuhiro Suzuki
This patch moves headphone and microphone detection to probe() of snd_soc_card from init() of snd_soc_dai_link. This is because init() is called (and an input device /dev/input/eventX is created too) twice or above if simple card has two or more DAI links. Signed-off-by: Katsuhiro Suzuki

Re: [PATCH v2 2/3] ASoC: simple-card: move hp and mic detection to soc_card probe

2018-06-10 Thread Katsuhiro Suzuki
ause init() > > is called (and an input device /dev/input/eventX is created too) > > twice or above if simple card has two or more DAI links. > > > > Signed-off-by: Katsuhiro Suzuki > > or above ? > It seems if simple card has multiple DAI links, it creates multi

[PATCH v3 1/3] ASoC: simple-card-utils: move hp and mic detect gpios from simple-card

2018-06-11 Thread Katsuhiro Suzuki
This patch moves headphone and microphone jack detection gpios from simple-card driver. It is preparing for using this feature from other drivers. Signed-off-by: Katsuhiro Suzuki --- Changes from v2: - Nothing Changes from v1: - Move changes of audio-graph-card to other patch --- include

[PATCH v3 3/3] ASoC: audio-graph-card: add hp and mic detect gpios same as simple-card

2018-06-11 Thread Katsuhiro Suzuki
This patch adds headphone and microphone jack detection gpios as same as simple-card driver. Signed-off-by: Katsuhiro Suzuki --- Changes from v2: - Nothing Changes from v1: - Move changes of audio-graph-card to other patch --- sound/soc/generic/audio-graph-card.c | 20

[PATCH v3 2/3] ASoC: simple-card: move hp and mic detection to soc_card probe

2018-06-11 Thread Katsuhiro Suzuki
This patch moves headphone and microphone detection to probe() of snd_soc_card from init() of snd_soc_dai_link. This is because init() is called (and an input device /dev/input/eventX is created too) twice or above if simple card has two or more DAI links. Signed-off-by: Katsuhiro Suzuki

[RESEND PATCH] media: helene: fix tuning frequency of satellite

2018-05-28 Thread Katsuhiro Suzuki
This patch fixes tuning frequency of satellite to kHz. That as same as terrestrial one. Signed-off-by: Katsuhiro Suzuki --- drivers/media/dvb-frontends/helene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/helene.c b/drivers/media/dvb

[RESEND PATCH] media: helene: fix xtal frequency setting at power on

2018-05-28 Thread Katsuhiro Suzuki
This patch fixes crystal frequency setting when power on this device. Signed-off-by: Katsuhiro Suzuki Acked-by: Abylay Ospan --- Changes from before: - Add Abylay's Ack --- drivers/media/dvb-frontends/helene.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers

[RESEND PATCH v2] media: dvb-frontends: add Socionext SC1501A ISDB-S/T demodulator driver

2018-05-28 Thread Katsuhiro Suzuki
This patch adds a frontend driver for the Socionext SC1501A series and Socionext MN88443x ISDB-S/T demodulators. Signed-off-by: Katsuhiro Suzuki --- Changes since v1: - Fix sparse warning about type of constant - Use div_s64() instead of divide operator --- drivers/media/dvb-frontends

Re: [PATCH 1/2] arm64: dts: uniphier: add headphone detect gpio for LD20 global board

2018-06-24 Thread Katsuhiro Suzuki
] arm64: dts: uniphier: add headphone detect gpio for > LD20 > global board > > 2018-06-19 13:11 GMT+09:00 Katsuhiro Suzuki : > > This patch adds GPIO for headphone detection on LD20 global board. > > > > Signed-off-by: Katsuhiro Suzuki > > --- > > arc

[PATCH v2 1/2] arm64: dts: uniphier: add headphone detect gpio for LD20 global board

2018-06-24 Thread Katsuhiro Suzuki
This patch adds GPIO for headphone detection on LD20 global board. Signed-off-by: Katsuhiro Suzuki --- arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts b/arch/arm64/boot/dts

[PATCH v2 2/2] arm64: dts: uniphier: add headphone detect gpio for LD11 global board

2018-06-24 Thread Katsuhiro Suzuki
This patch adds GPIO for headphone detection on LD11 global board. Signed-off-by: Katsuhiro Suzuki --- arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts b/arch/arm64/boot/dts

[PATCH] ASoC: add hp-det-gpio and mic-det-gpio to audio graph card binding

2018-06-19 Thread Katsuhiro Suzuki
Add headphone and microphone detection GPIO support to audio graph card same as supported in simple card. Signed-off-by: Katsuhiro Suzuki --- Documentation/devicetree/bindings/sound/audio-graph-card.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH] ASoC: uniphier: remove redundant check of PLL ID

2018-06-20 Thread Katsuhiro Suzuki
This patch removes redudant check of PLL ID. struct uniphier_aio_pll enable member has already been checked at is_valid_pll(). Signed-off-by: Katsuhiro Suzuki --- sound/soc/uniphier/aio-cpu.c | 4 1 file changed, 4 deletions(-) diff --git a/sound/soc/uniphier/aio-cpu.c b/sound/soc

[PATCH v2] ASoC: uniphier: remove redundant check of PLL ID

2018-06-20 Thread Katsuhiro Suzuki
This patch removes redudant check of PLL ID. struct uniphier_aio_pll enable member has already been checked at is_valid_pll(). Signed-off-by: Katsuhiro Suzuki --- Changes from v1: - Remove unused variable 'dev' --- sound/soc/uniphier/aio-cpu.c | 5 - 1 file changed, 5 deletions

Re: [PATCH] ASoC: uniphier: remove redundant check of PLL ID

2018-06-20 Thread Katsuhiro Suzuki
Hello, I got mistake (forget to remove unused variable). I'll send v2. Sorry for confusing. Regards, -- Katsuhiro Suzuki > -Original Message- > From: Katsuhiro Suzuki > Sent: Thursday, June 21, 2018 11:44 AM > To: Mark Brown ; alsa-de...@alsa-project.org > Cc: Masami Hi

[PATCH] ASoC: uniphier: remove boilerplate from lisence comment

2018-04-26 Thread Katsuhiro Suzuki
This patch removes boilerplate of GPLv2, use only SPDX identifier as same as other recently ASoC DAI drivers. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- sound/soc/uniphier/aio-compress.c | 13 - sound/soc/uniphier/aio-core.c | 13 - sou

[PATCH v2 2/2] pinctrl: uniphier: add LD11 MPEG2-TS I/O pin-mux settings

2018-04-26 Thread Katsuhiro Suzuki
interface uses following pins: hscin0_p : HS0BCLKIN, HS0SYNCIN, HS0VALIN, HS0DIN[0-7] hscin1_p : HS1BCLKIN, HS1SYNCIN, HS1VALIN, HS1DIN[0-7] hscout0_p: HS0BCLKOUT, HS0SYNCOUT, HS0VALOUT, HS0DOUT[0-7] Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- Changes in v2:

[PATCH v2 1/2] pinctrl: uniphier: add LD20 MPEG2-TS I/O pin-mux settings

2018-04-26 Thread Katsuhiro Suzuki
] And the parallel TS interface uses following pins: hscin0_p : HS0BCLKIN, HS0SYNCIN, HS0VALIN, HS0DIN[0-7] hscin1_p : HS1BCLKIN, HS1SYNCIN, HS1VALIN, HS1DIN[0-7] hscout0_p: HS0BCLKOUT, HS0SYNCOUT, HS0VALOUT, HS0DOUT[0-7] Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.

[PATCH 2/2] pinctrl: uniphier: add LD11 MPEG2-TS I/O pin-mux settings

2018-04-26 Thread Katsuhiro Suzuki
interface uses following pins: hscin0_p : HS0BCLKIN, HS0SYNCIN, HS0VALIN, HS0DIN[0-7] hscin1_p : HS1BCLKIN, HS1SYNCIN, HS1VALIN, HS1DIN[0-7] hscout0_p: HS0BCLKOUT, HS0SYNCOUT, HS0VALOUT, HS0DOUT[0-7] Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- .../pinctrl/un

[PATCH] clk: uniphier: add LD11/LD20 stream demux system clock

2018-04-26 Thread Katsuhiro Suzuki
Add clock for MPEG2 transport stream I/O and demux system (HSC) on UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- drivers/clk/uniphier/clk-uniphier-sys.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/clk/uniphier/clk-un

[PATCH 1/2] pinctrl: uniphier: add LD20 MPEG2-TS I/O pin-mux settings

2018-04-26 Thread Katsuhiro Suzuki
] And the parallel TS interface uses following pins: hscin0_p : HS0BCLKIN, HS0SYNCIN, HS0VALIN, HS0DIN[0-7] hscin1_p : HS1BCLKIN, HS1SYNCIN, HS1VALIN, HS1DIN[0-7] hscout0_p: HS0BCLKOUT, HS0SYNCOUT, HS0VALOUT, HS0DOUT[0-7] Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.

[PATCH] reset: uniphier: add LD11/LD20 stream demux system reset control

2018-04-26 Thread Katsuhiro Suzuki
Add reset lines for MPEG2 transport stream I/O and demux system (HSC) on UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- drivers/reset/reset-uniphier.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/reset/reset-uniphier.c b/d

[PATCH v2 4/9] ASoC: uniphier: add support for UniPhier AIO CPU DAI driver

2018-01-19 Thread Katsuhiro Suzuki
This patch adds CPU DAI driver for UniPhier AIO audio sound system. This module provides PCM devices for all input/output port of AIO such as I2S, S/PDIF. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- Changes in v2: - Change license comment style to C++ from C

[PATCH v2 3/9] ASoC: uniphier: add support for UniPhier AIO DMA driver

2018-01-19 Thread Katsuhiro Suzuki
This patch adds supports for UniPhier AIO DMA. This module shared register area with all sound devices for I2S, S/PDIF and so on. Since the AIO has mixed register map for those I/Os, it is hard to split register areas for each sound devices. Signed-off-by: Katsuhiro Suzuki <suzuki.kat

[PATCH v2 8/9] arm64: dts: uniphier: add speaker out for UniPhier LD11/LD20 boards

2018-01-19 Thread Katsuhiro Suzuki
This patch adds codec node for TI TAS571x on UniPhier LD11/20 global boards. And adds settings of AIO for speaker out. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- .../boot/dts/socionext/uniphier-ld11-global.dts | 20 .../boot/dts/soc

[PATCH v2 7/9] arm64: dts: uniphier: add sound node for UniPhier

2018-01-19 Thread Katsuhiro Suzuki
This patch adds audio controller, codec and simple card node of UniPhier AIO sound system for LD11/20 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- .../boot/dts/socionext/uniphier-ld11-global.dts| 72 ++ arch/arm64/boot/dts/socionext/un

[PATCH v2 9/9] arm64: dts: uniphier: add compress audio out for UniPhier LD11/LD20

2018-01-19 Thread Katsuhiro Suzuki
This patch adds compress audio node for S/PDIF on UniPhier LD11/20 global boards. And adds settings of AIO for it. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- .../boot/dts/socionext/uniphier-ld11-global.dts| 30 +- .../boot/dts/socionext/un

[PATCH v2 5/9] ASoC: uniphier: add support for UniPhier AIO compress audio

2018-01-19 Thread Katsuhiro Suzuki
This patch adds support of UniPhier AIO compress audio. For passing through compress audio to S/PDIF. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- sound/soc/uniphier/Kconfig| 1 + sound/soc/uniphier/Makefile | 2 +- sound/soc/uniphier/aio-comp

[PATCH v2 2/9] ASoC: uniphier: add support for UniPhier AIO common driver

2018-01-19 Thread Katsuhiro Suzuki
register areas for each sound devices. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- Changes in v2: - Change license comment style to C++ from C - Split DMA, DAI patches from large one - Fix bad name 'srcport' to 'src' - Add members to struct uniphier_aio_sub a

[PATCH v2 6/9] ASoC: uniphier: add support for UniPhier LD11/LD20 AIO driver

2018-01-19 Thread Katsuhiro Suzuki
This patch adds support for UniPhier AIO sound driver which is included in UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- Changes in v2: - Change license comment style to C++ from C - Expose clocking to userspace - Add settings for co

[PATCH v2 0/9] add UniPhier audio system support

2018-01-19 Thread Katsuhiro Suzuki
parameters in hw_params() - Add error checks - Fix typo in error messages - Change license comment style to C++ from C Katsuhiro Suzuki (9): ASoC: uniphier: add DT bindings documentation for UniPhier AIO ASoC: uniphier: add support for UniPhier AIO common driver ASoC: uniphier: add support

[PATCH v2 1/9] ASoC: uniphier: add DT bindings documentation for UniPhier AIO

2018-01-19 Thread Katsuhiro Suzuki
This patch adds DT binding documentation for UniPhier AIO audio subsystem. Acked-by: Rob Herring <r...@kernel.org> Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- .../devicetree/bindings/sound/uniphier,aio.txt | 36 ++ 1 file changed, 3

[PATCH v3 2/3] arm64: dts: uniphier: add speaker out for UniPhier LD11/LD20 boards

2018-02-13 Thread Katsuhiro Suzuki
This patch adds codec node for TI TAS571x on UniPhier LD11/20 global boards. And adds settings of AIO for speaker out. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- Changes in v3: - Use phandle of endpoint directly instead of port node --- .../boot/dts/soc

[PATCH v3 0/3] add UniPhier audio nodes

2018-02-13 Thread Katsuhiro Suzuki
This series adds device-tree nodes for Socionext audio system for UniPhier LD11/LD20 SoCs. This one enables I2S output for Line-In, Line-Out, S/PDIF output and compress audio output. Katsuhiro Suzuki (3): arm64: dts: uniphier: add sound node for UniPhier arm64: dts: uniphier: add speaker out

[PATCH v3 1/3] arm64: dts: uniphier: add sound node for UniPhier

2018-02-13 Thread Katsuhiro Suzuki
This patch adds audio controller, codec and simple card node of UniPhier AIO sound system for LD11/20 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- Changes in v3: - Move sound and spdif-out nodes to root from soc node - Use phandle of endpoint directly i

[PATCH v3 3/3] arm64: dts: uniphier: add compress audio out for UniPhier LD11/LD20

2018-02-13 Thread Katsuhiro Suzuki
This patch adds compress audio node for S/PDIF on UniPhier LD11/20 global boards. And adds settings of AIO for it. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- Changes in v3: - Move comp-spdif-out node to root from soc node - Use phandle of endpoint directly i

[RESEND PATCH v2 5/9] ASoC: uniphier: add support for UniPhier AIO compress audio

2018-02-07 Thread Katsuhiro Suzuki
This patch adds support of UniPhier AIO compress audio. For passing through compress audio to S/PDIF. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- sound/soc/uniphier/Kconfig| 1 + sound/soc/uniphier/Makefile | 2 +- sound/soc/uniphier/aio-comp

[RESEND PATCH v2 6/9] ASoC: uniphier: add support for UniPhier LD11/LD20 AIO driver

2018-02-07 Thread Katsuhiro Suzuki
This patch adds support for UniPhier AIO sound driver which is included in UniPhier LD11/LD20 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- Changes in v2: - Change license comment style to C++ from C - Expose clocking to userspace - Add settings for co

[RESEND PATCH v2 9/9] arm64: dts: uniphier: add compress audio out for UniPhier LD11/LD20

2018-02-07 Thread Katsuhiro Suzuki
This patch adds compress audio node for S/PDIF on UniPhier LD11/20 global boards. And adds settings of AIO for it. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- .../boot/dts/socionext/uniphier-ld11-global.dts| 30 +- .../boot/dts/socionext/un

[RESEND PATCH v2 8/9] arm64: dts: uniphier: add speaker out for UniPhier LD11/LD20 boards

2018-02-07 Thread Katsuhiro Suzuki
This patch adds codec node for TI TAS571x on UniPhier LD11/20 global boards. And adds settings of AIO for speaker out. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- .../boot/dts/socionext/uniphier-ld11-global.dts | 20 .../boot/dts/soc

[RESEND PATCH v2 7/9] arm64: dts: uniphier: add sound node for UniPhier

2018-02-07 Thread Katsuhiro Suzuki
This patch adds audio controller, codec and simple card node of UniPhier AIO sound system for LD11/20 SoCs. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- .../boot/dts/socionext/uniphier-ld11-global.dts| 72 ++ arch/arm64/boot/dts/socionext/un

[RESEND PATCH v2 3/9] ASoC: uniphier: add support for UniPhier AIO DMA driver

2018-02-07 Thread Katsuhiro Suzuki
This patch adds supports for UniPhier AIO DMA. This module shared register area with all sound devices for I2S, S/PDIF and so on. Since the AIO has mixed register map for those I/Os, it is hard to split register areas for each sound devices. Signed-off-by: Katsuhiro Suzuki <suzuki.kat

[RESEND PATCH v2 1/9] ASoC: uniphier: add DT bindings documentation for UniPhier AIO

2018-02-07 Thread Katsuhiro Suzuki
This patch adds DT binding documentation for UniPhier AIO audio subsystem. Acked-by: Rob Herring <r...@kernel.org> Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- .../devicetree/bindings/sound/uniphier,aio.txt | 36 ++ 1 file changed, 3

[RESEND PATCH v2 0/9] add UniPhier audio system support

2018-02-07 Thread Katsuhiro Suzuki
to userspace - Fix bad name 'srcport' to 'src' - Split DMA, DAI patches from large one - Validate parameters in hw_params() - Add error checks - Fix typo in error messages - Change license comment style to C++ from C Katsuhiro Suzuki (9): ASoC: uniphier: add DT bindings documentation

[RESEND PATCH v2 2/9] ASoC: uniphier: add support for UniPhier AIO common driver

2018-02-07 Thread Katsuhiro Suzuki
register areas for each sound devices. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- Changes in v2: - Change license comment style to C++ from C - Split DMA, DAI patches from large one - Fix bad name 'srcport' to 'src' - Add members to struct uniphier_aio_sub a

[RESEND PATCH v2 4/9] ASoC: uniphier: add support for UniPhier AIO CPU DAI driver

2018-02-07 Thread Katsuhiro Suzuki
This patch adds CPU DAI driver for UniPhier AIO audio sound system. This module provides PCM devices for all input/output port of AIO such as I2S, S/PDIF. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- Changes in v2: - Change license comment style to C++ from C

[PATCH 1/2] ASoC: add DT bindings documentation for ROHM BD28623 codec

2018-02-20 Thread Katsuhiro Suzuki
This patch adds DT bindings documentation for ROHM BD28623MUV class D speaker amplifier. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- .../devicetree/bindings/sound/rohm,bd28623.txt | 26 ++ 1 file changed, 26 insertions(+) create mode

[PATCH 0/2] ASoC: add support for ROHM BD28623 codec

2018-02-20 Thread Katsuhiro Suzuki
This patch adds support for ROHM BD28623MUV class D speaker amplifier codec driver. This driver only refers information of HW specification document that can be derivered at website of ROHM. http://www.rohm.com/web/global/products/-/product/BD28623MUV Katsuhiro Suzuki (2): ASoC: add DT

[PATCH 2/2] ASoC: support ROHM BD28623 codec

2018-02-20 Thread Katsuhiro Suzuki
This patch adds support of the ROHM BD28623MUV Class D speaker amplifier for Flat-panel TVs. This IC delivers an output power of 20W + 20W. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- sound/soc/codecs/Kconfig | 8 ++ sound/soc/codecs/Makefile | 2 + sou

[PATCH] ASoC: uniphier: evea: fix lisence comment style

2018-02-21 Thread Katsuhiro Suzuki
This patch changes lisence comment style from C to C++. And use SPDX instead of boiler plate of GPLv2, as same as other audio codec drivers. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- sound/soc/uniphier/evea.c | 22 -- 1 file changed, 4 inse

[PATCH] ASoC: uniphier: evea: fix typo 'eva' -> 'evea'

2018-02-20 Thread Katsuhiro Suzuki
Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- sound/soc/uniphier/evea.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/uniphier/evea.c b/sound/soc/uniphier/evea.c index cad7e60de21d..ac2d30b55fb6 100644 --- a/sound/soc/uniphier/

[PATCH v2 2/2] ASoC: support ROHM BD28623 codec

2018-02-22 Thread Katsuhiro Suzuki
This patch adds support of the ROHM BD28623MUV Class D speaker amplifier for Flat-panel TVs. This IC delivers an output power of 20W + 20W. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- Changes in v2: - Fix lisence comment style - Use _cansleep() v

[PATCH v2 0/2] ASoC: add support for ROHM BD28623 codec

2018-02-22 Thread Katsuhiro Suzuki
of gpiod_set_value Katsuhiro Suzuki (2): ASoC: add DT bindings documentation for ROHM BD28623 codec ASoC: support ROHM BD28623 codec .../devicetree/bindings/sound/rohm,bd28623.txt | 29 +++ sound/soc/codecs/Kconfig | 8 + sound/soc/codecs/Makefile

[PATCH v2 1/2] ASoC: add DT bindings documentation for ROHM BD28623 codec

2018-02-22 Thread Katsuhiro Suzuki
This patch adds DT bindings documentation for ROHM BD28623MUV class D speaker amplifier. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuh...@socionext.com> --- Changes in v2: - Change gpio properties to optional - Change VCCA, VCCP-supply to mandatory --- .../devicetree/bindings/soun

Re: [PATCH 1/2] ASoC: add DT bindings documentation for ROHM BD28623 codec

2018-02-21 Thread Katsuhiro Suzuki
on for ROHM BD28623 > codec > > On Wed, Feb 21, 2018 at 01:33:10PM +0900, Katsuhiro Suzuki wrote: > > > +Optional properties: > > +- VCCA-supply : regulator phandle for the VCCA supply > > +- VCCP1-supply: regulator phandle for the VCCP1 supply > > +- VCCP2-s

  1   2   3   4   >