# Re: \[PATCH 1/1\] Input: ab8500-ponkey: Make the distinction between DT and non-DT boots

- From: Mark Brown \<hidden\>
- Date: 2012-08-08 09:49:57 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2012/08/3905249
- Thread: https://ratatoskr.run/linux-input/2012/08/3903568/t.md

```text
On Wed, Aug 08, 2012 at 09:04:12AM +0100, Lee Jones wrote:

> During non-DT boot:
>  - Platform data is passed, which contains an IRQ base
>  - If an IRQ base is requested we use it to register a Legacy IRQ Domain
>  - MFD adds the IRQ base to the hwirq and registers it as a virq

Just don't do this step - the only reason to do it is for mapping back
into a linear domain but if you're going to do this...

>  - AB8500 child devices use *_get_virq() to convert virq to virq - *ERROR*

...then it's redundant.  The mapping functions in the domain code
replace this functionality.
```
