Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754966AbbLGBbS (ORCPT ); Sun, 6 Dec 2015 20:31:18 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:56677 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754051AbbLGBbQ (ORCPT ); Sun, 6 Dec 2015 20:31:16 -0500 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 X-AuditID: cbfee691-f79766d0000012b6-03-5664e16264a3 Content-transfer-encoding: 8BIT Message-id: <5664E15E.7040400@samsung.com> Date: Mon, 07 Dec 2015 10:31:10 +0900 From: Chanwoo Choi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 To: Pavel Machek , Charles Keepax Cc: myungjoo.ham@samsung.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, patches@opensource.wolfsonmicro.com Subject: Re: [PATCH] extcon: arizona: Update naming for micd-timeout DT to include units References: <1448290290-19267-1-git-send-email-ckeepax@opensource.wolfsonmicro.com> <20151204210040.GC822@amd> In-reply-to: <20151204210040.GC822@amd> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprKIsWRmVeSWpSXmKPExsWyRsSkUDfpYUqYwaKtIhb/ptxgt5h/5Byr xeVdc9gsbjeuYLNY/vY/m8XdU0fZHNg8Xk78zebRt2UVo8eK1d/ZPT5vkgtgieKySUnNySxL LdK3S+DKuLB4NnvBcsGKzQ9rGxg38XUxcnBICJhI3Hho3cXICWSKSVy4t56ti5GLQ0hgBaPE nJYtzBAJE4nd79tYIBKzGCV6j3ezgyR4BQQlfky+xwIyiFlAXuLIpWyQMLOAusSkeYuYIeof MEqcfXmNDaJeS+L410+sIDaLgKrE4bVPwOJsQPH9L26wgcwRFYiQ6D5RCRIWEQiXmNXVzQYx s1Zi2fZXYPcIC0RJ3Dm+lhHEFhIokti2fw8TiM0JtPfS0/1gD0gIHGKXuNq4gh1il4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+MLnklcQbGpuY GVkamRtaGBmbK4nz7rsUGSYkkJ5YkpqdmlqQWgTTx8TBKdXAaF82zzJynlFO3dw+UWGrmVtv bF6XMW/yhxP6SRHGczdGr8zruXyC+2CuEMeByM/iM789e2TwvWT/kgNpQqpxRTVRDRMv7G2X 3fyvZPqx3ISTNnOPpBdWz/q8qWnhkxftHQvOtltt9jPkPLrg+MOElfaXN4ruzVUw4HdXjtuU kOfnnTe543xMiBJLcUaioRZzUXEiAA4fhTr2AgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2409 Lines: 56 Hi Pavel, On 2015년 12월 05일 06:00, Pavel Machek wrote: > On Mon 2015-11-23 14:51:30, Charles Keepax wrote: >> Add time units of -ms (milliseconds) to wlf,micd-timeout. >> >> Signed-off-by: Charles Keepax >> --- >> .../devicetree/bindings/extcon/extcon-arizona.txt | 2 +- >> drivers/extcon/extcon-arizona.c | 2 +- >> 2 files changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/Documentation/devicetree/bindings/extcon/extcon-arizona.txt b/Documentation/devicetree/bindings/extcon/extcon-arizona.txt >> index da9813b..05d85ac 100644 >> --- a/Documentation/devicetree/bindings/extcon/extcon-arizona.txt >> +++ b/Documentation/devicetree/bindings/extcon/extcon-arizona.txt >> @@ -33,7 +33,7 @@ Optional properties: >> specified as per the ARIZONA_MICD_TIME_XXX defines. >> - wlf,micd-dbtime : Microphone detection hardware debounces specified as the >> number of measurements to take, valid values being 2 and 4. >> - - wlf,micd-timeout : Timeout for microphone detection, specified in >> + - wlf,micd-timeout-ms : Timeout for microphone detection, specified in >> milliseconds. >> - wlf,micd-force-micbias : Force MICBIAS continuously on during microphone >> detection. >> diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c >> index c377030..8647533 100644 >> --- a/drivers/extcon/extcon-arizona.c >> +++ b/drivers/extcon/extcon-arizona.c >> @@ -1230,7 +1230,7 @@ static int arizona_extcon_device_get_pdata(struct arizona *arizona) >> device_property_read_u32(arizona->dev, "wlf,micd-dbtime", >> &pdata->micd_dbtime); >> >> - device_property_read_u32(arizona->dev, "wlf,micd-timeout", >> + device_property_read_u32(arizona->dev, "wlf,micd-timeout-ms", >> &pdata->micd_timeout); >> >> pdata->micd_force_micbias = > device_property_read_bool(arizona->dev, > > While the change is nice, new kernel is supposed to work with old > DTS. So you'd need to check for both properties here.. This is new DT option. There are no dtbs usingt this property in latest kernel. So, ther is no issue. Thanks, Chanwoo Choi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/