From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754471AbbAaUMG (ORCPT ); Sat, 31 Jan 2015 15:12:06 -0500 Received: from bh-25.webhostbox.net ([208.91.199.152]:47413 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753389AbbAaUMD (ORCPT ); Sat, 31 Jan 2015 15:12:03 -0500 Message-ID: <54CD36DF.7010602@roeck-us.net> Date: Sat, 31 Jan 2015 12:11:11 -0800 From: Guenter Roeck User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Robert Rosengren CC: Johan Adolfsson , "linux-kernel@vger.kernel.org" , "lm-sensors@lm-sensors.org" Subject: Re: [lm-sensors] [PATCH] hwmon: (ads7828) Make sample interval configurable References: <54C79B87.8040607@roeck-us.net> <4BEA3FF3CAA35E408EA55C7BE2E61D05943B6DD753@xmail3.se.axis.com> <20150127200553.GA5689@roeck-us.net> <20150127233455.0c62457e@endymion.delvare> <54C86035.9080605@roeck-us.net> <54C87F3C.2020105@axis.com> <54C8F73D.4040808@roeck-us.net> <54C9DA9D.3010802@axis.com> <54C9DBD5.5030808@roeck-us.net> <54CA226E.6080505@axis.com> <20150129193040.GA21937@roeck-us.net> In-Reply-To: <20150129193040.GA21937@roeck-us.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated_sender: linux@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-CTCH-PVer: 0000001 X-CTCH-Spam: Unknown X-CTCH-VOD: Unknown X-CTCH-Flags: 0 X-CTCH-RefID: str=0001.0A020206.54CD3712.000B,ss=1,re=0.001,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-Score: 0.001 X-CTCH-ScoreCust: 0.000 X-CTCH-Rules: C_4847, X-CTCH-SenderID: linux@roeck-us.net X-CTCH-SenderID-Flags: 0 X-CTCH-SenderID-TotalMessages: 2 X-CTCH-SenderID-TotalSpam: 0 X-CTCH-SenderID-TotalSuspected: 0 X-CTCH-SenderID-TotalConfirmed: 0 X-CTCH-SenderID-TotalBulk: 0 X-CTCH-SenderID-TotalVirus: 0 X-CTCH-SenderID-TotalRecipients: 0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: mailgid no entry from get_relayhosts_entry X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/29/2015 11:30 AM, Guenter Roeck wrote: > On Thu, Jan 29, 2015 at 01:07:10PM +0100, Robert Rosengren wrote: >> >>> >>> Is your hardware big endian or little endian ? >> CONFIG_CPU_LITTLE_ENDIAN=y >> > Hi Robert, > > I have another question: What is your i2c controller type ? > Robert, I now tried both 3.15 and 3.19-rc6. Both kernels require the byte swap code. The only reason I can imagine why you don't need it in your code would be that your i2c controller does not support i2c functionality but only SMBus. This would be the case, for example, with the i801 controller. So it would be quite helpful to know which controller your system uses to access the ads7828. Thanks, Guenter From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Date: Sat, 31 Jan 2015 20:11:11 +0000 Subject: Re: [lm-sensors] [PATCH] hwmon: (ads7828) Make sample interval configurable Message-Id: <54CD36DF.7010602@roeck-us.net> List-Id: References: <54C79B87.8040607@roeck-us.net> <4BEA3FF3CAA35E408EA55C7BE2E61D05943B6DD753@xmail3.se.axis.com> <20150127200553.GA5689@roeck-us.net> <20150127233455.0c62457e@endymion.delvare> <54C86035.9080605@roeck-us.net> <54C87F3C.2020105@axis.com> <54C8F73D.4040808@roeck-us.net> <54C9DA9D.3010802@axis.com> <54C9DBD5.5030808@roeck-us.net> <54CA226E.6080505@axis.com> <20150129193040.GA21937@roeck-us.net> In-Reply-To: <20150129193040.GA21937@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Robert Rosengren Cc: Johan Adolfsson , "linux-kernel@vger.kernel.org" , "lm-sensors@lm-sensors.org" On 01/29/2015 11:30 AM, Guenter Roeck wrote: > On Thu, Jan 29, 2015 at 01:07:10PM +0100, Robert Rosengren wrote: >> >>> >>> Is your hardware big endian or little endian ? >> CONFIG_CPU_LITTLE_ENDIAN=y >> > Hi Robert, > > I have another question: What is your i2c controller type ? > Robert, I now tried both 3.15 and 3.19-rc6. Both kernels require the byte swap code. The only reason I can imagine why you don't need it in your code would be that your i2c controller does not support i2c functionality but only SMBus. This would be the case, for example, with the i801 controller. So it would be quite helpful to know which controller your system uses to access the ads7828. Thanks, Guenter _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors