Trying to get an ST1633 touch screen working with a PB derived board. 
I had to jump to Linux 5.1-rc3 (cross building with bb-kernel) to get the 
sitronix driver patched with st1633 support. 

I have CONFIG_TOUCHSCREEN_ST1232 enabled in .config. 

I have I2C2 working on the board - I can use 
i2cdetect -y -r 2
to find i2c devices that I breadboard onto I2C2 for testing

I can not seem to detect the ST1633 when connected to the PB board, 
But I can detect it if I bread board it to another Linux box. 
I am guessing at the moment that the st1633 reset line may be in the wrong 
state. 

I am trying to make sure I have the TS.RES set correctly. 
I have verified that I have the right pin by setting it to a gpio_led in 
the device tree overlay, breadboarding an LED to it and I can toggle the 
LED from /sys/

Currently I have the devicetree pinctl as 

pinctrl_st1633: pinmux_pinctrl_st1633 {
pinctrl-single,pins = <
                                /* (B13) mcasp0_fsx   GPIO111 GPIO3_15 
LCD.TS.INT */
AM33XX_IOPAD(0x0994, PIN_INPUT_PULLDOWN | MUX_MODE7) 
/* (A13) mcasp0_aclkx GPIO110 GPIO3_14 LCD.TS.RES */
AM33XX_IOPAD(0x0990, PIN_OUTPUT_PULLUP | MUX_MODE7) 
>;

I have the st1633 setup as 

fragment@6 {
target = <&i2c2>;
__overlay__ {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pb_i2c2_pins>;

/* this is the configuration part */
clock-frequency = <100000>;
#address-cells = <1>;
#size-cells = <0>;

            sitronix_ts@55 {
status = "okay";
                                compatible = "sitronix,st1633";
                      reg = <0x55>;
                
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_st1633>;

interrupt-parent = <&gpio3>;
                                interrupts = <15 0>;
                                reset-gpios = <&gpio3 14 GPIO_ACTIVE_LOW>;

touchscreen-size-x = <272>;
touchscreen-size-y = <480>;
touchscreen-swapped-x-y;
};
};
};

But when linux boots I am not seeing anything in the logs that suggested in 
even tried to load the sitronix driver. 

Any ideas ?






 




-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/301cd2b9-eea6-4f9c-af09-55ce292444c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to