mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
b1ae882b40fe81c6dad50b6c5ff053bbc0b34058
The rockchip pinctrl creates an irq domain by irq_domain_add_linear,
but it not means all pins' irq are in linear.
Such as rk808 interrupt, it defines in node:
rk808 {
interrupt-parent = <&gpio1>;
interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
}
then i2c core driver will get virq by
irq = of_irq_get(dev->of_node, 0);
->irq_create_of_mapping(&oirq);
finally the rk808 irq is mapping in DOMAIN_BUS_WIRED irq domain.
It's better to get virq by irq_find_mapping.
Change-Id: Ib416ace5c2212c9a704b01e78f77d3425dc8d21b
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Linux kernel
============
There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.
Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
Languages
C
97.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%