Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1658882

Re: [RFC PATCH v1] irqchip: Add support for tango interrupt router

From Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH v1] irqchip: Add support for tango interrupt router
Date 2017-06-06 18:00 +0200
Message-ID <tPp3H-2jT-9@gated-at.bofh.it> (permalink)
References <tPn1T-12m-3@gated-at.bofh.it>
Organization Free Electrons

Show all headers | View raw


Hello,

On Tue, 6 Jun 2017 15:42:36 +0200, Mason wrote:

> +	interrupt-controller@6f800 {
> +		compatible = "sigma,smp8759-intc";
> +		reg = <0x6f800 0x430>;
> +		interrupt-controller;
> +		#interrupt-cells = <2>;
> +		interrupt-parent = <&gic>;
> +		/*
> +		 * There probably is a better way than explicitly listing
> +		 * the 24 interrupts?
> +		 */

What we do on Marvell platforms is:

	marvell,spi-base = <128>, <136>, <144>, <152>;

see marvell,odmi-controller.txt.

In another driver I submitted, we're doing:

	marvell,spi-ranges = <64 64>, <288 64>;

Retrospectively, I would have preferred to use marvell,spi-ranges for
the first DT binding as well, since it allows to express both the base
and number of interrupts available in the range.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RFC PATCH v1] irqchip: Add support for tango interrupt router Mason <slash.tmp@free.fr> - 2017-06-06 15:50 +0200
  Re: [RFC PATCH v1] irqchip: Add support for tango interrupt router Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - 2017-06-06 18:00 +0200

csiph-web