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] [day] [month] [year] [list]
Message-ID: <514B21DA.1010901@atmel.com>
Date:	Thu, 21 Mar 2013 16:06:02 +0100
From:	Nicolas Ferre <nicolas.ferre@...el.com>
To:	Richard Genoud <richard.genoud@...il.com>
CC:	Jean-Christophe PLAGNIOL-VILLARD <plagnioj@...osoft.com>,
	<linux-arm-kernel@...ts.infradead.org>,
	<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] DTS at91sam9x5cm: add 1-wire chip on CM board

On 03/20/2013 12:23 PM, Richard Genoud :
> This add the 1-wire chip present on the CM board to the DTS.
> As the pin is also used by leds, tt's disabled by default.
> If the board really wants it, it can be enabled in the board DTS.
> 
> Signed-off-by: Richard Genoud <richard.genoud@...il.com>

Acked-by: Nicolas Ferre <nicolas.ferre@...el.com>

And pushed to at91-3.10-dt branch.

Thanks,

> ---
>  arch/arm/boot/dts/at91sam9x5cm.dtsi |   20 ++++++++++++++++++++
>  1 files changed, 20 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/at91sam9x5cm.dtsi b/arch/arm/boot/dts/at91sam9x5cm.dtsi
> index 4027ac7..347a74a 100644
> --- a/arch/arm/boot/dts/at91sam9x5cm.dtsi
> +++ b/arch/arm/boot/dts/at91sam9x5cm.dtsi
> @@ -24,6 +24,16 @@
>  	};
>  
>  	ahb {
> +		apb {
> +			pinctrl@...ff400 {
> +				1wire_cm {
> +					pinctrl_1wire_cm: 1wire_cm-0 {
> +						atmel,pins = <1 18 0x0 0x2>; /* PB18 multidrive, conflicts with led */
> +					};
> +				};
> +			};
> +		};
> +
>  		nand0: nand@...00000 {
>  			nand-bus-width = <8>;
>  			nand-ecc-mode = "hw";
> @@ -74,4 +84,14 @@
>  			gpios = <&pioD 21 0>;
>  		};
>  	};
> +
> +	1wire_cm {
> +		compatible = "w1-gpio";
> +		gpios = <&pioB 18 0>;
> +		linux,open-drain;
> +		pinctrl-names = "default";
> +		pinctrl-0 = <&pinctrl_1wire_cm>;
> +		status = "okay";
> +	};
> +
>  };
> 


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