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

Commit 058bbf4e authored by Kumar Gala's avatar Kumar Gala
Browse files

msm: cache_erp: Rename "qti" device tree prefix back to "qcom"



Rename properties and compatible strings to return to the old
naming convention.

Change-Id: I71c59559dc851ea956e779a55e060dd20c70aac5
Signed-off-by: default avatarKumar Gala <galak@codeaurora.org>
parent 212ced7f
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
* Qualcomm Krait L1 / L2 cache error reporting driver

Required properties:
- compatible: Should be "qti,cache_erp"
- compatible: Should be "qcom,cache_erp"
- interrupts: Should contain the L1/CPU error interrupt number and
  the L2 cache interrupt number
- interrupt-names: Should contain the interrupt names "l1_irq" and
  "l2_irq"
- qti,msm-imem-phandle: phandle reference to the imem cache erp node
- qcom,msm-imem-phandle: phandle reference to the imem cache erp node

Optional properties:
- reg: A set of I/O regions to be dumped in the event of a hardware fault being
@@ -20,14 +20,14 @@ Optional properties:
  many elements as the "reg" property.

Example:
	qti,cache_erp {
		compatible = "qti,cache_erp";
	qcom,cache_erp {
		compatible = "qcom,cache_erp";
		interrupts = <1 9 0>, <0 2 0>;
		interrupt-names = "l1_irq", "l2_irq";
	};

Example with "reg" property defined:
	qti,cache_erp@f9012000 {
	qcom,cache_erp@f9012000 {
		reg = <0xf9012000 0x80>,
		      <0xf9089000 0x80>,
		      <0xf9099000 0x80>;
@@ -36,9 +36,9 @@ Example with "reg" property defined:
			    "krait0_saw",
			    "krait1_saw";

		compatible = "qti,cache_erp";
		compatible = "qcom,cache_erp";
		interrupts = <1 9 0>, <0 2 0>;
		interrupt-names = "l1_irq", "l2_irq";

		qti,msm-imem-phandle = <&imem_cache_erp>;
		qcom,msm-imem-phandle = <&imem_cache_erp>;
	};
+3 −3
Original line number Diff line number Diff line
@@ -238,11 +238,11 @@
				<84 512 500 800>;
	};

	qti,cache_erp {
		compatible = "qti,cache_erp";
	qcom,cache_erp {
		compatible = "qcom,cache_erp";
		interrupts = <1 9 0>, <0 2 0>;
		interrupt-names = "l1_irq", "l2_irq";
		qti,msm-imem-phandle = <&imem_cache_erp>;
		qcom,msm-imem-phandle = <&imem_cache_erp>;
	};

	qcom,cache_dump {
+3 −3
Original line number Diff line number Diff line
@@ -327,11 +327,11 @@
		};
	};

	qti,cache_erp {
		compatible = "qti,cache_erp";
	qcom,cache_erp {
		compatible = "qcom,cache_erp";
		interrupts = <1 9 0>, <0 2 0>;
		interrupt-names = "l1_irq", "l2_irq";
		qti,msm-imem-phandle = <&imem_cache_erp>;
		qcom,msm-imem-phandle = <&imem_cache_erp>;
	};

	qcom,cache_dump {
+3 −3
Original line number Diff line number Diff line
@@ -2135,7 +2135,7 @@
		qti,firmware-name = "venus";
	};

	qti,cache_erp@f9012000 {
	qcom,cache_erp@f9012000 {
		reg = <0xf9012000 0x80>,
		      <0xf9089000 0x80>,
		      <0xf9099000 0x80>,
@@ -2156,11 +2156,11 @@
			    "krait2_acs",
			    "krait3_acs";

		compatible = "qti,cache_erp";
		compatible = "qcom,cache_erp";
		interrupts = <1 9 0>, <0 2 0>;
		interrupt-names = "l1_irq", "l2_irq";

		qti,msm-imem-phandle = <&imem_cache_erp>;
		qcom,msm-imem-phandle = <&imem_cache_erp>;
	};

	qcom,cache_dump {
+2 −2
Original line number Diff line number Diff line
@@ -534,7 +534,7 @@ static int msm_cache_erp_probe(struct platform_device *pdev)
	struct device_node *imem_node;
	int ret, cpu;

	imem_node = of_parse_phandle(np, "qti,msm-imem-phandle", 0);
	imem_node = of_parse_phandle(np, "qcom,msm-imem-phandle", 0);
	if (!imem_node) {
		pr_err("Could not get imem handle\n");
		ret = -ENODEV;
@@ -639,7 +639,7 @@ static int msm_cache_erp_remove(struct platform_device *pdev)
}

static struct of_device_id cache_erp_match_table[] = {
	{	.compatible = "qti,cache_erp",	},
	{	.compatible = "qcom,cache_erp",	},
	{}
};