From patchwork Mon May 9 12:32:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 9046051 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6B5D39F30C for ; Mon, 9 May 2016 12:33:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5CBB420148 for ; Mon, 9 May 2016 12:33:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 389012010B for ; Mon, 9 May 2016 12:33:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752963AbcEIMcx (ORCPT ); Mon, 9 May 2016 08:32:53 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:53083 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752836AbcEIMcv (ORCPT ); Mon, 9 May 2016 08:32:51 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id u49CWBSw012366; Mon, 9 May 2016 07:32:11 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id u49CWAlj005317; Mon, 9 May 2016 07:32:10 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Mon, 9 May 2016 07:32:09 -0500 Received: from [192.168.2.6] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id u49CW5Nq016374; Mon, 9 May 2016 07:32:05 -0500 Subject: Re: [Kernel] [PATCH v2 4/5] ARM: dts: omap5: describe control for ckobuffer To: Tero Kristo , "H. Nikolaus Schaller" References: <20160426172710.GI5995@atomide.com> <70572DA1-BEB4-4681-BA6C-2E1C9002D730@goldelico.com> <5720B107.4000907@ti.com> <5720C85B.9010701@ti.com> <40536322-073F-48BD-9D07-32B9A9F07AF2@goldelico.com> <5721C3D4.7040401@ti.com> <2A9D82CD-9ACA-49F6-9D2B-9EACFC517914@goldelico.com> <57220EDD.7080903@ti.com> <573079F5.7050507@ti.com> <145c9917-6a85-292b-c3c9-cf85ceb26f21@ti.com> CC: Mark Rutland , , Discussions about the Letux Kernel , Russell King , Pawel Moll , Ian Campbell , Tony Lindgren , , LKML , Rob Herring , Laxman Dewangan , =?UTF-8?Q?Beno=c3=aet_Cousson?= , Kumar Gala , Marek Belisko , linux-omap From: Peter Ujfalusi Message-ID: Date: Mon, 9 May 2016 15:32:04 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <145c9917-6a85-292b-c3c9-cf85ceb26f21@ti.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-9.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_TVD_MIME_EPI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On 05/09/16 15:10, Peter Ujfalusi wrote: >>> finally I found some time to apply your patches. Sorry for the long time. >>> >>> Unfortunately, it does not work. Neither on omap5evm nor on our omap5 hardware. >>> I get no sound on the twl6040 - just white noise (which can be controlled in >>> level through >>> amixer so it is created on the digital input side of the twl6040). >>> >>> So I think your patch is missing a detail compared to my simple solution. >> >> Did you implement anything on the audio driver side? The audio driver must >> enable the clock implemented by this patch. > > I did, can test it in 10 minutes or so... might work, but linux-next is not booting on omap5-uevm :o I don't know why... In any case I have attached the 3 patches I have for this, including Tero's ported to linux-next. Patch 3 might need to be done per board probably, but this should be good for testing. From 87714553b1f803f9c08d32c2c61dc980ddbb1b78 Mon Sep 17 00:00:00 2001 From: Peter Ujfalusi Date: Mon, 9 May 2016 15:26:11 +0300 Subject: [PATCH 3/3] ARM: dts: omap5-board-common: Add phandle for mclk clock for twl6040 it is used for hppll. Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/omap5-board-common.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap5-board-common.dtsi b/arch/arm/boot/dts/omap5-board-common.dtsi index a3a631fb77aa..4caad4dc5d41 100644 --- a/arch/arm/boot/dts/omap5-board-common.dtsi +++ b/arch/arm/boot/dts/omap5-board-common.dtsi @@ -649,8 +649,8 @@ v2v1-supply = <&smps9_reg>; enable-active-high; - clocks = <&clk32kgaudio>; - clock-names = "clk32k"; + clocks = <&clk32kgaudio>, <&fref_xtal_ck>; + clock-names = "clk32k", "mclk"; }; }; -- 2.8.2