Dallas 1-Wire Support
#14
Just to let people know that I've finally got the "w1-gpio" working on Pin64 with a DS18B20.
The issue that I was facing is a discrepancy in DTS that I've not seen in other ARM boards but only on Pine64, but after doing kernel debugging, I've found a simple workaround in DTS.
Mainly, here it is :
Code:
               onewire_device@0 {
                       compatible = "w1-gpio";
                       gpio = <0x30 0x2 0x8 0x0>;
//                      gpios = <0x30 0x2 0x8 0x0 0x0 0x0 0x0>;
                       pinctrl-names = "default";
                       pinctrl-0 = <0xba>;
                       status = "okay";
               };

The issue is when using "gpios = <0x30 0x2 0x8 0x0>;", the DT parser give out this error : "arguments longer than property", it seems that plural "gpios" means you need to provide multiple gpios, not only one. Removing the "s" seems to do identical job with a single gpio.
  Reply


Messages In This Thread
Dallas 1-Wire Support - by ItsDave - 05-10-2016, 03:01 AM
RE: Dallas 1-Wire Support - by peterz - 05-10-2016, 04:37 AM
RE: Dallas 1-Wire Support - by ItsDave - 05-10-2016, 07:36 AM
RE: Dallas 1-Wire Support - by peterz - 05-10-2016, 08:00 AM
RE: Dallas 1-Wire Support - by martinayotte - 05-10-2016, 08:16 AM
RE: Dallas 1-Wire Support - by ItsDave - 05-10-2016, 08:42 AM
RE: Dallas 1-Wire Support - by peterz - 05-11-2016, 06:21 AM
RE: Dallas 1-Wire Support - by martinayotte - 05-10-2016, 08:59 AM
RE: Dallas 1-Wire Support - by ItsDave - 05-10-2016, 09:24 AM
RE: Dallas 1-Wire Support - by longsleep - 05-10-2016, 12:28 PM
RE: Dallas 1-Wire Support - by martinayotte - 05-11-2016, 07:24 AM
RE: Dallas 1-Wire Support - by longsleep - 05-11-2016, 04:02 PM
RE: Dallas 1-Wire Support - by martinayotte - 05-12-2016, 07:09 AM
RE: Dallas 1-Wire Support - by martinayotte - 05-29-2016, 03:49 PM
RE: Dallas 1-Wire Support - by tllim - 05-29-2016, 10:36 PM
RE: Dallas 1-Wire Support - by ed_mann - 11-26-2016, 04:18 PM
RE: Dallas 1-Wire Support - by martinayotte - 07-11-2016, 10:09 AM
RE: Dallas 1-Wire Support - by longsleep - 07-11-2016, 10:34 AM
RE: Dallas 1-Wire Support - by martinayotte - 07-11-2016, 04:23 PM
RE: Dallas 1-Wire Support - by ItsDave - 07-11-2016, 12:25 PM
RE: Dallas 1-Wire Support - by joey - 08-12-2016, 11:01 AM
RE: Dallas 1-Wire Support - by martinayotte - 07-11-2016, 08:08 PM
RE: Dallas 1-Wire Support - by martinayotte - 08-12-2016, 11:33 AM
RE: Dallas 1-Wire Support - by joey - 08-12-2016, 11:05 PM
RE: Dallas 1-Wire Support - by longsleep - 08-12-2016, 12:20 PM
RE: Dallas 1-Wire Support - by martinayotte - 08-12-2016, 01:48 PM
RE: Dallas 1-Wire Support - by martinayotte - 08-13-2016, 07:26 AM
RE: Dallas 1-Wire Support - by martinayotte - 11-27-2016, 03:39 PM
RE: Dallas 1-Wire Support - by ed_mann - 11-28-2016, 08:08 PM
RE: Dallas 1-Wire Support - by martinayotte - 11-30-2016, 02:23 PM
RE: Dallas 1-Wire Support - by Wom the Bat - 12-26-2016, 10:44 PM
RE: Dallas 1-Wire Support - by ed_mann - 12-27-2016, 08:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question RGB LED Matrix support? foxnox 1 4,420 12-29-2017, 06:52 PM
Last Post: psychedup
  RaZberry Module (z-wave) need support to get it working! Luxus 13 19,657 11-03-2016, 02:04 AM
Last Post: Luxus
  USB WIFI Dongle Support InCognito 3 6,802 01-20-2016, 11:27 AM
Last Post: tllim

Forum Jump:


Users browsing this thread: 1 Guest(s)