From mboxrd@z Thu Jan 1 00:00:00 1970 From: Segher Boessenkool Subject: Re: [PATCH 0/3] GIC OF bindings Date: Wed, 21 Sep 2011 07:16:52 +0200 Message-ID: <15B014F7-0085-455D-A641-AA7ADFB68545@kernel.crashing.org> References: <1316550244-3655-1-git-send-email-robherring2@gmail.com> <20110920.224910.1996429830782124690.davem@davemloft.net> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20110920.224910.1996429830782124690.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: David Miller Cc: dave.martin-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org > Just out of curiosity where does this "interrupt-parent" property > come from? > > On platforms I am familiar with, the parent path is walked to the root > and we stop at device nodes that have "interrupt-map" and > "interrupt-map-mask" properties. "interrupt-parent" is defined in the Open Firmware "interrupt mapping" recommended practice, the same place as "interrupt-map" etc. are. > The mechanism shown here seems overly simplistic and not able to > handle > the cases handled by existing OF property schemes in use for several > years on real systems. "interrupt-parent" is only meant to be used for the simple cases. It's quite handy there. It is also required in all "interrupt-controller" nodes that aren't the root of the interrupt tree. Segher