[9610] dts: add bcm information
authorJaejoon Yoo <joonyj7.yoo@samsung.com>
Thu, 28 Jun 2018 05:10:48 +0000 (14:10 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:04:41 +0000 (17:04 +0900)
Change-Id: I1702d2197afbfa612c710532da4a85711d5fdaba
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
arch/arm64/boot/dts/exynos/exynos9610-rmem.dtsi
arch/arm64/boot/dts/exynos/exynos9610.dts

index 29b3660aefe93cbf9b6ab99baaed5df551f1b193..68d0e3e7add18b3e4e0c380e79a69bfe6702f36b 100644 (file)
                                compatible = "debug-snapshot,log_sfr";
                                reg = <0 DSS_LOG_SFR_ADDR DSS_LOG_SFR_SIZE>;
                        };
+                       log_bcm {
+                               compatible = "debug-snapshot,log_bcm";
+                               reg = <0 DSS_LOG_BCM_ADDR DSS_LOG_BCM_SIZE>;
+                       };
                        log_pstore {
                                compatible = "debug-snapshot,log_pstore";
                                reg = <0 DSS_LOG_PSTORE_ADDR DSS_LOG_PSTORE_SIZE>;
index 0f3711133dddd6a5df228ccba572fcdd234a19cf..fd1fd04cc104fab69286c3a317f5aa2d35ee607e 100644 (file)
@@ -27,6 +27,7 @@
 #include <dt-bindings/soc/samsung/exynos9610-devfreq.h>
 #include "exynos9610-mfc.dtsi"
 #include "exynos9610-camera.dtsi"
+#include <dt-bindings/soc/samsung/exynos-bcm_dbg.h>
 
 / {
        compatible = "samsung,armv8", "samsung,exynos9610";
                samsung,power-domain = <&pd_dispaud>;
                status = "ok";
        };
+
+       exynos-bcmdbg {
+               compatible = "samsung,exynos-bcm_dbg";
+
+               pd-name = "pd-trex", "pd-dispaud", "pd-g2d", "pd-mfc", "pd-isp",
+                       "pd-cam", "pd-vipx1", "pd-vipx2", "pd-usb", "pd-fsys";
+
+               max_define_event = <PRE_DEFINE_EVT_MAX>;
+               bcm_cnt_nr = <4>;
+               /* define_event_index ev0 ev1 ev2 ev3 */
+               define_events = <NO_PRE_DEFINE_EVT      0x0  0x0  0x0  0x0>,
+                               <PEAK_LATENCY_FMT_EVT   0x4  0x5  0x26  0x27>;
+               default_define_event = <PEAK_LATENCY_FMT_EVT>;
+
+               /* sm_id_mask sm_id_value */
+               define_filter_id = <NO_PRE_DEFINE_EVT   0x0  0x0>,
+                               <PEAK_LATENCY_FMT_EVT   0x0  0x0>;
+               /* ev0 ev1 ev2 ev3 */
+               define_filter_id_active = <NO_PRE_DEFINE_EVT    0x0  0x0  0x0  0x0>,
+                                       <PEAK_LATENCY_FMT_EVT   0x0  0x0  0x0  0x0>;
+               /* sm_other_type0 sm_other_mask0 sm_other_value0 */
+               define_filter_other_0 = <NO_PRE_DEFINE_EVT      0x0  0x0  0x0>,
+                                       <PEAK_LATENCY_FMT_EVT   0x0  0x0  0x0>;
+               /* sm_other_type1 sm_other_mask1 sm_other_value1 */
+               define_filter_other_1 = <NO_PRE_DEFINE_EVT      0x0  0x0  0x0>,
+                                       <PEAK_LATENCY_FMT_EVT   0x0  0x0  0x0>;
+               /* ev0 ev1 ev2 ev3 */
+               define_filter_other_active = <NO_PRE_DEFINE_EVT 0x0  0x0  0x0  0x0>,
+                                       <PEAK_LATENCY_FMT_EVT   0x0  0x0  0x0  0x0>;
+               /* peak_mask peak_id */
+               define_sample_id = <NO_PRE_DEFINE_EVT   0x0  0x0>,
+                               <PEAK_LATENCY_FMT_EVT   0x0  0x0>;
+               /* ev0 ev1 ev2 ev3 */
+               define_sample_id_enable = <NO_PRE_DEFINE_EVT    0x0  0x0  0x0  0x0>,
+                                       <PEAK_LATENCY_FMT_EVT   0x0  0x0  0x1  0x1>;
+               bcm_ip_nr = <31>;
+               initial_run_bcm_ip = <0>, <1>, <2>, <3>, <4>, <5>, <6>, <7>, <8>, <9>, <10>,
+                               <11>, <12>, <13>, <14>, <15>, <16>, <17>, <18>, <19>, <20>,
+                               <21>, <22>, <23>, <24>, <25>, <26>, <27>, <28>, <29>, <30>;
+               initial_bcm_run = <BCM_STOP>;
+               /* msec (max 500msec) */
+               initial_period = <1>;
+               initial_bcm_mode = <BCM_MODE_INTERVAL>;
+               available_stop_owner = <PANIC_HANDLE CAMERA_DRIVER MODEM_IF ITMON_HANDLE>;
+               buff_size = <0x100000>;
+       };
 };