Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 903c95d7 authored by Santosh Mardi's avatar Santosh Mardi Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add a frequency to bandwidth macro for sdm670



Add a macro to convert bus frequencies to bandwidths.

Change-Id: I20d8a3fd1fd488e6e8a0404f61dc408c3b769ad7
Signed-off-by: default avatarSantosh Mardi <gsantosh@codeaurora.org>
parent e08dfa6b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -23,6 +23,8 @@
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
#include <dt-bindings/clock/qcom,aop-qmp.h>

#define MHZ_TO_MBPS(mhz, w) ((mhz * 1000000 * w) / (1024 * 1024))

/ {
	model = "Qualcomm Technologies, Inc. SDM670";
	compatible = "qcom,sdm670";