#21965: w1-gpio.0: Failed to parse gpio MT7620(WT3020),RT5350 (WT1520,MPR-A1)
ds18b20
----------------------+-----------------------------------
Reporter: sakatgg | Owner: developers
Type: defect | Status: new
Priority: high | Milestone: Barrier Breaker 14.07
Component: kernel | Version: Chaos Calmer 15.05
Resolution: | Keywords: w1-gpio RT5350 MT7620
----------------------+-----------------------------------
Comment (by sakatgg):
Checked patched module w1-gpio on A5-V11 (firmware openwrt-ramips-rt305x-
mpr-a1-squashfs-sysupgrade.bin (Chaos Calmer)) - normal
Kernel log
{{{
[ 208.660000] Custom GPIO-based W1 driver version 0.1.1
[ 208.670000] w1-gpio w1-gpio.0: no of_node; not parsing pinctrl DT
[ 208.670000] rt2880-pinmux pinctrl: request pin 25 (io25) for pio:25
}}}
Console
{{{
-----------------------------------------------------
CHAOS CALMER (Chaos Calmer, r48925)
-----------------------------------------------------
* 1 1/2 oz Gin Shake with a glassful
* 1/4 oz Triple Sec of broken ice and pour
* 3/4 oz Lime Juice unstrained into a goblet.
* 1 1/2 oz Orange Juice
* 1 tsp. Grenadine Syrup
-----------------------------------------------------
root@OpenWrt:~# cat /sys/kernel/debug/gpio
GPIOs 0-21, platform/10000600.gpio, 10000600.gpio:
gpio-0 (reset ) in hi
gpio-7 (usb ) out hi
gpio-12 (root_hub ) out hi
gpio-17 (hame:red:power ) out lo
gpio-20 (hame:blue:system ) out hi
GPIOs 22-27, platform/10000660.gpio, 10000660.gpio:
root@OpenWrt:~# insmod w1-gpio-custom bus0=0,25,0
root@OpenWrt:~# cat /sys/kernel/debug/gpio
GPIOs 0-21, platform/10000600.gpio, 10000600.gpio:
gpio-0 (reset ) in hi
gpio-7 (usb ) out hi
gpio-12 (root_hub ) out hi
gpio-17 (hame:red:power ) out lo
gpio-20 (hame:blue:system ) out hi
GPIOs 22-27, platform/10000660.gpio, 10000660.gpio:
gpio-25 (w1 ) in hi
root@OpenWrt:~# cat
/sys/bus/w1/drivers/w1_slave_driver/28-00043c91a4ff/w1_slave
81 01 55 00 7f ff 0c 10 19 : crc=19 YES
81 01 55 00 7f ff 0c 10 19 t=24062
root@OpenWrt:~#
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/21965#comment:7>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets