From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [PATCH v4 4/5] ARM: mediatek: Add EINT support to MTK pinctrl driver. Date: Mon, 19 Jan 2015 11:35:47 +0100 Message-ID: References: <1418772873-19747-1-git-send-email-hongzhou.yang@mediatek.com> <1418772873-19747-5-git-send-email-hongzhou.yang@mediatek.com> <1418807365.6443.17.camel@mtksdaap41> <1420535817.17567.10.camel@mtksdaap41> <1421202745.27675.148.camel@mtksdaap41> <1421376639.31355.169.camel@mtksdaap41> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <1421376639.31355.169.camel@mtksdaap41> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Yingjoe Chen Cc: Thomas Gleixner , Grant Likely , Mark Rutland , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Vladimir Murzin , maoguang.meng-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, Russell King , srv_heupstream-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, Pawel Moll , Ian Campbell , Hongzhou Yang , Catalin Marinas , Ashwin Chaugule , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Rob Herring , Matthias Brugger , alan.cheng-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, toby.liu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, Sascha Hauer , Kumar Gala , dandan.he-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" List-Id: devicetree@vger.kernel.org On Fri, Jan 16, 2015 at 3:50 AM, Yingjoe Chen wrote: > On Thu, 2015-01-15 at 18:30 +0100, Linus Walleij wrote: >> But the EINT is not a hardware number is it? > > It is a hardware number. eg, to mask irq for the gpio 0 above, we have > to set bit49 in EINT mask_set register. When this irq triggered, it is > reported using EINT status register bit49. OK I get it (finally) then you should indeed use the irqdomain for it... It's just a bit confusing that it begins at offset 49... Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html