lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5336AA42.8020606@kernel.org>
Date:	Sat, 29 Mar 2014 11:10:58 +0000
From:	Jonathan Cameron <jic23@...nel.org>
To:	Sebastian Reichel <sre@...ian.org>,
	Sebastian Reichel <sre@...g0.de>,
	Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
	David Woodhouse <dwmw2@...radead.org>
CC:	Marek Belisko <marek@...delico.com>,
	Rob Herring <robh+dt@...nel.org>,
	Pawel Moll <pawel.moll@....com>,
	Mark Rutland <mark.rutland@....com>,
	Ian Campbell <ijc+devicetree@...lion.org.uk>,
	Kumar Gala <galak@...eaurora.org>,
	Grant Likely <grant.likely@...aro.org>,
	linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
	linux-iio@...r.kernel.org,
	Pali Rohár <pali.rohar@...il.com>
Subject: Re: [PATCHv2 2/2] Documentation: DT: Document rx51-battery binding

On 01/03/14 20:22, Sebastian Reichel wrote:
> Add devicetree binding documentation for rx51-battery,
> which is a simple A/D converter consumer.
>
> Signed-off-by: Sebastian Reichel <sre@...ian.org>
Acked-by: Jonathan Cameron <jic23@...nel.org>

Clearly this set has some rather large dependencies, but its good to go
once those are in place.

Jonathan
> ---
>   .../devicetree/bindings/power/rx51-battery.txt     | 25 ++++++++++++++++++++++
>   1 file changed, 25 insertions(+)
>   create mode 100644 Documentation/devicetree/bindings/power/rx51-battery.txt
>
> diff --git a/Documentation/devicetree/bindings/power/rx51-battery.txt b/Documentation/devicetree/bindings/power/rx51-battery.txt
> new file mode 100644
> index 0000000..9043845
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/power/rx51-battery.txt
> @@ -0,0 +1,25 @@
> +Binding for Nokia N900 battery
> +
> +The Nokia N900 battery status can be read via the TWL4030's A/D converter.
> +
> +Required properties:
> +- compatible: Should contain one of the following:
> + * "nokia,n900-battery"
> +- io-channels: Should contain IIO channel specifiers
> +               for each element in io-channel-names.
> +- io-channel-names: Should contain the following values:
> + * "temp" - The ADC channel for temperature reading
> + * "bsi"  - The ADC channel for battery size identification
> + * "vbat" - The ADC channel to measure the battery voltage
> +
> +Example from Nokia N900:
> +
> +battery: n900-battery {
> +	compatible = "nokia,n900-battery";
> +	io-channels = <&twl4030_madc 0>,
> +		      <&twl4030_madc 4>,
> +		      <&twl4030_madc 12>;
> +	io-channel-names = "temp",
> +			   "bsi",
> +			   "vbat";
> +};
>

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ