[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-id: <566F662A.8080601@samsung.com>
Date: Tue, 15 Dec 2015 10:00:26 +0900
From: Chanwoo Choi <cw00.choi@...sung.com>
To: Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>
Cc: myungjoo.ham@...sung.com, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, patches@...nsource.wolfsonmicro.com,
robh@...nel.org
Subject: Re: [PATCH 3/3] extcon: arizona: Add DT binding examples
On 2015년 12월 14일 19:37, Charles Keepax wrote:
> Add an example for all elements of the Arizona extcon device tree
> binding.
>
> Signed-off-by: Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>
> ---
> .../devicetree/bindings/extcon/extcon-arizona.txt | 26 ++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/extcon/extcon-arizona.txt b/Documentation/devicetree/bindings/extcon/extcon-arizona.txt
> index fd9b898..e27341f 100644
> --- a/Documentation/devicetree/bindings/extcon/extcon-arizona.txt
> +++ b/Documentation/devicetree/bindings/extcon/extcon-arizona.txt
> @@ -47,3 +47,29 @@ Optional properties:
> The third cell represents the value of the micd-pol-gpio pin.
>
> - wlf,gpsw : Settings for the general purpose switch
> +
> +Example:
> +
> +codec: wm8280@0 {
> + compatible = "wlf,wm8280";
> + reg = <0>;
> + ...
> +
> + wlf,use-jd2;
> + wlf,use-jd2-nopull;
> + wlf,jd-invert;
> +
> + wlf,micd-software-compare;
> + wlf,micd-detect-debounce = <0>;
> + wlf,micd-pol-gpio = <&codec 2 0>;
> + wlf,micd-rate = <ARIZONA_MICD_TIME_8MS>;
> + wlf,micd-dbtime = <4>;
> + wlf,micd-timeout-ms = <100>;
> + wlf,micd-force-micbias;
> + wlf,micd-configs = <
> + 0 1 0 /* MICDET1 MICBIAS1 GPIO=low */
> + 1 2 1 /* MICDET2 MICBIAS2 GPIO=high */
> + >;
> +
> + wlf,gpsw = <0>;
> +};
>
Looks good to me. Applied it.
Thanks,
Chanwoo Choi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists