Message ID | 56F35894.3020106@rock-chips.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 24-03-16, 11:01, Feng Xiao wrote: > hi all, > I found that it could match the cpufreq-dt driver succesfully only with > the following changes. > --- a/arch/arm64/boot/dts/rockchip/rk3366.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3366.dtsi > @@ -139,6 +139,10 @@ > }; > }; > > + cpufreq-dt { //the node name must be cpufreq-dt > + compatible = "rockchip,cpufreq"; // the compatible name is > insignificant > + }; > + Its not allowed to create a DT node for a dummy device and so we never followed this way. I have just sent a patchset and cc'd you: "[PATCH 0/3] cpufreq: dt: Create platform device from generic code" and so this patch shall get replaced now.
--- a/arch/arm64/boot/dts/rockchip/rk3366.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3366.dtsi @@ -139,6 +139,10 @@ }; }; + cpufreq-dt { //the node name must be cpufreq-dt + compatible = "rockchip,cpufreq"; // the compatible name is insignificant + }; + This was supported by the commit 07e461cd7e73a84f0e3757932b93cc80976fd749