On 10/10/23 15:57, Ilario Gelmetti wrote:
I cannot get rid of this error in the dmesg (unless I specify two different pins in the two fragments, and then weird things happen, as explained in [4]):

[] Driver for 1-wire Dallas network protocol.
[] sun50i-a64-pinctrl 1c20800.pinctrl: pin PB0 already requested by onewire_device; cannot claim for 1c20800.pinctrl:32 [] sun50i-a64-pinctrl 1c20800.pinctrl: pin-32 (1c20800.pinctrl:32) status -22
[] w1-gpio onewire_device: gpio_request (pin) failed
[] w1-gpio: probe of onewire_device failed with error -22

I forgot to specify:
the PB0 pin is not used by anything else.

# cat /sys/kernel/debug/pinctrl/1c20800.pinctrl/pinmux-pins
Pinmux settings per pin
Format: pin (name): mux_owner|gpio_owner (strict) hog?
pin 32 (PB0): UNCLAIMED
pin 33 (PB1): UNCLAIMED
[...]

And if I use other unclaimed pins (e.g. I tried with PC4 and PC7) the same message appears.

Thanks!
Ilario


--
Ilario
iocheson...@gmail.com
ila...@sindominio.net

--
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/febc5574-9d1f-4859-8a04-a088c02a283e%40gmail.com.

Reply via email to