Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754621AbbHFG32 (ORCPT ); Thu, 6 Aug 2015 02:29:28 -0400 Received: from muru.com ([72.249.23.125]:41877 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751332AbbHFG30 (ORCPT ); Thu, 6 Aug 2015 02:29:26 -0400 Date: Wed, 5 Aug 2015 23:29:23 -0700 From: Tony Lindgren To: Suman Anna Cc: Dave Gerlach , Jassi Brar , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Santosh Shilimkar , Keerthy Subject: Re: [PATCH v2 1/3] mailbox/omap: Add ti,mbox-send-noirq quirk to fix AM33xx CPU Idle Message-ID: <20150806062923.GN16878@atomide.com> References: <1437166592-25378-1-git-send-email-d-gerlach@ti.com> <1437166592-25378-2-git-send-email-d-gerlach@ti.com> <20150805102840.GA16878@atomide.com> <55C22C8E.3000506@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <55C22C8E.3000506@ti.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1742 Lines: 42 * Suman Anna [150805 08:35]: > Hi Tony, > > On 08/05/2015 05:28 AM, Tony Lindgren wrote: > > * Dave Gerlach [150717 13:59]: > >> --- a/Documentation/devicetree/bindings/mailbox/omap-mailbox.txt > >> +++ b/Documentation/devicetree/bindings/mailbox/omap-mailbox.txt > >> @@ -75,6 +75,14 @@ data that represent the following: > >> Cell #3 (usr_id) - mailbox user id for identifying the interrupt line > >> associated with generating a tx/rx fifo interrupt. > >> > >> +Optional Properties: > >> +-------------------- > >> +- ti,mbox-send-noirq: Quirk flag to allow the client user of this sub-mailbox > >> + to send messages without triggering a Tx ready interrupt, > >> + and to control the Tx ticker. Should be used only on > >> + sub-mailboxes used to communicate with WkupM3 remote > >> + processor on AM33xx/AM43xx SoCs. > >> + > > > > Hmm can't you do this just by setting a flag in the device driver > > based on the compatible string? > > We can't because there can be other users like PRUSS which will use a > sub-mailbox in a regular fashion. The compatible serves the IP and there > can be multiple sub-mailboxes underneath it, and this quirk is needed > only on the one that's used by the WkupM3. OK > Do you have any comments on this? Up to you guys then to figure out what property is used for it then. Regards, Tony -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/