Hi David,
Am Montag, 1. Februar 2016, 16:54:38 schrieb David.Wu:
å 2016/1/30 20:39, Heiko Stuebner åé:I will very strongly disagree here ;-) .
Am Samstag, 30. Januar 2016, 20:01:45 schrieb David Wu:Okay, i agree to you, but it make someone a little confused just from
As rk3368 contained two separated iodomain areas, this wasI don't think we need to specify this on a driver level. Both GRF areas
determined to use which regmap base address.
Signed-off-by: David Wu <david.wu@xxxxxxxxxxxxxx>
are
"General register files" only located in two separate power-domains.
So the rockchip,grf property should work for both. Especially as nothing
keeps designers from introducing yet another GRF-area somewhere else ;-)
>From when I started working on the rk3368, I still have a preliminary
patches for that sitting here, so I've attached on how I envisoned that to
work.
the drive code,
not DT file, about pmugrf regmap base address.:-)
How do you feel about intergating GRF and PMU drivers in one driver?
Thanks!
Similar to the power-domains being part of the pmu, the io-domains are
part of their individual GRFs. So if you want it really clean and tidy the way
to go foward will be the attached patches. Compile-tested only.
Other things like the usbphy control should move there as well in the long
run. But that's not immediate necessary.
Heiko