Message ID | 20180212161538.22669-1-s.nawrocki@samsung.com |
---|---|
Headers | show |
Series | ASoC: samsung: Add HDMI sound support for tm2 board | expand |
On Mon, Feb 12, 2018 at 5:15 PM, Sylwester Nawrocki <s.nawrocki@samsung.com> wrote: > In order to support multiple instances of the I2S IP block the platform > device name is prepended to each clock registered by the driver. > The clock-output-names property is now not used, this should not cause > any issues as, for example, CDCLK clock is referenced through DT 'clocks' > property, not by name. > > This change allows to have both I2S0 and I2S1 enabled simultaneously > on exynos5433 and working properly when #clock-cells property is specified > in respective DT nodes. > > Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> > --- > Changes since v1: > - added devm_kasprintf() error handling. > --- > sound/soc/samsung/i2s.c | 28 +++++++++++++++++++--------- > 1 file changed, 19 insertions(+), 9 deletions(-) Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, Feb 12, 2018 at 5:15 PM, Sylwester Nawrocki <s.nawrocki@samsung.com> wrote: > It seems both PCLK_I2S1 and SCLK_I2S1 clocks need to be enabled before > I2S1 control registers can be accessed on exynos5433. If SCLK clock > is disabled an exception is triggered. To fix this parent clock of > the RCLK_SRC clock is assigned to pri_dai->op_clk so required gate > clock is handled by the runtime PM ops. > > Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> > --- > Changes since v1: > - removed stray whitespace change. > --- > sound/soc/samsung/i2s.c | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, Feb 12, 2018 at 5:15 PM, Sylwester Nawrocki <s.nawrocki@samsung.com> wrote: > This patch defines I2S1 - HDMI DAI link and implements related > hw_params callback. The AUD PLL frequency is configured through > the CLK_SCLK_I2S1 leaf clock, the exynos5433 clock tree > definitions are updated in a separate patch. > > The device tree parsing part is changed is a way it supports older > DTBs with just a single CPU DAI specified, without the HDMI link. > > Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> > --- > Changes since v1: > - dropped the AUD PLL frequency adjustments, only 48k, 96k, > 192k sample rates will be supported. > --- > sound/soc/samsung/tm2_wm5110.c | 152 ++++++++++++++++++++++++++++++++++------- > 1 file changed, 129 insertions(+), 23 deletions(-) Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html