Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2681646imu; Sun, 23 Dec 2018 05:32:11 -0800 (PST) X-Google-Smtp-Source: ALg8bN4Mb1Odud8GK9DxN0aKYxPbKTTpf/3aQSWxBx4oKVYjPAJEuSVhmCzthg8CtXRTZz8yfxEv X-Received: by 2002:a17:902:a98c:: with SMTP id bh12mr9703606plb.31.1545571931051; Sun, 23 Dec 2018 05:32:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545571931; cv=none; d=google.com; s=arc-20160816; b=xrJLjoGAtxcSz5bgHeZP3DY7oGnKjTk1LO7FscnNHkks0/EJs9PE94AxSJNTnHqlnJ xaiVytzi5j45OMIzFt6ATGAtbP8rXUP95xiW9foRiZwvQ5riPZzOEWQ9mgEvIXFkexRz apf1pgbR8E+6N6kerLzINuJDjqhZ/QznrElZ0HnLrMvW8ZbYwUD89x6YQihHuyyl+TbB TWj/bnF4kyAHmA5RkZuuZchKC/uHRU76TwPmpcpCaUO+/zdH1H1rkPRa+ismGSo6Omqe lA9hlzuXFCeVLzBrKYdTFPE3rcBdeu+lgqtlxEhUc7pGckR92UGYRNxk9AMbFg4/Q5OB sl8A== 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:dkim-signature; bh=bPOHNxwgPo/DRfylXHd00jOJ+QZbuYm4rOksAP6DDkg=; b=xXNmHFIi4CWu/r5dSr9ORWKWq7P40m877PJnjYwoE6MWPfF839qm/MhAUYCZZqZSnc 1tC/tg0LILTiwb5RzErBL5bmytckzdy+qIT/seqCQbZBe8MnHtlIJzkWiMwCPR/d0UDT TfnVyRm73jJARFfZk11XE86XyvsBmAedRsMNpwS3sjL2jwD4iibngStgFyc7j6bo+8fh XlDad5eqUERChavKzdthT/7NYEMN7vDH3gBMisyeH7A51vA5xio0owPC7TxZz5gaIIW8 bIAJFJ/YI65Hrt8gFpDUwvIQpwLrL8mlLyVcDlxeGtRAYtDKJwpMAueqkd2iOoUqvQ1V dzXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WiD9TSdU; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w2si6005880pgp.546.2018.12.23.05.31.55; Sun, 23 Dec 2018 05:32:11 -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=@kernel.org header.s=default header.b=WiD9TSdU; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387518AbeLVCr6 (ORCPT + 99 others); Fri, 21 Dec 2018 21:47:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:54844 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729161AbeLVCr5 (ORCPT ); Fri, 21 Dec 2018 21:47:57 -0500 Received: from earth.universe (host-091-097-062-171.ewe-ip-backbone.de [91.97.62.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CA2C620874; Sat, 22 Dec 2018 02:47:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1545446876; bh=lwcA7o1P+a1aEXpzjCpEn3zFhAaXzTpfSDnhFNs1ryc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WiD9TSdUwQhKlak2S2Nss29vdu6xIkLaO4HALSiZwCKbJe7ifXewQ4o5t4yj9vIIx FLabbZc69Ew3T2cxHYbmapxy6sUfyX6TGTEr8lINQXILO/qnq/RT/HVCGlscK9aBSA wUECHIYjbMtl/z0wYdXeGz6xIGbREs9kXKBLzQ5g= Received: by earth.universe (Postfix, from userid 1000) id 929303C08E5; Sat, 22 Dec 2018 03:47:53 +0100 (CET) Date: Sat, 22 Dec 2018 03:47:53 +0100 From: Sebastian Reichel To: Tony Lindgren Cc: Mauro Carvalho Chehab , Marcel Holtmann , Rob Herring , Greg Kroah-Hartman , Pavel Machek , 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: <20181222024753.d4mge5m3x3vqfrt6@earth.universe> References: <20181221011752.25627-1-sre@kernel.org> <20181221180205.GH6707@atomide.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3hrdbokkqizipcn6" Content-Disposition: inline In-Reply-To: <20181221180205.GH6707@atomide.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --3hrdbokkqizipcn6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Fri, Dec 21, 2018 at 10:02:05AM -0800, Tony Lindgren wrote: > * Sebastian Reichel [181221 01:18]: > > 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 > Nice, good to see that ti-st kim stuff gone :) I gave this a quick > try using fmtools.git and fmscan works just fine. No luck yet with > fm though, it gives VIDIOC_G_CTRL: Not a tty error somehow so > maybe I'm missing some options, patch below for omap2plus_defconfig. I only did a few quick tests with 'radio' utility. I could scan for stations and I could listen to some station. I suppose the wl128x-radio driver has some buggy code paths, but that are unrelated to this patchset. > Hmm so looks like nothing to configure for the clocks or > CPCAP_BIT_ST_L_TIMESLOT bits for cap for the EXT? So the > wl12xx audio is wired directly to cpcap EXT then and not a > TDM slot on the mcbsp huh? For FM radio it's directly wired to EXT with no DAI being required. I think that EXT is only used by FM radio and not by bluetooth. BT seems to use TDM. > > Merry Christmas! >=20 > Same to you! >=20 > Tony >=20 > 8< -------------------------------- > From tony Mon Sep 17 00:00:00 2001 > From: Tony Lindgren > Date: Fri, 21 Dec 2018 07:57:09 -0800 > Subject: [PATCH] ARM: omap2plus_defconfig: Add RADIO_WL128X as a loadable > module >=20 > This allows using the FM radio in the wl12xx chips after modprobe > fm_drv using radio from xawt, or fmtools. Mh. I suppose I forgot to add alias to support autoloading the FM module. > Note that the firmware placed into /lib/firmware/ti-connectivity > directory: >=20 > fm_rx_ch8_1283.2.bts > fmc_ch8_1283.2.bts There is also a TX firmware. The Droid 4's chip should support this, but I don't know if there is audio routing for this feature. -- Sebastian > Signed-off-by: Tony Lindgren > --- > arch/arm/configs/omap2plus_defconfig | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap= 2plus_defconfig > --- a/arch/arm/configs/omap2plus_defconfig > +++ b/arch/arm/configs/omap2plus_defconfig > @@ -126,6 +126,7 @@ CONFIG_AF_RXRPC=3Dm > CONFIG_RXKAD=3Dy > CONFIG_CFG80211=3Dm > CONFIG_MAC80211=3Dm > +CONFIG_RFKILL=3Dm > CONFIG_DEVTMPFS=3Dy > CONFIG_DEVTMPFS_MOUNT=3Dy > CONFIG_DMA_CMA=3Dy > @@ -343,12 +344,14 @@ CONFIG_IR_GPIO_TX=3Dm > CONFIG_IR_PWM_TX=3Dm > CONFIG_MEDIA_SUPPORT=3Dm > CONFIG_MEDIA_CAMERA_SUPPORT=3Dy > +CONFIG_MEDIA_RADIO_SUPPORT=3Dy > CONFIG_MEDIA_CEC_SUPPORT=3Dy > CONFIG_MEDIA_CONTROLLER=3Dy > CONFIG_VIDEO_V4L2_SUBDEV_API=3Dy > CONFIG_V4L_PLATFORM_DRIVERS=3Dy > CONFIG_VIDEO_OMAP3=3Dm > CONFIG_CEC_PLATFORM_DRIVERS=3Dy > +CONFIG_RADIO_WL128X=3Dm > # CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set > CONFIG_VIDEO_TVP5150=3Dm > CONFIG_DRM=3Dm > --=20 > 2.19.2 --3hrdbokkqizipcn6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAlwdpdIACgkQ2O7X88g7 +pog9RAAicrkY0H2lCVIlUA9qSrLEkeVDH3Vt9v1L6ulOHpoHU1QHCoBFmUTkWCx QPYrdi4zPunE9eht+RwqiMUwIqiIz4x33GF+bgEXSMXFTqzIcgvKFjYBVGTIGZgz umyuN0qgrkYWaW1Jl/L0zHCG7FjrR8WQb6s5P62uayWRY6kT9tIbyHOQz8g1320j wOhJ3ChUlc9sLIy91wxU9zAInDq7CkonXJwJ+InNhuptr13G5QfPZGEg72805vkI Y8julEZNZvFbCh8OqY5K90aj7Jhn0qUFxorZ7WaA7+hcJZI9ThdiK9ZAAIjnulB1 zA3SOyO7oazvDdHJhKhHw10b9kcJLwDjnPrHpWHlVYdwt+61AkKdivqjxYyA14JN Yk/2SxFvfss2lnXfvWjeGJXEnQ/ngSF6iZDPSLTNjhEg39o4TdvvMI5YTqNzkFFV H42M02AWxkxXM72UOaM1nUEpqQcD1r+e8MZWPeH0CbWoMso2OGVw2fYxvXQ/01kx 2TK6jx7fZ7RNZQj1ID+fqvIegvj/8q5LFK0LZnEbGEK9kPiixLU9ZWuoK1IHbvLC Km35L0wnHcs3ovhA+T08iAhL1y4Ti/0sWJP+s21RIIxj+p/O8UZq0xe4Dusm+sjL nTUBKayxzha0ZVVz7qKMTGN2ekjDSCIahxrO4aCUMZx82GKnQGM= =C94d -----END PGP SIGNATURE----- --3hrdbokkqizipcn6--