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: <536CF49E.1050708@atmel.com>
Date:	Fri, 9 May 2014 17:30:38 +0200
From:	Nicolas Ferre <nicolas.ferre@...el.com>
To:	"Yang, Wenyou" <Wenyou.Yang@...el.com>,
	Alexandre Belloni <alexandre.belloni@...e-electrons.com>
CC:	"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"robh+dt@...nel.org" <robh+dt@...nel.org>,
	"broonie@...nel.org" <broonie@...nel.org>,
	"linux-arm-kernel@...ts.infradead.org" 
	<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH] ARM: dts: at91-sama5d3_xplained: add the regulator device
 node

On 22/04/2014 03:37, Yang, Wenyou :
> Hi,
> 
>> -----Original Message-----
>> From: Alexandre Belloni [mailto:alexandre.belloni@...e-electrons.com]
>> Sent: Monday, April 21, 2014 8:22 PM
>> To: Yang, Wenyou
>> Cc: devicetree@...r.kernel.org; Ferre, Nicolas; linux-
>> kernel@...r.kernel.org; robh+dt@...nel.org; broonie@...nel.org; linux-
>> arm-kernel@...ts.infradead.org
>> Subject: Re: [PATCH] ARM: dts: at91-sama5d3_xplained: add the regulator
>> device node
>>
>> On 21/04/2014 at 11:54:43 +0200, Alexandre Belloni wrote :
>>> Hi,
>>>
>>> On 21/04/2014 at 12:29:07 +0800, Wenyou Yang wrote :
>>>> +
>>>> +						vddana_reg: LDO_REG2 {
>>>> +							regulator-name = "VDDANA";
>>>> +							regulator-min-microvolt =
>> <3300000>;
>>>> +							regulator-max-microvolt =
>> <3300000>;
>>>> +							regulator-always-on;
>>>
>>> I'm pretty sure that one is not always on as you actually have to
>>> configure it to get any voltage. Are you sure you want to set the
>>> regulator-always-on property here ?
>>>
>>
>> Just to clarify my though, wouldn't it be better to make the ADC driver
>> handle that regulator instead of using regulator-always-on ?
> Yes, you are right. 
> It should not use regulator-always-on property for this regulator.
> It is ADC driver and ISI driver to handle it(The ISI takes PCK for clock).

Hi Wenyou and Alexandre,

After talking to our system engineers, it not usual to avoid to power
the VDDANA rail. In fact it will prevent you to use all the pads that
are powered by VDDANA: PD20-PD31. Moreover, even if you do not activate
the ADC output on these lines you won't be able to use them as plain
GPIO... (Cf. package and pinout section of the datasheet).

As the ADVREF pin of the SoC is connected to the VDDANA on this board
(even if this default configuration can be modified with a soldering
iron), we have to note that we may consume a little bit more power.

But still, I would recommend to keep the "regulator-always-on" property
on this node. Do you agree and allow me to take your first revision of
the patch?


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