futerigele
7381245159
input/touchscreen: separate the interface for user interaction
...
Separate the interface for user interaction, touch upper half
provides the interface uniformly.
Signed-off-by: futerigele <futerigele@xiaomi.com>
2021-11-08 21:56:03 -06:00
raiden00pl
bf23abfbd5
drivers/qencoder: add an interface to configure the encoder index pin position
2021-11-07 03:52:48 -06:00
David Sidrane
040a04241e
drivers/spi:Define SPI_~CS~_DELAY_CONTROL to support other delays
2021-11-06 05:14:05 -05:00
ligd
883d66b906
socket_rpmsg: fix save rp_name error when accept
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-11-04 13:29:51 -05:00
Alexander Lunev
02e2b33c1c
bcm43xxx: corrected SDIO_CCCR_HIGHSPEED_SHS bit handling
2021-11-03 01:12:53 -05:00
ligd
dbaf8a92b4
pipe: pipe close should notify block writting, and write will return -EPIPE
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-11-01 23:21:30 -05:00
ligd
9cb994e6dc
rptun: add ns_unbind_notify support
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2021-11-01 06:57:33 -05:00
ligd
ff0cd0baac
Revert "drivers/syslog: Call up_puts in syslog_default_write instad up_putc"
...
This reverts commit 174b240325
.
Revert "drivers/syslog: Ensure the buffer zero terminate"
This reverts commit 1692aa7894
.
2021-11-01 06:54:05 -05:00
Jiuzhu Dong
1ed4118378
power/battery: add baterr, batinfo, batwarn for debug log
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-10-26 13:59:42 -03:00
Kenneth Thompson
0e2a3ecdf8
drivers/can: Fix can_poll() POLLOUT calculation
...
can_poll() would indicate that there is no space in the TX FIFO if there is
already one element in the FIFO.
2021-10-21 02:05:17 -05:00
Xiang Xiao
7183009400
ioexpander/gpio: Remove the hardcode 100 limitation
...
it's very easy to have more than 100 GPIOs on the modern SoC
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-20 10:10:50 -07:00
Jiuzhu Dong
f1f0bcc521
driver/sensor: support new sensor type:ECG,PPG,Imdepance
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-10-20 09:55:18 -05:00
丁欣童
26fedb2770
fakesensor: transform ddmm.mmmm to dd.mmmmmm.
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-10-20 09:55:18 -05:00
weizhifang
2a6673bcdd
feature: charge: modify battery_gauge code
...
add temperature and current ioctl api
Signed-off-by: weizhifang <weizhifang@xiaomi.com>
2021-10-20 09:52:11 +02:00
Alexander Lunev
6bdc737f5c
bcm43xxx: supported high-speed timing mode with a clock rate up to 50MHz
2021-10-18 21:58:03 -05:00
Jari van Ewijk
b1d5eff52d
Userled driver: Add option to check actual pin state with getall
2021-10-18 12:30:18 -07:00
daviepeng
9a0146f15f
add include battery_ioctl.h
2021-10-18 14:14:09 -03:00
Xiang Xiao
643e34efde
sdio: Update the defintion to the latest spec
...
and correct the comment:
https://www.sdcard.org/downloads/pls/
https://www.jedec.org/standards-documents/technology-focus-areas/flash-memory-ssds-ufs-emmc/e-mmc
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-17 06:29:13 -03:00
Jiuzhu Dong
e902b59006
i2c/bitbang: fix compile break when enable CONFIG_I2C_BITBANG_NO_DELAY
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-10-13 00:32:30 -07:00
anjiahao
1623848720
battery_monitor:add poll support
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2021-10-11 05:33:22 -07:00
anjiahao
ef7c61ae2d
battery_gauge:add poll support
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2021-10-11 05:33:22 -07:00
anjiahao
0d95d6fa45
battery_charger:add poll support
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2021-10-11 05:33:22 -07:00
Jiuzhu Dong
1a9f2e3b4e
driver/power: using upper-half structure directly in the lower-half structure.
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-10-10 20:09:35 -07:00
Jiuzhu Dong
5ee16ee684
driver/sensor: support sensor_ops: selftest
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-10-10 08:28:49 -03:00
Jari van Ewijk
20bf309939
Userled driver: Rename functions to make it more consistent and avoid confusion
2021-10-05 06:08:10 -07:00
Jani Paalijarvi
2e94631da4
drivers/mtd/m25px.c: add support for MT25Q256 SPI NOR
2021-10-04 01:18:53 -07:00
Alexander Lunev
df40531a07
bcm43xxx: fixed an issue with wrong devif_timer() invocations
...
on bcmf_netdev_notify_tx_done events
that provoked massive TCP spurious retransmissions;
bcm43xxx: fixed an issue with sporadic stalls of TX poll timer.
2021-10-03 17:36:09 -03:00
liushuai25
6c374fc06c
feat: driver: support double buffer for display
...
add pan display for fb driver.
reference links:
https://github.com/torvalds/linux/blob/master/drivers/video/fbdev/core/fbmem.c
https://github.com/torvalds/linux/blob/master/drivers/video/fbdev/goldfishfb.c
Signed-off-by: liushuai25 <liushuai25@xiaomi.com>
Update include/nuttx/video/fb.h
Co-authored-by: Gustavo Henrique Nihei <38959758+gustavonihei@users.noreply.github.com>
Update include/nuttx/video/fb.h
Co-authored-by: Gustavo Henrique Nihei <38959758+gustavonihei@users.noreply.github.com>
2021-09-30 09:07:48 -03:00
Alin Jerpelea
978c03df43
drivers: Omni Hoverboards: update licenses to Apache
...
Gregory Nutt has submitted the SGA
Omni Hoverboards has submitted the SGA
Paul Alexander Patience has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-28 04:37:38 -07:00
Jani Paalijarvi
b7a5b248e0
Add support for MT25Q1G SPI NOR
2021-09-24 01:09:51 -07:00
Xiang Xiao
1692aa7894
drivers/syslog: Ensure the buffer zero terminate
...
This patch fix the regression by:
commit 174b240325
Author: Xiang Xiao <xiaoxiang@xiaomi.com>
Date: Fri Sep 17 11:56:21 2021 +0800
drivers/syslog: Call up_puts in syslog_default_write instad up_putc
since some drivers(e.g. semihosting) have more fast implementation.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-09-21 08:44:44 -03:00
Janne Rosberg
f75535607e
drivers/mmcsd/mmcsd_spi: fix warning with finfo print
2021-09-18 12:18:09 -03:00
Xiang Xiao
174b240325
drivers/syslog: Call up_puts in syslog_default_write instad up_putc
...
since some drivers(e.g. semihosting) have more fast implementation.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-09-18 07:33:44 -03:00
Peter Bee
ea6955f77b
lcd/st77xx: change 16 bit cmd send to 8 bit
...
Make sending commands independent of processor endianness. The data can
be handled by application side, such as LVGL has SWAP16 option.
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2021-09-17 09:46:16 -03:00
Alexander Lunev
e5af7766bb
bcm43xxx: fixed an issue with abrupt stall of receiving new credits (via sdpcm header)
...
from bcm43362 chip/firmware as soon as a high network traffic started
2021-09-16 21:59:25 -05:00
Alexander Lunev
51c185b3b5
bcm43xxx/Kconfig: added SDPCM frame pool size parameter.
...
Also I have set the parameter to 8 instead of 4 by default
because there were many "alloc failed" messages in debug log
even during initialization / automatic IP address assignment
via DHCP negotiation.
2021-09-16 21:59:12 -05:00
Alin Jerpelea
48f92e6f1d
author: Bill Gatliff : update licenses to Apache
...
Gregory Nutt has submitted the SGA
Bill Gatliff has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-16 21:56:08 -05:00
Peter Bee
a5406c63cb
drivers/lcd: Add GC9A01 driver and refine ST7735
...
Added custom resolution, offset and BGR mode for ST7735 driver
Added GC9A01 driver (based on ST7789 driver)
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2021-09-16 08:39:35 -03:00
Xiang Xiao
44cbba2c56
drivers/sdmmc: Remove rwbuffer to avoid panic
...
since rwbuffer isn't fully initiailized in mmcsd_slotinitialize.
BTW, if the cache is important for performance, it is better to
implement a general block cache and put in a common location.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-09-15 14:09:23 -03:00
Alin Jerpelea
91a5f90a7f
author: UVC Ingenieure : update licenses to Apache
...
Gregory Nutt has submitted the SGA
UVC Ingenieure has submitted the SGA
Max Holtzberg has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-15 15:57:55 +08:00
Alin Jerpelea
7b61de3a25
author: Augusto Fraga Giachero : update licenses to Apache
...
Gregory Nutt has submitted the SGA
Augusto Fraga Giachero has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-15 15:57:55 +08:00
SPRESENSE
ebd736240e
drivers/video: Replace error output macro to verr
...
Add video debug macros verr/vwarn/vinfo, and replace error output macro to verr.
2021-09-15 07:06:35 +02:00
SPRESENSE
74df4b70b3
drivers: video: Rearchitect video driver
...
Rearchitect video driver:
- Define two video I/F(struct imgsensor_ops_s and struct imgdata_ops_s),
and support them.
- CISIF driver supports new video I/F struct imgdata_ops_s.
- ISX012 driver supports new video I/F struct imgsensor_ops_s.
- Move ISX012 driver to general driver directory.
2021-09-15 07:06:35 +02:00
Alin Jerpelea
0f8c8f20dc
drivers: author: Gregory Nutt: update licenses to Apache
...
Gregory Nutt has submitted the SGA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-15 11:56:41 +08:00
Alin Jerpelea
d29663d3a2
author: Daniel P. Carvalho : update licenses to Apache
...
Gregory Nutt has submitted the SGA
Daniel P. Carvalho has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-15 11:56:41 +08:00
liushuai25
fdcd1228b2
feature: driver: add interface for lcd dev driver
...
add get and set framerate interface for lcd dev driver.
Signed-off-by: liushuai25 <liushuai25@xiaomi.com>
2021-09-13 18:18:27 -03:00
liushuai25
3183251de0
feature: driver: add interface for fb driver
...
add get and set panel power interface for fb driver.
add get and set framerate interface for fb driver.
add panel information at videoinfo for fb driver.
Signed-off-by: liushuai25 <liushuai25@xiaomi.com>
2021-09-13 18:18:27 -03:00
Alin Jerpelea
bb54ed4227
author: OffCode Ltd : update licenses to Apache
...
OffCode Ltd has submitted the SGA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-13 22:43:36 +08:00
Alin Jerpelea
42ae36dd7f
drivers: wireless: spirit: update licenses to Apache
...
Gregory Nutt has submitted the SGA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-13 22:43:36 +08:00
Alin Jerpelea
aa8a8df07c
LICENSE: add license for wireless/spirit
...
The license for wireless/spirit is added to the LICENSE file
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-13 22:43:36 +08:00