Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752165AbbKXAEV (ORCPT ); Mon, 23 Nov 2015 19:04:21 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:51844 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751812AbbKXAES (ORCPT ); Mon, 23 Nov 2015 19:04:18 -0500 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 X-AuditID: cbfee68d-f79286d000007523-3b-5653a9802b96 Content-transfer-encoding: 8BIT Message-id: <5653A980.30100@samsung.com> Date: Tue, 24 Nov 2015 09:04:16 +0900 From: Chanwoo Choi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 To: 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> In-reply-to: <1448290290-19267-1-git-send-email-ckeepax@opensource.wolfsonmicro.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphkeLIzCtJLcpLzFFi42JZI2JSrNuwMjjM4NkMTYt/U26wW8w/co7V 4vKuOWwWtxtXsFksf/ufzYHV4+XE32wefVtWMXp83iQXwBzFZZOSmpNZllqkb5fAlbHk9Dvm gid8FTe+7mdrYNzI08XIySEhYCKx+O9rVghbTOLCvfVsXYxcHEICKxglzrfuZ4YpejBlCytE YhajxMN1L1hAErwCghI/Jt8Dsjk4mAXkJY5cygYJMwuoS0yat4gZov4Bo8SilbeYIeo1JKZv m8oOUs8ioCpxdCo3SJhNQEti/4sbbCBhUYEIie4TlSBhEQELiSlLIDqZBWollm1/BWYLC0RJ 3Dm+lhHEFhIIlfh36j8TiM0pECZx9NZEsDMlBLaxS1w9MI8NJMEiICDxbfIhsDMlBGQlNh2A ektS4uC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anZqakFqUUwfUwcnFINjLGL7txpsnE0npEV0rBNsMPMX7qW50pph76i c07SwYJPQcX3lrW5LZjY/ua0c6Gm/KyDGvW/Z833u5tkmPo8bncQe26vn9zmrIyD61uXCW89 3SvRNOkYw7VH3Q4bTijZViTNdPieq9Xof2Ruoaz8ku1yS+Ii0/LeWl8+/1vb5HHqlgPWDWm8 SizFGYmGWsxFxYkALnXRQewCAAA= 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: 2096 Lines: 46 On 2015년 11월 23일 23:51, 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, > Applied it. 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/