Hello everyone,
Does anybody ever made the 1-wire bus work ?
I searched and did a bunch of tests to setup 1-wire on gpio0 (using kmod-w1, kmod-w1-gpio-custom, kmod-w1-slave-therm), but always got errors like:
unable to select pin group
or
[ 23.250000] w1-gpio w1-gpio.0: no of_node; not parsing pinctrl DT
[ 23.250000] w1-gpio w1-gpio.0: Failed to parse gpio property for data pin (-2)
[ 23.250000] w1-gpio: probe of w1-gpio.0 failed with error -2
I think the HLKRM04.dts have the wrong parameters and I don't know what to do ... I tried with the default .dts file, by freeing gpio or by adding the following section
w1-gpio {
compatible = "w1-gpio";
gpios = <&gpio0 0 1>;
};
I tried with Barrier Breaker (revision 42625) and nightly builds Chaos Calmer rev 45xxx
If someone succeeded on setting up the 1-wire bus, could he explain how he have done it !
Thanks
(Last edited by Faren on 30 Apr 2015, 07:36)