All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dinh Nguyen <dinguyen@opensource.altera.com>
To: Steffen Trumtrar <s.trumtrar@pengutronix.de>,
	atull <atull@opensource.altera.com>
Cc: Philipp Zabel <p.zabel@pengutronix.de>,
	dinh.linux@gmail.com, grant.likely@linaro.org,
	robh+dt@kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] reset: socfpga: use arch_initcall for early initialization
Date: Wed, 15 Oct 2014 08:53:26 -0500	[thread overview]
Message-ID: <543E7C56.3090508@opensource.altera.com> (raw)
In-Reply-To: <20141015100247.GB6255@pengutronix.de>



On 10/15/14, 5:02 AM, Steffen Trumtrar wrote:
> Hi!
> 
> On Tue, Oct 14, 2014 at 01:45:29PM -0500, atull wrote:
>> The FPGA bridge driver that I submitted last year handled the following
>> things:
>>  * The bridges might have been brought out of reset in the bootloader. Some
>>    of the bridges have write-only registers (!) so this information had to
>>    be passed in DT
> 
> Regmap has infrastructure to handle this.
> 

The current implementation of Alan's bridge driver is using regmap to
toggle the reset manager bits. However, that required adding "syscon" to
the reset manager's DTS node. By doing this, the reset driver was not
able to load.

So that's the story behind why I'm looking to convert Alan's bridge
driver to use the reset driver.

Dinh

WARNING: multiple messages have this Message-ID (diff)
From: Dinh Nguyen <dinguyen@opensource.altera.com>
To: Steffen Trumtrar <s.trumtrar@pengutronix.de>,
	atull <atull@opensource.altera.com>
Cc: Philipp Zabel <p.zabel@pengutronix.de>, <dinh.linux@gmail.com>,
	<grant.likely@linaro.org>, <robh+dt@kernel.org>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] reset: socfpga: use arch_initcall for early initialization
Date: Wed, 15 Oct 2014 08:53:26 -0500	[thread overview]
Message-ID: <543E7C56.3090508@opensource.altera.com> (raw)
In-Reply-To: <20141015100247.GB6255@pengutronix.de>



On 10/15/14, 5:02 AM, Steffen Trumtrar wrote:
> Hi!
> 
> On Tue, Oct 14, 2014 at 01:45:29PM -0500, atull wrote:
>> The FPGA bridge driver that I submitted last year handled the following
>> things:
>>  * The bridges might have been brought out of reset in the bootloader. Some
>>    of the bridges have write-only registers (!) so this information had to
>>    be passed in DT
> 
> Regmap has infrastructure to handle this.
> 

The current implementation of Alan's bridge driver is using regmap to
toggle the reset manager bits. However, that required adding "syscon" to
the reset manager's DTS node. By doing this, the reset driver was not
able to load.

So that's the story behind why I'm looking to convert Alan's bridge
driver to use the reset driver.

Dinh

  reply	other threads:[~2014-10-15 13:53 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-09  2:44 [PATCH] reset: socfpga: use arch_initcall for early initialization dinguyen
2014-10-09  2:44 ` dinguyen
     [not found] ` <1412822646-11257-1-git-send-email-dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
2014-10-09  9:03   ` Philipp Zabel
2014-10-09  9:03     ` Philipp Zabel
     [not found]     ` <1412845410.6809.3.camel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-10-09 13:16       ` Dinh Nguyen
2014-10-09 13:16         ` Dinh Nguyen
     [not found]         ` <54368AA2.9000104-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>
2014-10-09 13:28           ` Steffen Trumtrar
2014-10-09 13:28             ` Steffen Trumtrar
2014-10-09 14:57             ` atull
2014-10-09 14:57               ` atull
2014-10-09 15:19               ` Steffen Trumtrar
2014-10-09 15:19                 ` Steffen Trumtrar
     [not found]                 ` <20141009151935.GK15799-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2014-10-10 16:32                   ` atull
2014-10-10 16:32                     ` atull
2014-10-14 18:45                     ` atull
2014-10-14 18:45                       ` atull
2014-10-15 10:02                       ` Steffen Trumtrar
2014-10-15 13:53                         ` Dinh Nguyen [this message]
2014-10-15 13:53                           ` Dinh Nguyen
2014-10-18  9:22                     ` Arnd Bergmann
2014-10-12 14:30 ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=543E7C56.3090508@opensource.altera.com \
    --to=dinguyen@opensource.altera.com \
    --cc=atull@opensource.altera.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dinh.linux@gmail.com \
    --cc=grant.likely@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=robh+dt@kernel.org \
    --cc=s.trumtrar@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.