From: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Maxime Ripard
<maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
Cc: linux-fbdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree <devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: [PATCH 4/7] ARM: dts: sun6i: Add simplefb node
Date: Fri, 14 Nov 2014 11:30:09 +0100 [thread overview]
Message-ID: <5465D9B1.8010707@redhat.com> (raw)
In-Reply-To: <20141114102417.GY20972@lukather>
Hi,
On 11/14/2014 11:24 AM, Maxime Ripard wrote:
> On Thu, Nov 13, 2014 at 06:52:57PM +0100, Hans de Goede wrote:
>> Hi,
>>
>> On 11/13/2014 05:46 PM, Maxime Ripard wrote:
>>> Hi,
>>>
>>> On Thu, Nov 13, 2014 at 10:31:46AM +0100, Hans de Goede wrote:
>>>> Add a simplefb template node for u-boot to further fill and activate.
>>>>
>>>> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
>>>> ---
>>>> arch/arm/boot/dts/sun6i-a31.dtsi | 10 ++++++++++
>>>> 1 file changed, 10 insertions(+)
>>>>
>>>> diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6i-a31.dtsi
>>>> index 543f895..438952e 100644
>>>> --- a/arch/arm/boot/dts/sun6i-a31.dtsi
>>>> +++ b/arch/arm/boot/dts/sun6i-a31.dtsi
>>>> @@ -62,6 +62,16 @@
>>>> ethernet0 = &gmac;
>>>> };
>>>>
>>>> + chosen {
>>>> + #address-cells = <1>;
>>>> + #size-cells = <1>;
>>>> + ranges;
>>>> +
>>>> + framebuffer0 {
>>>> + compatible = "simple-framebuffer";
>>>> + status = "disabled";
>>>
>>> Aren't we suppose to have clocks in there too?
>>
>> I deliberately left them out as they are not needed on sun6i, once the blocks
>> are setup ahb access is not necessary, but it seems that the ahb_gate bits
>> in sun4i / sun5i / sun7i double as a reset. Toggling them on / off / on breaks
>> the mode, while toggling module clocks on / off / on only causes a glitch.
>>
>> Since the sun6i has a separate reset controller, the clock gates seem to really
>> only control ahb access which is not necessary once the mode has been set up.
>
> Ok. That can always be changed in the future if we ever find we need
> them anyway.
>
> I'll merge these four patches as soon as the bindings doc is
> acked-by/merged by Grant or any other DT maintainer.
Note these patches are using framebuffer0 rather then framebuffer0-hdmi as node
name, which may cause issues if we later want to add lcd support. So I've a v2
coming which changes the name to framebuffer0-hdmi, please merge that instead.
Regards,
Hans
next prev parent reply other threads:[~2014-11-14 10:30 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-13 9:31 [PATCH 1/7] ARM: dts: sunxi: Add regulator-boot-on property to ahci-5v regulator Hans de Goede
[not found] ` <1415871109-28332-1-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-11-13 9:31 ` [PATCH 2/7] ARM: dts: sun4i: Add simplefb node Hans de Goede
2014-11-13 9:31 ` [PATCH 3/7] ARM: dts: sun5i: " Hans de Goede
2014-11-13 9:31 ` [PATCH 4/7] ARM: dts: sun6i: " Hans de Goede
[not found] ` <1415871109-28332-4-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-11-13 16:46 ` Maxime Ripard
2014-11-13 17:52 ` Hans de Goede
[not found] ` <5464EFF9.9010203-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-11-14 10:24 ` Maxime Ripard
2014-11-14 10:30 ` Hans de Goede [this message]
[not found] ` <5465D9B1.8010707-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-11-14 11:21 ` Maxime Ripard
2014-11-13 9:31 ` [PATCH 5/7] ARM: dts: sun7i: " Hans de Goede
2014-11-13 9:31 ` [PATCH 6/7] ARM: dts: sun6i: Add EHCI support for the M9 board Hans de Goede
[not found] ` <1415871109-28332-6-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-11-13 16:47 ` Maxime Ripard
2014-11-13 9:31 ` [PATCH 7/7] ARM: dts: sun6i: Add support for the status led Hans de Goede
[not found] ` <1415871109-28332-7-git-send-email-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-11-13 16:48 ` Maxime Ripard
2014-11-13 16:49 ` [PATCH 1/7] ARM: dts: sunxi: Add regulator-boot-on property to ahci-5v regulator Maxime Ripard
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=5465D9B1.8010707@redhat.com \
--to=hdegoede-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-fbdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
--cc=maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@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).