Devicetree
 help / color / mirror / Atom feed
From: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Icenowy Zheng <icenowy-h8G6r0blFSE@public.gmane.org>
Cc: jernej.skrabec-gGgVlfcn5nU@public.gmane.org,
	linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org,
	Maxime Ripard
	<maxime.ripard-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>,
	Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Re: [PATCH 2/7] dt-bindings: add binding for the Allwinner A64 DE2 bus
Date: Mon, 26 Mar 2018 17:22:58 -0500	[thread overview]
Message-ID: <20180326222258.uxpgj4bk4pg56b7o@rob-hp-laptop> (raw)
In-Reply-To: <9520BDDE-BFE3-4220-B48D-01A00CFA94DE-h8G6r0blFSE@public.gmane.org>

On Thu, Mar 22, 2018 at 02:08:43PM +0800, Icenowy Zheng wrote:
> 
> 
> 于 2018年3月22日 GMT+08:00 上午1:13:42, "Jernej Škrabec" <jernej.skrabec-gGgVlfcn5nU@public.gmane.org> 写到:
> >Hi all,
> >
> >Dne sreda, 21. marec 2018 ob 03:18:13 CET je Icenowy Zheng napisal(a):
> >> 于 2018年3月21日 GMT+08:00 上午2:46:46, Maxime Ripard
> ><maxime.ripard-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org> 
> >写到:
> >> >On Sat, Mar 17, 2018 at 01:53:49AM +0800, Icenowy Zheng wrote:
> >> >> All the sub-blocks of Allwinner A64 DE2 needs the SRAM C on A64
> >SoC
> >> >
> >> >to
> >> >
> >> >> be claimed, otherwise the whole DE2 space is inaccessible.
> >> >> 
> >> >> Add a device tree binding of the DE2 part as a sub-bus.
> >> >
> >> >Where did you get the info that it was a bus?
> >> 
> >> There's no direct evidence, just some guess.
> >> 
> >> The DE2 is a whole part that is just allocated a memory
> >> space at the user manual, and the SRAM controls the
> >> access to all modules in the DE2.
> >> 
> >> So it might be a bus.
> >> 
> >> Implement it as a bus is a clear representation on A64.
> >
> >Since there is already syscon for same mmio region, we migh as well use
> >it 
> >when loading ccu-sun8i-de2 driver on A64.
> >
> >Other options, like SRAM driver or bus driver, might better represent
> >HW, but 
> 
> I think the device tree should properly represent the HW,
> it's a basic requirment.
> 
> >then we would have two DT nodes covering same mmio region, which I
> >think is 
> >not really acceptable.
> 
> It's acceptable, and DE2 is not the only user of SRAM controller so far.

No, it's not acceptable. Don't create overlapping mmio regions in DT.

> 
> VE will also need a SRAM region to be claimed.
> 
> >
> >Any suggestions?
> >
> >BTW, H6 has same design in this regard.
> >
> >Best regards,
> >Jernej
> --
> 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

-- 
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/d/optout.

  parent reply	other threads:[~2018-03-26 22:22 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-16 17:53 [PATCH 0/7] Allwinner A64 DE2 CCU support with dedicated DE2 bus driver Icenowy Zheng
     [not found] ` <20180316175354.21437-1-icenowy-h8G6r0blFSE@public.gmane.org>
2018-03-16 17:53   ` [PATCH 1/7] dt-bindings: add compatible string for the A64 DE2 CCU Icenowy Zheng
2018-03-19 22:00     ` Stephen Boyd
     [not found]     ` <20180316175354.21437-2-icenowy-h8G6r0blFSE@public.gmane.org>
2018-03-26 22:22       ` Rob Herring
2018-03-16 17:53   ` [PATCH 2/7] dt-bindings: add binding for the Allwinner A64 DE2 bus Icenowy Zheng
2018-03-20 18:46     ` Maxime Ripard
2018-03-21  2:18       ` Icenowy Zheng
2018-03-21 17:13         ` [linux-sunxi] " Jernej Škrabec
2018-03-22  6:08           ` Icenowy Zheng
     [not found]             ` <9520BDDE-BFE3-4220-B48D-01A00CFA94DE-h8G6r0blFSE@public.gmane.org>
2018-03-26 22:22               ` Rob Herring [this message]
2018-03-26 23:31                 ` Icenowy Zheng
2018-03-27  8:11                   ` [linux-sunxi] " Maxime Ripard
2018-03-16 17:53   ` [PATCH 3/7] bus: add bus driver for accessing Allwinner A64 DE2 Icenowy Zheng
2018-04-14 10:25     ` Jagan Teki
     [not found]       ` <CAMty3ZBOSXu=+jQpsdnykioDGsp=VphSnzQdDDs_hh3Y1FPKyg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-04-14 10:30         ` Chen-Yu Tsai
2018-04-14 10:46           ` Jagan Teki
2018-04-19  6:35             ` Jagan Teki
2018-03-16 17:53   ` [PATCH 4/7] clk: sunxi-ng: add A64 compatible string Icenowy Zheng
2018-03-16 17:53   ` [PATCH 5/7] arm64: allwinner: a64: add DE2 CCU related device tree nodes Icenowy Zheng
2018-03-20 18:47     ` Maxime Ripard
2018-03-16 17:53   ` [PATCH 6/7] arm64: allwinner: a64: add simplefb for A64 SoC Icenowy Zheng
2018-03-16 17:53   ` [PATCH 7/7] arm64: allwinner: a64: add HDMI regulator to all DTs' simplefb_hdmi Icenowy Zheng

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=20180326222258.uxpgj4bk4pg56b7o@rob-hp-laptop \
    --to=robh-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=icenowy-h8G6r0blFSE@public.gmane.org \
    --cc=jernej.skrabec-gGgVlfcn5nU@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    --cc=maxime.ripard-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org \
    --cc=wens-jdAy2FN1RRM@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