From 9e1892dc15c7c8623a34c088fbeb3c2f47a0e4e2 Mon Sep 17 00:00:00 2001 From: Guosong Zhou Date: Thu, 17 Jan 2019 04:17:20 -0500 Subject: [PATCH] isp: config temper buffer size in dts [1/2] PD#SWPL-4177 Problem: temper buffer size is a fixed value in code Solution: config temper buffer size from dts Verify: verify by w400 Change-Id: I17ef428221f149a888e0318bc27d7b7d309c00ce Signed-off-by: Guosong Zhou --- arch/arm/boot/dts/amlogic/mesong12b.dtsi | 1 + arch/arm64/boot/dts/amlogic/mesong12b.dtsi | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/amlogic/mesong12b.dtsi b/arch/arm/boot/dts/amlogic/mesong12b.dtsi index 876b1e7..82f17ba 100644 --- a/arch/arm/boot/dts/amlogic/mesong12b.dtsi +++ b/arch/arm/boot/dts/amlogic/mesong12b.dtsi @@ -1863,6 +1863,7 @@ reg-names = "ISP"; interrupts = <0 142 4>; interrupt-names = "ISP"; + temper-buf-size = <24>; clocks = <&clkc CLKID_MIPI_ISP_CLK_COMP>, <&clkc CLKID_MIPI_CSI_PHY_CLK0_COMP>; clock-names = "cts_mipi_isp_clk_composite", diff --git a/arch/arm64/boot/dts/amlogic/mesong12b.dtsi b/arch/arm64/boot/dts/amlogic/mesong12b.dtsi index 97a7f17..e9a1d3a 100644 --- a/arch/arm64/boot/dts/amlogic/mesong12b.dtsi +++ b/arch/arm64/boot/dts/amlogic/mesong12b.dtsi @@ -1863,6 +1863,7 @@ reg-names = "ISP"; interrupts = <0 142 4>; interrupt-names = "ISP"; + temper-buf-size = <24>; clocks = <&clkc CLKID_MIPI_ISP_CLK_COMP>, <&clkc CLKID_MIPI_CSI_PHY_CLK0_COMP>; clock-names = "cts_mipi_isp_clk_composite", -- 2.7.4