LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 05-30-2018, 02:04 AM   #1
theja0473
LQ Newbie
 
Registered: May 2018
Posts: 2

Rep: Reputation: Disabled
ATM0430D12B Linux Kernel touch driver Compatability


Hi,

I have ATM0430D12B touch screen I would like to add linux kernel driver for this module in buildroot custom imx283 board purpose.

Which driver can be used for this?

Thanks in Advance!
 
Old 06-05-2018, 05:10 AM   #2
theja0473
LQ Newbie
 
Registered: May 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Here is the LCD driver part for imx283 custom dts part:
Code:
	lcdif@80030000 {
				pinctrl-names = "default";
				compatible = "fsl,imx28-lcdif";			
				pinctrl-0 = <&lcdif_24bit_pins_a
					     &lcdif_pins_evk>;
				lcd-supply = <&reg_lcd_3v3>;
				display = <&display0>;
				status = "okay";

				display0: display0 {
					bits-per-pixel = <32>;
					bus-width = <24>;

					display-timings {
						native-mode = <&timing0>;
						timing0: timing0 {
							clock-frequency = <33500000>;
							hactive = <480>;
							vactive = <272>;
						//	hactive = <800>;
						//	vactive = <480>;
							hback-porch = <89>;
							hfront-porch = <164>;
							vback-porch = <23>;
							vfront-porch = <10>;
							hsync-len = <10>;
							vsync-len = <10>;
							hsync-active = <0>;
							vsync-active = <0>;
							de-active = <1>;
							pixelclk-active = <0>;
						};
					};
				};
			};


				lcdif_pins_evk: lcdif-evk@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						MX28_PAD_LCD_RD_E__LCD_VSYNC
						MX28_PAD_LCD_WR_RWN__LCD_HSYNC
						MX28_PAD_LCD_RS__LCD_DOTCLK
						MX28_PAD_LCD_CS__LCD_ENABLE
					>;
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
				};
Please help me out.

Last edited by onebuck; 06-05-2018 at 07:15 AM.
 
Old 06-25-2018, 01:21 AM   #3
rocq
Member
 
Registered: Jan 2013
Location: Netherlands
Distribution: XUbuntu
Posts: 57

Rep: Reputation: Disabled
Well you have set the compatible parameter to "fsl,imx28-lcdif". The driver for this (I'm using TI linux 4.9 LSK):
Code:
$ grep -r "fsl,imx28-lcdif" *
arch/arm/boot/dts/imx28.dtsi:				compatible = "fsl,imx28-lcdif";
arch/arm/boot/dts/imx6sx.dtsi:					compatible = "fsl,imx6sx-lcdif", "fsl,imx28-lcdif";
arch/arm/boot/dts/imx6sx.dtsi:					compatible = "fsl,imx6sx-lcdif", "fsl,imx28-lcdif";
arch/arm/boot/dts/imx7s.dtsi:				compatible = "fsl,imx7d-lcdif", "fsl,imx28-lcdif";
arch/arm/boot/dts/imx6ul.dtsi:				compatible = "fsl,imx6ul-lcdif", "fsl,imx28-lcdif";
arch/arm/boot/dts/imx6sl.dtsi:				compatible = "fsl,imx6sl-lcdif", "fsl,imx28-lcdif";
Documentation/devicetree/bindings/display/mxsfb.txt:	compatible = "fsl,imx28-lcdif";
drivers/video/fbdev/mxsfb.c:	{ .compatible = "fsl,imx28-lcdif", .data = &mxsfb_devtype[1], },
For mxfsb you need to enable CONFIG_FB_IMX. Please repeat the steps I did and verify that this also applies to your kernel version.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] PIDORA CUPS all set up | Having issue with Dell Driver architecture compatability tombelcher7 Linux - Software 3 09-24-2014 09:05 AM
Injecting touch event on a touch screen LCD Driver ArunkumarRavi Programming 1 08-18-2014 10:23 AM
LXer: Linux you can Touch: Sleek Linux Ultrabook with Touch LXer Syndicated Linux News 0 11-22-2013 12:11 AM
Getting a USB touch screen to work on Debian Linux kernel 2.4.27-2 d2army Linux - Hardware 0 12-11-2008 09:53 PM
Touch screen driver development for Linux peso Linux - Software 1 02-02-2004 12:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 03:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration