Re: [PATCH RFC 0/3] pinctrl: add ACPI support to pin controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Meanwhile, can we see the DSDT excerpt(s) that shows how you use these
resources there?
I've used the following prototype for I.MX8MP

https://gitlab.com/nsait-linaro/acpi-patches/-/blob/master/0001-add-acpi-pinctrl-support-for-i2c-controllers.patch

Also note, we need some clarification to be done in the ACPI specification
regarding the numbering schema, used in those resources. TL;DR: for Gpio*()
the number space is GPIO, for Pin*() is pin control (real pin numbering,
since not all of them can be GPIOs and GPIO can have its own additional
layer of numbering mapping).

Yes that would be helpful!

I've done some prototyping and have used the _DSD to pass the GPIO to Pin mapping to the GPIO controller. See following patches

https://gitlab.com/nsait-linaro/acpi-patches/-/blob/master/0001-add-GPIO-controllers-to-ACPI-table.patch#L89

https://gitlab.com/nsait-linaro/acpi-patches/-/blob/master/0001-add-acpi-gpio-controller-support-to-IMX-platform.patch



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux