Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2822692imu; Sun, 23 Dec 2018 08:33:55 -0800 (PST) X-Google-Smtp-Source: ALg8bN7unYPTTBkBKdnUjI32jDx06PNoMvw9nVpR1m5oUMpMxv5/BRZEVJwyGjVUJZbHFEYpCjQI X-Received: by 2002:a17:902:690c:: with SMTP id j12mr10042985plk.206.1545582835858; Sun, 23 Dec 2018 08:33:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545582835; cv=none; d=google.com; s=arc-20160816; b=zR/iXQ5uQQIuLDDCPJyzq33LBPdzj/6k1TzYF0LCHyo228VUt2WJ7a4q7k3IJULffW ByZGaI87iuUO0EnmQfLw+tw32rI/3Uemxh75Q8IAeKlFEJ6sVXsZf+bfK2t1N/G9MnSX XlEf4arJBq3TaEWUiL7BSLAb6rb1CDHhv5GGQtrJrodeXVEAdTbGfzLiLn6NT4C8mmkF 7vKhpH0ua5Ol9AhGYg54emmyq7aOYb4sGY1RFTs0LZjqO/ud75yDyOk6Ytg9oTFC6EVw PUu0lbU2QSjBaq0pLj5PoszSKk6ACnIHIYXR4jvI4hsDdkzxpHMpz1MU5uegtPAuIUiP mIeQ== 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; bh=Ui6WgOCuHGxNO8CbqCE0k4Y1AArzDKjj96Z7cT+qtgE=; b=fVuHAFVjF65Dol/PpsGfBT2bpt7/N0kd+IFARZ7/kw5Sh7fJvj6aJxZ/6Loz/YFhE+ xKnIAZPbeuvOVwkRRc+lAVBofQjsWw9AF+tJ+yqBiJfJCtkrxV3JcfNJESZ30ccqaw+o EojXdmJFzEh4qxYpLHUfHebDbmpAjx4vvy7igkbNvHPck6aC4+f1TUMq/kDy3jbMHeCg 3RA1xSYEt8Bq/to2BpDINGk0Q/90ZwWV8YBEzD4Ijbw+h4WHzkecWiIOwJ/WN4xqFUac ueK1BJ6em+sgvJQsmZe8TjNllFFHtgV+kaPKLAhEcWO0hA0ZJz8SwIaXaiB2EYbNfNWg oUkw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 9si14892803plc.40.2018.12.23.08.33.40; Sun, 23 Dec 2018 08:33:55 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392860AbeLVWkv (ORCPT + 99 others); Sat, 22 Dec 2018 17:40:51 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:43102 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388727AbeLVWkv (ORCPT ); Sat, 22 Dec 2018 17:40:51 -0500 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 59E1080ACF; Sat, 22 Dec 2018 23:40:43 +0100 (CET) Date: Sat, 22 Dec 2018 23:40:47 +0100 From: Pavel Machek To: Sebastian Reichel Cc: Mauro Carvalho Chehab , Marcel Holtmann , Tony Lindgren , Rob Herring , Greg Kroah-Hartman , linux-bluetooth@vger.kernel.org, linux-media@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 00/14] Add support for FM radio in hcill and kill TI_ST Message-ID: <20181222224046.GA8789@amd> References: <20181221011752.25627-1-sre@kernel.org> <20181222200827.GC15237@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline In-Reply-To: <20181222200827.GC15237@amd> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > This moves all remaining users of the legacy TI_ST driver to hcill (pat= ches > > 1-3). Then patches 4-7 convert wl128x-radio driver to a standard platfo= rm > > device driver with support for multiple instances. Patch 7 will result = in > > (userless) TI_ST driver no longer supporting radio at runtime. Patch 8-= 11 do > > some cleanups in the wl128x-radio driver. Finally patch 12 removes the = TI_ST > > specific parts from wl128x-radio and adds the required infrastructure t= o use it > > with the serdev hcill driver instead. The remaining patches 13 and 14 r= emove > > the old TI_ST code. > >=20 > > The new code has been tested on the Motorola Droid 4. For testing the a= udio > > should be configured to route Ext to Speaker or Headphone. Then you nee= d to > > plug headphone, since its cable is used as antenna. For testing there i= s a > > 'radio' utility packages in Debian. When you start the utility you need= to > > specify a frequency, since initial get_frequency returns an error: > >=20 > > $ radio -f 100.0 >=20 > Ok, it seems the driver does not work built-in, due to firmware issue: >=20 > root@devuan:/home/user# dmesg | grep wl12 > [ 1.018951] reg-fixed-voltage regulator-wl12xx: GPIO lookup for > consumer (null) > [ 1.026550] reg-fixed-voltage regulator-wl12xx: using device tree > for GPIO lookup > [ 1.034271] of_get_named_gpiod_flags: can't parse 'gpios' property > of node '/regulator-wl12xx[0]' > [ 1.043487] of_get_named_gpiod_flags: parsed 'gpio' property of > node '/regulator-wl12xx[0]' - status (0) > [ 4.151885] wl12xx_driver wl12xx.1.auto: Direct firmware load for > ti-connectivity/wl128x-nvs.bin failed with error -2 > [ 11.368286] vwl1271: disabling > root@devuan:/home/user# find /lib/firmware/ | grep wl128 > /lib/firmware/ti-connectivity/wl128x-fw-5-plt.bin > /lib/firmware/ti-connectivity/wl128x-fw-5-mr.bin > /lib/firmware/ti-connectivity/wl128x-fw-5-sr.bin > /lib/firmware/ti-connectivity/wl128x-nvs.bin > root@devuan:/home/user# >=20 > Ideas welcome... ... ... am I supposed to compile wl128-nvs.bin into > the kernel using EXTRA_FIRMWARE? EXTRA_FIRMWARE gets me further... some of it was not in debian. "Speaker right" needs to be set to "Ext" in alsamixer, and then... it works! :-) Quality does not seem to be great, but that may be mixer settings or something. Thanks! Pavel Tested-by: Pavel Machek --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlwevW4ACgkQMOfwapXb+vJzsgCfZdE1qOGrkxu0udFUv/CnviXX YiEAoJTOSIjVZmOCWjdegi9E3mGfQqga =mus8 -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz--