Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp717553imu; Fri, 9 Nov 2018 05:05:39 -0800 (PST) X-Google-Smtp-Source: AJdET5cGS427ADVDgNJjMDn6FdEj6wLbF6SH2NnLLLAnDvJwjmvzC28Ox6HhS/+JAKFc8Js+JcAE X-Received: by 2002:aa7:804e:: with SMTP id y14-v6mr8736598pfm.73.1541768739866; Fri, 09 Nov 2018 05:05:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541768739; cv=none; d=google.com; s=arc-20160816; b=TNejD4zO17bctXWoJ+vqeR8rwebHaZuNyOTsQNB5zltlAonAH/5RUdRL7Ism8r7IPt pphpX8G1ICBG1AIEVZ6W2YJMlYvUEpCL5ZyyWLPyGGeRE3lWsOvHcNl38EiToRa6Esar 1sZxQjffzyl34Q5ED2ddi3LMSmAgmBA2hEhEW5jyJPfsDaZBwej2AHN47+vBar70C2rJ Yd0bsL2knpUhcyMQcUMh89Iv/EGB0hE7b7ZpbtJGp9V4Jf7rhP53Ey+VMNgIQrnqpUho 3VsOjNDP/zxjNH/LkSnThzppFnoJdArKMDuPCY2Emmil9KZ+G8B7N+RPg7MeZlQLkys9 fGdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Qm+1QkJK3o1xhQVxZtnhNPRliV76QpTd9/7K1JBty00=; b=XkK/CQzYD5qgx+FjTBg8dqBVCXZet9jD7w83t3yF032qoxKnFqgxcPjO/eHhS4vlJ6 enOkhguKyRpYz1K5qtTW0BBUxPQ+U7IKBbuy+rdYKLelhb+jSex5rHyMel9VYMU0/Lx3 W1GNXdWcXgteiM54zj+0mtg75jMunAPHvGnLYRHLUqUvPDTq1Rfn4Q5fUT86A0dRckFV OKJyzVYTiZcIKztj/T9UXx7WsJvxwN1pfAmaeB3mGIVov2zDxx72HCdONObcyLd0kqE3 mqrLK8j1SnGZNHt27TjAGh3ZoTB/JZoHcvk1bz1aED/du6Ihyr8wkdoMbveddkN+W4zv H2ZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@birdec.tech header.s=default header.b=QxfNOone; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c1-v6si6828922pgp.376.2018.11.09.05.05.11; Fri, 09 Nov 2018 05:05:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@birdec.tech header.s=default header.b=QxfNOone; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728173AbeKIWpU (ORCPT + 99 others); Fri, 9 Nov 2018 17:45:20 -0500 Received: from host.euro-space.net ([87.117.239.2]:60316 "EHLO host.euro-space.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727784AbeKIWpT (ORCPT ); Fri, 9 Nov 2018 17:45:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=birdec.tech ; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Qm+1QkJK3o1xhQVxZtnhNPRliV76QpTd9/7K1JBty00=; b=QxfNOonedfoPkkpQ3/FsMR8S5v 3lmS5jjWamngyGT81goHiSFTMIWPU00frWN2uVJln0XQwgqZgBfR9ErINHr/UTUM+oZ1a88SzYyey gP3lvnfsd6Okeef962q1Sh8mUqVryTikhgeV8606pfH2ZrfBw8gMfGIrm2ckQG5oRpG4MbLHO2Pkh ZL+mHWsqzcxGNebSg5V4s1N2DIbexdgGjtprFuME2sbbQ+DyfvPsTiKAG+LPRxSqH+kRzuT4BTnD+ na3iaENFt/SQsUFE7JJGVSsDSfZ4vxTZXDNfqK640DtSq3L9o26i9qii1U/3rr+AqfvLL4+yJ/MXT K+yXX2Fw==; Received: from x4e37285c.dyn.telefonica.de ([78.55.40.92]:37570 helo=[192.168.1.3]) by host.euro-space.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gL6Sq-00030g-5R; Fri, 09 Nov 2018 13:04:44 +0000 Subject: Re: [PATCH 1/2] ASoC: pcm3060: Add control for differential output To: Mark Brown Cc: Takashi Iwai , Liam Girdwood , Jaroslav Kysela , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org References: <20181029085913.17298-1-kmarinushkin@birdec.tech> <20181105112036.GC5365@sirena.org.uk> From: Kirill Marinushkin Message-ID: <34162ae4-5000-f355-a5a2-90c7b7c6c3e7@birdec.tech> Date: Fri, 9 Nov 2018 14:06:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20181105112036.GC5365@sirena.org.uk> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.euro-space.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - birdec.tech X-Get-Message-Sender-Via: host.euro-space.net: authenticated_id: kmarinushkin@birdec.tech X-Authenticated-Sender: host.euro-space.net: kmarinushkin@birdec.tech X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Mark, On 11/05/18 12:20, Mark Brown wrote: > On Mon, Oct 29, 2018 at 09:59:12AM +0100, Kirill Marinushkin wrote: >> DAC may be switched between differential and single-ended output. > > Isn't this something that'd be better controlled by DT - it's usually > going to be part of the board design? > I agree with that. I implemented it as a switch, just because that's how other codec drivers do. In such situations, I prefer to be aligned with already existing code. Indeed, it's more logical to implement such setup via DT. I will rewrite and send it as patch v2. Best Regards, Kirill