Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1415646
| From | Xing Zheng <zhengxing@rock-chips.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3] ASoC: rockchip: Add machine driver for MAX98357A/RT5514/DA7219 |
| Date | 2016-06-07 05:00 +0200 |
| Message-ID | <rHfpf-5dv-1@gated-at.bofh.it> (permalink) |
| References | <rD3cZ-6Qi-5@gated-at.bofh.it> <rFfD3-1b3-1@gated-at.bofh.it> <rFY78-4c8-13@gated-at.bofh.it> <rHcB4-3jH-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Mark,
On 2016年06月07日 07:50, Mark Brown wrote:
> On Fri, Jun 03, 2016 at 10:16:12PM +0800, Xing Zheng wrote:
>
>> I refered to MTK's mt8173-rt5650-rt5514.txt on upstream, that compatible
>> name is "mediatek,mt8173-rt5650-rt5514".
>> Because our platform need to support 3 codecs (max98357a / da7219 / rt5514).
>> Perhaps, you maybe feel that name is too long? And, could you please tell me
>> what names would be better?
>> For example: "rk3399-composite-codecs" ?
> It should probably be three compatibles, one per CODEC, if the driver
> needs to handle each separately.
Do you mean like this:
--------
sound {
compatible = "rockchip,rk3399-max98357a-rt5514-da7219";
dailink-0 {
compatible = "rockchip,rk3399-max98357a";
rockchip,cpu = <&i2s0>;
rockchip,codec = <&max98357a>;
};
dailink-1 {
compatible = "rockchip,rk3399-rt5514";
rockchip,cpu = <&i2s0>;
rockchip,codec = <&headsetcodec>;
};
dailink-2 {
compatible = "rockchip,rk3399-da7219";
rockchip,cpu = <&i2s0>;
rockchip,codec = <&codec>;
};
};
--------
Above, the machine drvier will handle them. Please correct me if I
misunderstand.
Thanks.
--
- Xing Zheng
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v3] ASoC: rockchip: Add machine driver for MAX98357A/RT5514/DA7219 Rob Herring <robh@kernel.org> - 2016-06-01 16:50 +0200
Re: [PATCH v3] ASoC: rockchip: Add machine driver for MAX98357A/RT5514/DA7219 Xing Zheng <zhengxing@rock-chips.com> - 2016-06-03 16:20 +0200
Re: [PATCH v3] ASoC: rockchip: Add machine driver for MAX98357A/RT5514/DA7219 Mark Brown <broonie@kernel.org> - 2016-06-07 02:00 +0200
Re: [PATCH v3] ASoC: rockchip: Add machine driver for MAX98357A/RT5514/DA7219 Xing Zheng <zhengxing@rock-chips.com> - 2016-06-07 05:00 +0200
Re: [PATCH v3] ASoC: rockchip: Add machine driver for MAX98357A/RT5514/DA7219 Mark Brown <broonie@kernel.org> - 2016-06-07 12:50 +0200
Re: [PATCH v3] ASoC: rockchip: Add machine driver for MAX98357A/RT5514/DA7219 Xing Zheng <zhengxing@rock-chips.com> - 2016-06-07 13:40 +0200
Re: [PATCH v3] ASoC: rockchip: Add machine driver for MAX98357A/RT5514/DA7219 Mark Brown <broonie@kernel.org> - 2016-06-07 14:10 +0200
Re: [PATCH v3] ASoC: rockchip: Add machine driver for MAX98357A/RT5514/DA7219 Xing Zheng <zhengxing@rock-chips.com> - 2016-06-07 14:50 +0200
Re: [PATCH v3] ASoC: rockchip: Add machine driver for MAX98357A/RT5514/DA7219 Mark Brown <broonie@kernel.org> - 2016-06-07 15:40 +0200
Re: [PATCH v3] ASoC: rockchip: Add machine driver for MAX98357A/RT5514/DA7219 Xing Zheng <zhengxing@rock-chips.com> - 2016-06-07 15:50 +0200
Re: [PATCH v3] ASoC: rockchip: Add machine driver for MAX98357A/RT5514/DA7219 Mark Brown <broonie@kernel.org> - 2016-06-07 17:00 +0200
csiph-web