From: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
To: Tomeu Vizoso <tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
Cc: "linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Javier Martinez Canillas
<javier.martinez-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org>,
Dylan Reid <dgreid-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>,
Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>,
Ulf Hansson <ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
Ian Campbell
<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
Kumar Gala <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
Russell King <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
Thierry Reding
<thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Alexandre Courbot
<gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH v2 04/11] ARM: tegra: Set spi-max-frequency property to flash node
Date: Tue, 27 Jan 2015 09:48:43 -0700 [thread overview]
Message-ID: <54C7C16B.2080003@wwwdotorg.org> (raw)
In-Reply-To: <CAAObsKDx_W23OTL2RE4xxgXL-rtp3npkBtx6qMHV1j8ZXmo1rw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On 01/27/2015 04:13 AM, Tomeu Vizoso wrote:
> On 15 January 2015 at 18:26, Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> wrote:
>> On 01/15/2015 09:12 AM, Tomeu Vizoso wrote:
>>>
>>> To silence a warning on Nyan boards.
>>>
>>> Signed-off-by: Tomeu Vizoso <tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
>>> ---
>>> arch/arm/boot/dts/tegra124-nyan-big.dts | 1 +
>>> 1 file changed, 1 insertion(+)
>>>
>>> diff --git a/arch/arm/boot/dts/tegra124-nyan-big.dts
>>> b/arch/arm/boot/dts/tegra124-nyan-big.dts
>>> index 9a9cffe..94c7ba9 100644
>>> --- a/arch/arm/boot/dts/tegra124-nyan-big.dts
>>> +++ b/arch/arm/boot/dts/tegra124-nyan-big.dts
>>> @@ -1660,6 +1660,7 @@
>>>
>>> flash@0 {
>>> compatible = "winbond,w25q32dw";
>>> + spi-max-frequency = <25000000>;
>>
>>
>> This property already exists in the SPI controller. Isn't the max frequency
>> supposed to inherit from there? If so, shouldn't the code not warn when such
>> inheritance happens, i.e. it'd be better to fix the code?
>
> I don't think it's supposed to fall back to the controller's max freq,
> as each device has its own maximum frequency that it can support and
> it's not related to what the master supports.
If the controller-specific frequency property isn't ever used, we should
remove it. No point carrying cruft that looks like it does something but
doesn't.
Logically, each device's max frequency certainly should be influenced by
all of the controller, board, and device max frequency. Those should all
impose a cap on the speed used. I'd expect this to be expressed in DT as
a single property in each device where the user has calculated that max
for the device, with the option to have all the devices fall back to the
"default" provided at the controller/bus level if the device imposes a
cap that's no lower.
next prev parent reply other threads:[~2015-01-27 16:48 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-15 16:12 [PATCH v2 00/11] Improvements to Tegra-based Chromebook support Tomeu Vizoso
2015-01-15 16:12 ` [PATCH v2 01/11] ARM: tegra: Add node for trackpad in Nyan boards Tomeu Vizoso
2015-01-15 16:12 ` [PATCH v2 02/11] ARM: tegra: Use the generated pinmux data Tomeu Vizoso
[not found] ` <1421338359-27467-3-git-send-email-tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
2015-01-15 17:25 ` Stephen Warren
2015-01-20 13:59 ` Tomeu Vizoso
2015-01-20 16:20 ` Stephen Warren
2015-01-15 16:12 ` [PATCH v2 03/11] ARM: tegra: Set the sound card model that alsaucm expects Tomeu Vizoso
[not found] ` <1421338359-27467-4-git-send-email-tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
2015-01-15 17:22 ` Stephen Warren
[not found] ` <54B7F757.5060002-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-01-16 8:50 ` Tomeu Vizoso
[not found] ` <CAAObsKCad9O_=TUQrF7fVbBvjDTmfJsLPgr+EasCyhvY+xhdHg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-01-16 9:01 ` Tomeu Vizoso
2015-01-19 17:10 ` Stephen Warren
[not found] ` <54BD3A75.80009-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-01-19 17:11 ` Tomeu Vizoso
2015-01-20 17:01 ` Dylan Reid
2015-01-15 16:12 ` [PATCH v2 04/11] ARM: tegra: Set spi-max-frequency property to flash node Tomeu Vizoso
[not found] ` <1421338359-27467-5-git-send-email-tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
2015-01-15 17:26 ` Stephen Warren
[not found] ` <54B7F84A.6020906-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-01-27 11:13 ` Tomeu Vizoso
[not found] ` <CAAObsKDx_W23OTL2RE4xxgXL-rtp3npkBtx6qMHV1j8ZXmo1rw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-01-27 16:48 ` Stephen Warren [this message]
2015-01-28 10:24 ` Tomeu Vizoso
2015-01-15 16:12 ` [PATCH v2 05/11] drm/panel: add support for Samsung LTN140AT29 panel Tomeu Vizoso
2015-01-16 12:23 ` Thierry Reding
2015-01-15 16:12 ` [PATCH v2 06/11] ARM: tegra: Move out nyan-generic parts out from the nyan-big DT Tomeu Vizoso
[not found] ` <1421338359-27467-7-git-send-email-tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
2015-01-15 17:28 ` Stephen Warren
[not found] ` <54B7F8D2.4040400-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-01-27 12:57 ` Tomeu Vizoso
2015-01-15 16:12 ` [PATCH v2 07/11] ARM: tegra: Add DTS for the nyan-blaze board Tomeu Vizoso
[not found] ` <1421338359-27467-1-git-send-email-tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
2015-01-15 16:12 ` [PATCH v2 08/11] mmc: pwrseq_simple: Add support for a delay Tomeu Vizoso
[not found] ` <1421338359-27467-9-git-send-email-tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
2015-01-15 17:32 ` Stephen Warren
2015-01-15 17:33 ` Stephen Warren
[not found] ` <54B7F9FB.7030100-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-01-21 10:44 ` Ulf Hansson
[not found] ` <CAPDyKFoO6evBoAbEE30XiZg51KsM-sD4viFMvqaDwGoHeVL-6w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-01-21 13:54 ` Tomeu Vizoso
2015-01-21 14:15 ` Ulf Hansson
[not found] ` <CAPDyKFoYj3xBoYsn87mxjoqDDnCtopAugX5JbzYritxWn-7XaA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-01-21 14:55 ` Tomeu Vizoso
2015-01-15 16:43 ` [PATCH v2 00/11] Improvements to Tegra-based Chromebook support Dylan Reid
2015-01-15 17:14 ` Mark Brown
2015-01-15 16:12 ` [PATCH v2 09/11] ARM: tegra: Use pwrseq-simple for the wifi in Nyan Tomeu Vizoso
[not found] ` <1421338359-27467-10-git-send-email-tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org>
2015-01-15 17:34 ` Stephen Warren
2015-01-15 16:12 ` [PATCH v2 10/11] ASoC: tegra: Add a control for the headphone switch Tomeu Vizoso
2015-01-15 16:20 ` Mark Brown
[not found] ` <20150115162057.GC3043-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-01-15 17:02 ` Tomeu Vizoso
[not found] ` <CAAObsKBKZsvLo9OjzcHiPEPq1iUeog0Bm-jzvxLrkt2X=N5djw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-01-15 17:09 ` Mark Brown
2015-01-15 16:12 ` [PATCH v2 11/11] ASoC: tegra: add sink for the internal mic to tegra_max98090 Tomeu Vizoso
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=54C7C16B.2080003@wwwdotorg.org \
--to=swarren-3lzwwm7+weoh9zmkesr00q@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=dgreid-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
--cc=galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org \
--cc=javier.martinez-ZGY8ohtN/8pPYcu2f3hruQ@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=pawel.moll-5wv7dgnIgG8@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
--cc=thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=tomeu.vizoso-ZGY8ohtN/8qB+jHODAdFcQ@public.gmane.org \
--cc=ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).