[linux-sunxi] [PATCH] arm: allwinner: a20: Add Drejo DS167 initial support

2020-05-31 Thread stulluk
s = "default"; + pinctrl-0 = <&uart0_pb_pins>; + status = "okay"; +}; + +&uart3 { + pinctrl-names = "default"; + pinctrl-0 = <&uart3_pg_pins>; + status = "okay"; +}; + +&usb_otg { + dr_mode = "otg"; + status = "okay"; +}; + +&usb_power_supply { + status = "okay"; +}; + +&usbphy { + usb0_id_det-gpios = <&pio 7 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PH4 */ + usb0_vbus_det-gpios = <&pio 7 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PH5 */ + usb0_vbus-supply = <®_usb0_vbus>; + usb1_vbus-supply = <®_usb1_vbus>; + usb2_vbus-supply = <®_usb2_vbus>; + status = "okay"; +}; -- 2.17.1 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20200531110538.30153-1-stulluk%40gmail.com.

[linux-sunxi] arm: dts: allwinner: a20: Add Drejo DS167 initial support

2020-08-02 Thread stulluk
amp;spi2 { + pinctrl-names = "default"; + pinctrl-0 = <&spi2_pc_pins>, + <&spi2_cs0_pc_pin>; + status = "okay"; +}; + +&tcon0 { +pinctrl-names = "default"; +pinctrl-0 = <&lcd_lvds0_pins>; +}; + +&tcon0_out { +tcon0_out_lcd: endpoint { +remote-endpoint = <&panel_input>; +}; +}; + + +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_pb_pins>; + status = "okay"; +}; + +&uart3 { + pinctrl-names = "default"; + pinctrl-0 = <&uart3_pg_pins>; + status = "okay"; +}; + +&usb_otg { + dr_mode = "otg"; + status = "okay"; +}; + +&usb_power_supply { + status = "okay"; +}; + +&usbphy { + usb0_id_det-gpios = <&pio 7 4 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PH4 */ + usb0_vbus_det-gpios = <&pio 7 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* PH5 */ + usb0_vbus-supply = <®_usb0_vbus>; + usb1_vbus-supply = <®_usb1_vbus>; + usb2_vbus-supply = <®_usb2_vbus>; + status = "okay"; +}; -- 2.17.1 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20200802202924.5166-1-stulluk%40gmail.com.

[linux-sunxi] UART SIR mode register

2015-05-08 Thread stulluk
Dear All; I would like to enable SIR mode in UART modem control register for only one of my UART ports. I am planning to transceive IrDa by using that port. In A20 User manual, page 655, it states that 6th bit of UART_MCR register controls this mode. In Android SDK for A20, when I search for U

[linux-sunxi] Re: UART SIR mode register

2015-05-09 Thread stulluk
On Friday, May 8, 2015 at 12:31:52 PM UTC+3, stu...@gmail.com wrote: > Dear All; > > I would like to enable SIR mode in UART modem control register for only one > of my UART ports. I am planning to transceive IrDa by using that port. > > In A20 User manual, page 655, it states that 6th bit of UA

[linux-sunxi] Re: [PATCH] i2c-sunxi: Fix support for TWI3 and TWI4 on A20

2014-05-04 Thread stulluk
On Wednesday, April 30, 2014 4:27:47 PM UTC+3, Emilio López wrote: > From: Emilio López > > > > Although Hans had introduced support for TWI3 and TWI4, the functions > > handling the clocks and pins were limited to only TWI0-2. Let's fix the > > clock lists to include the new A20 names, as we

[linux-sunxi] A20 with hi253 Camera, Capture-Encode-Stream via RTSP

2014-05-06 Thread stulluk
Hi everyone, As I mentioned in the subject, I would like to Capture from my camera, encode it to h264 via Cedar, and stream out via RTSP. I have downloaded, compiled and tested following two: https://github.com/ashwing920/rtspserver https://github.com/patrickhwood/h264encoder rtspserver loo

[linux-sunxi] eMMC Performance test

2014-03-12 Thread stulluk
Dear All; Thank you soo much for all your efforts. I have a A20 based board, named INTERRA-3. It incorporates a SANDISK eMMC instead of a NAND Flash. I can run both stock android and sunxi kernel with debian on it. Basically, everything is OK, but I am not happy with the SDIO interface speed.

[linux-sunxi] Re: eMMC Performance test

2014-03-12 Thread stulluk
Olliver, thank you very much for your reply. However, if you see datasheet of the eMMC here: http://94.73.155.26/sdin7du2-8g.pdf As you see ( see page 14 ), my write speed is OK, but my read speed is extremely slow. Can you give me some idea, how to improve it? Also, did you see error message