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

Commit 926a0e27 authored by Mitchel Humpherys's avatar Mitchel Humpherys
Browse files

ARM: dts: msm: Use macro definitions for interrupts for VIDC



There are some preprocessor macros that represent the supported values
for the `interrupts' property.  Currently we're just hard-coding the
numerical values, which is hard to understand.  Fix this by using the
macros.

Change-Id: I5867ba9ef3e330a407494621e1e8f146bd36f515
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent f5d3db32
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -10,12 +10,14 @@
 * GNU General Public License for more details.
 */

#include <dt-bindings/interrupt-controller/arm-gic.h>

&soc {
	msm_vidc: qcom,vidc@c00000 {
		compatible = "qcom,msm-vidc";
		status = "ok";
		reg = <0xC00000 0xff000>;
		interrupts = <0 287 0>;
		interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
		qcom,hfi = "venus";
		qcom,hfi-version = "3xx";
		qcom,reg-presets = <0x80010 0xffffffff>,
@@ -202,7 +204,7 @@

	vmem: qcom,vmem@880000 {
		compatible = "qcom,msm-vmem";
		interrupts = <0 429 0>;
		interrupts = <GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH>;

		reg = <0x880000 0x800>,
		    <0x6800000 0x80000>;