Re: [linux-sunxi] LRADC on A20

2021-01-05 Thread Nazım Gediz AYDINDOĞMUŞ
On 5.01.2021 12:30, Sertac Tüllük wrote: > I wish to add my two-cents: > > There is a way to check if the DTB / DTBO is really recognised / in-use > by kernel: > > https://unix.stackexchange.com/questions/265890/is-it-possible-to-get-the-information-for-a-device-tree-using-sys-of-a-running

Re: [linux-sunxi] LRADC on A20

2021-01-04 Thread Nazım Gediz AYDINDOĞMUŞ
On 4.01.2021 18:16, Ing. Paolo Cremonese wrote: > Hello Gediz, > thank you for your kind reply. > in attachment the files describing the device tree. > lradc is noted in the .dtsi and is disabled for default: to enable it > I'm using the overlay lradc_enable.dtbo (the source is lradc-enable.dts)

Re: [linux-sunxi] LRADC on A20

2021-01-03 Thread Nazım Gediz AYDINDOĞMUŞ
On 1.01.2021 13:52, Paolo Cremonese wrote: > Hi All, > I need to use ADC0 of A20 using kernel 5.8 > With old kernels (3.4) I had to add sun4i-keyboard module. > In new kernels, I have seen that the device tree has a node called lradc > which should load the driver sun4i-lradc-keys > > The driver

Re: [linux-sunxi] Allwinner A10 based Miracast DLNA HDMI Dongle

2020-09-14 Thread Nazım Gediz AYDINDOĞMUŞ
On 11.09.2020 18:40, Adrian N wrote: > That was an awesome tip Gediz! > I added the line: > case 0x1623: /* Allwinner A10 */ > right before this line: > https://github.com/linux-sunxi/sunxi-tools/blob/7fe6024211ffed3024b0491ee9f2a19c17848c12/fel-spiflash.c#L163 > because it seems A10 is

Re: [linux-sunxi] Allwinner A10 based Miracast DLNA HDMI Dongle

2020-09-11 Thread Nazım Gediz AYDINDOĞMUŞ
On 10.09.2020 13:02, Adrian N wrote: >  Hi Gediz, > > I followed the wiki, checked out from git repo, installed required deps > and built sunxi tools successfully. Then I was able to put the device in > FEL mode by keeping the button pressed when plugging the usb. > This is the output I get

Re: [linux-sunxi] Allwinner A10 based Miracast DLNA HDMI Dongle

2020-09-09 Thread Nazım Gediz AYDINDOĞMUŞ
Hello Adrian, It looks like a cool device. I think you may be able to dump the original firmware using "spiflash-read" command of the sunxi-fel tool after you boot the device into the FEL mode. By the way, some of the information there is outdated but the rest may be useful in the following

Re: Re: [linux-sunxi] [PATCH] sunxi: Add support for using UART4 as console on A64

2020-06-29 Thread Nazım Gediz AYDINDOĞMUŞ
@01c0/serial@01c29000:115200" >> #else >> #error Unsupported console port nr. Please fix stdout-path in >> sunxi-common.h. >> #endif >> -- >> 2.17.1 >> >> -- >> You received this message because you are subscribed to the Google Groups