Received: by 10.192.165.148 with SMTP id m20csp2669078imm; Sun, 6 May 2018 21:51:00 -0700 (PDT) X-Google-Smtp-Source: AB8JxZodg8ZHNI623jk6edcoz9HLv7CbmMroucPCz/78XpEiN+ySDk2f7KgPmiZhdvwEiry3nd/c X-Received: by 10.98.182.16 with SMTP id j16mr35282518pff.17.1525668660721; Sun, 06 May 2018 21:51:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525668660; cv=none; d=google.com; s=arc-20160816; b=S6QdpI2MXyUrXx/FuoTAaDoMVAnqkqOSkYLRrT9AIMceng5dQ1/UMlf96PCuEo+YAD b46NaUW+37rem4dI2uIefzznFcmd2+/SCsovSDdAnRis1SxbXe23obcxlVNx8B3e2Apq RZKCF1Va6y8HwKcNrEwriv1aF92SMxubYLkviWG0rVvGwZ0bvRMQyO/5NYa0J5EY/PAx 3m1mGnO6Y6hRCmKfduY/ctHpA3KarKaLZLWDcDrnbIWJoGQLAIye0e+vrbQQ1BlF+SYJ T8qsr01LmrKZuvwZoegW1r/PWSTmC/DTv3XTSS+XhDAYfjlg2L+RdZlTAfEyTQJv951Y zIZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:arc-authentication-results; bh=bbNMXSSOB2JDYmh6K5zWUArrglLUnve/4lZP2mC9jFU=; b=olm/FloKJUfgd5sXM/1CEe/odRq/lnTyHYdbewYDNEv/bHwCtUNnhmZzCzYg8bkwPC NN6WjfuQgeGrqfQ9IDvFmqUT0YEmyRnhW8y4bdoiBgtLkfPFG9bIjAnXz85PpRoevVqZ 8srvis5dHKigxtgbkDuyzEybsYqFO3c7FpxKnKQUBDBJeiBZrmCLbiHFIomq7iBFtPZy BZk+RnsByW0Q3gSNFv8njLpvg8ylQdW2nzp0RGjxGpw/juaqk+hLfH1irABAQXpnkrdz SSBgnpICvXg7a/Kyz8SlF4hSxWRH5mniEDoZTbZdkuRUIfDDWfFv/XGAS6gMdHnAEcJQ /cUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=imgfEpdT; 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 g12-v6si21589579plt.304.2018.05.06.21.50.44; Sun, 06 May 2018 21:51:00 -0700 (PDT) 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=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=imgfEpdT; 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 S1750990AbeEGEuf (ORCPT + 99 others); Mon, 7 May 2018 00:50:35 -0400 Received: from mail-cys01nam02on0059.outbound.protection.outlook.com ([104.47.37.59]:54272 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750737AbeEGEuc (ORCPT ); Mon, 7 May 2018 00:50:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=bbNMXSSOB2JDYmh6K5zWUArrglLUnve/4lZP2mC9jFU=; b=imgfEpdT2SOB52QXkD031j7cvpJkWJ4BQip1WmquhFqhKczVGzpSUEHGq8M6ipJTGEgWhLKy/8gdfh022zi5uvSCBAdwNxpcyAKuSYlKQQg3e5l8u7B8tkdO9Uu2Ayvv60OV24HOrvTjTvGGIAI7eYgEcoroxaE5l4ETj0JEMJo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Akshu.Agrawal@amd.com; Received: from [10.136.128.133] (202.56.249.162) by BL0PR12MB2356.namprd12.prod.outlook.com (2603:10b6:207:4d::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.18; Mon, 7 May 2018 04:50:27 +0000 Subject: Re: [PATCH v3] ASoC: da7219: read fmw property to get mclk for non-dts systems To: Adam Thomson Cc: "djkurtz@chromium.org" , "Alexander.Deucher@amd.com" , Support Opensource , Jaroslav Kysela , Takashi Iwai , Liam Girdwood , Mark Brown , "moderated list:SOUND" , open list References: <1525334313-28661-1-git-send-email-akshu.agrawal@amd.com> <2E89032DDAA8B9408CB92943514A0337014C1EA102@SW-EX-MBX01.diasemi.com> From: "Agrawal, Akshu" Message-ID: Date: Mon, 7 May 2018 10:20:10 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <2E89032DDAA8B9408CB92943514A0337014C1EA102@SW-EX-MBX01.diasemi.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [202.56.249.162] X-ClientProxiedBy: PN1PR01CA0109.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00::25) To BL0PR12MB2356.namprd12.prod.outlook.com (2603:10b6:207:4d::10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:BL0PR12MB2356; X-Microsoft-Exchange-Diagnostics: 1;BL0PR12MB2356;3:HA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Iko9LFZpWlVXroWQ92a3ZV93Q/vtV0joK+S11ciqtYymqLN/gl4EnjqiDXRmCJTYkEOBBLJkS5nNwQXdyd2aqczCR2dqakNQHJLmYVq4vBoABIm5D+hPAkl0kQCB9WCdYbSO26bK4KzeqjSJjuNicFqVfE86uuKyPczaSrR1jjWL9/v4U6VzLPuiiOp0/itgjrxjmdMNr9Arg5eTankiUzWGWjRJ2zEqhU4JwqGONERX9bEmdLHdnX7MY2dJS9b4ylJ9KUy9+R1G/pWYicDCFBlxtCEXy+p+iMG8gxr7wXsjcVzPajdobb7luHoz6g0uF+4E2UqS1x6pV+JXShZ3L5hvGnSX;4:SOyQiANSkVxEIMoKyropWEJc61D9+G/YyDPKn6YsxQKW4CkhJ0sK16XpSVHNWntn0qHDt9uJXIQ3zWA9bLVIFjrVQT3JIxGq7DGkplXdnLJcTdniJyqD92h9CwHftRxOed0oE5SR/iBOYm8pLIOd3f/P9GiieMAK5223LFsE3Zlpr2ylgorRpn33SG1ij5Gk270qb5fjt2QYayKMBMAPzO3thGjqpWIN34MX9eaLRtiM7kGRjnFB0AcINuZEzqF/7pkKpwUFre9f8D7yyYyFavVlgLnOPXQ4Pe+hdU3vW6Wlq1FBvjN38zrQbUE3CGrI X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-MS-Exchange-SenderADCheck: 0 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(3231254)(944501410)(52105095)(6055026)(149027)(6041310)(20161123560045)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011);SRVR:BL0PR12MB2356;BCL:0;PCL:0;RULEID:;SRVR:BL0PR12MB2356; X-Forefront-PRVS: 066517B35B X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(39380400002)(396003)(39860400002)(366004)(376002)(346002)(199004)(189003)(106356001)(31686004)(6486002)(230700001)(229853002)(6916009)(25786009)(4326008)(68736007)(97736004)(3260700006)(6666003)(2906002)(105586002)(36756003)(64126003)(16576012)(8676002)(81166006)(386003)(53546011)(76176011)(59450400001)(58126008)(316002)(54906003)(72206003)(66066001)(65806001)(65956001)(6306002)(7736002)(86362001)(476003)(47776003)(52116002)(52146003)(2486003)(23676004)(966005)(77096007)(26005)(16526019)(186003)(6116002)(3846002)(486006)(305945005)(39060400002)(2616005)(53936002)(65826007)(6246003)(5660300001)(81156014)(31696002)(8936002)(956004)(446003)(11346002)(478600001)(50466002);DIR:OUT;SFP:1101;SCL:1;SRVR:BL0PR12MB2356;H:[10.136.128.133];FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTDBQUjEyTUIyMzU2OzIzOkpQV2JBNmtJL3J6TmJQNEdKY1BSSlpSaUdC?= =?utf-8?B?N0FlaGxoWDRVL1daM3ZZYVZJQmV2T0l6WnZjZ1RJczQ3RUNpWTZqRERrS2JC?= =?utf-8?B?V2JvK3hJcml4Z1NpbGQrenZENlhzOGFwNElSekxMSUViRFR0L2xud01qNEly?= =?utf-8?B?aFNpMm1rMTVmblN2YWZNZVROY1R6TG9GY1RhLzNWakZrQk8yY25Cdmlwc2Uz?= =?utf-8?B?ZUJxa2YrM1VqcnoxOGxzdkxlZG5LMDluMlNoK0VKWVJqS3QvN1lXcE1ocDZ2?= =?utf-8?B?NVZBbU85aWoxNk1Hb1dBWmVCS05GWXJudjdobjdENnFYR1N2dWduWTFZdWdi?= =?utf-8?B?ZFZFRVhPV2I1bUQ4ZlBWbHdDWW5Ya01ubGR6ZkMyWi9XTm9yYXF5OFFWdFlX?= =?utf-8?B?UmdxNUlqU3NQQS9TSGpRZEMrQWhyaGYvTVRseUNYVlVQRzQ3eXBkbk10YmU2?= =?utf-8?B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2nm9RVpdmL/Te9ItZGGVdsQ5MzIhUWDEm/St/djnNd8KbFcZ0MzckIX6Mb8y5e8peSNV/6eTbP8o8YzpZwrGsDpN/YM5NRc;20:3ZjIzI2cHsEcQf0LpmJV6U+Om//znyTyvXvZUCQwePynZUXPAfqXJYNBq1Z3fmm6eeuYqYo8HELLr+rQwkJJz19XtPpFA79b+USfP/ig4PDGbNKLuqa23Ahai5Vj/4RunmY1OIv4FFtuF/jP1v/Iu1w7B7ui+8sSjPxF02lndg8HPAF3MO94NRKZOQOA+ryDt9UfugeDp38v3gZaKWF1u+x577QuabXvpVEtDKdB5DMFlpZCokjGsSMxiz4tanP1 X-MS-Office365-Filtering-Correlation-Id: a8a38e9d-0895-46c4-31bf-08d5b3d60f0e X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 May 2018 04:50:27.2098 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a8a38e9d-0895-46c4-31bf-08d5b3d60f0e X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR12MB2356 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/4/2018 2:45 PM, Adam Thomson wrote: > On 03 May 2018 08:59, Akshu Agrawal wrote: > >> Non-dts based systems can use ACPI DSDT to pass on the mclk >> to da7219. >> This enables da7219 mclk to be linked to system clock. >> Enable/Disable of the mclk is already handled in the codec so >> platform drivers don't have to explicitly do handling of mclk. >> >> Signed-off-by: Akshu Agrawal >> --- >> v2: Fixed kbuild error >> v3: Add corresponding clk_put for clk_get >> include/sound/da7219.h | 2 ++ >> sound/soc/codecs/da7219.c | 10 +++++++++- >> 2 files changed, 11 insertions(+), 1 deletion(-) >> >> diff --git a/include/sound/da7219.h b/include/sound/da7219.h >> index 1bfcb16..df7ddf4 100644 >> --- a/include/sound/da7219.h >> +++ b/include/sound/da7219.h >> @@ -38,6 +38,8 @@ struct da7219_pdata { >> >> const char *dai_clks_name; >> >> + const char *mclk_name; >> + >> /* Mic */ >> enum da7219_micbias_voltage micbias_lvl; >> enum da7219_mic_amp_in_sel mic_amp_in_sel; >> diff --git a/sound/soc/codecs/da7219.c b/sound/soc/codecs/da7219.c >> index 980a6a8..ecd46fc 100644 >> --- a/sound/soc/codecs/da7219.c >> +++ b/sound/soc/codecs/da7219.c >> @@ -1624,6 +1624,8 @@ static struct da7219_pdata *da7219_fw_to_pdata(struct >> snd_soc_component *compone >> dev_warn(dev, "Using default clk name: %s\n", >> pdata->dai_clks_name); >> >> + device_property_read_string(dev, "dlg,mclk-name", &pdata->mclk_name); >> + > > Personally am still not keen on this. To me the use of a device_property_* > function suggests the same property resides in both DT and ACPI, but here we're > only using this for the ACPI case. DT has no want or need for this. I still feel > we should look at something more generic in the clock framework, although I do > agree with Mark that this should be properly specced. > I am not an expert in field of ACPI, IMO forming a Spec and changing ACPI to have DT like clock framework is good to have but a bigger change which should be taken up later. The current code of handling of mclk in the driver is usable only by DT. The device_property (though ACPI specific) makes this code, a common code for DT and ACPI based devices. https://www.kernel.org/doc/Documentation/acpi/DSD-properties-rules.txt "....Still, for the sake of code re-use, it may make sense to provide as much of the configuration data as possible in the form of device properties and complement that with an ACPI-specific mechanism suitable for the use case at hand......" Thanks, Akshu