clk as parent of i2smuxclk;
Codrin Ciubotariu (1):
ARM: dts: at91: sama5d2: add I2S clock muxing nodes
Cyrille Pitchen (2):
ARM: dts: at91: sama5d2: add nodes for I2S controllers
ARM: dts: at91: sama5d2 Xplained: add pin muxing for I2S
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 30 +++
This patch adds two clock muxes for the two I2S
buses present on sama5d2 platforms.
Signed-off-by: Codrin Ciubotariu
---
Changes in v7:
- none
Changes in v6:
- none
arch/arm/boot/dts/sama5d2.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm
From: Cyrille Pitchen
This patch adds DT nodes for I2S0 and I2S1. It also adds an alias for
each I2S node.
Signed-off-by: Cyrille Pitchen
[codrin.ciubota...@microchip.com: removed unnecessary clock phandles]
Signed-off-by: Codrin Ciubotariu
---
Changes in v7:
- none
Changes in v6
From: Cyrille Pitchen
This patch sets the pin muxing for the I2S controllers
Signed-off-by: Cyrille Pitchen
[codrin.ciubota...@microchip.com: added pin muxing for the second
controller]
Signed-off-by: Codrin Ciubotariu
---
Changes in v7:
- added comments with pin conflicts created by
This patchset is based on Florian's initial PROTO driver:
https://lkml.org/lkml/2013/5/22/342
My changes made the driver more generic, so that we could connect other
I2S CPU DAIs, by using device-tree.
Tested with sama5d2 I2S driver.
Codrin Ciubotariu (2):
ASoC: Add driver for PROTO
DT binding documentation for this new ASoC driver.
Signed-off-by: Codrin Ciubotariu
---
.../bindings/sound/mikroe,mikroe-proto.txt| 23 +++
.../devicetree/bindings/vendor-prefixes.txt | 1 +
2 files changed, 24 insertions(+)
create mode 100644
Documentation/devicetree
Add support for the MikroElektronika PROTO audio codec board.
URL to the audio chip:
http://www.mikroe.com/add-on-boards/audio-voice/audio-codec-proto/
Signed-off-by: Florian Meier
Signed-off-by: Codrin Ciubotariu
---
sound/soc/atmel/Kconfig| 7 ++
sound/soc/atmel/Makefile
On 29.08.2018 17:53, Mark Brown wrote:
On Wed, Aug 29, 2018 at 05:47:26PM +0300, Codrin Ciubotariu wrote:
+static const unsigned int wm8731_rates_12288000[] = {
+ 8000, 32000, 48000, 96000,
+};
+
+static struct snd_pcm_hw_constraint_list wm8731_constraints_12288000 = {
+ .list
On 29.08.2018 18:20, Codrin Ciubotariu wrote:
On 29.08.2018 17:53, Mark Brown wrote:
On Wed, Aug 29, 2018 at 05:47:26PM +0300, Codrin Ciubotariu wrote:
+static const unsigned int wm8731_rates_12288000[] = {
+ 8000, 32000, 48000, 96000,
+};
+
+static struct snd_pcm_hw_constraint_list
Add I2S CONFIG_SND_ATMEL_SOC_I2S to sama5_defconfig.
Signed-off-by: Codrin Ciubotariu
---
arch/arm/configs/sama5_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig
index 2080025556b5..b6d73055a854 100644
--- a/arch
Add atmel-i2s driver CONFIG_SND_ATMEL_SOC_I2S.
Signed-off-by: Codrin Ciubotariu
---
arch/arm/configs/multi_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/multi_v7_defconfig
b/arch/arm/configs/multi_v7_defconfig
index fc33444e94f0..037a19d9802f 100644
--- a
This patch adds two clock muxes for the two I2S
buses present on sama5d2 platforms.
Signed-off-by: Codrin Ciubotariu
---
Changes in v6:
- none
arch/arm/boot/dts/sama5d2.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch
From: Cyrille Pitchen
This patch sets the pin muxing for the I2S controllers
Signed-off-by: Cyrille Pitchen
[codrin.ciubota...@microchip.com: added pin muxing for the second
controller]
Signed-off-by: Codrin Ciubotariu
---
Changes in v6:
- none;
arch/arm/boot/dts/at91
From: Cyrille Pitchen
This patch adds DT nodes for I2S0 and I2S1. It also adds an alias for
each I2S node.
Signed-off-by: Cyrille Pitchen
[codrin.ciubota...@microchip.com: removed unnecessary clock phandles]
Signed-off-by: Codrin Ciubotariu
---
Changes in v6:
- removed unnecessary
These are the remaining dts patches from the series:
[PATCH v5 0/5] ASoC: add driver for Atmel I2S controller
v5 -> v6
- removed unnecessary phandles to audio PLL clock from the I2S nodes;
- using assigned clocks to set gclk as parent of i2smuxclk;
Codrin Ciubotariu (1):
ARM: dts: a
On 30.07.2018 16:49, Claudiu Beznea wrote:
Hi Codrin,
On 30.07.2018 14:40, Codrin Ciubotariu wrote:
From: Cyrille Pitchen
This patch sets the pin muxing for the I2S controllers
Signed-off-by: Cyrille Pitchen
[codrin.ciubota...@microchip.com: added pin muxing for the second
controller
y] &&
COMPILE_TEST [=y] && SND_SOC_I2C_AND_SPI [=m]
Fixes: a45f8853a5f9 ("ASoC: Add driver for PROTO Audio CODEC (with a WM8731)")
Signed-off-by: Arnd Bergmann
Reviewed-by: Codrin Ciubotariu
Thank you!
Best regards,
Codrin
---
sound/soc/atmel/Kconfig | 1 +
1
The generated clock (gclk) driver is able to set aclk as its parent and
change its rate alone, if needed. This means that our driver no longer
needs to configure aclk and we can let gclk select and configure its
clock source.
Signed-off-by: Codrin Ciubotariu
---
sound/soc/atmel/atmel-i2s.c | 46
k.
This patchet removes all references to the audio PLL clock from the
driver and updates the driver's bindings.
Codrin Ciubotariu (2):
ASoC: atmel-i2s: Remove unnecessary audio PLL clock (aclk)
ASoC: atmel-i2s: dt-bindings: Remove unnecessary phandle to aclk
.../devicetree/bindings/sound/
The optional clock phandle to aclk (Audio PLL clock) is no longer needed
by the driver.
Signed-off-by: Codrin Ciubotariu
---
Documentation/devicetree/bindings/sound/atmel-i2s.txt | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings
On 06.07.2018 22:39, Alexandre Belloni wrote:
Hi Codrin,
On 18/06/2018 17:12:38+0300, Codrin Ciubotariu wrote:
From: Cyrille Pitchen
This patch adds DT nodes for I2S0 and I2S1. It also adds an alias for
each I2S node.
Signed-off-by: Cyrille Pitchen
[codrin.ciubota...@microchip.com: added
On 06.07.2018 21:12, Stephen Boyd wrote:
Quoting Codrin Ciubotariu (2018-06-18 07:12:36)
This driver is a simple muxing driver that controls the
I2S's clock input by using syscon/regmap to change the parent.
The available inputs can be peripheral clock and generated clock.
Signed-o
The I2S mux clock can be used to select the I2S input clock. The
available parents are the peripheral and the generated clocks.
Signed-off-by: Codrin Ciubotariu
---
.../devicetree/bindings/clock/at91-clock.txt | 34 ++
1 file changed, 34 insertions(+)
diff --git a
This patch adds two clock muxes for the two I2S
buses present on sama5d2 platforms.
Signed-off-by: Codrin Ciubotariu
---
arch/arm/boot/dts/sama5d2.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index
From: Cyrille Pitchen
This patch adds DT bindings for the new Atmel I2S controller embedded
inside sama5d2x SoCs.
Signed-off-by: Cyrille Pitchen
Signed-off-by: Codrin Ciubotariu
---
Changes in v4:
- more specific description for dmas, dma-names, clocks, clock-names
From: Cyrille Pitchen
This patch sets the pin muxing for the I2S controllers
Signed-off-by: Cyrille Pitchen
[codrin.ciubota...@microchip.com: added pin muxing for the second
controller]
Signed-off-by: Codrin Ciubotariu
---
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 28
>dev before calling dev->caps->mck_init()
Codrin Ciubotariu (3):
dt-bindings: clk: at91: add an I2S mux clock
clk: at91: add I2S clock mux driver
ARM: dts: at91: sama5d2: add I2S clock muxing nodes
Cyrille Pitchen (4):
ASoC: atmel-i2s: dt-bindings: add DT bindings for I2S controller
This driver is a simple muxing driver that controls the
I2S's clock input by using syscon/regmap to change the parrent.
The available inputs can be Peripheral clock and Generated clock.
Signed-off-by: Codrin Ciubotariu
---
arch/arm/mach-at91/Kconfig | 4 ++
drivers/clk/at91/Mak
From: Cyrille Pitchen
This patch adds support for the Atmel I2S controller embedded into
sama5d2x SoCs.
Signed-off-by: Cyrille Pitchen
Signed-off-by: Codrin Ciubotariu
---
Changes in v4:
- treated -EPROBE_DEFER on probe;
- replaced ternary operator with if;
- return
From: Cyrille Pitchen
This patch adds DT nodes for I2S0 and I2S1. It also adds an alias for
each I2S node.
Signed-off-by: Cyrille Pitchen
[codrin.ciubota...@microchip.com: added phandle to new mux clock]
Signed-off-by: Codrin Ciubotariu
---
arch/arm/boot/dts/sama5d2.dtsi | 34
The I2S mux clock can be used to select the I2S input clock. The
available parents are the peripheral and the generated clocks.
Signed-off-by: Codrin Ciubotariu
---
Changes in v5:
- specified clock's parent;
- added a newline before adding the clock's compati
From: Cyrille Pitchen
This patch adds DT nodes for I2S0 and I2S1. It also adds an alias for
each I2S node.
Signed-off-by: Cyrille Pitchen
[codrin.ciubota...@microchip.com: added phandle to new mux clock]
Signed-off-by: Codrin Ciubotariu
---
The bindings for the I2S node are applied to
This patch adds two clock muxes for the two I2S
buses present on sama5d2 platforms.
Signed-off-by: Codrin Ciubotariu
---
arch/arm/boot/dts/sama5d2.dtsi | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index
This driver is a simple muxing driver that controls the
I2S's clock input by using syscon/regmap to change the parent.
The available inputs can be peripheral clock and generated clock.
Signed-off-by: Codrin Ciubotariu
---
Changes in v5:
- removed CLK_IGNORE_UNUSED flag;
-
From: Cyrille Pitchen
This patch sets the pin muxing for the I2S controllers
Signed-off-by: Cyrille Pitchen
[codrin.ciubota...@microchip.com: added pin muxing for the second
controller]
Signed-off-by: Codrin Ciubotariu
---
Changes in v5:
- Previous name was:
[PATCH v4 7/7
from Mark Brown;
- added devicetree nodes and pin muxing for I2S;
v2 -> v3
- fix the coding style, add some more comments and add a section dedicated
to sama5d2 SoCs in the DT binding documentation as suggested by Mark
Brown.
v1 -> v2
- initialize dev->dev before calling dev->
On 31.05.2018 03:58, Rob Herring wrote:
On Fri, May 25, 2018 at 03:34:22PM +0300, Codrin Ciubotariu wrote:
The I2S mux clock can be used to select the I2S input clock. The
available parents are the peripheral and the generated clocks.
Signed-off-by: Codrin Ciubotariu
---
.../devicetree
On 31.05.2018 18:26, Stephen Boyd wrote:
Quoting Codrin Ciubotariu (2018-05-25 05:34:23)
This driver is a simple muxing driver that controls the
I2S's clock input by using syscon/regmap to change the parrent.
s/parrent/parent/
I will fix it.
The available inputs can be Peripheral
On 31.05.2018 18:56, Rob Herring wrote:
On Thu, May 31, 2018 at 10:31 AM, Stephen Boyd wrote:
Quoting Rob Herring (2018-05-31 07:20:57)
On Thu, May 31, 2018 at 5:25 AM, Codrin Ciubotariu
wrote:
On 31.05.2018 03:58, Rob Herring wrote:
On Fri, May 25, 2018 at 03:34:22PM +0300, Codrin
pair selection and
FIFO support, exclusively for SAMA7G5.
Codrin Ciubotariu (7):
ASoC: convert Microchip I2SMCC binding to yaml
dt-bindings: mchp,i2s-mcc: Add SAMA7G5 to binding
ASoC: mchp-i2s-mcc: Add compatible for SAMA7G5
ASoC: mchp-i2s-mcc: Add multi-channel support for I2S and LEFT_J
fo
SAMA7G5 includes an updated version of the I2S-MCC driver, that includes
3 more DIN/DOUT pin pairs for multi-channel.
Signed-off-by: Codrin Ciubotariu
---
Documentation/devicetree/bindings/sound/mchp,i2s-mcc.yaml | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a
Microchip's new SAMA7G5 includes an updated I2S-MCC compatible with the
previous version found on SAM9X60. The new controller includes 8 (4 * 2)
input and output data pins for up to 8 channels for I2S and Left-Justified
formats.
Signed-off-by: Codrin Ciubotariu
---
sound/soc/atmel/Kc
This patch converts the Microchip I2SMCC bindings to DT schema format
using json-schema.
Signed-off-by: Codrin Ciubotariu
---
.../bindings/sound/mchp,i2s-mcc.yaml | 86 +++
.../bindings/sound/mchp-i2s-mcc.txt | 43 --
2 files changed, 86 insertions
rty is
optional, useful only if TDM is used. If it's missing, DIN/DOUT 0 pins
will be used by default.
Signed-off-by: Codrin Ciubotariu
---
sound/soc/atmel/mchp-i2s-mcc.c | 52 +++---
1 file changed, 48 insertions(+), 4 deletions(-)
diff --git a/sound/soc/atmel/mchp-i
-by: Codrin Ciubotariu
---
sound/soc/atmel/mchp-i2s-mcc.c | 38 ++
1 file changed, 38 insertions(+)
diff --git a/sound/soc/atmel/mchp-i2s-mcc.c b/sound/soc/atmel/mchp-i2s-mcc.c
index 0ee01383e307..52d3f43148dc 100644
--- a/sound/soc/atmel/mchp-i2s-mcc.c
+++ b/sound
ptional,
needed only if TDM is used, and if it's missing DIN/DOUT 0 pins will be
used by default.
Signed-off-by: Codrin Ciubotariu
---
.../devicetree/bindings/sound/mchp,i2s-mcc.yaml | 17 +
1 file changed, 17 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/
I2S-MCC found on SAMA7G5 includes 2 FIFOs (capture and playback). When
FIFOs are enabled, bits I2SMCC_ISRA.TXLRDYx and I2SMCC_ISRA.TXRRDYx must
not be used. Bits I2SMCC_ISRB.TXFFRDY and I2SMCC_ISRB.RXFFRDY must be used
instead.
Signed-off-by: Codrin Ciubotariu
---
sound/soc/atmel/mchp-i2s-mcc.c
This patch adds DT bindings for the new Microchip S/PDIF TX Controller
embedded inside sama7g5 SoCs.
Signed-off-by: Codrin Ciubotariu
---
Changes in v3:
- removed 'oneOf' from 'compatible' property;
- added 'maxItems: 1' to 'dmas' property;
- removed
The new SPDIF TX controller is a serial port compliant with the IEC-
60958 standard. It also supports programmable User Data and Channel
Status fields.
This IP is embedded in Microchip's sama7g5 SoC.
Signed-off-by: Codrin Ciubotariu
---
Changes in v2, v3:
- none;
sound/soc/atmel/Kc
conversion. I realize that the
change to snd_pcm_hw_rule_add() has a big impact, even though all the
drivers use snd_pcm_hw_rule_add() with substream->runtime, so passing
substream instead of runtime is not that risky.
Codrin Ciubotariu (3):
pcm: use substream instead of runtime in snd_pcm_hw_r
Add a new struct snd_pcm_hw_constraints under struct snd_soc_dpcm_runtime.
The BE DAIs can use the new structure to add constraints that will not
affect the FE of the PCM and will only apply to BE HW parameters.
Signed-off-by: Codrin Ciubotariu
---
include/sound/pcm.h | 9
same as the ones used for FE. The DAI link
dpcm_merged_* flags are used to check if the FE and BE must share the same
HW parameters.
Signed-off-by: Codrin Ciubotariu
---
include/sound/pcm.h | 2 ++
sound/core/pcm_native.c | 17 +
sound/soc/soc-pcm.c | 30
a BE
platform driver.
Signed-off-by: Codrin Ciubotariu
---
Hello,
This patch is more or less incomplete for the described scenario. This
is because DMAengine's pcm->config is ignored for the BE DAI link, so
runtime->hw is not updated. Also, since pcm_construct/destruct are not
calle
pair selection and
FIFO support, exclusively for SAMA7G5.
Changes in v2:
- moved DT binding conversion patch from the beginning to the end of the
patch serieses
- patches that update the DT binding are modified to change .txt file
instead of .yaml
Codrin Ciubotariu (7):
dt-bindings: mchp,i2s-mcc
SAMA7G5 includes an updated version of the I2S-MCC driver, that includes
3 more DIN/DOUT pin pairs for multi-channel.
Signed-off-by: Codrin Ciubotariu
---
Changes in v2:
- changes are done to mchp-i2s-mcc.txt insted of mchp,i2s-mcc.yaml
Documentation/devicetree/bindings/sound/mchp-i2s-mcc.txt
This patch converts the Microchip I2SMCC bindings to DT schema format
using json-schema.
Signed-off-by: Codrin Ciubotariu
---
Changes in v2:
- moved from the beginning to the end of the patch series;
- includes the changes (to yaml) from the rest of the patches that
update the DT binding
Microchip's new SAMA7G5 includes an updated I2S-MCC compatible with the
previous version found on SAM9X60. The new controller includes 8 (4 * 2)
input and output data pins for up to 8 channels for I2S and Left-Justified
formats.
Signed-off-by: Codrin Ciubotariu
---
Changes in v2:
- none
-by: Codrin Ciubotariu
---
Changes in v2:
- none
sound/soc/atmel/mchp-i2s-mcc.c | 38 ++
1 file changed, 38 insertions(+)
diff --git a/sound/soc/atmel/mchp-i2s-mcc.c b/sound/soc/atmel/mchp-i2s-mcc.c
index 0ee01383e307..52d3f43148dc 100644
--- a/sound/soc/atmel
rty is
optional, useful only if TDM is used. If it's missing, DIN/DOUT 0 pins
will be used by default.
Signed-off-by: Codrin Ciubotariu
---
Changes in v2:
- none
sound/soc/atmel/mchp-i2s-mcc.c | 52 +++---
1 file changed, 48 insertions(+), 4 deletions(-)
diff --g
ptional,
needed only if TDM is used, and if it's missing DIN/DOUT 0 pins will be
used by default.
Signed-off-by: Codrin Ciubotariu
---
Changes in v2:
- changes are done to mchp-i2s-mcc.txt insted of mchp,i2s-mcc.yaml
Documentation/devicetree/bindings/sound/mchp-i2s-mcc.txt | 7 ++
I2S-MCC found on SAMA7G5 includes 2 FIFOs (capture and playback). When
FIFOs are enabled, bits I2SMCC_ISRA.TXLRDYx and I2SMCC_ISRA.TXRRDYx must
not be used. Bits I2SMCC_ISRB.TXFFRDY and I2SMCC_ISRB.RXFFRDY must be used
instead.
Signed-off-by: Codrin Ciubotariu
---
Changes in v2:
- none
sound
After a transfer timeout, some faulty I2C slave devices might hold down
the SCL or the SDA pins. We can generate a bus clear command, hoping that
the slave might release the pins.
Signed-off-by: Codrin Ciubotariu
---
drivers/i2c/busses/i2c-at91-master.c | 20
drivers/i2c
After a transfer timeout, some faulty I2C slave devices might hold down
the SCL or the SDA pins. We can generate a bus clear command, hoping that
the slave might release the pins.
Signed-off-by: Codrin Ciubotariu
Acked-by: Ludovic Desroches
---
Changes in v3:
- fixed kbuild warning;
Changes
After a transfer timeout, some faulty I2C slave devices might hold down
the SCL or the SDA pins. We can generate a bus clear command, hoping that
the slave might release the pins.
Signed-off-by: Codrin Ciubotariu
Acked-by: Ludovic Desroches
---
Changes in v2:
- added '.has_clear_cmd
master mode and both capture and playback
are played at the same time.
All three patches have a "Fixes" tag. Although they are independent,
some conflicts might appear if they are not applied in the order
presented in this patchset. If so, please let me know so I can rebase
them.
Codrin
ned-off-by: Codrin Ciubotariu
---
sound/soc/atmel/mchp-i2s-mcc.c | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/sound/soc/atmel/mchp-i2s-mcc.c b/sound/soc/atmel/mchp-i2s-mcc.c
index 8272915fa09b..ab7d5f98e759 100644
--- a/sound/soc/atmel/mchp-i2s-mcc.c
+++ b/sound
: 7e0cdf545a55 ("ASoC: mchp-i2s-mcc: add driver for I2SC Multi-Channel
Controller")
Signed-off-by: Codrin Ciubotariu
---
sound/soc/atmel/mchp-i2s-mcc.c | 28
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a/sound/soc/atmel/mchp-i2s-mcc.c b/sound
calculating the
divisors before comparing the configuration registers. BCLK and LRC are
then configured and started only if the controller is not already running.
Fixes: 7e0cdf545a55 ("ASoC: mchp-i2s-mcc: add driver for I2SC Multi-Channel
Controller")
Signed-off-by: Codrin Ciubotariu
or be greater than GENERATED_MAX_DIV + 1.
Fixes: 8c7aa6328947 ("clk: at91: clk-generated: remove useless divisor loop")
Signed-off-by: Codrin Ciubotariu
Acked-by: Nicolas Ferre
Acked-by: Ludovic Desroches
---
- The email-server was converting my patches to base64, so I resend it
ed-by: Dan Carpenter
Signed-off-by: Codrin Ciubotariu
---
sound/soc/codecs/ad193x.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/sound/soc/codecs/ad193x.c b/sound/soc/codecs/ad193x.c
index 05f4514048e2..3ebc0524f4b2 100644
--- a/sound/soc/codecs/ad193x.c
+++ b/sound/
remain configured for 8 channels. This patch resets this register at
probe to its default value.
Signed-off-by: Codrin Ciubotariu
---
sound/soc/codecs/ad193x.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/soc/codecs/ad193x.c b/sound/soc/codecs/ad193x.c
index 3ebc0524f4b2..cda435562a1d
Since the ad193x codecs have no software reset, we have to reinitialize the
registers after a hardware reset to assure no previous values are kept.
Signed-off-by: Codrin Ciubotariu
---
sound/soc/codecs/ad193x.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/sound/soc/codecs
Create a structure with the register initialization values at probe and
use it to initialize all the registers at once.
Signed-off-by: Codrin Ciubotariu
---
The order of the initialization is changed, but it doesn't seem to
matter.
There is one checkpatch warning, let me know if you wa
Using regmap_multi_reg_write() when we set the default values for our
registers makes the code smaller and easier to read.
Suggested-by: Tzung-Bi Shih
Signed-off-by: Codrin Ciubotariu
---
sound/soc/codecs/ad193x.c | 19 +--
1 file changed, 5 insertions(+), 14 deletions(-)
diff
DT binding documentation for this new ASoC driver.
Signed-off-by: Codrin Ciubotariu
---
Changes in v2:
- adjusted "mikroe" position in vendor-prefixes.txt;
.../bindings/sound/mikroe,mikroe-proto.txt| 23 +++
.../devicetree/bindings/vendor-prefixes.txt | 1
added constraints for the fixed SYSLK;
- fixed errors reported by kbuild;
- adjusted "mikroe" in vendor prefixes;
- updated description in Kconfig;
Codrin Ciubotariu (2):
ASoC: Add driver for PROTO Audio CODEC (with a WM8731)
ASoC: mikroe-proto: dt-bindings: add DT bindings
Add support for the MikroElektronika PROTO audio codec board.
URL to the audio chip:
http://www.mikroe.com/add-on-boards/audio-voice/audio-codec-proto/
Signed-off-by: Florian Meier
Signed-off-by: Codrin Ciubotariu
---
Changes in v2:
- removed constraints for the fixed SYSCLK;
- fixed errors
known
registers.
Fixes: b987e98e50ab ("dsa: add DSA switch driver for Microchip KSZ9477")
Signed-off-by: Codrin Ciubotariu
---
drivers/net/dsa/microchip/ksz8795.c | 3 +++
drivers/net/dsa/microchip/ksz9477.c | 3 +++
2 files changed, 6 insertions(+)
diff --git a/drivers/net/dsa/microchip/ksz87
The DSA subsystem moved to phylink and adjust_link() became deprecated in
the process. This patch removes adjust_link from the KSZ DSA switches and
adds phylink_mac_link_up() and phylink_mac_link_down().
Signed-off-by: Codrin Ciubotariu
---
drivers/net/dsa/microchip/ksz8795.c| 3
The DSA subsystem moved to phylink and adjust_link() became deprecated in
the process. This patch removes adjust_link from the KSZ DSA switches and
adds phylink_mac_link_up() and phylink_mac_link_down().
Signed-off-by: Codrin Ciubotariu
Reviewed-by: Russell King
---
Changes in v2:
- added
Private structure members live_ports, on_ports, rx_ports, tx_ports are
initialized but not used anywhere. Let's remove them.
Suggested-by: Russell King
Signed-off-by: Codrin Ciubotariu
---
Changes in v2:
- new patch, there was no v1
drivers/net/dsa/microchip/ksz8795.c
report an error when will try to
create entries for both componenets with the same name.
Signed-off-by: Codrin Ciubotariu
---
sound/soc/atmel/atmel-classd.c | 133 -
1 file changed, 48 insertions(+), 85 deletions(-)
diff --git a/sound/soc/atmel/atmel-classd.c b
report an error when will try to
create entries for both componenets with the same name.
Signed-off-by: Codrin Ciubotariu
---
Changes in v2:
- removed no longer used ATMEL_CLASSD_CODEC_DAI_NAME macro;
sound/soc/atmel/atmel-classd.c | 134 -
1 file changed, 48
report an error when will try to
create entries for both componenets with the same name.
Signed-off-by: Codrin Ciubotariu
---
Changes in v3:
- fixed some newlines modified by no reason;
Changes in v2:
- removed no longer used ATMEL_CLASSD_CODEC_DAI_NAME macro;
sound/soc/atmel/atmel-classd.c
report an error when will try to
create entries for both componenets with the same name.
Signed-off-by: Codrin Ciubotariu
---
sound/soc/atmel/atmel-pdmic.c | 110 +-
1 file changed, 41 insertions(+), 69 deletions(-)
diff --git a/sound/soc/atmel/atmel-pdmic.c b
The PDMIC needs PDM microphones to work. sama5d2 xplained doesn't have
such microphones, so there is no reason to enable PDMIC and take the
pins since there is no-one using them.
Signed-off-by: Codrin Ciubotariu
---
Changes in v2:
- rebased on top of at91-dt;
- added more details i
CLASSD is present on SAMA5d2 SoCs.
Signed-off-by: Codrin Ciubotariu
---
arch/arm/configs/sama5_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig
index 8e1f78c19920..f688443fe7bf 100644
--- a/arch/arm/configs
.
Codrin Ciubotariu (4):
dt-binding: i2c: add generic properties for GPIO bus recovery
i2c: core: add generic I2C GPIO recovery
i2c: core: treat EPROBE_DEFER when acquiring SCL/SDA GPIOs
i2c: at91: Move to generic GPIO bus recovery
Documentation/devicetree/bindings/i2c/i2c.txt | 10 ++
drivers
The I2C GPIO bus recovery properties consist of two GPIOS and one extra
pinctrl state ("gpio" or "recovery"). Not all are mandatory for recovery.
Signed-off-by: Codrin Ciubotariu
---
Documentation/devicetree/bindings/i2c/i2c.txt | 10 ++
1 file changed, 10 inserti
this reason, we can add this common initialization in the core. This
way, other I2C bus drivers will be able to support GPIO recovery just by
providing a pointer to platform's pinctrl and calling i2c_recover_bus()
when SDA is stuck low.
Signed-off-by: Codrin Ciubotariu
---
drivers/i2c/i2c-
Even if I2C bus GPIO recovery is optional, devm_gpiod_get() can return
-EPROBE_DEFER, so we should at least treat that. This ends up with
i2c_register_adapter() to be able to return -EPROBE_DEFER.
Signed-off-by: Codrin Ciubotariu
---
drivers/i2c/i2c-core-base.c | 22 --
1
Make the Microchip at91 driver the first to use the generic GPIO bus
recovery support from the I2C core and discard the driver implementation.
Signed-off-by: Codrin Ciubotariu
---
drivers/i2c/busses/i2c-at91-master.c | 69 ++--
drivers/i2c/busses/i2c-at91.h| 3
There are no PDM microphones on SAMA5D2 Xplained, to exercize the
PDMIC.
This reverts commit ca6349a8c51f2e3d6f2acdb36431e7d7328261f7.
Signed-off-by: Codrin Ciubotariu
---
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 16
1 file changed, 16 deletions(-)
diff --git a/arch/arm
: 1e5f532c2737 ("ARM: dts: at91: sam9x60: add device tree for soc and
board")
Signed-off-by: Codrin Ciubotariu
---
arch/arm/boot/dts/at91-sam9x60ek.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/at91-sam9x60ek.dts
b/arch/arm/boot/dts/at91-sam
: b133ca7a653c ("ARM: dts: at91: sama5d2_xplained: add pin muxing and
enable classd")
Signed-off-by: Codrin Ciubotariu
---
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boot/dts/at91-sama5d2_xplai
This patch adds DT bindings for the new Microchip S/PDIF RX Controller
embedded inside sama7g5 SoCs.
Signed-off-by: Codrin Ciubotariu
---
.../bindings/sound/mchp,spdifrx.yaml | 73 +++
1 file changed, 73 insertions(+)
create mode 100644 Documentation/devicetree
Filter
- Register Write Protection
- Abnormal Software Access and Internal Sequencer Integrity Check Reports
This interface is available in Microchip's SAMA7G5 SoC.
Codrin Ciubotariu (2):
dt-bindings: sound: add DT bindings for Microchip S/PDIF RX Controller
ASoC: mchp-spdifrx: add drive
The new SPDIF RX controller is a serial port compliant with the IEC-60958
standard. It also supports programmable User Data and Channel Status
fields.
This IP is embedded in Microchip's sama7g5 SoC.
Signed-off-by: Codrin Ciubotariu
---
sound/soc/atmel/Kconfig| 13 +
sound/soc/
Starting with
commit 75820314de26 ("i2c: core: add generic I2C GPIO recovery")
GPIO bus recovery is supported by the I2C core, so we can remove the
driver implementation and use that one instead.
Signed-off-by: Codrin Ciubotariu
---
This patch is not tested.
The only different thing
Starting with
commit 75820314de26 ("i2c: core: add generic I2C GPIO recovery")
GPIO bus recovery is supported by the I2C core, so we can remove the
driver implementation and use that one instead.
Signed-off-by: Codrin Ciubotariu
---
This patch is not tested.
Changes in v2:
- r
1 - 100 of 152 matches
Mail list logo