Error from pps-gpio on ODROID-C2

Recommended Posts

I am trying to connect a PPS source to an ODROID-C2 board using GPIO. I am running Armbian 19.11.3 Buster, with kernel 5.3.11-meson64.


I downloaded the Armbian kernel source for this kernel, added the following to meson-gxbb-odroidc2.dts, and compiled and installed it:


	pps {
		compatible = "pps-gpio";
		gpios = <&gpio GPIOY_3 GPIO_ACTIVE_HIGH>;
		status = "okay";
		interrupt-parent = <&gpio_intc>;
		interrupts = <26 IRQ_TYPE_LEVEL_LOW>;


When I boot and load the pps-gpio module, I get the following error:


pps-gpio pps: failed to map GPIO to IRQ: -6
pps-gpio: probe of pps failed with error -22


Could anyone help me understand what I'm getting wrong that's causing this error?

Am I misunderstanding how to assign IRQs to GPIOs?

Share this post

Link to post
Share on other sites
Armbian is a community driven open source project. Do you like to contribute your code?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.