Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1266296

[PATCH 0/3] ASoC: rockchip: i2s: compatible with different chips

From Sugar Zhang <sugar.zhang@rock-chips.com>
Newsgroups linux.kernel
Subject [PATCH 0/3] ASoC: rockchip: i2s: compatible with different chips
Date 2015-11-10 08:40 +0100
Message-ID <qtbH3-24p-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


there maybe more than one i2s module inside chip, and these i2s modules
have different channels features.

for example: there are 3 i2s in rk3066, one support 8 channels playback
and 2 channels capture, but the others only support 2 channels playback
and 2 channels capture.

in order to compatible 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 chips
  ASoC: rockchip: add playback property
  ARM: dts: rockchip: add channels properties for i2s

 .../devicetree/bindings/sound/rockchip-i2s.txt       |  2 ++
 arch/arm/boot/dts/rk3066a.dtsi                       |  6 ++++++
 arch/arm/boot/dts/rk3188.dtsi                        |  2 ++
 arch/arm/boot/dts/rk3288.dtsi                        |  2 ++
 sound/soc/rockchip/rockchip_i2s.c                    | 20 +++++++++++++++-----
 5 files changed, 27 insertions(+), 5 deletions(-)

-- 
2.3.6


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 0/3] ASoC: rockchip: i2s: compatible with different chips Sugar Zhang <sugar.zhang@rock-chips.com> - 2015-11-10 08:40 +0100

csiph-web