From: "André Przywara" <andre.przywara@arm.com>
To: Florian Fainelli <f.fainelli@gmail.com>,
Rob Herring <robh+dt@kernel.org>,
devicetree@vger.kernel.org
Cc: Scott Branden <sbranden@broadcom.com>,
Ray Jui <rjui@broadcom.com>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
linux-kernel@vger.kernel.org,
bcm-kernel-feedback-list@broadcom.com,
Haojian Zhuang <haojian.zhuang@linaro.org>,
Thomas Gleixner <tglx@linutronix.de>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 3/6] ARM: dts: broadcom: Fix SP804 node
Date: Fri, 28 Aug 2020 14:59:52 +0100 [thread overview]
Message-ID: <60929faf-fdcf-a434-1acb-c77f92818955@arm.com> (raw)
In-Reply-To: <ecb277f9-1328-c64c-dd42-7a346ba61f8e@gmail.com>
On 26/08/2020 21:55, Florian Fainelli wrote:
> On 8/26/20 11:59 AM, Florian Fainelli wrote:
>> On 8/26/20 11:53 AM, André Przywara wrote:
>>> On 26/08/2020 19:42, Florian Fainelli wrote:
Hi Florian,
>>>
>>> Hi,
>>>
>>>> On 8/26/20 11:38 AM, Andre Przywara wrote:
>>>>> The DT binding for SP804 requires to have an "arm,primecell" compatible
>>>>> string.
>>>>> Add this string so that the Linux primecell bus driver picks the device
>>>>> up and activates the clock.
>>>>>
>>>>> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
>>>>
>>>> The commit subject should be:
>>>>
>>>> ARM: dts: NSP: Fix SP804 compatible node
>>>>
>>>> and we should probably have a Fixes tag that is:
>>>>
>>>> Fixes: a0efb0d28b77 ("ARM: dts: NSP: Add SP804 Support to DT")
>>>>
>>>> Could you please re-submit with those things corrected? Thanks
>>>
>>> Sure, will include that in a v2.
>>>
>>> Out of curiosity, do you have the hardware and can check the impact that
>>> has?
>>
>> I have the hardware and could run some tests if you would like.
>>
>>> Not sure we actually create the device without the primecell compatible?
>>> Or is the sp804 an exception here, compared to the other AMBA devices
>>> (SP805, PL011)?
>>
>> No idea, I have never used those timers personally, and I doubt that
>> anybody besides me within broadcom and hobbyists actually care about NSP
>> these days.
>
> Seems to be working fine for me with your patch applied, it probes:
>
> # dmesg | grep sp804
> [ 0.035363] clocksource: arm,sp804: mask: 0xffffffff max_cycles:
> 0xffffffff, max_idle_ns: 15290083572 ns
>
> and it is usable:
>
> # cat clocksource0/available_clocksource
> arm_global_timer arm,sp804
>
> and appears to work:
>
> # echo "arm,sp804" > clocksource0/current_clocksource
> [ 105.108547] clocksource: Switched to clocksource arm,sp804
>
> # date; sleep 5; date
> Thu Jan 1 00:01:51 UTC 1970
> Thu Jan 1 00:01:56 UTC 1970
>
> Feel free to add Tested-by: Florian Fainelli <f.fainelli@gmail.com> in
> your v2, thanks André!
Wow, thanks a lot for this test!
Sending out a v2 in a minute.
Cheers,
Andre
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-08-28 14:02 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-26 18:37 [PATCH 0/6] dt-bindings: Convert SP804 to Json-schema (and fix users) Andre Przywara
2020-08-26 18:37 ` [PATCH 1/6] dt-bindings: timers: sp-804: Convert to json-schema Andre Przywara
2020-08-26 21:36 ` Rob Herring
2020-08-26 18:38 ` [PATCH 2/6] ARM: dts: arm: Fix SP804 users Andre Przywara
2020-08-28 14:03 ` Linus Walleij
2020-08-28 14:22 ` André Przywara
2020-08-26 18:38 ` [PATCH 3/6] ARM: dts: broadcom: Fix SP804 node Andre Przywara
2020-08-26 18:42 ` Florian Fainelli
2020-08-26 18:53 ` André Przywara
2020-08-26 18:59 ` Florian Fainelli
2020-08-26 20:55 ` Florian Fainelli
2020-08-28 13:59 ` André Przywara [this message]
2020-08-26 21:29 ` Rob Herring
2020-08-26 18:38 ` [PATCH 4/6] ARM: dts: hisilicon: Fix SP804 users Andre Przywara
2020-08-26 18:38 ` [PATCH 5/6] ARM: dts: nspire: " Andre Przywara
2020-08-26 18:38 ` [PATCH 6/6] arm64: dts: lg: " Andre Przywara
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=60929faf-fdcf-a434-1acb-c77f92818955@arm.com \
--to=andre.przywara@arm.com \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=daniel.lezcano@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=f.fainelli@gmail.com \
--cc=haojian.zhuang@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjui@broadcom.com \
--cc=robh+dt@kernel.org \
--cc=sbranden@broadcom.com \
--cc=tglx@linutronix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox