Received: by 10.223.185.116 with SMTP id b49csp1032721wrg; Fri, 16 Feb 2018 11:09:50 -0800 (PST) X-Google-Smtp-Source: AH8x224suRq7dHOtaYFuLJOtFW1PNYY7687d5SFvzn6eVc1b03iLo0xwhgbFwHZepihc/gbAErVa X-Received: by 2002:a17:902:34f:: with SMTP id 73-v6mr6544035pld.55.1518808190778; Fri, 16 Feb 2018 11:09:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518808190; cv=none; d=google.com; s=arc-20160816; b=lXBCRlh+lgid+sTArBl8MmTfZ2khz4UT/Tvvyanxdq7PY25up4yg1buWNVyNDKiJVf qCERJGmT8tKAlSQa6DRiCYXJFH00ohLtAWm4ENzAKeyDiQs1E0TQCz+eZ3qrcuRH8UOy glhOurfb8AGvDK0hVQFK8/LR2HmA6n1UpNgPOxhGsKDWnywgQNx+L9n4iCK5N0nOTfFG ucLXFJW5ptdSHz7dfbitRrD8YSRgJ449yzzojyZyjNb7xHNKzTUNgHnXnoL0bmqnT21O org2rcYy/w6y9QM9tjQ/aDkSpAqsB/pgiAJf17pbnSp1jwhPig0D7OcRKHYt9A9Z5fN4 627Q== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=PHkWhEJY3mnrBoBbDSYxqGHKYAsIix92uUB1gRS8VY8=; b=nwcjCW5IXU9S4UMT4rdXzli5IcMyfAIQL6nHypqTfwrgcYovKM5/9tJMoU7HSAneyM YMqc5AeC8CqMzykAVeCkqo2FRRDdfkUbkOAI1tGwQ/5MdzP2kOsZcab2vnkTftdaMv7k pMW9Gws3PtdlMsVr7znjNHNULD3t78XRwElTClvQW5wAv8/yBmr0G/p0TnO7dHBHNR6D Tj7ZbL7ivUzPrNni6t+kVxbRn+WFMOwAUMyv6JWqxEIz4Fjv3fWnMEyak1fgjaQI5pl5 zPiOMyAa98JIJIt5yfp2ZygPZsg/qmPy3/IZaLrFZ/eKXjxjdPb+FQ/PU+p6bfGBKTSj Tqng== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b1-v6si94652pld.281.2018.02.16.11.09.36; Fri, 16 Feb 2018 11:09:50 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031245AbeBPNbU (ORCPT + 99 others); Fri, 16 Feb 2018 08:31:20 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:33342 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031222AbeBPNbS (ORCPT ); Fri, 16 Feb 2018 08:31:18 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id 71CC82701D9 Date: Fri, 16 Feb 2018 14:31:14 +0100 From: Sebastian Reichel To: Philippe Ombredanne Cc: Liam Girdwood , Mark Brown , Rob Herring , Tony Lindgren , Jaroslav Kysela , Takashi Iwai , ALSA , linux-omap@vger.kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML Subject: Re: [PATCHv4 2/4] ASoC: codec: cpcap: new codec Message-ID: <20180216133114.6ynx36b5cpfvkebd@earth.universe> References: <20180214220741.28306-1-sebastian.reichel@collabora.co.uk> <20180214220741.28306-3-sebastian.reichel@collabora.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xxkkzaapssgvi4et" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --xxkkzaapssgvi4et Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Philippe, On Thu, Feb 15, 2018 at 10:50:22AM +0100, Philippe Ombredanne wrote: > Dear Sebastian, >=20 > On Wed, Feb 14, 2018 at 11:07 PM, Sebastian Reichel > wrote: > > Motorola CPCAP is a PMIC with audio functionality, that can be > > found on Motorola Droid 4 and probably a few other phones from > > Motorola's Droid series. > > > > The driver has been written from scratch using Motorola's Android > > driver, register dumps from running Android and datasheet for NXP > > MC13783UG (which is similar to Motorola CPCAP, but not the same). > > > > The chip provides two audio interfaces, that can be muxed to two > > different audio codecs. One provides support for stereo output > > (named StDAC or HiFi), while the other only provides mono output > > (named Voice). Only the Voice codec provides a Capture interface. > > > > Signed-off-by: Sebastian Reichel >=20 > >=20 > > --- /dev/null > > +++ b/sound/soc/codecs/cpcap.c > > @@ -0,0 +1,1588 @@ > > +/* > > + * ALSA SoC CPCAP codec driver > > + * > > + * Copyright (C) 2017 - 2018 Sebastian Reichel > > + * > > + * Very loosely based on original driver from Motorola: > > + * Copyright (C) 2007 - 2009 Motorola, Inc. > > + * > > + * This program is free software; you can redistribute it and/or modify > > + * it under the terms of the GNU General Public License version 2 as > > + * published by the Free Software Foundation. > > + * > > + * This program is distributed in the hope that it will be useful, > > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > > + * GNU General Public License for more details. > > + * > > + */ >=20 > Could you consider using the new SPDX tags instead of this fine but > long legalese? [1] Sure. Thanks for the hint. > >=20 > > +MODULE_ALIAS("platform:cpcap-codec"); > > +MODULE_DESCRIPTION("ASoC CPCAP codec driver"); > > +MODULE_AUTHOR("Sebastian Reichel"); > > +MODULE_LICENSE("GPL"); >=20 > This does not match your license: per module.h, GPL means GPL-2.0 or > later. You notice above is GPL-2.0, not "or later" Indeed. I will fix this in the next revision. > [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tr= ee/Documentation/process/license-rules.rst -- Sebastian --xxkkzaapssgvi4et Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAlqG3SIACgkQ2O7X88g7 +pqMmA//aa05Eg+Q58TcnFoWA7tjVdypd3uwmzsRCqFMLOj6TC8iPSv5yz4JU+Dp YQp8e42B+eN61XNhEf/HWu3HRvLlCwHgEMYmElUPzSOr/L0p2RF+Uy1YfpDq46M+ baVlNYYM0u5pu+vMWqvGUU2g409X9eaNHfCFrErNuBdDNpUADVYIgQ67Pe2eQtqp q6y13qWgYn9ol9r4bIrKxS/Em2zyZKZjNYxGhUzXDr3ui8qVZnKLosJISCJOcHZi RkR481/psP0APoAJ4HcDvlcAbIGQ+xBHdmEsIGROHtBN84gcsoWbBjhXfks/UKa9 RR34y45aGRdRdNVhIXEFov5W6C35OlTWoNrOm/28Xd3VIrdlXbn7j9PIkA+pbAvP zTDDrUP8ptlm075Ns15HET+ZWv5PpugYrEmYYYksMLfr3OOSyExbuLStxsDh9lNn Bzap6YLWvA+0XL9MYTyKTT7kbuhv4wEerHVpVCo4hC0bb3JmPZMYS07VSepu5MdS A/oFi0h2XLmCb8305MifunnWMwZ7tLVlygfd65h+IV5sHGLs/be7lvQuCSZfd6GR 3Ee50G8x+EzCUiQ54vMsTtC+gGTgE1eIlLnx5n9fkzBbAIA9upibURUvWJgWAJ3N 7w3c1f+65e/hyO5XyZYeusrgUmv+Rqaa6XDn9L/6CPebv721Ruo= =SxCo -----END PGP SIGNATURE----- --xxkkzaapssgvi4et--