All of lore.kernel.org
 help / color / mirror / Atom feed
From: michal.simek@xilinx.com (Michal Simek)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFCv2 2/3] dts: zynq: Add devicetree entry for Xilinx Zynq reset controller.
Date: Tue, 28 Jul 2015 09:44:38 +0200	[thread overview]
Message-ID: <55B732E6.7080901@xilinx.com> (raw)
In-Reply-To: <55B72857.3020108@atmel.com>

On 07/28/2015 08:59 AM, Nicolas Ferre wrote:
> Le 28/07/2015 07:03, Moritz Fischer a ?crit :
>> Hi Michal,
>>
>> I agree we need to be careful with changing the bindings.
>>
>> On Sun, Jul 26, 2015 at 11:56 PM, Michal Simek <monstr@monstr.eu> wrote:
>>> Hi Moritz,
>>>
>>> On 07/25/2015 02:21 AM, Moritz Fischer wrote:
>>>> Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
>>>> ---
>>>>  arch/arm/boot/dts/zynq-7000.dtsi            | 43 ++++++++++++-
>>>
>>> This patch is nice in general but every change in binding should be
>>> discussed separately. There is also necessary to wire them up in the
>>> driver to do action. That's why I think that will be the best just to
>>> add the code to slcr and keep others untouched.
>>
>> Ok, just to clarify: You'd suggest to just add the rstc as child node
>> to the slcr,
>> and leave the other nodes untouched?
>>
>>>
>>> For example MACB/GEM is one example. Adding names to this node and
>>> extending driver to work properly with reset means that all others MACB
>>> users will be affected. Definitely this patch should be ACKed by Nicolas.
> 
> Actually, I don't know why a reset property should be added to the macb
> driver...

I expect resetting IP core can solve something. But as I said it is
questionable if IP should be reset when driver is probed. Definitely on
Zynq there is a support for it. I am not aware about any problem which
requires IP to be reset.

Thanks,
Michal

WARNING: multiple messages have this Message-ID (diff)
From: Michal Simek <michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
To: Nicolas Ferre
	<nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>,
	Moritz Fischer
	<moritz.fischer-+aYTwkv1SeIAvxtiuMwx3w@public.gmane.org>,
	Michal Simek <monstr-pSz03upnqPeHXe+LvDLADg@public.gmane.org>
Cc: p.zabel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org,
	mark.rutland-5wv7dgnIgG8@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org,
	pawel.moll-5wv7dgnIgG8@public.gmane.org,
	ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org,
	"Michal Simek"
	<michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	linux-arm-kernel
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
	"Kumar Gala" <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	"Sören Brinkmann"
	<soren.brinkmann-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
Subject: Re: [RFCv2 2/3] dts: zynq: Add devicetree entry for Xilinx Zynq reset controller.
Date: Tue, 28 Jul 2015 09:44:38 +0200	[thread overview]
Message-ID: <55B732E6.7080901@xilinx.com> (raw)
In-Reply-To: <55B72857.3020108-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>

On 07/28/2015 08:59 AM, Nicolas Ferre wrote:
> Le 28/07/2015 07:03, Moritz Fischer a écrit :
>> Hi Michal,
>>
>> I agree we need to be careful with changing the bindings.
>>
>> On Sun, Jul 26, 2015 at 11:56 PM, Michal Simek <monstr-pSz03upnqPeHXe+LvDLADg@public.gmane.org> wrote:
>>> Hi Moritz,
>>>
>>> On 07/25/2015 02:21 AM, Moritz Fischer wrote:
>>>> Signed-off-by: Moritz Fischer <moritz.fischer-+aYTwkv1SeIAvxtiuMwx3w@public.gmane.org>
>>>> ---
>>>>  arch/arm/boot/dts/zynq-7000.dtsi            | 43 ++++++++++++-
>>>
>>> This patch is nice in general but every change in binding should be
>>> discussed separately. There is also necessary to wire them up in the
>>> driver to do action. That's why I think that will be the best just to
>>> add the code to slcr and keep others untouched.
>>
>> Ok, just to clarify: You'd suggest to just add the rstc as child node
>> to the slcr,
>> and leave the other nodes untouched?
>>
>>>
>>> For example MACB/GEM is one example. Adding names to this node and
>>> extending driver to work properly with reset means that all others MACB
>>> users will be affected. Definitely this patch should be ACKed by Nicolas.
> 
> Actually, I don't know why a reset property should be added to the macb
> driver...

I expect resetting IP core can solve something. But as I said it is
questionable if IP should be reset when driver is probed. Definitely on
Zynq there is a support for it. I am not aware about any problem which
requires IP to be reset.

Thanks,
Michal

--
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

WARNING: multiple messages have this Message-ID (diff)
From: Michal Simek <michal.simek@xilinx.com>
To: Nicolas Ferre <nicolas.ferre@atmel.com>,
	Moritz Fischer <moritz.fischer@ettus.com>,
	Michal Simek <monstr@monstr.eu>
Cc: p.zabel@pengutronix.de, mark.rutland@arm.com,
	devicetree@vger.kernel.org, linux@arm.linux.org.uk,
	pawel.moll@arm.com, ijc+devicetree@hellion.org.uk,
	"Michal Simek" <michal.simek@xilinx.com>,
	linux-kernel@vger.kernel.org, robh+dt@kernel.org,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	"Kumar Gala" <galak@codeaurora.org>,
	"Sören Brinkmann" <soren.brinkmann@xilinx.com>
Subject: Re: [RFCv2 2/3] dts: zynq: Add devicetree entry for Xilinx Zynq reset controller.
Date: Tue, 28 Jul 2015 09:44:38 +0200	[thread overview]
Message-ID: <55B732E6.7080901@xilinx.com> (raw)
In-Reply-To: <55B72857.3020108@atmel.com>

On 07/28/2015 08:59 AM, Nicolas Ferre wrote:
> Le 28/07/2015 07:03, Moritz Fischer a écrit :
>> Hi Michal,
>>
>> I agree we need to be careful with changing the bindings.
>>
>> On Sun, Jul 26, 2015 at 11:56 PM, Michal Simek <monstr@monstr.eu> wrote:
>>> Hi Moritz,
>>>
>>> On 07/25/2015 02:21 AM, Moritz Fischer wrote:
>>>> Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
>>>> ---
>>>>  arch/arm/boot/dts/zynq-7000.dtsi            | 43 ++++++++++++-
>>>
>>> This patch is nice in general but every change in binding should be
>>> discussed separately. There is also necessary to wire them up in the
>>> driver to do action. That's why I think that will be the best just to
>>> add the code to slcr and keep others untouched.
>>
>> Ok, just to clarify: You'd suggest to just add the rstc as child node
>> to the slcr,
>> and leave the other nodes untouched?
>>
>>>
>>> For example MACB/GEM is one example. Adding names to this node and
>>> extending driver to work properly with reset means that all others MACB
>>> users will be affected. Definitely this patch should be ACKed by Nicolas.
> 
> Actually, I don't know why a reset property should be added to the macb
> driver...

I expect resetting IP core can solve something. But as I said it is
questionable if IP should be reset when driver is probed. Definitely on
Zynq there is a support for it. I am not aware about any problem which
requires IP to be reset.

Thanks,
Michal


  reply	other threads:[~2015-07-28  7:44 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-25  0:21 [RFCv2 0/3] Adding support for Zynq Reset Controller Moritz Fischer
2015-07-25  0:21 ` Moritz Fischer
2015-07-25  0:21 ` [RFCv2 1/3] docs: dts: Added documentation for Xilinx Zynq Reset Controller bindings Moritz Fischer
2015-07-25  0:21   ` Moritz Fischer
2015-07-27  5:09   ` Michal Simek
2015-07-27  5:09     ` Michal Simek
2015-07-28  4:55     ` Moritz Fischer
2015-07-28  4:55       ` Moritz Fischer
2015-07-28  4:55       ` Moritz Fischer
2015-07-28  5:41       ` Michal Simek
2015-07-28  5:41         ` Michal Simek
2015-07-28  5:41         ` Michal Simek
2015-07-28  2:58   ` Sören Brinkmann
2015-07-28  2:58     ` Sören Brinkmann
2015-07-28  2:58     ` Sören Brinkmann
2015-07-28  4:52     ` Moritz Fischer
2015-07-28  4:52       ` Moritz Fischer
2015-07-28 22:53       ` Sören Brinkmann
2015-07-28 22:53         ` Sören Brinkmann
2015-07-28 22:53         ` Sören Brinkmann
2015-07-29  6:14         ` Moritz Fischer
2015-07-29  6:14           ` Moritz Fischer
2015-07-29  6:14           ` Moritz Fischer
2015-07-29 17:38           ` Sören Brinkmann
2015-07-29 17:38             ` Sören Brinkmann
2015-07-29 17:38             ` Sören Brinkmann
2015-07-30 14:37             ` Michal Simek
2015-07-30 14:37               ` Michal Simek
2015-07-30 14:37               ` Michal Simek
2015-07-28  8:05   ` Philipp Zabel
2015-07-28  8:05     ` Philipp Zabel
2015-07-28  8:05     ` Philipp Zabel
2015-07-28  8:25     ` Michal Simek
2015-07-28  8:25       ` Michal Simek
2015-07-28  8:25       ` Michal Simek
2015-07-28 13:57       ` Moritz Fischer
2015-07-28 13:57         ` Moritz Fischer
2015-07-28 15:16         ` Philipp Zabel
2015-07-28 15:16           ` Philipp Zabel
2015-07-28 15:16           ` Philipp Zabel
2015-07-25  0:21 ` [RFCv2 2/3] dts: zynq: Add devicetree entry for Xilinx Zynq reset controller Moritz Fischer
2015-07-25  0:21   ` Moritz Fischer
2015-07-27  6:56   ` Michal Simek
2015-07-27  6:56     ` Michal Simek
2015-07-28  5:03     ` Moritz Fischer
2015-07-28  5:03       ` Moritz Fischer
2015-07-28  5:03       ` Moritz Fischer
2015-07-28  5:42       ` Michal Simek
2015-07-28  5:42         ` Michal Simek
2015-07-28  6:59       ` Nicolas Ferre
2015-07-28  6:59         ` Nicolas Ferre
2015-07-28  6:59         ` Nicolas Ferre
2015-07-28  7:44         ` Michal Simek [this message]
2015-07-28  7:44           ` Michal Simek
2015-07-28  7:44           ` Michal Simek
2015-07-28 13:54           ` Moritz Fischer
2015-07-28 13:54             ` Moritz Fischer
2015-07-25  0:21 ` [RFCv2 3/3] reset: reset-zynq: Adding support " Moritz Fischer
2015-07-25  0:21   ` Moritz Fischer
2015-07-27  5:14   ` Michal Simek
2015-07-27  5:14     ` Michal Simek
2015-07-27  5:14     ` Michal Simek
2015-07-27  7:12   ` Michal Simek
2015-07-27  7:12     ` Michal Simek
2015-07-27  7:12     ` Michal Simek
2015-07-28  4:59     ` Moritz Fischer
2015-07-28  4:59       ` Moritz Fischer
2015-07-28  4:59       ` Moritz Fischer
2015-07-28  5:43       ` Michal Simek
2015-07-28  5:43         ` Michal Simek
2015-07-28  8:38   ` Philipp Zabel
2015-07-28  8:38     ` Philipp Zabel
2015-07-28  8:38     ` Philipp Zabel
2015-07-28 14:05     ` Moritz Fischer
2015-07-28 14:05       ` Moritz Fischer
2015-07-28 14:05       ` Moritz Fischer
2015-07-28 14:27       ` Sören Brinkmann
2015-07-28 14:27         ` Sören Brinkmann
2015-07-28 14:27         ` Sören Brinkmann

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=55B732E6.7080901@xilinx.com \
    --to=michal.simek@xilinx.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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.