Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752773AbdHAVIM (ORCPT ); Tue, 1 Aug 2017 17:08:12 -0400 Received: from mout.gmx.net ([212.227.15.15]:59777 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752094AbdHAVIK (ORCPT ); Tue, 1 Aug 2017 17:08:10 -0400 From: Jens Rottmann Subject: Re: [PATCH] streamline TLV320AIC23 drivers To: Rob Herring Cc: Mark Rutland , Jaroslav Kysela , Takashi Iwai , Liam Girdwood , Mark Brown , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20170428171115.6zc5nhspvkkgevs7@rob-hp-laptop> <0ea2a5f8-8af0-598d-ad49-23501176efbb@yahoo.com> Message-ID: <90b75c85-1eaa-016f-71c5-a84cb554c731@gmx.de> Date: Tue, 1 Aug 2017 23:07:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <0ea2a5f8-8af0-598d-ad49-23501176efbb@yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:qTsG+mC+K0OtrBS8SMh7Lc5okbScdCFMlCravSN59CSGRMsg/re n3Wrz5tlKLQPGCQGPzUhkeS7rhsTC341KE7430VEdK/Bk/aB7w1lwSkS+3dGryqmKj9g46w yLxc0x9/aFQAWBbkgV4HnM6g0Lo5Pd0S6m9w3BpdHJrWsMMJOqBA3mraZMxZtexibhWX/ph d/wWEL4t20ZB6hKG2i66Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:uSeNl5F9XaM=:jceryla6JepM4qiMHq5t/F Wdvv51NbtIuTwCEz3ug91MODlNsdXnSMfpjYKpc40LUYnbWYZ5chUluFI2fX/Js69Pd+jR6f9 9ie16vgFWvtU7gGsU41NTSNA1/yHJRJ8nKdepT3uv3dlvx8DUhXcvknTtbMVidUwtLRun8OUr Jqu++JHal71MP6Q+WOXe9NqNNn5js/bRGP/XZYeTibbRHStRVdsZ+2AKbR5TSxLIgtuVsGNAL q57QVweGtVkjdT2o1Fryp3auFJz7IMBlZ1wCDU/ZzN32U2ln6E7qLXE4xftoNbIQ0AeUDZkhy rzHvzboSzOwXU6FP3PUmusBuWqiMAXMR5MHgozV98+/aXeaX7xZO08hA62jUigCssIsGOQQtv SMDT+WC27gZ7+A8uaUa/+Hl6cTGciooRHLi9RY1n4GX4X0JC0fggjbumioRjLvaLXeku/n5Ju 5KQyFfMVC5KXFiaqqVBJTbUmkuzJxbMi8Za7rlx2wD8hjkOERMrGB5GmvjZxIGdgg6CSxaLuc oVvO7/NPWceKWL9gVZJhPXu9dIeiQ8quZzUqYBQC9SXCMTLPPawvIX3VlsD4vflMbxw1vAOl2 CwVGN3oIX8W+5EidRsxBZL30bpyCLfXST8fTEkEBSQuhxBGcDQoz1+b5M61USB905uhCa4DDY L+qrcdvxwIx32Sx2+520VEEJWGOlgDeFf8dwamXOkOUwNactyRgHYQDOYd/j0aVMzrqUDwwrh 3pjAm8q1+UMsjixSmPWkOiVVvt8NCT4+uiHpw/3egWs3ITz1x1XNXmQO+WjYZIoD99ZwuAsIn mEiEijij6t/NNPKYbI/getcHKs6C/fjLAR/uqS9n1PclecZ7R9P1bBBUwPEhSdm5xTW2AAnPu NHrs4zhQkVYcu8daF86ZSRMvcrV9fP3Dvb842GjOsgkG/kWVxapPJKrfAyHA1d Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2830 Lines: 66 Hi Rob, repeatedly got no response. Hope I'll get through this time. Regards, Jens -------- Original Message -------- Subject: Re: [PATCH] streamline TLV320AIC23 drivers Date: Sat, 6 May 2017 00:39:20 +0200 From: Jens Rottmann To: Rob Herring CC: Mark Rutland, Jaroslav Kysela, Takashi Iwai, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Liam Girdwood, Mark Brown Hi Rob, sorry for the delay. > On Fri, Apr 21, 2017 at 09:22:02PM +0200, Jens Rottmann wrote: >> - Remove Eukrea naming, i.MX is from Freescale, TLV320AIC23 is from TI, >> driver was written by Eukrea, but it's DT capable, so it's not exclusive: >> - Kconfig option title >> - 'model' option >> - driver 'compatible' string >> [...] >> CONFIG variable and files have not been renamed, though, so no need to >> change old defconfigs. On 04/28/2017 19:11, Rob Herring answered: > Perhaps change the filename. [...] I wanted to avoid the churn, but ok. In that case: Do you want me to change all indentifiers inside driver, too? eukrea_tlv320_probe() --> imx_tlv320aic23_probe() Do you want me to also rename the CONFIG var? CONFIG_SND_SOC_EUKREA_TLV320 --> CONFIG_SND_SOC_IMX_TLV320 I'd adapt in-tree defconfigs, but would unavoidably break out-of-tree defconfigs... >> - - fsl,mux-int-port : The internal port of the i.MX audio muxer (AUDMUX). >> + - mux-int-port : The internal port of the i.MX audio muxer (AUDMUX). >> + - fsl,mux-int-port : Dito, deprecated. >> - - fsl,mux-ext-port : The external port of the i.MX audio muxer. >> + - mux-ext-port : The external port of the i.MX audio muxer. >> + - fsl,mux-ext-port : Dito, deprecated. > Is this used elsewhere? This is FSL specific, so you should keep the > prefix. .../sound/soc/fsl$ egrep 'property.*mux-(int|ext)-port' * eukrea-tlv320.c: ret = of_property_read_u32(np, "fsl,mux-int-port", &int_port); eukrea-tlv320.c: ret = of_property_read_u32(np, "fsl,mux-ext-port", &ext_port); fsl-asoc-card.c: ret = of_property_read_u32(np, "mux-int-port", &int_port); fsl-asoc-card.c: ret = of_property_read_u32(np, "mux-ext-port", &ext_port); imx-es8328.c: ret = of_property_read_u32(np, "mux-int-port", &int_port); imx-es8328.c: ret = of_property_read_u32(np, "mux-ext-port", &ext_port); imx-sgtl5000.c: ret = of_property_read_u32(np, "mux-int-port", &int_port); imx-sgtl5000.c: ret = of_property_read_u32(np, "mux-ext-port", &ext_port); imx-wm8962.c: ret = of_property_read_u32(np, "mux-int-port", &int_port); imx-wm8962.c: ret = of_property_read_u32(np, "mux-ext-port", &ext_port); All drivers use mux-int|ext-port without prefix, tlv320 is the only odd driver out, that's why I did this streamlining patch in the 1st place. I would rather not have to change all other drivers to match the tlv320 one. Thanks, Jens