Message ID | 1594819885-31016-3-git-send-email-sumitg@nvidia.com |
---|---|
State | Accepted |
Headers | show |
Series | Add cpufreq driver for Tegra194 | expand |
On Wed, Jul 15, 2020 at 07:01:24PM +0530, Sumit Gupta wrote: > On Tegra194, data on valid operating points for the CPUs needs to be > queried from BPMP. In T194, there is no node representing CPU complex. > So, add compatible string to the 'cpus' node instead of using dummy > node to bind cpufreq driver. Also, add reference to the BPMP instance > for the CPU complex. > > Signed-off-by: Sumit Gupta <sumitg@nvidia.com> > --- > arch/arm64/boot/dts/nvidia/tegra194.dtsi | 2 ++ > 1 file changed, 2 insertions(+) Looks like the DT bindings are now done so I've applied this for v5.9. Viresh, are you going to pick up the other patches, or do you want me to pick them up and send you a pull request? Thanks, Thierry
On 16-07-20, 14:37, Thierry Reding wrote: > On Wed, Jul 15, 2020 at 07:01:24PM +0530, Sumit Gupta wrote: > > On Tegra194, data on valid operating points for the CPUs needs to be > > queried from BPMP. In T194, there is no node representing CPU complex. > > So, add compatible string to the 'cpus' node instead of using dummy > > node to bind cpufreq driver. Also, add reference to the BPMP instance > > for the CPU complex. > > > > Signed-off-by: Sumit Gupta <sumitg@nvidia.com> > > --- > > arch/arm64/boot/dts/nvidia/tegra194.dtsi | 2 ++ > > 1 file changed, 2 insertions(+) > > Looks like the DT bindings are now done so I've applied this for v5.9. > > Viresh, are you going to pick up the other patches, or do you want me > to pick them up and send you a pull request? Applied the other two patches, Thanks.
diff --git a/arch/arm64/boot/dts/nvidia/tegra194.dtsi b/arch/arm64/boot/dts/nvidia/tegra194.dtsi index 7c9511a..0abf287 100644 --- a/arch/arm64/boot/dts/nvidia/tegra194.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra194.dtsi @@ -1764,6 +1764,8 @@ }; cpus { + compatible = "nvidia,tegra194-ccplex"; + nvidia,bpmp = <&bpmp>; #address-cells = <1>; #size-cells = <0>;
On Tegra194, data on valid operating points for the CPUs needs to be queried from BPMP. In T194, there is no node representing CPU complex. So, add compatible string to the 'cpus' node instead of using dummy node to bind cpufreq driver. Also, add reference to the BPMP instance for the CPU complex. Signed-off-by: Sumit Gupta <sumitg@nvidia.com> --- arch/arm64/boot/dts/nvidia/tegra194.dtsi | 2 ++ 1 file changed, 2 insertions(+)