Received: by 10.223.185.116 with SMTP id b49csp6158097wrg; Thu, 8 Mar 2018 02:49:58 -0800 (PST) X-Google-Smtp-Source: AG47ELuuLq8/y7RFDjgvg1GpDHLC1hJ0IDSv9zuGA6JpvxP0AqRAzTTvPTCu3dFoX5t4cyFqbq9x X-Received: by 10.98.28.202 with SMTP id c193mr271412pfc.109.1520506197927; Thu, 08 Mar 2018 02:49:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520506197; cv=none; d=google.com; s=arc-20160816; b=LFWsAgqajf0ITqnrbySCS7kXoqW9Hu0Y8xFQ3wH/TQ7at/VrpZOGWW+9N+DECOx2GF e7Lg+em8H/8IPTuA2NsSRtpucY3dVGyNX2gG6pJ4DpEqgoAuf7mXFMv6gA404ITRym4J 0jLByB4D0wanLNHunB9LoYgZDv+qj3eC3W50Jdz98eZX3wyGEZBlEFTBWj7kA3LEPEBS 2/iVlL5ZPd4x+yy19KKyzKaS3Bzv7haDWah7C6kf6GQdEJ/eyIZj57Xm9jBc3512ffuy 4w2dU3xN8n/t74pGOn/JoPOvafvI2KW+1U42BF+HDGsY3l4aHMRk7+gN4I7etKFwpBHi zt+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=Qntq62wuU7tGOXRYQCAHVs554k93tHVPccZvbIcpBqA=; b=AU5FXFMupT+n7KPST4zumK5+fdZobGiw5lboNmz1TY5FYHXBlha9J2UgvpdkgQx8/1 g3WauaRpKKq29u00S7vFBvGxvnPMNKvsoABjxoeVFoWT3rzxCVugI9WX7v6bwRtPkQlG mu0dLSe02HDtQp0U/ydsgolqUgUqLkOP6q2WRs4sIY9OrM/KuxmPfHN5Vhbw0iJ1knwQ RIbi4v+gPyakqcoYsaM2tqzydXmsqADFHEo9uZzw+tt+9oiNQdujZeGsmaInJGnMqEgA wt2Rtow+1duh2ihZ2u+zKObtS4n3sCkigLdbM6G78J8kPS28DXFXllVuYBRC4rNy/cIf 4/ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hcaJQjE2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j186si12641089pge.747.2018.03.08.02.49.43; Thu, 08 Mar 2018 02:49:57 -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=pass header.i=@linaro.org header.s=google header.b=hcaJQjE2; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935742AbeCHKsi (ORCPT + 99 others); Thu, 8 Mar 2018 05:48:38 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:37689 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934902AbeCHKsg (ORCPT ); Thu, 8 Mar 2018 05:48:36 -0500 Received: by mail-wm0-f66.google.com with SMTP id 139so10202412wmn.2 for ; Thu, 08 Mar 2018 02:48:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=Qntq62wuU7tGOXRYQCAHVs554k93tHVPccZvbIcpBqA=; b=hcaJQjE24NlLKtFrGq6Y5xBbr8rqdZXCdq+Tg4DRcufgu6he35mFdsvLC7LjgfMMF+ UP4EYXm5GmkVwH9TGv0LQgCUJ35IcioPldL0M7kUJFCafSsfvDvrfP6ot3PXQ4sTnKx2 d4Up7Atr1+bOzjYum8EfqZi9Bdym+C7kajC0I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=Qntq62wuU7tGOXRYQCAHVs554k93tHVPccZvbIcpBqA=; b=Llpjcd1Cu4sGtMaTP198/qjj48bR127cgXvjPUclTYoqz2lf4uBc6jupUpjOaGnSVK KybvACNV7zdoKPVH9ApWEXXzmqhDlHCruAi1GLRg7IMrdrpfNpIG7hgZk1dRwJWdDpAM XODoUZZ/1ns5vjuQBoiGHgo56gXjo7cpVbUacZwdKIoJ3LoBXUw4Jov9p7CELi3QOr+W OFaF/qRUv4zsYdDCX+CEq8MYE5F/Lhy1ho5CzJtBo9l6i+Dps7hx4ozItK8GgA2obKQ5 bPXhmwVLKfDbFROHbrWfRu6fuPqIR707D4weoBbXJcfmwblW1zFTPd2IU4CZUlj/G8TV 3HuA== X-Gm-Message-State: APf1xPAjKOSSGrKIY2Q/npfnGlj2T3d6VErFsKd/iZ5VpvdMUg2rlo7C ci/M50YYf+pCxNxQDIUR88ttUw== X-Received: by 10.80.173.79 with SMTP id z15mr32568227edc.306.1520506114959; Thu, 08 Mar 2018 02:48:34 -0800 (PST) Received: from dell ([2.27.35.218]) by smtp.gmail.com with ESMTPSA id y17sm16445334edl.67.2018.03.08.02.48.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Mar 2018 02:48:33 -0800 (PST) Date: Thu, 8 Mar 2018 10:48:31 +0000 From: Lee Jones To: Sebastian Reichel Cc: Liam Girdwood , Mark Brown , Rob Herring , Tony Lindgren , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: Re: [PATCHv5 3/5] mfd: motorola-cpcap: Add audio-codec support Message-ID: <20180308104831.fflq2arj5dxgntia@dell> References: <20180223200254.25685-1-sebastian.reichel@collabora.co.uk> <20180223200254.25685-4-sebastian.reichel@collabora.co.uk> <20180307163211.rytfli5tb47yhtug@dell> <20180308094652.qg4atjw5c3hayaz3@earth.universe> <20180308095315.mpcmx2ob6yhsnrm6@dell> <20180308102757.jyi7uo566n6nuct5@earth.universe> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180308102757.jyi7uo566n6nuct5@earth.universe> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 08 Mar 2018, Sebastian Reichel wrote: > On Thu, Mar 08, 2018 at 09:53:15AM +0000, Lee Jones wrote: > > On Thu, 08 Mar 2018, Sebastian Reichel wrote: > > > On Wed, Mar 07, 2018 at 04:32:11PM +0000, Lee Jones wrote: > > > > On Fri, 23 Feb 2018, Sebastian Reichel wrote: > > > > > +static const struct mfd_cell cpcap_mfd_devices[] = { > > > > > > [...] > > > > > > > > + }, { > > > > > + .name = "cpcap-led", > > > > > + .id = 4, > > > > > + .of_compatible = "motorola,cpcap-led-cp", > > > > > + }, { > > > > > + .name = "cpcap-codec", > > > > > + } > > > > > +}; > > > > > > > > With none of the entries containing platform_data /me wonders why you > > > > can't still use devm_of_platform_populate()? > > > > > > Because devm_of_platform_populate works with compatible properties and > > > cpcap-codec does not have one after I removed it for Mark. > > > > Sorry, I missed that conversation. Why was it removed? > > I had it in PATCHv1-PATCHv4. It was removed, since Mark didn't want > to have it in the DT ABI. Right, but why? Is it not a hardware device? I think converting from devm_of_platform_populate() for one sub-device is a bit drastic. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog