Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1967787imu; Sat, 22 Dec 2018 09:09:59 -0800 (PST) X-Google-Smtp-Source: ALg8bN4J0IYsmwuF3EsJlNzceiFLutc8vJA7nr/R794U3WSnKZ1WYuQg7bsFyUP3mCKznQnole2c X-Received: by 2002:a63:5455:: with SMTP id e21mr6796523pgm.316.1545498599616; Sat, 22 Dec 2018 09:09:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545498599; cv=none; d=google.com; s=arc-20160816; b=ZbmZZWLBEJtvC61ZQM6zkBLlb1UWIQ7BUpzS1648OfHkXLW8qsYo1i6ivVS5gNIKHU A/HZv4yofj2cSunNx8WfirYTKRuH3kWT32Lnx6calgUgh5+/ET6V0pDQgIYRt40UnGIB 3XDFfWofhBsqLp1qqMYRFz+Gexvt2nR4wJEURwg1qNJDXyF2WS5//nF3H/Cm1Mw+Op5e B/i3XuF9fGdg4FmR0tHc3PRcGZ4K6tW4xtvkNHpXJoW5ox5ARHVIvPSkLLPrT/0SKuC3 Ud0+8Zgyd2Ndeu7oQg18i5yTsm+89kQ3Mr/GYI4kElLuukQxOhxfKbMqpDdWfzGeU5Na iskw== 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=rAvLHHn68OPbAfv7EeX0rZe4janSeqAI9gMZW2hqkQ8=; b=UEO+9n5RQoLkA1ZXl4584iGhkm1HlU/hD83d6TwH28xVOUS2iRuJdlUTQZYjjy1bJp 9xWilD7BLoRaIhhiPHtScKGB9dY+8LAa6GWWHE7qBtSZfwvKf+WkJvqVJiZrWOoAvBC2 sBqmOW6e1sunYF4Ovj59qjoMMMSfm3p8wCNMQGMx5vb4z7enRsi9nQtWPQyOZerSLzBd c0KsXnbuadqL9bifwZx1TPI/b9fwblhqqHh38dsIiEwUrnVDlTTfzPEOUD/lm3lZ0WqO G6QCcwFJZ6XBRat2PElufCO4KqFhg4IL145ArVg77ODfZqPLXuvcaiz3+TqOx/UJ2PZ9 k7DA== 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 c30si12690914pgn.52.2018.12.22.09.09.44; Sat, 22 Dec 2018 09:09:59 -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 S2388583AbeLUSCK (ORCPT + 99 others); Fri, 21 Dec 2018 13:02:10 -0500 Received: from muru.com ([72.249.23.125]:58920 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725937AbeLUSCK (ORCPT ); Fri, 21 Dec 2018 13:02:10 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id BAB9E8068; Fri, 21 Dec 2018 18:02:12 +0000 (UTC) Date: Fri, 21 Dec 2018 10:02:05 -0800 From: Tony Lindgren To: Sebastian Reichel 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: <20181221180205.GH6707@atomide.com> References: <20181221011752.25627-1-sre@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181221011752.25627-1-sre@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Sebastian Reichel [181221 01:18]: > The new code has been tested on the Motorola Droid 4. For testing the audio > should be configured to route Ext to Speaker or Headphone. Then you need to > plug headphone, since its cable is used as antenna. For testing there is a > 'radio' utility packages in Debian. When you start the utility you need to > specify a frequency, since initial get_frequency returns an error: 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. 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? > Merry Christmas! Same to you! Tony 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 This allows using the FM radio in the wl12xx chips after modprobe fm_drv using radio from xawt, or fmtools. Note that the firmware placed into /lib/firmware/ti-connectivity directory: fm_rx_ch8_1283.2.bts fmc_ch8_1283.2.bts Signed-off-by: Tony Lindgren --- arch/arm/configs/omap2plus_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig --- a/arch/arm/configs/omap2plus_defconfig +++ b/arch/arm/configs/omap2plus_defconfig @@ -126,6 +126,7 @@ CONFIG_AF_RXRPC=m CONFIG_RXKAD=y CONFIG_CFG80211=m CONFIG_MAC80211=m +CONFIG_RFKILL=m CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y CONFIG_DMA_CMA=y @@ -343,12 +344,14 @@ CONFIG_IR_GPIO_TX=m CONFIG_IR_PWM_TX=m CONFIG_MEDIA_SUPPORT=m CONFIG_MEDIA_CAMERA_SUPPORT=y +CONFIG_MEDIA_RADIO_SUPPORT=y CONFIG_MEDIA_CEC_SUPPORT=y CONFIG_MEDIA_CONTROLLER=y CONFIG_VIDEO_V4L2_SUBDEV_API=y CONFIG_V4L_PLATFORM_DRIVERS=y CONFIG_VIDEO_OMAP3=m CONFIG_CEC_PLATFORM_DRIVERS=y +CONFIG_RADIO_WL128X=m # CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set CONFIG_VIDEO_TVP5150=m CONFIG_DRM=m -- 2.19.2