[linux-sunxi] [PATCH v6 6/7] dt-bindings: ASoC: sun4i-i2s: Add H6 compatible

2019-10-16 Thread codekipper
linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20191016070740.121435-7-codekipper%40gmail.com.

[linux-sunxi] [PATCH v6 2/7] ASoC: sun4i-i2s: Add functions for RX and TX channel offsets

2019-10-16 Thread codekipper
+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20191016070740.121435-3-codekipper%40gmail.com.

[linux-sunxi] [PATCH v6 3/7] ASoC: sun4i-i2s: Add functions for RX and TX channel enables

2019-10-16 Thread codekipper
t;linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20191016070740.121435-4-codekipper%40gmail.com.

[linux-sunxi] [PATCH v6 7/7] ASoC: sun4i-i2s: Add support for H6 I2S

2019-10-16 Thread codekipper
, sun4i_i2s_match); -- 2.23.0 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20191016070740.121435-8-codekipper%40gmail.com.

[linux-sunxi] [PATCH v6 4/7] ASoC: sun4i-i2s: Add functions for RX and TX channel selects

2019-10-16 Thread codekipper
- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20191016070740.121435-5-codekipper%40gmail.com.

[linux-sunxi] [PATCH v6 5/7] ASoC: sun4i-i2s: Add functions for RX and TX channel mapping

2019-10-16 Thread codekipper
ux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20191016070740.121435-6-codekipper%40gmail.com.

[linux-sunxi] [PATCH v6 1/7] ASoC: sun4i-i2s: Move channel select offset

2019-10-16 Thread codekipper
x-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20191016070740.121435-2-codekipper%40gmail.com.

[linux-sunxi] [PATCH v6 0/7] ASoC: sun4i-i2s: Updates to the driver

2019-10-16 Thread codekipper
to this which I will deliver after support for the H6 has gone in. These other patches are required for HDMI audio which is driving this patchset and they can be found here https://github.com/codekipper/linux-sunxi/commits/upstream-i2s BR, CK --- v6 changes compared to v5 are: - rebased onto the recent tdm

[linux-sunxi] [PATCH v6 3/3] ASoC: sun4i-i2s: Adjust LRCLK width

2019-08-26 Thread codekipper
email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190826180734.15801-4-codekipper%40gmail.com.

[linux-sunxi] [PATCH v6 1/3] ASoC: sun4i-i2s: incorrect regmap for A83T

2019-08-26 Thread codekipper
ux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190826180734.15801-2-codekipper%40gmail.com.

[linux-sunxi] [PATCH v6 2/3] ASoC: sun4i-i2s: Add regmap field to sign extend sample

2019-08-26 Thread codekipper
and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190826180734.15801-3-codekipper%40gmail.com.

[linux-sunxi] [PATCH v6 0/3] ASoC: sun4i-i2s: Updates to the driver

2019-08-26 Thread codekipper
delivered. H6 and multi-channel HDMI will follow shortly. My test branch for this can be found at https://github.com/codekipper/linux-sunxi/commits/upstream-i2s , I've been using a Pine64 to test with; validating the new SoC block with HDMI audio and ensuring that I've not broken the old block by making

[linux-sunxi] [PATCH] ASoC: sun4i-i2s: incorrect regmap for A83t

2019-08-21 Thread codekipper
egroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190821162320.28653-1-codekipper%40gmail.com.

[linux-sunxi] [PATCH v5 03/15] ASoC: sun4i-i2s: Correct divider calculations

2019-08-14 Thread codekipper
ibe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190814060854.26345-4-codekipper%40gmail.com.

[linux-sunxi] [PATCH v5 11/15] ASoC: sun4i-i2s: Add support for H6 I2S

2019-08-14 Thread codekipper
email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190814060854.26345-12-codekipper%40gmail.com.

[linux-sunxi] [PATCH v5 07/15] ASoC: sun4i-i2s: Add functions for RX and TX channel selects

2019-08-14 Thread codekipper
atform_device *pdev) -- 2.22.0 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190814060854.26345-8-codekipper%40gmail.com.

[linux-sunxi] [PATCH v5 05/15] ASoC: sun4i-i2s: Add functions for RX and TX channel offsets

2019-08-14 Thread codekipper
are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190814060854.26345-6-codekipper%40gmail.com.

[linux-sunxi] [PATCH v5 10/15] dt-bindings: ASoC: sun4i-i2s: Add H6 compatible

2019-08-14 Thread codekipper
cribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190814060854.26345-11-codekipper%40gmail.com.

[linux-sunxi] [PATCH v5 14/15] ASoc: sun4i-i2s: Add 20, 24 and 32 bit support

2019-08-14 Thread codekipper
le Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190814060854.26345-15-codekipper%40gmail.com.

[linux-sunxi] [PATCH v5 00/15] ASoC: sun4i-i2s: Updates to the driver

2019-08-14 Thread codekipper
property to override the old way to calculate the frame width. What I've seen in what has already been mainlined is that the i2s driver has a frame width that is fixed to 32 bits and this can be overridden using the tdm property. My test branch for this can be found at https://github.com/codekipper

[linux-sunxi] [PATCH v5 12/15] ASoC: sun4i-i2s: Add multi-lane functionality

2019-08-14 Thread codekipper
subscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190814060854.26345-13-codekipper%40gmail.com.

[linux-sunxi] [PATCH v5 04/15] ASoC: sun4i-i2s: Support more formats on newer SoCs

2019-08-14 Thread codekipper
from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190814060854.26345-5-codekipper%40gmail.com.

[linux-sunxi] [PATCH v5 08/15] ASoC: sun4i-i2s: Add functions for channel mapping

2019-08-14 Thread codekipper
_device *pdev) -- 2.22.0 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190814060854.26345-9-codekipper%40gmail.com.

[linux-sunxi] [PATCH v5 01/15] ASoC: sun4i-i2s: Add regmap field to sign extend sample

2019-08-14 Thread codekipper
bscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190814060854.26345-2-codekipper%40gmail.com.

[linux-sunxi] [PATCH v5 09/15] clk: sunxi-ng: h6: Allow I2S to change parent rate

2019-08-14 Thread codekipper
linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190814060854.26345-10-codekipper%40gmail.com.

[linux-sunxi] [PATCH v5 15/15] ASoC: sun4i-i2s: Adjust regmap settings

2019-08-14 Thread codekipper
oup and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190814060854.26345-16-codekipper%40gmail.com.

[linux-sunxi] [PATCH v5 06/15] ASoC: sun4i-i2s: Add functions for RX and TX channel enables

2019-08-14 Thread codekipper
sion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190814060854.26345-7-codekipper%40gmail.com.

[linux-sunxi] [PATCH v5 13/15] ASoC: sun4i-i2s: Add multichannel functionality

2019-08-14 Thread codekipper
eived this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190814060854.26345-14-codekipper%40gmail.com.

[linux-sunxi] [PATCH v5 02/15] ASoC: sun4i-i2s: Add set_tdm_slot functionality

2019-08-14 Thread codekipper
id/linux-sunxi/20190814060854.26345-3-codekipper%40gmail.com.

[linux-sunxi] [PATCH] ASoC: sun4i-i2s: Incorrect SR and WSS computation

2019-07-29 Thread codekipper
to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190729152130.27955-1-codekipper%40gmail.com.

[linux-sunxi] [PATCH v4 6/9] ASoC: sun4i-i2s: Add multi-lane functionality

2019-06-03 Thread codekipper
d not register DAI\n"); goto err_suspend; -- 2.21.0 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@

[linux-sunxi] [PATCH v4 1/9] ASoC: sun4i-i2s: Fix sun8i tx channel offset mask

2019-06-03 Thread codekipper
ogle.com/d/msgid/linux-sunxi/20190603174735.21002-2-codekipper%40gmail.com. For more options, visit https://groups.google.com/d/optout.

[linux-sunxi] [PATCH v4 3/9] ASoC: sun4i-i2s: Add regmap field to sign extend sample

2019-06-03 Thread codekipper
le.com/d/msgid/linux-sunxi/20190603174735.21002-4-codekipper%40gmail.com. For more options, visit https://groups.google.com/d/optout.

[linux-sunxi] [PATCH v4 9/9] ASoC: sun4i-i2s: Adjust regmap settings

2019-06-03 Thread codekipper
this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190603174735.21002-10-codekipper%40gmail.com. For more options, visit https://groups.google.com/d/optout.

[linux-sunxi] [PATCH v4 8/9] ASoc: sun4i-i2s: Add 20, 24 and 32 bit support

2019-06-03 Thread codekipper
i" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190603174735.21002-9-codekipper%40gmail.com. For more options, visit https://groups.google.com/d/optout.

[linux-sunxi] [PATCH v4 4/9] ASoC: sun4i-i2s: Reduce quirks for sun8i-h3

2019-06-03 Thread codekipper
m it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190603174735.21002-5-codekipper%40gmail.com. For more options, visit https://groups.google.com/d/optout.

[linux-sunxi] [PATCH v4 7/9] ASoC: sun4i-i2s: Add multichannel functionality

2019-06-03 Thread codekipper
fset)); } regmap_field_write(i2s->field_fmt_mode, val); -- 2.21.0 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190603174735.21002-8-codekipper%40gmail.com. For more options, visit https://groups.google.com/d/optout.

[linux-sunxi] [PATCH v4 5/9] ASoC: sun4i-i2s: Add set_tdm_slot functionality

2019-06-03 Thread codekipper
cribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190603174735.21002-6-codekipper%40gmail.com. For more options, visit https://groups.google.com/d/optout.

[linux-sunxi] [PATCH v4 2/9] ASoC: sun4i-i2s: Add offset to RX channel select

2019-06-03 Thread codekipper
ot;linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190603174735.21002-3-codekipper%40gmail.com. For more o

[linux-sunxi] [PATCH v4 0/9]ASoC: sun4i-i2s: Updates to the driver

2019-06-03 Thread codekipper
35.21002-1-codekipper%40gmail.com. For more options, visit https://groups.google.com/d/optout.

[linux-sunxi] [PATCH v7] sun8i: h3: Add support for the Beelink-x2 STB

2019-06-02 Thread codekipper
ONFIG_CONSOLE_MUX=y +# CONFIG_CMD_FLASH is not set +# CONFIG_SPL_DOS_PARTITION is not set +# CONFIG_SPL_EFI_PARTITION is not set +CONFIG_SUN8I_EMAC=y +CONFIG_USB_EHCI_HCD=y +CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y -- 2.21.0 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190602063840.3289-1-codekipper%40gmail.com. For more options, visit https://groups.google.com/d/optout.

[linux-sunxi] [PATCH v6] sun8i: h3: Add support for the Beelink-x2 STB

2019-05-29 Thread codekipper
2 +CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-beelink-x2" +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +CONFIG_SPL_TEXT_BASE=0x60 +CONFIG_CONSOLE_MUX=y +# CONFIG_CMD_FLASH is not set +# CONFIG_SPL_DOS_PARTITION is not set +# CONFIG_SPL_EFI_PARTITION is not set +CONFIG_SUN8I_EMAC=y +CONFIG_USB_EHCI_HCD=y +CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y -- 2.21.0 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190529115458.11140-1-codekipper%40gmail.com. For more options, visit https://groups.google.com/d/optout.

[linux-sunxi] [PATCH v5] sun8i: h3: Add support for the Beelink-x2 STB

2019-05-26 Thread codekipper
M_ODT_EN=y +CONFIG_MMC_SUNXI_SLOT_EXTRA=2 +CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-beelink-x2" +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +CONFIG_SPL_TEXT_BASE=0x60 +CONFIG_CONSOLE_MUX=y +# CONFIG_CMD_FLASH is not set +# CONFIG_SPL_DOS_PARTITION is not set +# CONFIG_SPL_EFI_PARTITION is not set +CONFIG_SUN8I_EMAC=y +CONFIG_USB_EHCI_HCD=y +CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y -- 2.21.0 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190526145711.3622-1-codekipper%40gmail.com. For more options, visit https://groups.google.com/d/optout.

[linux-sunxi] [PATCH v4] sun8i: h3: Add support for the Beelink-x2 STB

2019-05-26 Thread codekipper
+CONFIG_CONSOLE_MUX=y +CONFIG_SPL_I2C_SUPPORT=y +# CONFIG_CMD_FLASH is not set +# CONFIG_SPL_DOS_PARTITION is not set +# CONFIG_SPL_EFI_PARTITION is not set +CONFIG_SUN8I_EMAC=y +CONFIG_SY8106A_POWER=y +CONFIG_USB_EHCI_HCD=y +CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y -- 2.21.0 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20190526062841.18532-1-codekipper%40gmail.com. For more options, visit https://groups.google.com/d/optout.

[linux-sunxi] [PATCH v3 5/9] ASoC: sun4i-i2s: Correct divider calculations

2018-12-21 Thread codekipper
From: Marcus Cooper The clock division circuitry is different on the H3 and later SoCs. The division of bclk is now based on pll2. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 82 + 1 file changed, 56 insertions(+), 26 deletions(-) diff

[linux-sunxi] [PATCH v3 7/9] ASoC: sun4i-i2s: Do not divide clocks when slave

2018-12-21 Thread codekipper
From: Marcus Cooper There is no need to set the clock and calculate the division of the audio pll for the bclk and sync signals when they are not required. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 144 +++- 1 file changed, 77

[linux-sunxi] [PATCH v3 2/9] ASoC: sun4i-i2s: Add regmap field to sign extend sample

2018-12-21 Thread codekipper
From: Marcus Cooper On the newer SoCs this is set by default to transfer a 0 after each sample in each slot. Add the regmap field to configure this and set it so that it pads the sample with 0s. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 15 +++ 1 file changed,

[linux-sunxi] [PATCH v3 3/9] ASoc: sun4i-i2s: Add 20, 24 and 32 bit support

2018-12-21 Thread codekipper
From: Marcus Cooper Extend the functionality of the driver to include support of 20 and 24 bits per sample for the earlier SoCs. Newer SoCs can also handle 32bit samples. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 41 ++--- 1 file changed,

[linux-sunxi] [PATCH v3 4/9] ASoC: sun4i-i2s: Fix offset mask

2018-12-21 Thread codekipper
From: Marcus Cooper Also add offset to RX channel select Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sound/soc/sunxi/sun4i-i2s.c b/sound/soc/sunxi/sun4i-i2s.c index adb988ae9ac5..93a484d7e228 100644 ---

[linux-sunxi] [PATCH v3 6/9] ASoC: sun4i-i2s: Add multi-lane functionality

2018-12-21 Thread codekipper
From: Marcus Cooper The i2s block supports multi-lane i2s output however this functionality is only possible in earlier SoCs where the pins are exposed and for the i2s block used for HDMI audio on the later SoCs. To enable this functionality, an optional property has been added to the bindings.

[linux-sunxi] [PATCH v3 8/9] ASoC: sun4i-i2s: Add set_tdm_slot functionality

2018-12-21 Thread codekipper
From: Marcus Cooper Some codecs require a different amount of a bit clocks per frame than what is calculated by the sample width. Use the tdm slot bindings to provide this mechanism. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 22 -- 1 file changed, 20

[linux-sunxi] [PATCH v3 9/9] ASoC: sun4i-i2s: Add multichannel functionality

2018-12-21 Thread codekipper
From: Marcus Cooper The i2s block can be used to pass PCM data over multiple channels and is sometimes used for the audio side of an HDMI connection. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 121 +++- 1 file changed, 64 insertions(+), 57

[linux-sunxi] [PATCH v3 1/9] ASoC: sun4i-i2s: Adjust regmap settings

2018-12-21 Thread codekipper
From: Marcus Cooper Bypass the regmap cache when flushing the i2s FIFOs and modify the tables to reflect this. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 29 + 1 file changed, 9 insertions(+), 20 deletions(-) diff --git

[linux-sunxi] [PATCH v3 0/9] ASoC: sun4i-i2s: Updates to the driver

2018-12-21 Thread codekipper
From: Marcus Cooper Hi All, here is a patch series to add some improvements to the sun4i-i2s driver found whilst getting slave clocking and hdmi audio working on the newer SoCs. Since the last push there has been some activity getting surround sound working and this is included. The

[linux-sunxi] [PATCH v3] sun8i: h3: Add support for the Beelink-x2 STB

2018-11-15 Thread codekipper
From: Marcus Cooper The Beelink X2 is an STB based on the Allwinner H3 SoC with a uSD slot, 2 USB ports( 1 * USB-2 Host, 1 USB OTG), a 10/100M ethernet port using the SoC's integrated PHY, Wifi via an sdio wifi chip, HDMI, an IR receiver, a dual colour LED and an optical S/PDIF connector.

[linux-sunxi] [PATCH v2] sun8i: h3: Add support for the Beelink-x2 STB

2018-11-15 Thread codekipper
From: Marcus Cooper The Beelink X2 is an STB based on the Allwinner H3 SoC with a uSD slot, 2 USB ports( 1 * USB-2 Host, 1 USB OTG), a 10/100M ethernet port using the SoC's integrated PHY, Wifi via an sdio wifi chip, HDMI, an IR receiver, a dual colour LED and an optical S/PDIF connector.

[linux-sunxi] [PATCH v2 6/6] ASoC: sun4i-i2s: Add support for loopback

2018-03-12 Thread codekipper
From: Marcus Cooper The DAI has a loopback register which can be set and therefore routes the transmit fifo to receive fifo. This is useful for testing the block without the need for any external hardware. Signed-off-by: Marcus Cooper ---

[linux-sunxi] [PATCH v2 5/6] ASoc: sun4i-i2s: Add 20, 24 and 32 bit support

2018-03-12 Thread codekipper
From: Marcus Cooper Extend the functionality of the driver to include support of 20 and 24 bits per sample for the earlier SoCs. Newer SoCs can also handle 32bit samples. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 34

[linux-sunxi] [PATCH v2 3/6] ASoC: sun4i-i2s: Correct divider calculations

2018-03-12 Thread codekipper
From: Marcus Cooper The clock division circuitry is different on the H3 and later SoCs. The division of bclk is now based on pll2. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 76 +++-- 1

[linux-sunxi] [PATCH v2 2/6] ASoC: sun4i-i2s: Add regmap field to sign extend sample

2018-03-12 Thread codekipper
From: Marcus Cooper On the newer SoCs (H3, H5, A64 etc) this is set by default to transfer a 0 after each sample in each slot whereas on the earlier SoCs (A20, A31 etc) the default sign extension is to pad the LSB. Add the regmap field to configure this and set it so that

[linux-sunxi] [PATCH v2 0/6] ASoC: sun4i-i2s: Updates to the driver

2018-03-12 Thread codekipper
y from using tdm to set the slot width and now use a dedicated property. This has been tested on a Pine64 using the ES9023 audio POT board (https://github.com/codekipper/linux-sunxi/commits/upstream) and HDMI audio (https://github.com/codekipper/linux-sunxi/commits/sunxi-wip-a64) BR, CK --- v2 c

[linux-sunxi] [PATCH v2 1/6] ASoC: sun4i-i2s: Add slot width override

2018-03-12 Thread codekipper
From: Marcus Cooper Some codecs require a different amount of a bit clocks per frame than what is calculated by using the sample width. Use a slot width override property to provide this mechanism. Signed-off-by: Marcus Cooper ---

[linux-sunxi] [PATCH v2 4/6] ASoC: sun4i-i2s: Add multi-lane functionality

2018-03-12 Thread codekipper
From: Marcus Cooper The i2s block supports multi-lane i2s output however this functionality is only possible in earlier SoCs where the pins are exposed and for the i2s block used for HDMI audio on the later SoCs. To enable this functionality, an optional property has been

[linux-sunxi][PATCH v2] ARM: sun6i: a31: Enable HDMI support on the Mele I7

2018-02-01 Thread codekipper
From: Marcus Cooper The Mele I7 has an HDMI connector wired to the HDMI pins on the SoC. Enable the display pipeline and HDMI output. Signed-off-by: Marcus Cooper --- v2 changes compared to v1 are: - Reordered nodes. ---

[linux-sunxi][PATCH v2] ARM: dts: sun7i: Enable HDMI support on the Olimex EVB

2018-02-01 Thread codekipper
From: Marcus Cooper Enable the display pipeline and HDMI output on the Olimex A20-SOM-EVB. Signed-off-by: Marcus Cooper --- v2 changes compared to v1 are: - corrected indentation. --- arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts | 25

[linux-sunxi][PATCH] ARM: sun6i: a31: Enable HDMI support on the Mele I7

2018-01-30 Thread codekipper
From: Marcus Cooper The Mele I7 has an HDMI connector wired to the HDMI pins on the SoC. Enable the display pipeline and HDMI output. Signed-off-by: Marcus Cooper --- arch/arm/boot/dts/sun6i-a31-i7.dts | 29 + 1 file

[linux-sunxi][PATCH] ARM: dts: sun4i: Enable HDMI support on the MK802

2018-01-30 Thread codekipper
From: Marcus Cooper Enable the display pipeline and HDMI output. Signed-off-by: Marcus Cooper --- arch/arm/boot/dts/sun4i-a10-mk802.dts | 25 + 1 file changed, 25 insertions(+) diff --git

[linux-sunxi][PATCH] ARM: dts: sun7i: Enable HDMI support on the Olimex EVB

2018-01-29 Thread codekipper
From: Marcus Cooper Enable the display pipeline and HDMI output on the Olimex A20-SOM-EVB. Signed-off-by: Marcus Cooper --- arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts | 25 + 1 file changed, 25 insertions(+) diff --git

[linux-sunxi][PATCH] ARM: dts: sun7i: Enable HDMI support on the MK808C

2018-01-29 Thread codekipper
From: Marcus Cooper Enable the display pipeline and HDMI output Signed-off-by: Marcus Cooper --- arch/arm/boot/dts/sun7i-a20-mk808c.dts | 25 + 1 file changed, 25 insertions(+) diff --git

[linux-sunxi][PATCH] ARM: dts: sunxi: h3/h5: Add DAI node for HDMI

2018-01-29 Thread codekipper
From: Marcus Cooper Add the new DAI block for I2S2 which is used for HDMI audio. Signed-off-by: Marcus Cooper --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git

[linux-sunxi][PATCH v2 3/5] arm64: allwinner: a64: Add SPDIF to the Pine64

2018-01-29 Thread codekipper
From: Marcus Cooper The S/PDIF transmitter can be reached on the Euler connector. But as this is a GPIO then leave it disabled so that an overlay can override the status property. Signed-off-by: Marcus Cooper ---

[linux-sunxi][PATCH v2 0/5] Add tested digital audio blocks to A64

2018-01-29 Thread codekipper
From: Marcus Cooper Hi All, this patch series adds the digital audio blocks to the A64 SoC. No block changes are necessary. BR, CK --- v2 changes compared to v1 are: - Added SoC specific compatiables - moved spdif default pins to dtsi - Added i2s2 block for HDMI as it

[linux-sunxi][PATCH v2 5/5] arm64: allwinner: a64: Add DAI node for HDMI

2018-01-29 Thread codekipper
From: Marcus Cooper Add the new DAI block for I2S2 which is used for HDMI audio. Signed-off-by: Marcus Cooper --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git

[linux-sunxi][PATCH v2 4/5] arm64: allwinner: a64: Add DAI nodes

2018-01-29 Thread codekipper
From: Marcus Cooper Add the DAI blocks to the device tree. I2S0 and I2S1 are for connecting to an external codec. Signed-off-by: Marcus Cooper --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 28 +++ 1 file changed, 28

[linux-sunxi][PATCH v2 2/5] arm64: allwinner: a64: Add SPDIF to the A64

2018-01-29 Thread codekipper
From: Marcus Cooper Add the device tree sound bindings for the S/PDIF block. Signed-off-by: Marcus Cooper --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git

[linux-sunxi][PATCH v2 1/5] arm64: allwinner: a64: Add the SPDIF block and pin

2018-01-29 Thread codekipper
From: Marcus Cooper Add the SPDIF transceiver controller block and pin to the A64 dtsi. Signed-off-by: Marcus Cooper --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git

[linux-sunxi] [PATCH 2/3] ASoC: sun4i-i2s: Do not divide clocks when slave

2018-01-24 Thread codekipper
From: Marcus Cooper There is no need to set the clock and calculate the division of the audio pll for the bclk and sync signals when they are not required. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 116

[linux-sunxi] [PATCH 3/3] ASoC: sun4i-i2s: Add regmap field to sign extend sample

2018-01-24 Thread codekipper
From: Marcus Cooper On the newer SoCs this is set by default to transfer a 0 after each sample in each slot. Add the regmap field to configure this and set it so that it pads the sample with 0s. Signed-off-by: Marcus Cooper ---

[linux-sunxi] [PATCH 1/3] ASoC: sun4i-i2s: Add set_tdm_slot functionality

2018-01-24 Thread codekipper
From: Marcus Cooper Some codecs require a different amount of a bit clocks per frame than what is calculated by the sample width. Use the tdm slot bindings to provide this mechanism. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 23

[linux-sunxi][PATCH 2/5] arm64: allwinner: a64: Add SPDIF TX pin to the A64

2018-01-24 Thread codekipper
From: Marcus Cooper Add the SPDIF TX pin to the A64 dtsi. Signed-off-by: Marcus Cooper --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi

[linux-sunxi][PATCH 3/5] arm64: allwinner: a64: Add SPDIF to the A64

2018-01-24 Thread codekipper
From: Marcus Cooper Add the device tree sound bindings for the S/PDIF block. Signed-off-by: Marcus Cooper --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git

[linux-sunxi][PATCH 0/5] Add tested digital audio blocks to A64

2018-01-24 Thread codekipper
From: Marcus Cooper Hi All, this patch series adds the digital audio blocks to the A64 SoC. No block changes are necessary. BR, CK Marcus Cooper (5): arm64: allwinner: a64: Add the SPDIF block arm64: allwinner: a64: Add SPDIF TX pin to the A64 arm64: allwinner:

[linux-sunxi][PATCH 4/5] arm64: allwinner: a64: Add SPDIF to the Pine64

2018-01-24 Thread codekipper
From: Marcus Cooper --- arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts index

[linux-sunxi][PATCH 5/5] arm64: allwinner: a64: Add DAI nodes

2018-01-24 Thread codekipper
From: Marcus Cooper Add the DAI blocks to the device tree. I2S0 and I2S1 are for connecting to an external codec. Signed-off-by: Marcus Cooper --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 26 ++ 1 file changed, 26

[linux-sunxi][PATCH 1/5] arm64: allwinner: a64: Add the SPDIF block

2018-01-24 Thread codekipper
From: Marcus Cooper Add the SPDIF transceiver controller block to the A64 dtsi. Signed-off-by: Marcus Cooper --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git

[linux-sunxi] [PATCH] sunxi: Add support for the Beelink-x2 STB

2018-01-21 Thread codekipper
From: Marcus Cooper The Beelink X2 is an STB based on the Allwinner H3 SoC with a uSD slot, 2 USB ports( 1 * USB-2 Host, 1 USB OTG), a 10/100M ethernet port using the SoC's integrated PHY, Wifi via an sdio wifi chip, HDMI, a dual colour LED, an IR receiver and an optical

[linux-sunxi][PATCH v2] ARM: dts: sunxi: h3/h5 :Add DAI nodes

2017-09-04 Thread codekipper
From: Marcus Cooper Add the new DAI blocks to the device tree. I2S0 and I2S1 are for connecting to an external codec. Signed-off-by: Marcus Cooper --- v2 changes compared to v1 are: - removed i2s2 which is used for HDMI audio ---

[linux-sunxi][PATCH] ARM: dts: sun6i: a31: Add DAI nodes

2017-09-03 Thread codekipper
From: Marcus Cooper Add the new DAI blocks to the device tree. Signed-off-by: Marcus Cooper --- arch/arm/boot/dts/sun6i-a31.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi

[linux-sunxi][PATCH] ARM: dts: sunxi: h3/h5 :Add DAI nodes

2017-09-03 Thread codekipper
From: Marcus Cooper Add the new DAI blocks to the device tree. I2S0 and I2S1 are for connecting to an external codec whereas I2S2 is used for HDMI audio. Signed-off-by: Marcus Cooper --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 39

[linux-sunxi] [PATCH v5 5/8] ASoC: sun4i-i2s: Add regmap field to set DAI format

2017-08-19 Thread codekipper
From: Marcus Cooper On the newer SoCs the bits to configure the operational mode are located in a different register. Add a regmap field so that this location can be configured. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 15

[linux-sunxi] [PATCH v5 4/8] ASoC: sun4i-i2s: Add mclk enable regmap field

2017-08-19 Thread codekipper
From: Marcus Cooper The location of the mclk output enable bit is different on newer SoCs. Use a regmap field to enable it. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 16 ++-- 1 file changed, 14 insertions(+), 2

[linux-sunxi] [PATCH v5 6/8] ASoC: sun4i-i2s: Check for slave select bit

2017-08-19 Thread codekipper
From: Marcus Cooper The newer SoCs do not have this setting. Instead they set the pin direction. Add a check to see if the bit is valid and if so set it accordingly. Signed-off-by: Marcus Cooper Reviewed-by: Chen-Yu Tsai ---

[linux-sunxi] [PATCH v5 3/8] ASoC: sun4i-i2s: bclk and lrclk polarity tidyup

2017-08-19 Thread codekipper
From: Marcus Cooper On newer SoCs the bit fields for the blck and lrclk polarity are in a different locations. Use regmap fields to set the polarity bits as intended. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 45

[linux-sunxi] [PATCH v5 7/8] ASoC: sun4i-i2s: Update global enable with bitmask

2017-08-19 Thread codekipper
From: Marcus Cooper The default value of the config register is different on newer SoCs and therefore enabling/disabling with a register write will clear bits used to set the direction of the clock and frame pins. Signed-off-by: Marcus Cooper

[linux-sunxi] [PATCH v5 2/8] ASoC: sun4i-i2s: Add regfields for word size select and sample resolution

2017-08-19 Thread codekipper
From: Marcus Cooper On newer SoCs the location of the slot width select and sample resolution are different and also there is a bigger range of support. For the current supported rates then an offset is required. Signed-off-by: Marcus Cooper

[linux-sunxi] [PATCH v5 8/8] ASoC: sun4i-i2s: Add support for H3

2017-08-19 Thread codekipper
From: Marcus Cooper The sun8i-h3 introduces a lot of changes to the i2s block such as different register locations, extended clock division and more operational modes. As we have to consider the earlier implementation then these changes need to be isolated. None of the new

[linux-sunxi] [PATCH v5 0/8] ASoC: Add I2S support for Allwinner H3 SoCs

2017-08-19 Thread codekipper
k Pine 64 connected to the audio DAC board To get i2s working some additional patches are required which will be delivered later. For now they have been pushed here https://github.com/codekipper/linux-sunxi/commits/sunxi-audio-h3 I don't own a A33 device which uses the i2s block for the audio co

[linux-sunxi] [PATCH v5 1/8] ASoC: sun4i-i2s: Add regmap fields for channels

2017-08-19 Thread codekipper
From: Marcus Cooper On the original i2s block the channel mapping and selection were configured for stereo audio by default: This is not the case with the newer SoCs and they are also located at different offsets. To support the newer SoC then regmap fields have been added

[linux-sunxi] [PATCH v3 08/11] ASoC: sun4i-i2s: Add regmap field to set DAI format

2017-08-12 Thread codekipper
From: Marcus Cooper On the newer SoCs the bits to configure the operational mode are located in a different register. Add a regmap field so that this location can be configured. Signed-off-by: Marcus Cooper --- sound/soc/sunxi/sun4i-i2s.c | 16

[linux-sunxi] [PATCH v3 05/11] ASoC: sun4i-i2s: Add regfields for word size select and sample resolution

2017-08-12 Thread codekipper
From: Marcus Cooper On newer SoCs the location of the slot width select and sample resolution are different and also there is a bigger range of support. For the current supported rates then an offset is required. Signed-off-by: Marcus Cooper

  1   2   3   >