From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Subject: Re: [PATCH v3 2/2] hwmon: (ltq-cputemp) add devicetree bindings documentation Date: Wed, 13 Sep 2017 08:12:34 -0700 Message-ID: <20170913151234.GH27765@roeck-us.net> References: <20170901065818.2037-1-fe@dev.tdt.de> <20170901065818.2037-2-fe@dev.tdt.de> <20170901142622.GC599@roeck-us.net> <20170912162008.y2dp3llaikkp3l45@rob-hp-laptop> <20170913141258.GB27765@roeck-us.net> <5da3b25f6eec79f103ef880100a403f7@dev.tdt.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <5da3b25f6eec79f103ef880100a403f7@dev.tdt.de> Sender: linux-kernel-owner@vger.kernel.org To: Florian Eckert Cc: Rob Herring , mark.rutland@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, jdelvare@suse.com, Guenter Roeck List-Id: devicetree@vger.kernel.org On Wed, Sep 13, 2017 at 04:42:33PM +0200, Florian Eckert wrote: > >>> > >>>>> + > >>>>> +Requires node properties: > >>>>> +- compatible value : > >>>>> + "lantiq,cputemp" > >>> > >>>Kind of non-specific. How is this device even accessed without any other > >>>property? > >> > >>It does not need any further properties. If this is set in the device > >>tree > >>then the driver is loaded. > >>After loading the temperature could be read from "/sys/class/hwmon". > >>Let me know what should i do to get this fixed? > >> > > What about with this is this OK from your side or do I have do to something? > So I only update "s/temperatur/temperature/" with an follow-up patch based > the current linux-next tree? > Also s/cputemp@0/cputemp/ if I understand Rob's comment correctly. Question for Rob: The driver checks the SOC version and bails out if the version is not vr9 v1.2. Should that be expressed in DT ? Guenter > Thanks > > Florian > >