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

Commit 0829052b authored by Stephen Boyd's avatar Stephen Boyd
Browse files

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



Add a macro to convert bus frequencies to bandwidths.

Change-Id: I8a8cf10ac253bd18aa0b39e7fdf4b05377850748
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent d2ae07b1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -26,6 +26,8 @@
#include <dt-bindings/thermal/thermal.h>
#include <dt-bindings/msm/msm-bus-ids.h>

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

/ {
	model = "Qualcomm Technologies, Inc. SDM845";
	compatible = "qcom,sdm845";