This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM437x Resistive Touchscreen integration

Hi Team,

We are using Processor-SDK-02.00.02.11 on a custom board based on AM437x-SK-EVM design.

We integrated 320*240 Resistive Touch Panel to our board.

The display panel driver is panel-dpi.c and touchscreen driver is ti-am335x-tsc.c

We are facing 2 problems.

1. We are frequently getting the following error

            [ 470.365039] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040

            [ 470.371531] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040

            [ 470.380260] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040

2. The touchscreen coordinate values are incorrect.

          # ts_print_raw

         946686339.982239: 2873 3705 328

         946686339.984518: 2833 2944 295

         946686339.986831: 2794 2983 285

         946686339.989297: 2765 3022 282

         946686339.991491: 2745 3043 279

         946686339.993792: 2734 3068 283

         946686340.005357: 2718 3090 282

         946686340.007600: 2729 3091 292

         946686340.009916: 2740 3098 301

         946686340.012249: 2748 3100 302

         946686340.014529: 2773 3098 319

         946686340.016887: 2812 3106 332

         946686340.019167: 2962 3126 393

When i release touch, x & y never sets to 0.

The same setup is working fine in our am335x custom board with Processor-SDK-02.00.02.11.

          # ts_print_raw ---------------------------------> working coordinates am335x

         946686501.309815: 2285 2438 233

         946686501.311730: 2291 2481 231

         946686501.313666: 2291 2496 233

         946686501.315592: 2295 2502 234

         946686501.317533: 2306 2527 231

         946686501.319466: 2318 2564 230

         946686501.321406: 2318 2579 230

         946686501.323344: 2322 2586 229

         946686501.356489: 0 0 0

I have attached am437x-sk-evm.dts file for your reference.

Thanks & Regards,

Arun

/*
 * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

/* AM437x SK EVM */

/dts-v1/;

#include "am4372.dtsi"
#include <dt-bindings/pinctrl/am43xx.h>
#include <dt-bindings/pwm/pwm.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>

/ {
	model = "TI AM437x SK EVM";
	compatible = "ti,am437x-sk-evm","ti,am4372","ti,am43";

	aliases {
		display0 = &lcd0;
	};

	backlight {
		compatible = "pwm-backlight";
		/* default values commented by arun analogics */
		/* pwms = <&ecap0 0 50000 PWM_POLARITY_INVERTED>; */
		pwms = <&ecap0 0 50000 0>;
		brightness-levels = <0 51 53 56 62 75 101 152 255>;
		default-brightness-level = <8>;
	};

	sound {
		compatible = "simple-audio-card";
		simple-audio-card,name = "AM437x-SK-EVM";
		simple-audio-card,widgets =
			"Headphone", "Headphone Jack";
		simple-audio-card,routing =
			"Headphone Jack",	"HPLOUT",
			"Headphone Jack",	"HPROUT";
		simple-audio-card,format = "dsp_b";
		simple-audio-card,bitclock-master = <&sound_master>;
		simple-audio-card,frame-master = <&sound_master>;
		simple-audio-card,bitclock-inversion;

		simple-audio-card,cpu {
			sound-dai = <&mcasp1>;
		};

		sound_master: simple-audio-card,codec {
			sound-dai = <&tlv320aic3106>;
			system-clock-frequency = <24000000>;
		};
	};

	matrix_keypad: matrix_keypad@0 {
		compatible = "gpio-matrix-keypad";

		pinctrl-names = "default";
		/* pinctrl-0 = <&matrix_keypad_pins>; */

		debounce-delay-ms = <5>;
		col-scan-delay-us = <5>;

		row-gpios = <&gpio5 5 GPIO_ACTIVE_HIGH		/* Bank5, pin5 */
				&gpio5 6 GPIO_ACTIVE_HIGH>;	/* Bank5, pin6 */

		col-gpios = <&gpio5 13 GPIO_ACTIVE_HIGH		/* Bank5, pin13 */
				&gpio5 4 GPIO_ACTIVE_HIGH>;	/* Bank5, pin4 */

		linux,keymap = <
				MATRIX_KEY(0, 0, KEY_DOWN)
				MATRIX_KEY(0, 1, KEY_RIGHT)
				MATRIX_KEY(1, 0, KEY_LEFT)
				MATRIX_KEY(1, 1, KEY_UP)
			>;
	};

	leds {
		compatible = "gpio-leds";

		pinctrl-names = "default";
	/*	pinctrl-0 = <&leds_pins>; */

		led@0 {
			label = "am437x-sk:red:heartbeat";
			gpios = <&gpio5 0 GPIO_ACTIVE_HIGH>;	/* Bank 5, pin 0 */
			linux,default-trigger = "heartbeat";
			default-state = "off";
		};

		led@1 {
			label = "am437x-sk:green:mmc1";
			gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;	/* Bank 5, pin 1 */
			linux,default-trigger = "mmc0";
			default-state = "off";
		};

		led@2 {
			label = "am437x-sk:blue:cpu0";
			gpios = <&gpio5 2 GPIO_ACTIVE_HIGH>;	/* Bank 5, pin 2 */
			linux,default-trigger = "cpu0";
			default-state = "off";
		};

		led@3 {
			label = "am437x-sk:blue:usr3";
			gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>;	/* Bank 5, pin 3 */
			default-state = "off";
		};
	};
/*Defualt display values commented by analogics */
/*
	lcd0: display {
		compatible = "newhaven,nhd-4.3-480272ef-atxl", "panel-dpi";
		label = "lcd";

		pinctrl-names = "default";
		pinctrl-0 = <&lcd_pins>;

		enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;

		panel-timing {
			clock-frequency = <9000000>;
			hactive = <480>;
			vactive = <272>;
			hfront-porch = <2>;
			hback-porch = <2>;
			hsync-len = <41>;
			vfront-porch = <2>;
			vback-porch = <2>;
			vsync-len = <10>;
			hsync-active = <0>;
			vsync-active = <0>;
			de-active = <1>;
			pixelclk-active = <1>;
		};

		port {
			lcd_in: endpoint {
				remote-endpoint = <&dpi_out>;
			};
		};
	};
*/

/* new display values added by arun analogics */

	lcd0: display {
		compatible = "Analogics,SKAT035GT-09-TP", "panel-dpi";
		label = "lcd";
/*
		pinctrl-names = "default";
		pinctrl-0 = <&lcd_pins>;

		enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;*/

		panel-timing {
			clock-frequency = <6500000>;
			hactive = <320>;
			vactive = <240>;
			hfront-porch = <20>;
			hback-porch = <38>;
			hsync-len = <30>;
			vfront-porch = <4>;
			vback-porch = <15>;
			vsync-len = <3>;
			hsync-active = <0>;
			vsync-active = <0>;
			de-active = <0>;
			pixelclk-active = <1>; 
		};

		port {
			lcd_in: endpoint {
				remote-endpoint = <&dpi_out>;
			};
		};
	};

	vmmcwl_fixed: fixedregulator-mmcwl {
		compatible = "regulator-fixed";
		regulator-name = "vmmcwl_fixed";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
		gpio = <&gpio4 8 GPIO_ACTIVE_HIGH>;
		enable-active-high;
	};
};

&am43xx_pinmux {
/* matrix pinmux commented by arun analogics */
/*
	matrix_keypad_pins: matrix_keypad_pins {
		pinctrl-single,pins = <
			0x24c (PIN_OUTPUT | MUX_MODE7)	// gpio5_13.gpio5_13 
			0x250 (PIN_OUTPUT | MUX_MODE7)	// spi4_sclk.gpio5_4 
			0x254 (PIN_INPUT | MUX_MODE7)	// spi4_d0.gpio5_5 
			0x258 (PIN_INPUT | MUX_MODE7)	// spi4_d1.gpio5_5 
		>;
	};
*/

/*
	leds_pins: leds_pins {
		pinctrl-single,pins = <
			0x228 (PIN_OUTPUT | MUX_MODE7)	// uart3_rxd.gpio5_2 
			0x22c (PIN_OUTPUT | MUX_MODE7)	// uart3_txd.gpio5_3 
			0x230 (PIN_OUTPUT | MUX_MODE7)	// uart3_ctsn.gpio5_0 
			0x234 (PIN_OUTPUT | MUX_MODE7)	// uart3_rtsn.gpio5_1 
		>;
	};
*/
	i2c0_pins: i2c0_pins {
		pinctrl-single,pins = <
			0x188 (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE0)  /* i2c0_sda.i2c0_sda */
			0x18c (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE0)  /* i2c0_scl.i2c0_scl */
		>;
	};
/*
	i2c1_pins: i2c1_pins {
		pinctrl-single,pins = <
			0x15c (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE2)  // spi0_cs0.i2c1_scl 
			0x158 (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE2)  //  spi0_d1.i2c1_sda  
		>;
	};
*/
/* i2c1 pinmux added by analogics */
	i2c1_pins: i2c1_pins {
		pinctrl-single,pins = <
			0x16c (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE2)  /* spi0_cs0.i2c1_scl  */
			0x168 (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE2)  /*  spi0_d1.i2c1_sda  */
		>;
	};
/*
	mmc1_pins: pinmux_mmc1_pins {
		pinctrl-single,pins = <
			0x0f0 (PIN_INPUT | MUX_MODE0) /* mmc0_dat3.mmc0_dat3 
			0x0f4 (PIN_INPUT | MUX_MODE0) /* mmc0_dat2.mmc0_dat2 
			0x0f8 (PIN_INPUT | MUX_MODE0) /* mmc0_dat1.mmc0_dat1 
			0x0fc (PIN_INPUT | MUX_MODE0) /* mmc0_dat0.mmc0_dat0 
			0x100 (PIN_INPUT | MUX_MODE0) /* mmc0_clk.mmc0_clk 
			0x104 (PIN_INPUT | MUX_MODE0) /* mmc0_cmd.mmc0_cmd 
			0x160 (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 
		>;
	};
*/

/* MMC1 pinmux added by analogics*/

	mmc1_pins: pinmux_mmc1_pins {
		pinctrl-single,pins = <
		0x80 ( PIN_INPUT | MUX_MODE2 ) /* (B9) gpmc_csn1.mmc1_clk */
                0x84 ( PIN_OUTPUT | MUX_MODE2 ) /* (F10) gpmc_csn2.mmc1_cmd */
                0x20 ( PIN_INPUT | MUX_MODE2 ) /* (B10) gpmc_ad8.mmc1_dat0 */
                0x24 ( PIN_INPUT | MUX_MODE2 ) /* (A10) gpmc_ad9.mmc1_dat1 */
                0x28 ( PIN_INPUT | MUX_MODE2 ) /* (F11) gpmc_ad10.mmc1_dat2 */
                0x2c ( PIN_INPUT | MUX_MODE2 ) /* (D11) gpmc_ad11.mmc1_dat3 */
                0x30 ( PIN_INPUT | MUX_MODE2 ) /* (E11) gpmc_ad12.mmc1_dat4 */
                0x34 ( PIN_INPUT | MUX_MODE2 ) /* (C11) gpmc_ad13.mmc1_dat5 */
                0x38 ( PIN_INPUT | MUX_MODE2 ) /* (B11) gpmc_ad14.mmc1_dat6 */
                0x3c ( PIN_INPUT | MUX_MODE2 ) /* (A11) gpmc_ad15.mmc1_dat7 */
		>;
	};

	ecap0_pins: backlight_pins {
		pinctrl-single,pins = <
			0x164 (PIN_OUTPUT | MUX_MODE0) /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out */
		>;
	};

/* default pinmux commented by analogics */
/*
	edt_ft5306_ts_pins: edt_ft5306_ts_pins {
		pinctrl-single,pins = <
			0x74 (PIN_INPUT | MUX_MODE7)	// gpmc_wpn.gpio0_31 
			0x78 (PIN_OUTPUT | MUX_MODE7)	// gpmc_be1n.gpio1_28 
		>;
	};
*/
	vpfe0_pins_default: vpfe0_pins_default {
		pinctrl-single,pins = <
			0x1b0 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_hd mode 0*/
			0x1b4 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_vd mode 0*/
			0x1b8 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_field mode 0*/
			0x1bc (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_wen mode 0*/
			0x1c0 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_pclk mode 0*/
			0x1c4 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data8 mode 0*/
			0x1c8 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data9 mode 0*/
			0x208 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data0 mode 0*/
			0x20c (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data1 mode 0*/
			0x210 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data2 mode 0*/
			0x214 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data3 mode 0*/
			0x218 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data4 mode 0*/
			0x21c (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data5 mode 0*/
			0x220 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data6 mode 0*/
			0x224 (PIN_INPUT_PULLUP | MUX_MODE0)  /* cam0_data7 mode 0*/
		>;
	};

	vpfe0_pins_sleep: vpfe0_pins_sleep {
		pinctrl-single,pins = <
			0x1b0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x1b4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x1b8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x1bc (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x1c0 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x1c4 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x1c8 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x208 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x20c (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x210 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x214 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x218 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x21c (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x220 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
			0x224 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
		>;
	};

	clkout1_pin: pinmux_clkout1_pin {
		pinctrl-single,pins = <
			0x270 (PIN_OUTPUT_PULLDOWN | MUX_MODE3)	/* XDMA_EVENT_INTR0/CLKOUT1 */
		>;
	};

/* default pinmux commented by analogics */
/*
	cpsw_default: cpsw_default {
		pinctrl-single,pins = <
			// Slave 1 
			0x12c (PIN_OUTPUT | MUX_MODE2)	/* mii1_txclk.rmii1_tclk 
			0x114 (PIN_OUTPUT | MUX_MODE2)	/* mii1_txen.rgmii1_tctl 
			0x128 (PIN_OUTPUT | MUX_MODE2)	/* mii1_txd0.rgmii1_td0 
			0x124 (PIN_OUTPUT | MUX_MODE2)	/* mii1_txd1.rgmii1_td1 
			0x120 (PIN_OUTPUT | MUX_MODE2)	/* mii1_txd0.rgmii1_td2 
			0x11c (PIN_OUTPUT | MUX_MODE2)	/* mii1_txd1.rgmii1_td3 
			0x130 (PIN_INPUT | MUX_MODE2)	/* mii1_rxclk.rmii1_rclk 
			0x118 (PIN_INPUT | MUX_MODE2)	/* mii1_rxdv.rgmii1_rctl 
			0x140 (PIN_INPUT | MUX_MODE2)	/* mii1_rxd0.rgmii1_rd0 
			0x13c (PIN_INPUT | MUX_MODE2)	/* mii1_rxd1.rgmii1_rd1 
			0x138 (PIN_INPUT | MUX_MODE2)	/* mii1_rxd0.rgmii1_rd2 
			0x134 (PIN_INPUT | MUX_MODE2)	/* mii1_rxd1.rgmii1_rd3 

			// Slave 2 
			0x58 (PIN_OUTPUT | MUX_MODE2)	/* gpmc_a6.rgmii2_tclk 
			0x40 (PIN_OUTPUT | MUX_MODE2)	/* gpmc_a0.rgmii2_tctl 
			0x54 (PIN_OUTPUT | MUX_MODE2)	/* gpmc_a5.rgmii2_td0 
			0x50 (PIN_OUTPUT | MUX_MODE2)	/* gpmc_a4.rgmii2_td1 
			0x4c (PIN_OUTPUT | MUX_MODE2)	/* gpmc_a3.rgmii2_td2 
			0x48 (PIN_OUTPUT | MUX_MODE2)	/* gpmc_a2.rgmii2_td3 
			0x5c (PIN_INPUT | MUX_MODE2)	/* gpmc_a7.rgmii2_rclk 
			0x44 (PIN_INPUT | MUX_MODE2)	/* gpmc_a1.rgmii2_rtcl 
			0x6c (PIN_INPUT | MUX_MODE2)	/* gpmc_a11.rgmii2_rd0 
			0x68 (PIN_INPUT | MUX_MODE2)	/* gpmc_a10.rgmii2_rd1 
			0x64 (PIN_INPUT | MUX_MODE2)	/* gpmc_a9.rgmii2_rd2 
			0x60 (PIN_INPUT | MUX_MODE2)	/* gpmc_a8.rgmii2_rd3 
		>;
	};

	cpsw_sleep: cpsw_sleep {
		pinctrl-single,pins = <
			// Slave 1 reset value 
			0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7)

			// Slave 2 reset value 
			0x58 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x40 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x54 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x50 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x4c (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x48 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x5c (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x44 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x6c (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x68 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x64 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x60 (PIN_INPUT_PULLDOWN | MUX_MODE7)
		>;
	};
*/

/* cpsw pinmux added by analogics */	
	cpsw_default: cpsw_pins_default {
        pinctrl-single,pins = <
                0x10c ( PIN_INPUT_PULLUP | MUX_MODE1 ) /* (B14) mii1_crs.rmii1_crs_dv */
                0x110 ( PIN_INPUT_PULLDOWN | MUX_MODE1 ) /* (B13) mii1_rx_er.rmii1_rxer */
                0x114 ( PIN_OUTPUT | MUX_MODE1 ) /* (A13) mii1_tx_en.rmii1_txen */
                0x128 ( PIN_OUTPUT | MUX_MODE1 ) /* (B15) mii1_txd0.rmii1_txd0 */
                0x124 ( PIN_OUTPUT | MUX_MODE1 ) /* (A14) mii1_txd1.rmii1_txd1 */
                0x140 ( PIN_INPUT_PULLUP | MUX_MODE1 ) /* (F17) mii1_rxd0.rmii1_rxd0 */
                0x13c ( PIN_INPUT_PULLUP | MUX_MODE1 ) /* (B16) mii1_rxd1.rmii1_rxd1 */
                0x144 ( PIN_INPUT_PULLDOWN | MUX_MODE0 ) /* (A16) rmii1_ref_clk.rmii1_refclk */
        >;
};

	cpsw_sleep: cpsw_pins_sleep {
        pinctrl-single,pins = <
                0x10c  /* (B14) mii1_crs.rmii1_crs_dv */
                0x110  /* (B13) mii1_rx_er.rmii1_rxer */
                0x114  /* (A13) mii1_tx_en.rmii1_txen */
                0x128  /* (B15) mii1_txd0.rmii1_txd0 */
                0x124  /* (A14) mii1_txd1.rmii1_txd1 */
                0x140  /* (F17) mii1_rxd0.rmii1_rxd0 */
                0x13c  /* (B16) mii1_rxd1.rmii1_rxd1 */
                0x144  /* (A16) rmii1_ref_clk.rmii1_refclk */
        >;
};
		
	davinci_mdio_default: davinci_mdio_default {
		pinctrl-single,pins = <
			/* MDIO */
			0x148 (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE0)	/* mdio_data.mdio_data */
			0x14c (PIN_OUTPUT | MUX_MODE0)			/* mdio_clk.mdio_clk */
		>;
	};

	davinci_mdio_sleep: davinci_mdio_sleep {
		pinctrl-single,pins = <
			/* MDIO reset value */
			0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
			0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
		>;
	};

/* default pinmux commented by analogics  */
/*
	dss_pins: dss_pins {
		pinctrl-single,pins = <
			0x020 (PIN_OUTPUT | MUX_MODE1)	/* gpmc ad 8 -> DSS DATA 23 
			0x024 (PIN_OUTPUT | MUX_MODE1)
			0x028 (PIN_OUTPUT | MUX_MODE1)
			0x02c (PIN_OUTPUT | MUX_MODE1)
			0x030 (PIN_OUTPUT | MUX_MODE1)
			0x034 (PIN_OUTPUT | MUX_MODE1)
			0x038 (PIN_OUTPUT | MUX_MODE1)
			0x03c (PIN_OUTPUT | MUX_MODE1)	/* gpmc ad 15 -> DSS DATA 16 
			0x0a0 (PIN_OUTPUT | MUX_MODE0)	/* DSS DATA 0 
			0x0a4 (PIN_OUTPUT | MUX_MODE0)
			0x0a8 (PIN_OUTPUT | MUX_MODE0)
			0x0ac (PIN_OUTPUT | MUX_MODE0)
			0x0b0 (PIN_OUTPUT | MUX_MODE0)
			0x0b4 (PIN_OUTPUT | MUX_MODE0)
			0x0b8 (PIN_OUTPUT | MUX_MODE0)
			0x0bc (PIN_OUTPUT | MUX_MODE0)
			0x0c0 (PIN_OUTPUT | MUX_MODE0)
			0x0c4 (PIN_OUTPUT | MUX_MODE0)
			0x0c8 (PIN_OUTPUT | MUX_MODE0)
			0x0cc (PIN_OUTPUT | MUX_MODE0)
			0x0d0 (PIN_OUTPUT | MUX_MODE0)
			0x0d4 (PIN_OUTPUT | MUX_MODE0)
			0x0d8 (PIN_OUTPUT | MUX_MODE0)
			0x0dc (PIN_OUTPUT | MUX_MODE0)	/* DSS DATA 15 
			0x0e0 (PIN_OUTPUT | MUX_MODE0)	/* DSS VSYNC 
			0x0e4 (PIN_OUTPUT | MUX_MODE0)	/* DSS HSYNC 
			0x0e8 (PIN_OUTPUT | MUX_MODE0)	/* DSS PCLK 
			0x0ec (PIN_OUTPUT | MUX_MODE0)	/* DSS AC BIAS EN 

		>;
	};
*/

/* display pinmux added by analogics */
	dss_pins: dss_pins_default {
        pinctrl-single,pins = <
                0xe0 ( PIN_OUTPUT | MUX_MODE0 ) /* (B23) dss_vsync.dss_vsync */
                0xe4 ( PIN_OUTPUT | MUX_MODE0 ) /* (A23) dss_hsync.dss_hsync */
                0xe8 ( PIN_OUTPUT | MUX_MODE0 ) /* (A22) dss_pclk.dss_pclk */
                0xec ( PIN_OUTPUT | MUX_MODE0 ) /* (A24) dss_ac_bias_en.dss_ac_bias_en */
                0xa0 ( PIN_OUTPUT | MUX_MODE0 ) /* (B22) dss_data0.dss_data0 */
                0xa4 ( PIN_OUTPUT | MUX_MODE0 ) /* (A21) dss_data1.dss_data1 */
                0xa8 ( PIN_OUTPUT | MUX_MODE0 ) /* (B21) dss_data2.dss_data2 */
                0xac ( PIN_OUTPUT | MUX_MODE0 ) /* (C21) dss_data3.dss_data3 */
                0xb0 ( PIN_OUTPUT | MUX_MODE0 ) /* (A20) dss_data4.dss_data4 */
                0xb4 ( PIN_OUTPUT | MUX_MODE0 ) /* (B20) dss_data5.dss_data5 */
                0xb8 ( PIN_OUTPUT | MUX_MODE0 ) /* (C20) dss_data6.dss_data6 */
                0xbc ( PIN_OUTPUT | MUX_MODE0 ) /* (E19) dss_data7.dss_data7 */
                0xc0 ( PIN_OUTPUT | MUX_MODE0 ) /* (A19) dss_data8.dss_data8 */
                0xc4 ( PIN_OUTPUT | MUX_MODE0 ) /* (B19) dss_data9.dss_data9 */
                0xc8 ( PIN_OUTPUT | MUX_MODE0 ) /* (A18) dss_data10.dss_data10 */
                0xcc ( PIN_OUTPUT | MUX_MODE0 ) /* (B18) dss_data11.dss_data11 */
                0xd0 ( PIN_OUTPUT | MUX_MODE0 ) /* (C19) dss_data12.dss_data12 */
                0xd4 ( PIN_OUTPUT | MUX_MODE0 ) /* (D19) dss_data13.dss_data13 */
                0xd8 ( PIN_OUTPUT | MUX_MODE0 ) /* (C17) dss_data14.dss_data14 */
                0xdc ( PIN_OUTPUT | MUX_MODE0 ) /* (D17) dss_data15.dss_data15 */
		0x274 ( PIN_INPUT | MUX_MODE7 ) /* (C24) xdma_event_intr1.gpio0[20] Display Reset Pin */
        >;
};

/* default pinmux commented by analogics */
/*
	qspi_pins: qspi_pins {
		pinctrl-single,pins = <
			0x7c (PIN_OUTPUT | MUX_MODE3)	/* gpmc_csn0.qspi_csn 
			0x88 (PIN_OUTPUT | MUX_MODE2)	/* gpmc_csn3.qspi_clk 
			0x90 (PIN_INPUT | MUX_MODE3)	/* gpmc_advn_ale.qspi_d0 
			0x94 (PIN_INPUT | MUX_MODE3)	/* gpmc_oen_ren.qspi_d1 
			0x98 (PIN_INPUT | MUX_MODE3)	/* gpmc_wen.qspi_d2 
			0x9c (PIN_INPUT | MUX_MODE3)	/* gpmc_be0n_cle.qspi_d3 
		>;
	};
*/


/* default pinmux commented by analogics */
/*
	mcasp1_pins: mcasp1_pins {
		pinctrl-single,pins = <
			0x10c (PIN_INPUT_PULLDOWN | MUX_MODE4)	/* mii1_crs.mcasp1_aclkx 
			0x110 (PIN_INPUT_PULLDOWN | MUX_MODE4)	/* mii1_rxerr.mcasp1_fsx 
			0x108 (PIN_OUTPUT_PULLDOWN | MUX_MODE4)	/* mii1_col.mcasp1_axr2 
			0x144 (PIN_INPUT_PULLDOWN | MUX_MODE4)	/* rmii1_ref_clk.mcasp1_axr3 
		>;
	};
*/

/* mcasp1 added by analogics */
	mcasp1_pins: mcasp_1_pins_default {
        pinctrl-single,pins = <
                0x1a0 ( PIN_INPUT | MUX_MODE3 ) /* (L23) mcasp0_aclkr.mcasp1_aclkx */
                0x1a4 ( PIN_INPUT | MUX_MODE3 ) /* (K23) mcasp0_fsr.mcasp1_fsx */
                0x1a8 ( PIN_INPUT | MUX_MODE3 ) /* (M25) mcasp0_axr1.mcasp1_axr0 */
                0x1ac ( PIN_INPUT | MUX_MODE3 ) /* (L24) mcasp0_ahclkx.mcasp1_axr1 */
        >;
};

	lcd_pins: lcd_pins {
		pinctrl-single,pins = <
			0x1c (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpcm_ad7.gpio1_7 */
		>;
	};

	usb1_pins: usb1_pins {
		pinctrl-single,pins = <
			0x2c0 (PIN_OUTPUT | MUX_MODE0) /* usb0_drvvbus.usb0_drvvbus */
		>;
	};

	usb2_pins: usb2_pins {
		pinctrl-single,pins = <
			0x2c4 (PIN_OUTPUT | MUX_MODE0) /* usb0_drvvbus.usb0_drvvbus */
		>;
	};

	mmc3_pins_default: pinmux_mmc3_pins_default {
		pinctrl-single,pins = <
			0x1f0 (PIN_INPUT_PULLUP | MUX_MODE3) /* (AD21) cam1_data2.mmc2_clk */
			0x1f4 (PIN_INPUT_PULLUP | MUX_MODE3) /* (AE22) cam1_data3.mmc2_cmd */
			0x1f8 (PIN_INPUT_PULLUP | MUX_MODE3) /* (AD22) cam1_data4.mmc2_dat0 */
			0x1fc (PIN_INPUT_PULLUP | MUX_MODE3) /* (AE23) cam1_data5.mmc2_dat1 */
			0x200 (PIN_INPUT_PULLUP | MUX_MODE3) /* (AD23) cam1_data6.mmc2_dat2 */
			0x204 (PIN_INPUT_PULLUP | MUX_MODE3) /* (AE24) cam1_data7.mmc2_dat3 */
		>;
	};

	mmc3_pins_sleep: pinmux_mmc3_pins_sleep {
		pinctrl-single,pins = <
			0x1f0 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AD21) cam1_data2.mmc2_clk */
			0x1f4 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AE22) cam1_data3.mmc2_cmd */
			0x1f8 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AD22) cam1_data4.mmc2_dat0 */
			0x1fc (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AE23) cam1_data5.mmc2_dat1 */
			0x200 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AD23) cam1_data6.mmc2_dat2 */
			0x204 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* (AE24) cam1_data7.mmc2_dat3 */
		>;
	};

	wlan_pins_default: pinmux_wlan_pins_default {
		pinctrl-single,pins = <
			0x1d0 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)		/* cam1_data8.gpio4_8 WL_EN */
			0x1e4 (PIN_INPUT | WAKEUP_ENABLE | MUX_MODE7)	/* cam1_wen.gpio4_13 WL_IRQ */
		>;
	};

	wlan_pins_sleep: pinmux_wlan_pins_sleep {
		pinctrl-single,pins = <
			0x1d0 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)		/* cam1_data8.gpio4_8 WL_EN */
			0x1e4 (PIN_INPUT | WAKEUP_ENABLE | MUX_MODE7)	/* cam1_wen.gpio4_13 WL_IRQ */
		>;
	};

	uart1_bt_pins_default: pinmux_uart1_bt_pins_default {
		pinctrl-single,pins = <
			0x180 (PIN_INPUT | MUX_MODE0)		/* uart1_rxd.uart1_rxd */
			0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_txd.uart1_txd */
			0x178 (PIN_INPUT_PULLUP | MUX_MODE0)	/* uart1_ctsn.uart1_ctsn */
			0x17c (PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_rtsn.uart1_rtsn */
			0x1cc (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* cam1_data9.gpiop BT_EN */
		>;
	};

	uart1_bt_pins_sleep: pinmux_uart1_bt_pins_sleep {
		pinctrl-single,pins = <
			0x180 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* uart1_rxd.uart1_rxd */
			0x184 (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* uart1_txd.uart1_txd */
			0x178 (PIN_OUTPUT_PULLDOWN | MUX_MODE7)	/* uart1_ctsn.uart1_ctsn */
			0x17c (PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* uart1_rtsn.uart1_rtsn */
			0x1cc (PIN_OUTPUT_PULLUP | MUX_MODE7)	/* cam1_data9.gpio4_7 BT_EN */
		>;
	};
};

&i2c0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&i2c0_pins>;
	clock-frequency = <100000>;

	tps@24 {
		compatible = "ti,tps65218";
		reg = <0x24>;
		interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-controller;
		#interrupt-cells = <2>;

		dcdc1: regulator-dcdc1 {
			compatible = "ti,tps65218-dcdc1";
			/* VDD_CORE limits min of OPP50 and max of OPP100 */
			regulator-name = "vdd_core";
			regulator-min-microvolt = <912000>;
			regulator-max-microvolt = <1144000>;
			regulator-boot-on;
			regulator-always-on;
		};

		dcdc2: regulator-dcdc2 {
			compatible = "ti,tps65218-dcdc2";
			/* VDD_MPU limits min of OPP50 and max of OPP_NITRO */
			regulator-name = "vdd_mpu";
			regulator-min-microvolt = <912000>;
			regulator-max-microvolt = <1378000>;
			regulator-boot-on;
			regulator-always-on;
		};

		dcdc3: regulator-dcdc3 {
			compatible = "ti,tps65218-dcdc3";
			regulator-name = "vdds_ddr";
			regulator-min-microvolt = <1500000>;
			regulator-max-microvolt = <1500000>;
			regulator-boot-on;
			regulator-always-on;
			regulator-state-mem {
				regulator-on-in-suspend;
			};
			regulator-state-disk {
				regulator-off-in-suspend;
			};
		};

		dcdc4: regulator-dcdc4 {
			compatible = "ti,tps65218-dcdc4";
			regulator-name = "v3_3d";
			regulator-min-microvolt = <3300000>;
			regulator-max-microvolt = <3300000>;
			regulator-boot-on;
			regulator-always-on;
		};

		dcdc5: regulator-dcdc5 {
			compatible = "ti,tps65218-dcdc5";
			regulator-name = "v1_0bat";
			regulator-min-microvolt = <1000000>;
			regulator-max-microvolt = <1000000>;
			regulator-boot-on;
			regulator-always-on;
			regulator-state-mem {
				regulator-on-in-suspend;
			};
		};

		dcdc6: regulator-dcdc6 {
			compatible = "ti,tps65218-dcdc6";
			regulator-name = "v1_8bat";
			regulator-min-microvolt = <1800000>;
			regulator-max-microvolt = <1800000>;
			regulator-boot-on;
			regulator-always-on;
			regulator-state-mem {
				regulator-on-in-suspend;
			};
		};

		ldo1: regulator-ldo1 {
			compatible = "ti,tps65218-ldo1";
			regulator-name = "v1_8d";
			regulator-min-microvolt = <1800000>;
			regulator-max-microvolt = <1800000>;
			regulator-boot-on;
			regulator-always-on;
		};

/*Power Button Disabled by analogics */
	/*	power-button {
			compatible = "ti,tps65218-pwrbutton";
			status = "okay";
			interrupts = <3 IRQ_TYPE_EDGE_BOTH>;
		};*/
	};

	at24@50 {
		compatible = "at24,24c256";
		pagesize = <64>;
		reg = <0x50>;
	};
};

&i2c1 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&i2c1_pins>;
	clock-frequency = <400000>;

	ov2659@30 {
		compatible = "ovti,ov2659";
		reg = <0x30>;
		pinctrl-names = "default";
		pinctrl-0 = <&clkout1_pin>;

		clocks = <&clkout1_mux_ck>;
		clock-names = "xvclk";
		assigned-clocks = <&clkout1_mux_ck>;
		assigned-clock-parents = <&clkout1_osc_div_ck>;

		port {
			ov2659_1: endpoint {
				remote-endpoint = <&vpfe0_ep>;
				link-frequencies = /bits/ 64 <70000000>;
			};
		};
	};
/*
	edt-ft5306@38 {
		status = "okay";
		compatible = "edt,edt-ft5306", "edt,edt-ft5x06";
		pinctrl-names = "default";
		/*pinctrl-0 = <&edt_ft5306_ts_pins>; 

		reg = <0x38>;
		interrupt-parent = <&gpio0>;
		interrupts = <31 0>;

		reset-gpios = <&gpio1 28 GPIO_ACTIVE_LOW>;

		touchscreen-size-x = <480>;
		touchscreen-size-y = <272>;
	};
*/
	tlv320aic3106: tlv320aic3106@1b {
		#sound-dai-cells = <0>;
		compatible = "ti,tlv320aic3106";
		reg = <0x1b>;
		status = "okay";

		/* Regulators */
		AVDD-supply = <&dcdc4>;
		IOVDD-supply = <&dcdc4>;
		DRVDD-supply = <&dcdc4>;
		DVDD-supply = <&ldo1>;
	};

	lis331dlh@18 {
		compatible = "st,lis331dlh";
		reg = <0x18>;
		status = "okay";

		Vdd-supply = <&dcdc4>;
		Vdd_IO-supply = <&dcdc4>;
		interrupts-extended = <&gpio1 6 0>, <&gpio2 1 0>;
	};
};

&epwmss0 {
	status = "okay";
};

&ecap0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&ecap0_pins>;
};

&gpio0 {
	status = "okay";
};

&gpio1 {
	status = "okay";
};

&gpio4 {
	status = "okay";
};

&gpio5 {
	status = "okay";
};

&mmc1 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&mmc1_pins>;

	vmmc-supply = <&dcdc4>;
	bus-width = <4>;
	cd-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
};

&uart1 {
	status = "okay";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&uart1_bt_pins_default>;
	pinctrl-1 = <&uart1_bt_pins_sleep>;
};

&mmc3 {
	status = "okay";
	/* these are on the crossbar and are outlined in the
	   xbar-event-map element */
	dmas = <&edma 30
		&edma 31>;
	dma-names = "tx", "rx";
	vmmc-supply = <&vmmcwl_fixed>;
	bus-width = <4>;
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&mmc3_pins_default>;
	pinctrl-1 = <&mmc3_pins_sleep>;
	cap-power-off-card;
	keep-power-in-suspend;
	ti,non-removable;

	#address-cells = <1>;
	#size-cells = <0>;
	wlcore: wlcore@0 {
		compatible = "ti,wl1835";
		pinctrl-names = "default", "sleep";
		pinctrl-0 = <&wlan_pins_default>;
		pinctrl-1 = <&wlan_pins_sleep>;
		reg = <2>;
		interrupt-parent = <&gpio4>;
		interrupts = <13 IRQ_TYPE_LEVEL_HIGH>;
	};
};

&edma {
	ti,edma-xbar-event-map = /bits/ 16 <1 30
					    2 31>;
};

&usb2_phy1 {
	status = "okay";
};

&usb1 {
	dr_mode = "otg";
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&usb1_pins>;
};

&usb2_phy2 {
	status = "okay";
};

&usb2 {
	dr_mode = "host";
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&usb2_pins>;
};

&qspi {
	status = "okay";
	pinctrl-names = "default";
	/*pinctrl-0 = <&qspi_pins>; */

	spi-max-frequency = <48000000>;
	m25p80@0 {
		compatible = "mx66l51235l";
		spi-max-frequency = <48000000>;
		reg = <0>;
		spi-cpol;
		spi-cpha;
		spi-tx-bus-width = <1>;
		spi-rx-bus-width = <4>;
		#address-cells = <1>;
		#size-cells = <1>;

		/* MTD partition table.
		 * The ROM checks the first 512KiB
		 * for a valid file to boot(XIP).
		 */
		partition@0 {
			label = "QSPI.U_BOOT";
			reg = <0x00000000 0x000080000>;
		};
		partition@1 {
			label = "QSPI.U_BOOT.backup";
			reg = <0x00080000 0x00080000>;
		};
		partition@2 {
			label = "QSPI.U-BOOT-SPL_OS";
			reg = <0x00100000 0x00010000>;
		};
		partition@3 {
			label = "QSPI.U_BOOT_ENV";
			reg = <0x00110000 0x00010000>;
		};
		partition@4 {
			label = "QSPI.U-BOOT-ENV.backup";
			reg = <0x00120000 0x00010000>;
		};
		partition@5 {
			label = "QSPI.KERNEL";
			reg = <0x00130000 0x0800000>;
		};
		partition@6 {
			label = "QSPI.FILESYSTEM";
			reg = <0x00930000 0x36D0000>;
		};
	};
};

&mac {
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&cpsw_default>;
	pinctrl-1 = <&cpsw_sleep>;
	/* dual emac commented by analogics  */
	/*dual_emac = <1>; */
	status = "okay";
};

&davinci_mdio {
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&davinci_mdio_default>;
	pinctrl-1 = <&davinci_mdio_sleep>;
	status = "okay";
};

&cpsw_emac0 {
/*	phy_id = <&davinci_mdio>, <4>;  */
	phy_id = <&davinci_mdio>, <0>; 
/* rgmii mode commented by analogics */
	/*phy-mode = "rgmii"; */
	phy-mode = "rmii";
	dual_emac_res_vlan = <1>;
};

&cpsw_emac1 {
/*	phy_id = <&davinci_mdio>, <5>; */
	phy_id = <&davinci_mdio>, <1>;
/* rgmii mode commented by analogics */
	/* phy-mode = "rgmii"; */
	phy-mode = "rmii";
	dual_emac_res_vlan = <2>;
};

&elm {
	status = "okay";
};

&mcasp1 {
	#sound-dai-cells = <0>;
	pinctrl-names = "default";
	pinctrl-0 = <&mcasp1_pins>;

	status = "okay";

	op-mode = <0>;
	tdm-slots = <2>;
	serial-dir = <
		0 0 1 2
	>;

	tx-num-evt = <1>;
	rx-num-evt = <1>;
};

&dss {
	status = "okay";

	pinctrl-names = "default";
	pinctrl-0 = <&dss_pins>;

	port {
		dpi_out: endpoint@0 {
			remote-endpoint = <&lcd_in>;
		/*	 data-lines = <24>;*/ 
			data-lines = <16>; 
		};
	};
};

/* touchscreen & ADC values added by arun analogics */
&tscadc {
        status = "okay";
        tsc {
                ti,wires = <4>;
                ti,x-plate-resistance = <200>;
                ti,coordinate-readouts = <5>;
                ti,wire-config = <0x00 0x11 0x22 0x33>;  
            /*    ti,wire-config = <0x00 0x13 0x21 0x32>;  */
		ti,x-axis = <0 320 1>;
		ti,y-axis = <0 240 1>;
		ti,charge-delay = <0x400>;
        };

        adc {
                ti,adc-channels = <4 5 6 7>;
        };
};


&rtc {
	status = "okay";
	ext-clk-src;
};

&wdt {
	status = "okay";
};

&cpu {
	cpu0-supply = <&dcdc2>;
};

&vpfe0 {
	status = "okay";
	pinctrl-names = "default", "sleep";
	pinctrl-0 = <&vpfe0_pins_default>;
	pinctrl-1 = <&vpfe0_pins_sleep>;

	/* Camera port */
	port {
		vpfe0_ep: endpoint {
			remote-endpoint = <&ov2659_1>;
			ti,am437x-vpfe-interface = <0>;
			bus-width = <8>;
			hsync-active = <0>;
			vsync-active = <0>;
		};
	};
};

&wkup_m3_ipc {
	ti,scale-data-fw = "am43x-evm-scale-data.bin";
};


&sgx {
	status = "okay";
};

  • I will forward this to the software team.
  • Hello Arun,

    Is there any other early omapdrm plane errors before those? Could you also attach the complete bootlog?

    Best regards,
    Kemal
  • Hi Kemal,

    I didin't get any early omapdrm errors.

    please find attached complete bootlog for your reference.

    Thanks & Regards,

    Arun

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.1.18-gbbe8cfc (root@arun) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #14 PREEMPT Wed Jul 27 12:28:41 IST 2016
    [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: TI AM437x SK EVM
    [    0.000000] cma: Reserved 24 MiB at 0xbe800000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] On node 0 totalpages: 262144
    [    0.000000] free_area_init_node: node 0, pgdat c08f2ed8, node_mem_map eeef9000
    [    0.000000]   Normal zone: 1710 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 194560 pages, LIFO batch:31
    [    0.000000]   HighMem zone: 67584 pages, LIFO batch:15
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM437x ES1.2 (sgx neon )
    [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [    0.000000] pcpu-alloc: [0] 0 
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260434
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 1004328K/1048576K available (6403K kernel code, 259K rwdata, 2200K rodata, 272K init, 235K bss, 19672K reserved, 24576K cma-reserved, 245760K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc086f05c   (8605 kB)
    [    0.000000]       .init : 0xc0870000 - 0xc08b4000   ( 272 kB)
    [    0.000000]       .data : 0xc08b4000 - 0xc08f4f00   ( 260 kB)
    [    0.000000]        .bss : 0xc08f7000 - 0xc0931d48   ( 236 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Additional per-CPU info printed with stalls.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] OMAP L2C310: ROM does not support power control setting
    [    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
    [    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x7e430000
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000051] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000106] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000129] OMAP clocksource: timer1 at 24000000 Hz
    [    0.002570] Console: colour dummy device 80x30
    [    0.002709] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.002717] This ensures that you still see kernel messages. Please
    [    0.002723] update your kernel commandline.
    [    0.002808] Calibrating delay loop... 1987.37 BogoMIPS (lpj=9936896)
    [    0.110613] pid_max: default: 32768 minimum: 301
    [    0.111097] Security Framework initialized
    [    0.111305] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.111326] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.114679] Initializing cgroup subsys blkio
    [    0.114792] Initializing cgroup subsys memory
    [    0.115072] Initializing cgroup subsys devices
    [    0.115147] Initializing cgroup subsys freezer
    [    0.115186] Initializing cgroup subsys perf_event
    [    0.115319] CPU: Testing write buffer coherency: ok
    [    0.117732] Setting up static identity map for 0x80008200 - 0x80008270
    [    0.126631] devtmpfs: initialized
    [    0.151175] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.236958] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.247567] pinctrl core: initialized pinctrl subsystem
    [    0.254342] NET: Registered protocol family 16
    [    0.258438] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.290667] cpuidle: using governor ladder
    [    0.320596] cpuidle: using governor menu
    [    0.326802] omap_l3_noc 44000000.ocp: L3 debug error: target 8 mod:0 (unclearable)
    [    0.327084] omap_l3_noc 44000000.ocp: L3 application error: target 8 mod:0 (unclearable)
    [    0.336701] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
    [    0.337462] OMAP GPIO hardware version 0.1
    [    0.341217] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
    [    0.343481] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
    [    0.345647] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
    [    0.367117] No ATAGs?
    [    0.367296] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [    0.367335] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.425084] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.428333] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-mmcwl[0]' - status (0)
    [    0.437187] vgaarb: loaded
    [    0.439216] SCSI subsystem initialized
    [    0.442171] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins, deferring probe
    [    0.442394] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins, deferring probe
    [    0.442783] media: Linux media interface: v0.10
    [    0.442927] Linux video capture interface: v2.00
    [    0.443071] pps_core: LinuxPPS API ver. 1 registered
    [    0.443085] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.443143] PTP clock support registered
    [    0.445964] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.447437] Advanced Linux Sound Architecture Driver Initialized.
    [    0.450363] Switched to clocksource timer1
    [    0.475265] NET: Registered protocol family 2
    [    0.478497] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.478742] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.478954] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.479594] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [    0.479656] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [    0.481038] NET: Registered protocol family 1
    [    0.483175] RPC: Registered named UNIX socket transport module.
    [    0.483220] RPC: Registered udp transport module.
    [    0.483228] RPC: Registered tcp transport module.
    [    0.483234] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.483351] PCI: CLS 0 bytes, default 64
    [    0.492450] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.492895] audit: initializing netlink subsys (disabled)
    [    0.493281] audit: type=2000 audit(0.480:1): initialized
    [    0.508438] VFS: Disk quotas dquot_6.6.0
    [    0.509118] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.515094] NFS: Registering the id_resolver key type
    [    0.515471] Key type id_resolver registered
    [    0.515488] Key type id_legacy registered
    [    0.515747] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    [    0.522811] NET: Registered protocol family 38
    [    0.523191] bounce: pool size: 64 pages
    [    0.523247] io scheduler noop registered
    [    0.523261] io scheduler deadline registered
    [    0.523545] io scheduler cfq registered (default)
    [    0.532673] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
    [    0.542865] pwm-backlight backlight: GPIO lookup for consumer enable
    [    0.542947] pwm-backlight backlight: using device tree for GPIO lookup
    [    0.542996] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
    [    0.543014] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
    [    0.543027] pwm-backlight backlight: using lookup tables for GPIO lookup
    [    0.543044] pwm-backlight backlight: lookup for GPIO enable failed
    [    0.543121] backlight supply power not found, using dummy regulator
    [    0.548793] 4832a000.dss supply vdda_video not found, using dummy regulator
    [    0.549421] OMAP DSS rev 2.0
    [    0.551439] omapdss_dss 4832a000.dss: bound 4832a400.dispc (ops dispc_component_ops)
    [    0.555862] panel-dpi display: GPIO lookup for consumer enable
    [    0.555927] panel-dpi display: using device tree for GPIO lookup
    [    0.556144] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/display[0]' - status (0)
    [    0.556518] *************** Analogics: Inside  panel_dpi_probe_of *************** 
    [    0.559131] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [    0.564053] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.572751] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
    [    0.572850] omap8250 44e09000.serial: GPIO lookup for consumer enable
    [    0.572866] omap8250 44e09000.serial: using device tree for GPIO lookup
    [    0.572916] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/serial@44e09000[0]'
    [    0.572937] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/serial@44e09000[0]'
    [    0.572948] omap8250 44e09000.serial: using lookup tables for GPIO lookup
    [    0.572965] omap8250 44e09000.serial: lookup for GPIO enable failed
    [    0.574996] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    1.300411] console [ttyS0] enabled
    [    1.306285] omap8250 48022000.serial: No clock speed specified: using default: 48000000
    [    1.314660] omap8250 48022000.serial: GPIO lookup for consumer enable
    [    1.314675] omap8250 48022000.serial: using device tree for GPIO lookup
    [    1.314722] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp/serial@48022000[0]'
    [    1.314734] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp/serial@48022000[0]'
    [    1.314743] omap8250 48022000.serial: using lookup tables for GPIO lookup
    [    1.314757] omap8250 48022000.serial: lookup for GPIO enable failed
    [    1.316460] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
    [    1.329240] [drm] Initialized drm 1.1.0 20060810
    [    1.377166] brd: module loaded
    [    1.399049] loop: module loaded
    [    1.413475] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.490626] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.496874] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.507432] libphy: 4a101000.mdio: probed
    [    1.512172] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
    [    1.525067] cpsw 4a100000.ethernet: Random MACID = 8e:2f:07:6c:79:4f
    [    1.540061] mousedev: PS/2 mouse device common for all mice
    [    1.547852] TI-am335x-tsc TI-am335x-tsc: ti,charge-delay not specified
    [    1.555996] input: ti-tsc as /devices/platform/44000000.ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
    [    1.567056] i2c /dev entries driver
    [    1.576055] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [    1.576122] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    1.576468] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
    [    1.576943] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.582047] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [    1.582075] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    1.582095] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [    1.582110] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [    1.582120] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [    1.582137] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [    1.612705] omap_hsmmc 47810000.mmc: GPIO lookup for consumer cd
    [    1.612817] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
    [    1.612858] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@47810000[0]'
    [    1.612878] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@47810000[0]'
    [    1.612885] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
    [    1.612900] omap_hsmmc 47810000.mmc: lookup for GPIO cd failed
    [    1.612917] omap_hsmmc 47810000.mmc: GPIO lookup for consumer wp
    [    1.612923] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
    [    1.612930] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@47810000[0]'
    [    1.612939] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@47810000[0]'
    [    1.612946] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
    [    1.612952] omap_hsmmc 47810000.mmc: lookup for GPIO wp failed
    [    1.613841] /ocp/mmc@47810000: could not get #dma-cells for /ocp/l4_wkup@44c00000/prcm@1f0000/clocks/mux_synctimer32k_ck
    [    1.625644] omap_hsmmc 47810000.mmc: unable to obtain RX DMA engine channel 0
    [    1.662173] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.672137]  remoteproc0: wkup_m3 is available
    [    1.676732]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    1.686132]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    1.697519]  remoteproc0: Direct firmware load for am335x-pm-firmware.elf failed with error -2
    [    1.712791]  remoteproc0: Falling back to user helper
    [    1.730087] oprofile: no performance counters
    [    1.735869] oprofile: using timer interrupt.
    [    1.741761] Initializing XFRM netlink socket
    [    1.746486] NET: Registered protocol family 17
    [    1.751649] NET: Registered protocol family 15
    [    1.756787] Key type dns_resolver registered
    [    1.762280] omap_voltage_late_init: Voltage driver support not added
    [    1.771291] cpu cpu0: of_pm_voltdm_notifier_register: Failed to get cpu0 regulator/voltdm: -517
    [    1.780197] cpu cpu0: cpu0 clock notifier not ready, retry
    [    1.787562] ThumbEE CPU extension supported.
    [    1.792206] Registering SWP/SWPB emulation handler
    [    1.811908] omapdrm omapdrm.0: DMM not available, disable DMM support
    [    1.823585] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.831352] [drm] No driver support for vblank timestamp query.
    [    1.885002] Console: switching to colour frame buffer device 40x30
    [    1.907520] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    1.913591] omapdrm omapdrm.0: registered panic notifier
    [    1.940448] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    [    2.011173] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
    [    2.025310] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 400 kHz
    [    2.038414] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [    2.038512] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    2.038779] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@48060000[0]' - status (0)
    [    2.039319] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    2.044938] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [    2.044965] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    2.044994] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@48060000[0]'
    [    2.045010] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@48060000[0]'
    [    2.045020] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [    2.045041] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
    [    2.084918] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1325000]:-22
    [    2.101494] cpu cpu0: of_pm_voltdm_notifier_register: Fail calculating voltage latency[950000<->1325000]:-22
    [    2.116802] hctosys: unable to open rtc device (rtc0)
    [    2.147323] vmmcwl_fixed: disabling
    [    2.152539] ALSA device list:
    [    2.155636]   No soundcards found.
    [    2.163989] Waiting for root device PARTUUID=00000000-02...
    [    2.190038] mmc0: host does not support reading read-only switch, assuming write-enable
    [    2.202849] mmc0: new high speed SDHC card at address aaaa
    [    2.212256] mmcblk0: mmc0:aaaa SS08G 7.40 GiB 
    [    2.222795]  mmcblk0: p1 p2 p3
    [    2.303615] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.312586] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.331077] devtmpfs: mounted
    [    2.337048] Freeing unused kernel memory: 272K (c0870000 - c08b4000)
    [    2.666915] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
    [    3.325658] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [    3.332740] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [    3.772243] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [    3.778906] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [    4.037872] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [    4.045057] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [    4.051835] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [    4.460039] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [    4.467090] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [    4.708272] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [    6.036424] random: nonblocking pool is initialized
    [    8.387896] omap_plane_error_irq: 5161 callbacks suppressed
    [    8.393921] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [    8.400819] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [    9.773380] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [    9.780046] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   10.590444] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   10.597628] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   11.241187] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   11.337501] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   11.675992] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   11.683040] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   11.858487] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   11.961422] EXT3-fs (mmcblk0p3): error: couldn't mount because of unsupported optional features (240)
    [   11.995216] EXT2-fs (mmcblk0p3): error: couldn't mount because of unsupported optional features (240)
    [   12.028464] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
    >[   13.637681] udev[348]: starting version 167
    [   13.643550] omap_plane_error_irq: 3568 callbacks suppressed
    [   13.649378] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   13.656148] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   14.333760] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   14.340770] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   14.347220] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   14.682734] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   14.689475] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   14.696272] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   14.845113] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   14.852138] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   17.333522] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   17.483456] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [   17.819592] ov2659 1-0030: GPIO lookup for consumer pwrdn
    [   17.819723] ov2659 1-0030: using device tree for GPIO lookup
    [   17.819774] of_get_named_gpiod_flags: can't parse 'pwrdn-gpios' property of node '/ocp/i2c@4802a000/ov2659@30[0]'
    [   17.819795] of_get_named_gpiod_flags: can't parse 'pwrdn-gpio' property of node '/ocp/i2c@4802a000/ov2659@30[0]'
    [   17.819806] ov2659 1-0030: using lookup tables for GPIO lookup
    [   17.819820] ov2659 1-0030: lookup for GPIO pwrdn failed
    [   18.666721] omap_plane_error_irq: 15405 callbacks suppressed
    [   18.672771] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   18.679627] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   18.746067] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   18.753104] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   18.759619] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   18.828678] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   18.835840] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   18.842341] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   18.881365] omap_i2c 4802a000.i2c: timeout waiting for bus ready
    [   18.887855] ov2659 1-0030: Sensor soft reset failed
    [   18.989575] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [   19.014471] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   19.021487] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   19.043426] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@4802a000/tlv320aic3106@1b[0]'
    [   20.081108] omap_i2c 4802a000.i2c: timeout waiting for bus ready
    [   20.087475] lis3lv02d: unknown sensor type 0x92
    [   20.227381] lis3lv02d_i2c: probe of 1-0018 failed with error -22
    [   22.499922] omap-des 53701000.des: OMAP DES hw accel rev: 0.33
    [   22.934472] omap-sham 53100000.sham: hw accel on OMAP rev 0.0
    [   23.218104] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@0[0]' - status (0)
    [   23.219819] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@1[0]' - status (0)
    [   23.442525] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1
    [   23.469765] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@2[0]' - status (0)
    [   23.638439] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@3[0]' - status (0)
    [   23.657244] PM: bootloader does not support rtc-only!
    [   23.825939] of_get_named_gpiod_flags: parsed 'row-gpios' property of node '/matrix_keypad@0[0]' - status (0)
    [   23.826071] of_get_named_gpiod_flags: parsed 'row-gpios' property of node '/matrix_keypad@0[1]' - status (0)
    [   23.826089] of_get_named_gpiod_flags: parsed 'col-gpios' property of node '/matrix_keypad@0[0]' - status (0)
    [   23.826110] of_get_named_gpiod_flags: parsed 'col-gpios' property of node '/matrix_keypad@0[1]' - status (0)
    [   23.856012] input: matrix_keypad@0 as /devices/platform/matrix_keypad@0/input/input1
    [   23.980309] omap_plane_error_irq: 8905 callbacks suppressed
    [   23.986355] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   23.993315] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   24.309716] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   24.316840] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   24.332784] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   24.339478] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   24.346126] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   25.475331] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound[0]'
    [   25.475410] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound[0]'
    [   25.889903] asoc-simple-card sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
    [   27.078724] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   27.085940] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   27.092436] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   29.712476] omap_plane_error_irq: 5273 callbacks suppressed
    [   29.718489] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   29.725212] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   30.605523] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   30.612568] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   31.669334] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   31.676389] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   31.682888] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   31.827521] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   31.834538] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   31.953668] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   34.763687] omap_plane_error_irq: 5884 callbacks suppressed
    [   34.769681] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   34.776511] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   34.860614] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   34.867865] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   34.874393] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   35.159299] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   35.166396] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   35.172916] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   35.254967] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   35.262008] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   35.562713] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00,  0,  0
    [   38.077306] usbcore: registered new interface driver usbfs
    [   38.087591] usbcore: registered new interface driver hub
    [   38.094665] usbcore: registered new device driver usb
    [   38.572696] dwc3 48390000.usb: otg: primary host xhci-hcd.0.auto registered
    [   38.579986] dwc3 48390000.usb: otg: shared host xhci-hcd.0.auto registered
    [   38.587393] dwc3 48390000.usb: otg: can't start till gadget registers
    [   38.594855] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   38.601177] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
    [   38.612068] xhci-hcd xhci-hcd.1.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x00210010
    [   38.625750] xhci-hcd xhci-hcd.1.auto: irq 229, io mem 0x483d0000
    [   38.633204] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [   38.640195] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   38.647740] usb usb1: Product: xHCI Host Controller
    [   38.652756] usb usb1: Manufacturer: Linux 4.1.18-gbbe8cfc xhci-hcd
    [   38.658992] usb usb1: SerialNumber: xhci-hcd.1.auto
    [   38.681809] hub 1-0:1.0: USB hub found
    [   38.686145] hub 1-0:1.0: 1 port detected
    [   38.692640] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [   38.698322] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
    [   38.706774] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   38.715448] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [   38.722468] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   38.733799] usb usb2: Product: xHCI Host Controller
    [   38.738903] usb usb2: Manufacturer: Linux 4.1.18-gbbe8cfc xhci-hcd
    [   38.745886] usb usb2: SerialNumber: xhci-hcd.1.auto
    [   38.763484] hub 2-0:1.0: USB hub found
    [   38.767893] hub 2-0:1.0: 1 port detected
    [   39.537938] udc 48390000.usb: registering UDC driver [g_ether]
    [   39.642256] using random self ethernet address
    [   39.647006] using random host ethernet address
    [   39.675218] usb0: HOST MAC f2:8b:90:b1:91:48
    [   39.691677] usb0: MAC 36:e2:7a:0a:75:f9
    [   39.696193] using random self ethernet address
    [   39.701516] using random host ethernet address
    [   39.706245] g_ether gadget: adding config #2 'RNDIS'/bf1ed910
    [   39.706307] rndis_register: configNr = 0
    [   39.706326] g_ether gadget: adding 'rndis'/ee0d7e40 to config 'RNDIS'/bf1ed910
    [   39.706611] rndis_set_param_medium: 0 0
    [   39.706645] g_ether gadget: RNDIS: dual speed IN/ep1in OUT/ep1out NOTIFY/ep2in
    [   39.706660] g_ether gadget: cfg 2/bf1ed910 speeds: high full
    [   39.706670] g_ether gadget:   interface 0 = rndis/ee0d7e40
    [   39.706676] g_ether gadget:   interface 1 = rndis/ee0d7e40
    [   39.706705] g_ether gadget: adding config #1 'CDC Ethernet (ECM)'/bf1ed864
    [   39.706751] g_ether gadget: adding 'cdc_ethernet'/ee0d79c0 to config 'CDC Ethernet (ECM)'/bf1ed864
    [   39.706804] g_ether gadget: CDC Ethernet: dual speed IN/ep1in OUT/ep1out NOTIFY/ep2in
    [   39.706811] g_ether gadget: cfg 1/bf1ed864 speeds: high full
    [   39.706817] g_ether gadget:   interface 0 = cdc_ethernet/ee0d79c0
    [   39.706823] g_ether gadget:   interface 1 = cdc_ethernet/ee0d79c0
    [   39.706851] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
    [   39.713993] g_ether gadget: g_ether ready
    [   39.718167] dwc3 48390000.usb: otg: gadget gadget registered
    [   39.803380] usb0: eth_open
    [   39.833299] usb0: stop stats: rx/tx 0/0, errs 0/0
    [   39.893659] usb0: eth_open
    [   43.468420] omap_plane_error_irq: 56120 callbacks suppressed
    [   43.474468] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   43.481408] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   43.528578] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   43.535689] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   43.542167] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   43.917861] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   43.924893] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   43.932308] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   43.941158] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   43.947660] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   44.972589] NET: Registered protocol family 10
    [   44.983852] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
    [   48.124481] usb0: stop stats: rx/tx 0/0, errs 0/0
    [   48.267956] usb0: eth_open
    [   48.269225] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
    [   50.199875] omap_plane_error_irq: 39467 callbacks suppressed
    [   50.205958] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   50.212880] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   50.219314] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   50.290158] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   50.297348] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   50.321343] net eth0: initializing cpsw version 1.15 (0)
    [   50.329044] net eth0: phy found : id is : 0x7c0f1
    [   50.351795] libphy: PHY 4a101000.mdio:01 not found
    [   50.356875] net eth0: phy 4a101000.mdio:01 not found on slave 1
    [   50.415906] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   50.930493] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   50.937586] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   50.944079] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   51.092155] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   51.099188] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   56.336906] omap_plane_error_irq: 5361 callbacks suppressed
    [   56.342875] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   56.349672] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   57.129224] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   57.136382] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   57.142915] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   57.207770] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   57.214956] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   57.221466] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   57.358633] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   57.365768] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   61.503202] omap_plane_error_irq: 5955 callbacks suppressed
    [   61.509190] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   61.516190] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   61.719431]  remoteproc0: failed to load am335x-pm-firmware.elf
    [   61.749040]  remoteproc0: powering up wkup_m3
    [   61.771545]  remoteproc0: Direct firmware load for am335x-pm-firmware.elf failed with error -2
    [   61.821375]  remoteproc0: Falling back to user helper
    [   61.900059] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   61.907202] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   61.913854] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   61.935829] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   61.943174] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   62.079618]  remoteproc0: request_firmware failed: -11
    [   62.130295]  remoteproc0: rproc_boot failed
    [   62.244054] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   62.251070] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   62.257503] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   66.662447] omap_plane_error_irq: 5475 callbacks suppressed
    [   66.668435] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   66.675156] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   66.681661] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   67.323702] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   67.331010] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   67.337495] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   67.410602] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   67.417785] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   68.117437] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [   68.124697] [drm:omap_plane_error_irq] *ERROR* gfx: errors: 00000040
    [  266.898603] g_ether gadget: usb_gadget_start
    [  266.898764] g_ether 48390000.usb: usb_gadget_udc_start
    [  266.911418] g_ether gadget: suspend
    [  267.292087] g_ether gadget: high-speed config #1: CDC Ethernet (ECM)
    [  267.298749] g_ether gadget: init ecm
    [  267.298783] g_ether gadget: notify connect false
    [  267.299533] g_ether gadget: activate ecm
    [  267.299697] usb0: qlen 10
    [  267.299715] g_ether gadget: ecm_open
    [  267.299822] usb0: eth_start
    [  267.300726] g_ether gadget: packet filter 0c
    [  267.300751] g_ether gadget: ecm req21.43 v000c i0000 l0
    [  267.301336] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
    [  267.827067] g_ether gadget: packet filter 0e
    [  267.827173] g_ether gadget: ecm req21.43 v000e i0000 l0
    [  267.885864] g_ether gadget: notify connect true
    [  267.917779] g_ether gadget: notify speed 425984000
    [  267.925877] NOHZ: local_softirq_pending 08
    [  268.250699] g_ether gadget: packet filter 0e
    [  268.250808] g_ether gadget: ecm req21.43 v000e i0000 l0
    [  268.666080] g_ether gadget: packet filter 0e
    [  268.666190] g_ether gadget: ecm req21.43 v000e i0000 l0
    [  268.674456] NOHZ: local_softirq_pending 08
    [  268.681687] NOHZ: local_softirq_pending 08
    [  268.686160] g_ether gadget: packet filter 0e
    [  268.686188] g_ether gadget: ecm req21.43 v000e i0000 l0
    [  268.915000] g_ether gadget: packet filter 0e
    [  268.915112] g_ether gadget: ecm req21.43 v000e i0000 l0
    [  269.113844] g_ether gadget: packet filter 0e
    [  269.113953] g_ether gadget: ecm req21.43 v000e i0000 l0
    [  269.300061] g_ether gadget: packet filter 0e
    [  269.300158] g_ether gadget: ecm req21.43 v000e i0000 l0
    [  270.594630] NOHZ: local_softirq_pending 08
    [  271.449760] NOHZ: local_softirq_pending 08
    [  274.801852] g_ether gadget: packet filter 0e
    [  274.801964] g_ether gadget: ecm req21.43 v000e i0000 l0
    [  274.803626] g_ether gadget: packet filter 0e
    [  274.803653] g_ether gadget: ecm req21.43 v000e i0000 l0
    [  274.805774] g_ether gadget: packet filter 0e
    [  274.805820] g_ether gadget: ecm req21.43 v000e i0000 l0
    [  274.808589] g_ether gadget: packet filter 0e
    [  274.808641] g_ether gadget: ecm req21.43 v000e i0000 l0
    [  274.812320] g_ether gadget: packet filter 0e
    [  274.812364] g_ether gadget: ecm req21.43 v000e i0000 l0
    [  276.901557] NOHZ: local_softirq_pending 08
    [  277.069792] NOHZ: local_softirq_pending 08
    [  278.185040] NOHZ: local_softirq_pending 08
    [  279.452161] NOHZ: local_softirq_pending 08
    [  281.985076] NOHZ: local_softirq_pending 08
    

  • Hi Arun,

    Are you try to recalibrate the touchscreen after errors has been observed? You can find description about touchscreen recalibration at:
    processors.wiki.ti.com/.../How_to_Recalibrate_the_Touchscreen
    Also could you share your ws-calibrate.rules file.

    BR
    Tsvetolin Shulev
  • Hi Tsvetolin Shulev,

    I was getting the errors even before calibrating the touchscreen.

    Moreover we are using a customized QT file system.

    As per the touchscreen calibration guide, we are using ts_calibrate to calibrate the touch screen.

    I removed /etc/pointercal & rebooted the device., i was not able to calibrate since the pointer is not moving.

    Thanks & Regards,

    Arun

  • Any suggestion on the above query?