add default values for i2s registers from TRM.
rt5640: add master clock handing.
Sugar Zhang (2):
ASoC: rockchip: i2s: add default values for registers
ASoC: rt5640: add master clock handling for rt5640
Documentation/devicetree/bindings/sound/rt5640.txt | 3 +++
sound/soc/codecs/rt5640.c
with these various chips, we add playback and
capture property to specify these values.
there are default channels configuration in driver: 8 channels playback
and 2 channels capture. if not add property, we use the default values.
Signed-off-by: Sugar Zhang
---
sound/soc/rockchip
add playback and capture properties to compatible various chips.
Signed-off-by: Sugar Zhang
---
arch/arm/boot/dts/rk3066a.dtsi | 6 ++
arch/arm/boot/dts/rk3188.dtsi | 2 ++
arch/arm/boot/dts/rk3288.dtsi | 2 ++
3 files changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/rk3066a.dtsi
with these various chips, we add playback and
capture property to specify these values.
there are default channels configuration in driver: 8 channels playback
and 2 channels capture. if not add property, we use the default values.
Sugar Zhang (3):
ASoC: rockchip: i2s: compatible with different
rockchip,playback-channels: max playback channels, 8 channels default.
Signed-off-by: Sugar Zhang
---
Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/rockchip-i2s.txt
b/Documentation
with these various chips, we add playback and
capture property to specify these values.
there are default channels configuration in driver: 8 channels playback
and 2 channels capture. if not add property, we use the default values.
Signed-off-by: Sugar Zhang <sugar.zh...@rock-chips.
add playback and capture properties to compatible various chips.
Signed-off-by: Sugar Zhang <sugar.zh...@rock-chips.com>
---
arch/arm/boot/dts/rk3066a.dtsi | 6 ++
arch/arm/boot/dts/rk3188.dtsi | 2 ++
arch/arm/boot/dts/rk3288.dtsi | 2 ++
3 files changed, 10 insertions(+)
diff
with these various chips, we add playback and
capture property to specify these values.
there are default channels configuration in driver: 8 channels playback
and 2 channels capture. if not add property, we use the default values.
Sugar Zhang (3):
ASoC: rockchip: i2s: compatible with different
rockchip,playback-channels: max playback channels, 8 channels default.
Signed-off-by: Sugar Zhang <sugar.zh...@rock-chips.com>
---
Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/ro
rockchip,capture-channels: max capture channels, 2 channels default.
Signed-off-by: Sugar Zhang
---
Changes in v3:
- move property into the Optional properties section
Changes in v2:
- remove unused lrck property
Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 5 +
1 file
support 8 channels capture support.
share lrck tx/rx when symmetric_rates enabled.
Sugar Zhang (3):
ASoC: rockchip: i2s: add 8 channels capture support
Documentation: DT bindings: rockchip-i2s: add capture property
ASoC: rockchip: i2s: share tx/rx lrck when symmetric_rates enabled
support max 8 channels capture, please add property
'rockchip,capture-channels' in dts to enable this,
if not, support 2 channels capture default.
Signed-off-by: Sugar Zhang
---
Changes in v3: None
Changes in v2:
- remove lrck mode, and move it to new patch
sound/soc/rockchip/rockchip_i2s.c
we share lrck_tx to lrck_rx only if when both i2s symmetric_rates and
dai_link symmetric_rates enabled.
if only lrck_tx is wired into external codec, we should enable this to
provider lrck for rx logic inside i2s module.
Signed-off-by: Sugar Zhang
---
Changes in v3:
- modify the judgment
rockchip,capture-channels: max capture channels, 2 channels default.
Signed-off-by: Sugar Zhang <sugar.zh...@rock-chips.com>
---
Changes in v3:
- move property into the Optional properties section
Changes in v2:
- remove unused lrck property
Documentation/devicetree/bindings/sound/ro
we share lrck_tx to lrck_rx only if when both i2s symmetric_rates and
dai_link symmetric_rates enabled.
if only lrck_tx is wired into external codec, we should enable this to
provider lrck for rx logic inside i2s module.
Signed-off-by: Sugar Zhang <sugar.zh...@rock-chips.com>
---
Changes
support 8 channels capture support.
share lrck tx/rx when symmetric_rates enabled.
Sugar Zhang (3):
ASoC: rockchip: i2s: add 8 channels capture support
Documentation: DT bindings: rockchip-i2s: add capture property
ASoC: rockchip: i2s: share tx/rx lrck when symmetric_rates enabled
support max 8 channels capture, please add property
'rockchip,capture-channels' in dts to enable this,
if not, support 2 channels capture default.
Signed-off-by: Sugar Zhang <sugar.zh...@rock-chips.com>
---
Changes in v3: None
Changes in v2:
- remove lrck mode, and move it to new patch
support 8 channels capture support.
share lrck tx/rx when symmetric_rates enabled.
Sugar Zhang (3):
ASoC: rockchip: i2s: add 8 channels capture support
Documentation: DT bindings: rockchip-i2s: add capture property
ASoC: rockchip: i2s: share tx/rx lrck when symmetric_rates enabled
support max 8 channels capture, please add property
'rockchip,capture-channels' in dts to enable this,
if not, support 2 channels capture default.
Signed-off-by: Sugar Zhang
---
Changes in v2:
- remove lrck mode, and move it to new patch
sound/soc/rockchip/rockchip_i2s.c | 40
share lrck_tx to lrck_rx when symmetric_rates enabled.
Signed-off-by: Sugar Zhang
---
Changes in v2:
- new patch
sound/soc/rockchip/rockchip_i2s.c | 8
sound/soc/rockchip/rockchip_i2s.h | 6 ++
2 files changed, 14 insertions(+)
diff --git a/sound/soc/rockchip/rockchip_i2s.c
b
rockchip,capture-channels: max capture channels, 2 channels default.
Signed-off-by: Sugar Zhang
---
Changes in v2:
- remove unused lrck property
Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings
rockchip,capture-channels: max capture channels, 2 channels default.
Signed-off-by: Sugar Zhang <sugar.zh...@rock-chips.com>
---
Changes in v2:
- remove unused lrck property
Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 2 ++
1 file changed, 2 insertions(+)
diff
support 8 channels capture support.
share lrck tx/rx when symmetric_rates enabled.
Sugar Zhang (3):
ASoC: rockchip: i2s: add 8 channels capture support
Documentation: DT bindings: rockchip-i2s: add capture property
ASoC: rockchip: i2s: share tx/rx lrck when symmetric_rates enabled
support max 8 channels capture, please add property
'rockchip,capture-channels' in dts to enable this,
if not, support 2 channels capture default.
Signed-off-by: Sugar Zhang <sugar.zh...@rock-chips.com>
---
Changes in v2:
- remove lrck mode, and move it to new patch
sound/soc/ro
share lrck_tx to lrck_rx when symmetric_rates enabled.
Signed-off-by: Sugar Zhang <sugar.zh...@rock-chips.com>
---
Changes in v2:
- new patch
sound/soc/rockchip/rockchip_i2s.c | 8
sound/soc/rockchip/rockchip_i2s.h | 6 ++
2 files changed, 14 insertions(+)
diff --git a/sou
.
- rx_share: lrck_rx is shared with lrck_tx.
to enable this, please add property 'rockchip,lrck-mode' in dts,
if not, use 'txrx' lrck mode default.
Signed-off-by: Sugar Zhang
---
sound/soc/rockchip/rockchip_i2s.c | 48 +--
sound/soc/rockchip/rockchip_i2s.h | 23
rockchip,capture-channels: max capture channels, 2 channels default.
rockchip,lrck-mode: 0: rxtx separate, 1: tx share, 2: rx share.
default use 'rxtx separate' mode.
Signed-off-by: Sugar Zhang
---
Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 5 +
1 file changed, 5 insertions
Support max 8 channels capture.
support lrck clk mode configuration, there are 3 modes:
- txrx: lrck_tx and lrck_rx are different.
- tx_share: lrck_tx is shared with lrck_rx.
- rx_share: lrck_rx is shared with lrck_tx.
Sugar Zhang (2):
ASoC: rockchip: i2s: add 8 channels capture and lrck
.
- rx_share: lrck_rx is shared with lrck_tx.
to enable this, please add property 'rockchip,lrck-mode' in dts,
if not, use 'txrx' lrck mode default.
Signed-off-by: Sugar Zhang <sugar.zh...@rock-chips.com>
---
sound/soc/rockchip/rockchip_i2s.c | 48 +--
sou
rockchip,capture-channels: max capture channels, 2 channels default.
rockchip,lrck-mode: 0: rxtx separate, 1: tx share, 2: rx share.
default use 'rxtx separate' mode.
Signed-off-by: Sugar Zhang <sugar.zh...@rock-chips.com>
---
Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 5 ++
Support max 8 channels capture.
support lrck clk mode configuration, there are 3 modes:
- txrx: lrck_tx and lrck_rx are different.
- tx_share: lrck_tx is shared with lrck_rx.
- rx_share: lrck_rx is shared with lrck_tx.
Sugar Zhang (2):
ASoC: rockchip: i2s: add 8 channels capture and lrck
101 - 131 of 131 matches
Mail list logo