On Tuesday 22 September 2015 08:08:25 Guenter Roeck wrote:
> > I would strongly prefer Option 1 or 2 over option 3.
> > Between 1 and 2, I'd probably go for 1. Another option might
> > be to have a subnode per sensor:
> >
> > nct7802@2a {
> > compatible = "nuvoton,nct7802";
> > re
On 09/22/2015 01:36 AM, Arnd Bergmann wrote:
On Saturday 19 September 2015 01:36:43 Constantine Shulyupin wrote:
I am designing DT support for a hwmon chip.
It has some sensors, each of them can be:
- "disabled"
- "thermal diode"
- "thermistor"
- "voltage"
Four possible options for DT
On Saturday 19 September 2015 01:36:43 Constantine Shulyupin wrote:
>
> I am designing DT support for a hwmon chip.
> It has some sensors, each of them can be:
> - "disabled"
> - "thermal diode"
> - "thermistor"
> - "voltage"
>
> Four possible options for DT properties format.
>
> Option 1:
On Mon, Sep 21, 2015 at 2:24 PM, Constantine Shulyupin
wrote:
> On Mon, Sep 21, 2015 at 4:51 AM, Rob Herring wrote:
>> On Fri, Sep 18, 2015 at 5:36 PM, Constantine Shulyupin
>> wrote:
>>> Hi,
>>>
>>> I am designing DT support for a hwmon chip.
>>> It has some sensors, each of them can be:
>>> -
On Mon, Sep 21, 2015 at 4:51 AM, Rob Herring wrote:
> On Fri, Sep 18, 2015 at 5:36 PM, Constantine Shulyupin
> wrote:
>> Hi,
>>
>> I am designing DT support for a hwmon chip.
>> It has some sensors, each of them can be:
>> - "disabled"
>> - "thermal diode"
>> - "thermistor"
>> - "voltage"
>>
On Fri, Sep 18, 2015 at 5:36 PM, Constantine Shulyupin
wrote:
> Hi,
>
> I am designing DT support for a hwmon chip.
> It has some sensors, each of them can be:
> - "disabled"
> - "thermal diode"
> - "thermistor"
> - "voltage"
>
> Four possible options for DT properties format.
>
> Option 1: Se
ad of the existing value is performed.
Example nct7802 node:
nct7802 {
compatible = "nuvoton,nct7802";
reg = <0x2a>;
nct7802,reg-init =
<0 0x21 0 0x01 > // START = 1
<0 0x22 0x03 0x02>; // RTD1_MD = 2
};
Please suggest p
7 matches
Mail list logo