From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932422AbbFIRbs (ORCPT ); Tue, 9 Jun 2015 13:31:48 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:37013 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751480AbbFIRbj (ORCPT ); Tue, 9 Jun 2015 13:31:39 -0400 Message-ID: <557722F5.7020506@linaro.org> Date: Tue, 09 Jun 2015 18:31:33 +0100 From: Srinivas Kandagatla User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Mark Brown CC: alsa-devel@alsa-project.org, Rob Herring , Patrick Lai , Banajit Goswami , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kwestfie@codeaurora.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH v5 1/2] ASoC: qcom: document apq8016 sbc machine driver bindings References: <1433854702-23654-1-git-send-email-srinivas.kandagatla@linaro.org> <1433854769-23807-1-git-send-email-srinivas.kandagatla@linaro.org> <20150609165718.GH14071@sirena.org.uk> <55771D88.4050603@linaro.org> <20150609171313.GK14071@sirena.org.uk> In-Reply-To: <20150609171313.GK14071@sirena.org.uk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/06/15 18:13, Mark Brown wrote: > On Tue, Jun 09, 2015 at 06:08:24PM +0100, Srinivas Kandagatla wrote: > >>>>> +- external : flag to indicate if the I2S is connected to external codec > >>> not sure I understand why we need a boolean property indicating if an >>> external CODEC is in use - what is the consequence of setting this >>> property? > >> As of today, the consequence of setting this flag is to setup correct >> dai_link names. >> Also there are some limitations on which MI2S can be configured to external >> or internal codecs, this flag can be used in future to validate such >> configurations, if required. > > That validation sounds like something that the SoC drivers should be > doing if required rather than the machine driver - otherwise every > machine driver using this SoC would have to implement the same > validation. Thats a valid point, for now I can move to using dai link name property instead of external flag, this should work for now. I will add the validation logic in SOC driver if required in future. >