[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

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: Masa

[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

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: uniphier: change functions to static

2018-07-26 Thread Katsuhiro Suzuki
This patch changes some functions that are not used by other objects to static. Signed-off-by: Katsuhiro Suzuki --- sound/soc/uniphier/aio-core.c | 6 +++--- sound/soc/uniphier/aio.h | 3 --- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/sound/soc/uniphier/aio-core.c b

[PATCH] ASoC: uniphier: add support for multichannel output

2018-07-26 Thread Katsuhiro Suzuki
This patch adds multichannel PCM output support for LD11/LD20. Currently driver tested and supported only 2ch, 6ch, and 8ch. Signed-off-by: Katsuhiro Suzuki --- sound/soc/uniphier/aio-core.c | 78 --- sound/soc/uniphier/aio-ld11.c | 2 +- sound/soc/uniphier/aio

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

2018-01-19 Thread Katsuhiro Suzuki
rge 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 for UniPhier AIO ASoC: uniphier: add support for UniPhier AIO common driver ASoC: u

[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 Signed-off-by: Katsuhiro Suzuki --- .../devicetree/bindings/sound/uniphier,aio.txt | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree

[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 --- .../boot/dts/socionext/uniphier-ld11-global.dts| 72 ++ arch/arm64/boot/dts/socionext/uniphier-ld11.dtsi | 31

[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 --- .../boot/dts/socionext/uniphier-ld11-global.dts| 30 +- .../boot/dts/socionext/uniphier-ld20-global.dts| 30

[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 --- Changes in v2: - Change license comment style to C++ from C - Add error checks - Fix typo in

[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 --- Changes in v2

[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 --- .../boot/dts/socionext/uniphier-ld11-global.dts | 20 .../boot/dts/socionext/uniphier-ld20-global.dts | 20

[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 --- 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 and add methods

[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 --- Changes in v2: - Change license comment style to C++ from C - Expose clocking to userspace - Add settings for compress audio --- sound/soc/uniphier

[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 --- sound/soc/uniphier/Kconfig| 1 + sound/soc/uniphier/Makefile | 2 +- sound/soc/uniphier/aio-compress.c | 440

Re: [PATCH] arm64: dts: uniphier: add syscon property for UniPhier sound system

2018-03-19 Thread Katsuhiro Suzuki
; > Jassi > Brar ; Linux Kernel Mailing List > > Subject: Re: [PATCH] arm64: dts: uniphier: add syscon property for UniPhier > sound > system > > 2018-03-19 10:21 GMT+09:00 Katsuhiro Suzuki : > > This patch adds syscon property for specifying soc-glue core into > >

Re: [PATCH] ASoC: uniphier: evea: add switch for changing source of line-in

2018-03-19 Thread Katsuhiro Suzuki
ernel@vger.kernel.org > Subject: Re: [PATCH] ASoC: uniphier: evea: add switch for changing source of line-in > > On Mon, Mar 19, 2018 at 01:19:10PM +0900, Katsuhiro Suzuki wrote: > > > > I'll apply for now but this should really be a DAPM control so that we > > >

[PATCH v2 2/2] ARM: dts: uniphier: add syscon property for UniPhier sound system

2018-03-19 Thread Katsuhiro Suzuki
This patch adds syscon property for specifying soc-glue core into device-tree of PXs2 SoC. Currently, soc-glue core is used for changing the state of S/PDIF signal output pin to signal output state or Hi-Z state. Signed-off-by: Katsuhiro Suzuki --- arch/arm/boot/dts/uniphier-pxs2.dtsi | 3

[PATCH v2 1/2] arm64: dts: uniphier: add syscon property for UniPhier sound system

2018-03-19 Thread Katsuhiro Suzuki
This patch adds syscon property for specifying soc-glue core into device-tree of LD11/LD20 SoC. Currently, soc-glue core is used for changing the state of S/PDIF signal output pin to signal output state or Hi-Z state. Signed-off-by: Katsuhiro Suzuki --- arch/arm64/boot/dts/socionext/uniphier

[PATCH] reset: uniphier: add Pro4/Pro5/PXs2 audio systems reset control

2018-03-08 Thread Katsuhiro Suzuki
Add reset lines for audio subsystem (AIO) on UniPhier Pro4/Pro5/PXs2 SoCs. Signed-off-by: Katsuhiro Suzuki --- drivers/reset/reset-uniphier.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/reset/reset-uniphier.c b/drivers/reset/reset-uniphier.c index e8bb023ff15e..0fa23129d343

[PATCH] clk: uniphier: add Pro4/Pro5/PXs2 audio system clock

2018-03-08 Thread Katsuhiro Suzuki
Add clock for audio subsystem (AIO) on UniPhier Pro4/Pro5/PXs2 SoCs. Signed-off-by: Katsuhiro Suzuki --- drivers/clk/uniphier/clk-uniphier-sys.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/clk/uniphier/clk-uniphier-sys.c b/drivers/clk/uniphier/clk-uniphier-sys.c

[PATCH] ASoC: uniphier: add support for UniPhier PXs2 AIO

2018-03-09 Thread Katsuhiro Suzuki
This patch adds support for UniPhier AIO sound driver which is included in UniPhier PXs2 SoCs. Signed-off-by: Katsuhiro Suzuki --- .../devicetree/bindings/sound/uniphier,aio.txt | 1 + sound/soc/uniphier/Kconfig | 11 + sound/soc/uniphier/Makefile

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

2018-03-13 Thread Katsuhiro Suzuki
PORT226, 227, 230 (for AO2D[1-3]) aout3 : 2ch I2S output: AO3BCK, AO3DMIX, AO3DACCK, AO3LRCK aoutiec1: S/PDIF output : PORT132(for AO1IEC) aoutiec2: S/PDIF output : AO2IEC Signed-off-by: Katsuhiro Suzuki --- drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c | 35

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

2018-03-13 Thread Katsuhiro Suzuki
The UniPhier AIO audio system needs I2S data in/out lines and clock signal pins to connect external codec chip. Signed-off-by: Katsuhiro Suzuki --- arch/arm/boot/dts/uniphier-pinctrl.dtsi | 40 + 1 file changed, 40 insertions(+) diff --git a/arch/arm/boot/dts

[PATCH] ARM: dts: uniphier: add sound node for UniPhier PXs2

2018-03-13 Thread Katsuhiro Suzuki
This patch adds audio controller, external codec and simple card node of UniPhier AIO sound system for PXs2 SoCs. Signed-off-by: Katsuhiro Suzuki --- arch/arm/boot/dts/uniphier-pxs2-gentil.dts | 24 + arch/arm/boot/dts/uniphier-pxs2-vodka.dts | 37 arch/arm

[PATCH] pinctrl: uniphier: divide I2S and S/PDIF audio out pin-mux group

2018-03-13 Thread Katsuhiro Suzuki
This patch divides large pin-mux group 'aio' of UniPhier LD11/LD20 to 2 groups as following: aout1 : 8ch I2S output: AO1DACCK, AO1BCK, AO1LRCK, AO1D[0-2] aoutiec1: S/PDIF output : AO1IEC, AO1ARC Signed-off-by: Katsuhiro Suzuki --- drivers/pinctrl/uniphier/pinctrl-uniphier-l

[PATCH] arm64: dts: uniphier: divide I2S and S/PDIF audio out pin-mux group

2018-03-13 Thread Katsuhiro Suzuki
This patch divides large pin-mux group 'aio' of UniPhier LD11/LD20 audio system as following: aout1 : 8ch I2S output: AO1DACCK, AO1BCK, AO1LRCK, AO1D[0-2] aoutiec1: S/PDIF output : AO1IEC, AO1ARC Signed-off-by: Katsuhiro Suzuki --- arch/arm64/boot/dts/socionext/uniphier-ld1

[PATCH] ASoC: uniphier: evea: add switch for changing source of line-in

2018-03-14 Thread Katsuhiro Suzuki
This patch adds mixer switch for changing audio source of line-in. We can choose one of LIN1, 2, 3, default is LIN1. Signed-off-by: Katsuhiro Suzuki --- sound/soc/uniphier/evea.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/sound/soc/uniphier/evea.c b/sound/soc/uniphier

[PATCH] clk: rockchip: add clock ID of ACODEC for rk3328

2018-11-25 Thread Katsuhiro Suzuki
This patch adds clock ID of audio CODEC (ACODEC) for rk3328. Signed-off-by: Katsuhiro Suzuki --- include/dt-bindings/clock/rk3328-cru.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock/rk3328-cru.h b/include/dt-bindings/clock/rk3328-cru.h index 9d5f799469ee

[PATCH] clk: rockchip: add clock gate of ACODEC for rk3328

2018-11-25 Thread Katsuhiro Suzuki
This patch adds small changes into clock gate definition to enable ACODEC for rk3328. Signed-off-by: Katsuhiro Suzuki --- drivers/clk/rockchip/clk-rk3328.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk3328.c b/drivers/clk/rockchip/clk-rk3328.c

Re: [PATCH] clk: rockchip: fix ID of 8ch clock of I2S1 for rk3328

2018-11-19 Thread Katsuhiro Suzuki
Hello, Thank you for applying my patch and sorry for mistake... On 2018年11月19日 22:43, Heiko Stuebner wrote: Am Sonntag, 18. November 2018, 05:18:02 CET schrieb Katsuhiro Suzuki: This patch fixes mistakes in HCLK_I2S1_8CH for running I2S1 successfully. Signed-off-by: Katsuhiro Suzuki

[PATCH] clk: rockchip: fix I2S1 clock gate register for rk3328

2018-11-17 Thread Katsuhiro Suzuki
This patch fixes definition of I2S1 clock gate register for rk3328. Current setting is not related I2S clocks. - bit6 of CRU_CLKGATE_CON0 means clk_ddrmon_en - bit6 of CRU_CLKGATE_CON1 means clk_i2s1_en Signed-off-by: Katsuhiro Suzuki --- drivers/clk/rockchip/clk-rk3328.c | 2 +- 1 file

[PATCH] clk: rockchip: fix ID of 8ch clock of I2S1 for rk3328

2018-11-17 Thread Katsuhiro Suzuki
This patch fixes mistakes in HCLK_I2S1_8CH for running I2S1 successfully. Signed-off-by: Katsuhiro Suzuki --- include/dt-bindings/clock/rk3328-cru.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/rk3328-cru.h b/include/dt-bindings/clock/rk3328

Re: [PATCH v2 0/7] add UniPhier DVB Frontend system support

2018-12-09 Thread Katsuhiro Suzuki
can receive ISDB are not sell and SoC specification is not public. So it's better to drop my UniPhier DVB patches, I think... Best Regards, --- Katsuhiro Suzuki On 2018/12/07 23:17, Mauro Carvalho Chehab wrote: Hi Katsuhiro-san, Em Thu, 30 Aug 2018 10:13:11 +0900 "Katsuhiro Suzuki&

[PATCH] ASoC: rockchip: add missing slave_config setting for I2S

2018-11-10 Thread Katsuhiro Suzuki
This patch adds missing prepare_sleve_config that is needed for setup the DMA slave channel for I2S. Signed-off-by: Katsuhiro Suzuki --- sound/soc/rockchip/rockchip_pcm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/rockchip/rockchip_pcm.c b/sound/soc/rockchip/rockchip_pcm.c

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

2018-07-08 Thread Katsuhiro Suzuki
.@lists.infradead.org; > linux-kernel@vger.kernel.org; Abylay Ospan > Subject: Re: [PATCH v3] media: dvb-frontends: add Socionext SC1501A ISDB-S/T > demodulator driver > > Em Fri, 6 Jul 2018 15:04:08 +0900 > "Katsuhiro Suzuki" escreveu: >

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

2018-06-18 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 2/2] arm64: dts: uniphier: add headphone detect gpio for LD11 global board

2018-06-18 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] arm64: dts: uniphier: fix widget name of headphone for LD11/LD20 boards

2018-06-18 Thread Katsuhiro Suzuki
nserted or removed from headphone jack. Signed-off-by: Katsuhiro Suzuki --- arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts | 2 +- arch/arm64/boot/dts/socionext/uniphier-ld20-global.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/socionex

[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 1/2] ASoC: rockchip: support ACODEC for rk3328

2018-12-20 Thread Katsuhiro Suzuki
-off-by: Katsuhiro Suzuki --- .../bindings/sound/rockchip,rk3328-codec.txt | 23 + sound/soc/codecs/Kconfig | 5 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/rk3328_codec.c | 517 ++ sound/soc/codecs/rk3328_codec.h

[PATCH 2/2] ASoC: rockchip: add workaround for silence of rk3288 ACODEC

2018-12-20 Thread Katsuhiro Suzuki
This patch adds reset and precharge in shutdown of PCM device. ACODEC goes to silence if we change Fs to 44.1kHz from 48kHz. This workaround seems to work but I don't know this workaround is correct sequence or not for ACODEC. Signed-off-by: Katsuhiro Suzuki --- sound/soc/codecs/rk3328_co

[PATCH] clk: rockchip: fix frac settings of GPLL clock for rk3328

2018-12-22 Thread Katsuhiro Suzuki
t seems wrong. If frac has 134218 (it is increased 1 from original value), second term is 64000. All other items have same situation. So this patch adds 1 to frac member in all items of rk3328_pll_frac_rate. Signed-off-by: Katsuhiro Suzuki --- drivers/clk/rockchip/clk-rk3328.c | 12 ++--

[PATCH] arm64: dts: rockchip: add rk3328 ACODEC node

2018-12-23 Thread Katsuhiro Suzuki
This patch adds audio codec (ACODEC) node that converts to analog audio signal from I2S for rk3328. Signed-off-by: Katsuhiro Suzuki --- This patch depends on Rockcihp RK3328 ACODEC driver patches that were applied in ALSA SoC tree. We can see the patches on this thread. https://lkml.org/lkml

[PATCH] arm64: dts: rockchip: enable analog audio node for rock64

2018-12-23 Thread Katsuhiro Suzuki
The Rock64 boards has analog audio jack on it. RK3328 can output analog audio signal using I2S1 and ACODEC core. This patch adds sound node for analog audio for Rock64. Signed-off-by: Katsuhiro Suzuki --- This patch depends on the following ACODEC node patch. If ACODEC patch is not good to you

[PATCH] clk: fractional-divider: check parent rate only for general approximation

2019-01-07 Thread Katsuhiro Suzuki
Custom approximation of fractional-divider may not need parent clock rate checking. For example Rockchip SoCs work fine using grand parent clock rate evne if target rate is greater than parent. This patch removes parent clock rate check from custom approximation. Signed-off-by: Katsuhiro Suzuki

Re: [PATCH] arm64: dts: rockchip: enable analog audio node for rock64

2018-12-24 Thread Katsuhiro Suzuki
Hello Heiko, I understand. Thanks a lot! Best Regards, Katsuhiro Suzuki On 2018/12/24 16:16, Heiko Stuebner wrote: Hi, Am Sonntag, 23. Dezember 2018, 11:10:26 CET schrieb Katsuhiro Suzuki: The Rock64 boards has analog audio jack on it. RK3328 can output analog audio signal using I2S1 and

Re: [PATCH v2] arm64: dts: rockchip: add spdif sound node for rock64

2018-10-05 Thread Katsuhiro Suzuki
Hello, Sorry for late, thank you for your comments. On 2018年10月03日 18:53, Chen-Yu Tsai wrote: Hi, On Mon, Sep 17, 2018 at 8:28 PM Katsuhiro Suzuki wrote: This patch adds sound card node for rock64. Currently we can support S/PDIF only. It seems the lack of codec driver of rk3328 to enable

[PATCH v2] arm64: dts: rockchip: add i2s and spdif endpoints of rk3328

2018-09-17 Thread Katsuhiro Suzuki
This patch adds port and endpoint of i2s and spdif nodes for rk3328. Because to use modern sound card interface such as audio-graph-card. Signed-off-by: Katsuhiro Suzuki --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 24 1 file changed, 24 insertions(+) diff --git a

[PATCH] arm64: dts: rockchip: add spdif sound node for rock64

2018-09-17 Thread Katsuhiro Suzuki
This patch adds sound card node for rock64. Currently we can support S/PDIF only. It seems the lack of codec driver of rk3328 to enable analog audio out. Signed-off-by: Katsuhiro Suzuki --- NOTE: This patch depends on [PATCH v2] arm64: dts: rockchip: add i2s and spdif endpoints of rk3328

Re: [PATCH v2] arm64: dts: rockchip: add i2s and spdif endpoints of rk3328

2018-09-17 Thread Katsuhiro Suzuki
Hello Heiko, On 2018年09月17日 19:47, Heiko Stuebner wrote: Hi, Am Montag, 17. September 2018, 10:55:55 CEST schrieb Katsuhiro Suzuki: This patch adds port and endpoint of i2s and spdif nodes for rk3328. Because to use modern sound card interface such as audio-graph-card. Signed-off-by

[PATCH v2] arm64: dts: rockchip: add spdif sound node for rock64

2018-09-17 Thread Katsuhiro Suzuki
This patch adds sound card node for rock64. Currently we can support S/PDIF only. It seems the lack of codec driver of rk3328 to enable analog audio out. Signed-off-by: Katsuhiro Suzuki --- .../arm64/boot/dts/rockchip/rk3328-rock64.dts | 29 +++ 1 file changed, 29 insertions

[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 --- Changes since v2: - Nothing Changes since v1: - Add documents for dvb_frontend member of helene_config --- drivers/media/dvb-frontends/helene.c | 88

[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 --- 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/helene.c index 04033f0c278b..7d02a9ea7d95

[PATCH] arm64: dts: uniphier: add fixed regulators for audio codec

2018-02-28 Thread Katsuhiro Suzuki
This patch adds regulators that have fixed voltage for audio codec on UniPhier LD11/20 Global boards. This patch fixes warnings about TAS57xx audio codec such as "tas571x 0-001b: 0-001b supply AVDD not found, using dummy regulator". Signed-off-by: Katsuhiro Suzuki --- .../boot/dts

[PATCH] media: dvb_frontend: fix wrong cast in compat_ioctl

2018-04-04 Thread Katsuhiro Suzuki
ty' array. Signed-off-by: Katsuhiro Suzuki --- drivers/media/dvb-core/dvb_frontend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_frontend.c index 21a7d4b47e1a..e33414975065 100644 --- a/drivers/media

[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 --- .../pinctrl/uniphier/pinctrl-uniphier-ld11.c | 49

[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 --- .../pinctrl/uniphier/pinctrl

[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 --- drivers/clk/uniphier/clk-uniphier-sys.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/clk/uniphier/clk-uniphier-sys.c b/drivers/clk/uniphier/clk

[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 --- drivers/reset/reset-uniphier.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/reset/reset-uniphier.c b/drivers/reset/reset-uniphier.c index

[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 --- Changes in v2: - Fix indent - Sort alphabetically

[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 --- Changes in v2: - Fix indent

[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 --- sound/soc/uniphier/aio-compress.c | 13 - sound/soc/uniphier/aio-core.c | 13 - sound/soc/uniphier/aio-cpu.c | 13

[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/dr

[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

[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 --- drivers/media/dvb-frontends/Kconfig | 10 + drivers/media/dvb-frontends/Makefile | 1 + drivers/media/dvb-frontends/sc1501a.c | 802

[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 --- drivers/media/dvb-frontends/helene.c | 88 ++-- drivers/media/dvb-frontends/helene.h | 2 + 2 files changed, 86 insertions(+), 4 deletions(-) diff --git a

[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 Acked-by: Masahiro Yamada --- drivers/clk/uniphier/clk-uniphier-sys.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/clk/uniphier/clk-uniphier-sys.c b

[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 --- Changes since v1: - Fix sparse warning about type of constant - Use div_s64() instead of divide operator --- drivers/media/dvb-frontends

[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 --- Changes since v1: - Add documents for dvb_frontend member of helene_config --- drivers/media/dvb-frontends/helene.c | 88 ++-- drivers/media/dvb

[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 --- drivers/media/dvb-frontends/helene.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/helene.c b/drivers/media/dvb-frontends/helene.c

[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 --- 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

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

2018-05-16 Thread Katsuhiro Suzuki
Tuner module is SONY SUT-PJ series for ISDB-S/ISDB-T (not for DVB). Regards, -- Katsuhiro Suzuki > 2018-05-16 4:41 GMT-04:00 Katsuhiro Suzuki <mailto:suzuki.katsuh...@socionext.com> >: > > > This patch fixes tuning frequency of satellite to kHz. That

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

2018-05-16 Thread Katsuhiro Suzuki
ime ;( > I'm using Socionext SC1501A (or MN88443x) ISDB-S/ISDB-T demodulator with this tuner. This demodulator 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_at

Re: [PATCH v3 2/2] arm64: dts: rockchip: add HDMI sound node for rk3328-rock64

2019-03-02 Thread Katsuhiro Suzuki
Ping... On 2019/02/18 2:34, Katsuhiro Suzuki wrote: This patch adds HDMI sound (I2S0) node for rock64. After apply this patch, UART2 will fail to allocate DMA resources but UART driver can work fine without DMA. This error is related to the DMAC of rk3328 (pl330 or compatible). DMAC connected

Re: [PATCH v3 2/2] arm64: dts: rockchip: add HDMI sound node for rk3328-rock64

2019-03-02 Thread Katsuhiro Suzuki
Hello Jonas, Thanks for your comments. On 2019/03/03 2:20, Jonas Karlman wrote: On 2019-03-02 15:19, Katsuhiro Suzuki wrote: Ping... On 2019/02/18 2:34, Katsuhiro Suzuki wrote: This patch adds HDMI sound (I2S0) node for rock64. After apply this patch, UART2 will fail to allocate DMA

[PATCH] arm64: dts: rockchip: decrease rising edge time of UART2

2019-03-03 Thread Katsuhiro Suzuki
time of RockPro64 UART2 is 40ns, but riging time is over 650ns. So UART receiver will get wrong data, because receiver read intermediate data of rising edge. Rising time becomes 300ns from 650ns if apply this patch. This is not perfect solution but better than now. Signed-off-by: Katsuhiro Suzuki

Re: [PATCH] arm64: dts: rockchip: decrease rising edge time of UART2

2019-03-03 Thread Katsuhiro Suzuki
Hello Heiko, Thank you for comments. On 2019/03/03 22:19, Heiko Stuebner wrote: Hi, Am Sonntag, 3. März 2019, 13:27:05 CET schrieb Katsuhiro Suzuki: This patch increases drive strength of UART2 from 3mA to 12mA for getting more faster rising edge. RockPro64 is using a very high speed rate

[PATCH] dmaengine: pl330: introduce debugfs interface

2019-03-14 Thread Katsuhiro Suzuki
11 3 12 4 14 5 15 6 10 7 -- Signed-off-by: Katsuhiro Suzuki --- drivers/dma/pl330.c | 51 + 1 file changed, 51 insertions(+) diff --git a/drivers/dma/pl330.c b/drivers

[PATCH v2 2/2] arm64: dts: rockchip: add HDMI sound node for rk3328-rock64

2019-02-06 Thread Katsuhiro Suzuki
this patch removes 2 DMA channel allocation for UART2. These released channels can be used for I2S0. Signed-off-by: Katsuhiro Suzuki --- .../arm64/boot/dts/rockchip/rk3328-rock64.dts | 24 ++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockc

[PATCH v2 1/2] arm64: dts: rockchip: add #sound-dai-cells to HDMI of rk3328

2019-02-06 Thread Katsuhiro Suzuki
This patch adds #sound-dai-cells to use HDMI node as audio codec from device tree of rk3328 boards. Signed-off-by: Katsuhiro Suzuki --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts

Re: [PATCH] clk: fractional-divider: check parent rate only for general approximation

2019-01-26 Thread Katsuhiro Suzuki
Ping... On 2019/01/07 22:21, Katsuhiro Suzuki wrote: Custom approximation of fractional-divider may not need parent clock rate checking. For example Rockchip SoCs work fine using grand parent clock rate evne if target rate is greater than parent. This patch removes parent clock rate check from

Re: [PATCH] arm64: dts: rockchip: decrease rising edge time of UART2

2019-03-26 Thread Katsuhiro Suzuki
, Katsuhiro Suzuki wrote: Hello Tony, Robin, On 2019/03/04 5:41, Tony McKahan wrote: On Sun, Mar 3, 2019 at 2:51 PM Robin Murphy wrote: On 2019-03-03 6:45 pm, Tony McKahan wrote: Hello Katsushiro, On Sun, Mar 3, 2019 at 12:31 PM Katsuhiro Suzuki wrote: Hello Tony, On 2019/03/04 0:13, Tony

Re: [PATCH v2] arm64: dts: rockchip: add rk3399 UART DMAs

2019-03-26 Thread Katsuhiro Suzuki
Hello Robin, Sorry for inconvenience. Since I don't adhere enabling DMA for UARTs, please revert my patch if you need. BTW, there are DMA properties in RK3328 device-tree like as this patch. RK3328 UART DMA could not work correctly too...?? Best Regards, Katsuhiro Suzuki On 2019/03/26

[PATCH] arm64: dts: rockchip: fix IO domain voltage setting of APIO5

2019-03-27 Thread Katsuhiro Suzuki
(supplies 1.8V) but I believe P.16 is actual connectings. Signed-off-by: Katsuhiro Suzuki Suggested-by: Robin Murphy --- arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts b

[PATCH] arm64: dts: rockchip: add SPDIF node for rk3399-rockpro64

2020-08-01 Thread Katsuhiro Suzuki
This patch adds 'disabled' SPDIF sound node and related settings for rk3399-rockpro64. There are 2 reasons: - All RK3399 dma-bus channels have been already used by I2S0/1/2 - RockPro64 does not have SPDIF optical nor coaxial connector, just have 3pins Signed-off-by: Katsuh

[PATCH] arm64: dts: rockchip: enable HDMI sound nodes for rk3328-rock64

2020-08-01 Thread Katsuhiro Suzuki
problem. Signed-off-by: Katsuhiro Suzuki --- .../arm64/boot/dts/rockchip/rk3328-rock64.dts | 58 +-- 1 file changed, 26 insertions(+), 32 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts index 86cfb5c50a94..4608f8f

[PATCH v2] arm64: dts: rockchip: enable HDMI sound nodes for rk3328-rock64

2020-08-02 Thread Katsuhiro Suzuki
ded to fix this problem. Signed-off-by: Katsuhiro Suzuki --- .../arm64/boot/dts/rockchip/rk3328-rock64.dts | 56 --- 1 file changed, 24 insertions(+), 32 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts b/arch/arm64/boot/dts/rockchip/rk3328-rock64

Re: [PATCH] arm64: dts: rockchip: add SPDIF node for rk3399-rockpro64

2020-08-10 Thread Katsuhiro Suzuki
Hello Johan, Sorry for late and thanks for your comment! On 2020/08/03 2:52, Johan Jonker wrote: Hi Katsuhiro, On 8/1/20 7:49 PM, Katsuhiro Suzuki wrote: This patch adds 'disabled' SPDIF sound node and related settings for rk3399-rockpro64. There are 2 reasons: - All RK33

[PATCH v2] arm64: dts: rockchip: add SPDIF node for rk3399-rockpro64

2020-08-10 Thread Katsuhiro Suzuki
This patch adds 'disabled' SPDIF sound node and related settings for rk3399-rockpro64. There are 2 reasons: - All RK3399 dma-bus channels have been already used by I2S0/1/2 - RockPro64 does not have SPDIF optical nor coaxial connector, just have 3pins Signed-off-by: Katsuh

[PATCH] arm64: dts: rockchip: more user friendly name of sound nodes

2021-01-10 Thread Katsuhiro Suzuki
This patch changes device name to more user friendly name of Analog and SPDIF sound nodes for rk3399-rockpro64. Signed-off-by: Katsuhiro Suzuki --- arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts

Re: [PATCH v3 2/2] arm64: dts: rockchip: add HDMI sound node for rk3328-rock64

2019-03-17 Thread Katsuhiro Suzuki
Hello Jonas, How about this topic? I think this patch does not have bad effect for multi channel sound of HDMI. If you don't think so, please tell me. I wait your sound patch and after re-check this patch. Best Regards, Katsuhiro Suzuki On 2019/03/03 4:26, Katsuhiro Suzuki wrote: Hello

Re: [PATCH] dmaengine: pl330: introduce debugfs interface

2019-03-17 Thread Katsuhiro Suzuki
Hello Vinod, Thank you for your comment. I fix it all and re-post v2 patch. On 2019/03/16 2:00, Vinod Koul wrote: On 15-03-19, 03:49, Katsuhiro Suzuki wrote: This patch adds debugfs interface to show the relationship between DMA threads (hardware resource for transferring data) and DMA

[PATCH] dmaengine: pl330: introduce debugfs interface

2019-03-17 Thread Katsuhiro Suzuki
11 3 12 4 14 5 15 6 10 7 -- Signed-off-by: Katsuhiro Suzuki --- drivers/dma/pl330.c | 51 + 1 file changed, 51 insertions(+) diff --git a/drivers/dma/pl330.c b/drivers/dma

Re: [PATCH] dmaengine: pl330: introduce debugfs interface

2019-03-17 Thread Katsuhiro Suzuki
Hello, Sorry, I got mistake in title of this patch... Please ignore this patch. Best Regards, Katsuhiro Suzuki On 2019/03/17 19:00, Katsuhiro Suzuki wrote: This patch adds debugfs interface to show the relationship between DMA threads (hardware resource for transferring data) and DMA channel

[PATCH v2] dmaengine: pl330: introduce debugfs interface

2019-03-17 Thread Katsuhiro Suzuki
11 3 12 4 14 5 15 6 10 7 -- Signed-off-by: Katsuhiro Suzuki --- drivers/dma/pl330.c | 51 + 1 file changed, 51 insertions(+) diff --git a/drivers/dma/pl330.c b/drivers/dma

  1   2   3   >