Xiang Xiao
8a880df37d
syslog/ramlog: Fix error: argument to 'section' attribute is not valid
...
mach-o section specifier requires a segment and section separated by a comma
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-05 17:23:48 +02:00
Petro Karashchenko
041f25fe72
drivers/ioexpander: fix output inversion for ioe_dummy
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-04 21:17:16 +08:00
xueyanhong
b953296de7
input/buttons: Fix the event lose between the invocation of poll
...
Signed-off-by: xueyanhong <xueyanhong@xiaomi.com>
2022-03-03 10:38:00 +02:00
Xiang Xiao
2c8437151f
input/djoystick: Fix the event lose between the invocation of poll
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-03 10:38:00 +02:00
Xiang Xiao
9436a78a5f
input/ajoystick: Fix the event lose between the invocation of poll
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-03 10:38:00 +02:00
Petro Karashchenko
9c7eea7949
drivers/ioexpander: Fix invert option value usage
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-03-02 01:54:31 +08:00
Xiang Xiao
36909f5f6c
input/buttons: Remove the unused bu_enabled from btn_upperhalf_s
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-01 01:08:13 +08:00
Xiang Xiao
70d90340c7
input/djoystick: Remove the unused du_enabled from djoy_upperhalf_s
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-01 01:08:13 +08:00
Xiang Xiao
f4b1b1262f
input/ajoystick: Remove the unused au_enabled from ajoy_upperhalf_s
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-01 01:08:13 +08:00
Xiang Xiao
478b292a87
input/buttons: Remove btn_enable from btn_sample
...
since btn_sample doesn't change the status
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-01 01:08:13 +08:00
Xiang Xiao
207249afdc
input/djoystck: Remove djoy_enable from djoy_sample
...
since djoy_sample doesn't change the status
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-01 01:08:13 +08:00
Xiang Xiao
aac9c4b78a
input/ajoystck: Remove ajoy_enable from ajoy_sample
...
since ajoy_sample doesn't change the status
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-01 01:08:13 +08:00
Xiang Xiao
f42b56b1c4
input/touch: Remove the couple from uinput
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-27 22:19:23 +01:00
Xiang Xiao
63c911fb56
input/button: Remove the couple from uinput
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-27 22:19:23 +01:00
liuzhao
fb6f058395
Add EPSON RX8010SJ I2C RTC timer support
2022-02-26 11:47:24 -03:00
Gustavo Henrique Nihei
1a1409cbc3
drivers/timers: Fix domain of log messages
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2022-02-25 22:49:22 +08:00
zhuyanlin
f7a7eb9ee3
power/PM: add domain inner update power state feature
...
In some scenarios, We need to update state information internally.
Instead of use idle-task to drive the checkstate and change state
function.
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2022-02-25 00:16:48 +08:00
Alin Jerpelea
52558e7245
drivers: usbhost-hid: exclude BSD components from build
...
Unless ALLOW_BSD_COMPONENTS is enabled support will not be built
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-24 22:48:47 +08:00
Alin Jerpelea
8e8b68b131
drivers: analog: exclude BSD components from build
...
Unless ALLOW_BSD_COMPONENTS is enabled ADC/DAC support will not
be built
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-24 22:48:47 +08:00
Alin Jerpelea
32401a0adb
drivers: wireless: spirit: exclude BSD components from build
...
Unless ALLOW_BSD_COMPONENTS is enabled support will not be built
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-24 22:48:47 +08:00
Alin Jerpelea
bbfed12fd9
drivers: wireless: bluetooth: exclude BSD components from build
...
Unless ALLOW_BSD_COMPONENTS is enabled support will not be built
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-24 22:48:47 +08:00
Alin Jerpelea
660da04204
drivers: sensors: exclude BSD components from build
...
Unless ALLOW_BSD_COMPONENTS is enabled support will not be built
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-24 22:48:47 +08:00
Alin Jerpelea
3a77cd3d6a
drivers: power: exclude BSD components from build
...
Unless ALLOW_BSD_COMPONENTS is enabled support will not be built
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-24 22:48:47 +08:00
Alin Jerpelea
96ce5347fa
drivers: modem: exclude BSD components from build
...
Unless ALLOW_BSD_COMPONENTS is enabled support will not be built
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-24 22:48:47 +08:00
Alin Jerpelea
fe06e51df2
drivers: lcd: exclude BSD components from build
...
Unless ALLOW_BSD_COMPONENTS is enabled support will not be built
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-24 22:48:47 +08:00
Xiang Xiao
d7fe0127b0
Replece clock_gettime(CLOCK_REALTIME) with clock_systime_timespec if suitable
...
it's better to call the kernrel api insteaad user space api in kernel
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-24 01:06:36 +08:00
Xiang Xiao
43f57240e0
Replece clock_gettime(CLOCK_MONOTONIC) with clock_systime_timespec
...
it's better to call the kernrel api insteaad user space api in kernel
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-24 01:06:36 +08:00
Huang Qi
1699f530a5
vncserver: Allow fb operation while no connection
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-02-23 23:18:30 +08:00
Alin Jerpelea
1dada85b52
drivers: Giorgio Gross : update licenses to Apache
...
Gregory Nutt has submitted the SGA
Giorgio Gross has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-23 12:06:54 +01:00
Xiang Xiao
f1ed349dd9
sched/clock: Remove CLOCK_MONOTONIC option from Kconfig
...
here is the reason:
1.clock_systime_timespec(core function) always exist regardless the setting
2.CLOCK_MONOTONIC is a foundamental clock type required by many places
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-23 01:21:26 +08:00
Xiang Xiao
a5a25f72ab
pty: Move the post process after reading the buffer
...
to simplify the code logic
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-22 16:17:07 +01:00
Xiang Xiao
630b55feec
serial/pty: Remove the TODO comment for O_NONBLOCK
...
since it is fully suppported now
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-22 09:34:57 -03:00
Masayuki Ishikawa
6a1a7bf455
Revert "pm: remove unnecessary depends on OSINIT_OS_READY"
...
This reverts commit 8785673a70
.
2022-02-22 10:56:14 +01:00
ligd
8785673a70
pm: remove unnecessary depends on OSINIT_OS_READY
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-02-22 07:58:55 +01:00
fangzhenwei
84b88205ab
serial/pty:Don't assert EBUSY when pty unregister driver
...
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2022-02-22 13:42:44 +08:00
fangzhenwei
88e871b13e
nuttx/pty: pty FIONBIO return -ENOTTY when pipe_ioctl return OK
...
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2022-02-22 13:42:44 +08:00
fangzhenwei
c7c91488d1
nuttx/pty: pass read nonblock flag to pipe
...
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2022-02-22 13:42:44 +08:00
fangzhenwei
1afdb06981
nuttx/pty:pty FIONBIO pass to pipe control
...
1. pass FIONBIO ioctl to pipe
2. resolve the return value error
Signed-off-by: fangzhenwei <fangzhenwei@xiaomi.com>
2022-02-22 13:42:44 +08:00
Alan C. Assis
9480ec54eb
drivers: Fix DAC license, the copyright owner didn't modify any line
2022-02-21 14:35:44 +01:00
Alan C. Assis
4553406ad4
drivers: Fix ADC license, the copyright owner didn't modify any line
2022-02-21 14:35:44 +01:00
Xiang Xiao
2dcaab8af8
serial/pty: Remove the unused code related to CONFIG_PSEUDOTERM_FULLBLOCKS
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 21:22:24 +01:00
Xiang Xiao
1d1bdd85a3
Remove the double blank line from source files
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 20:10:14 +01:00
Petro Karashchenko
27d75e7552
drivers/ioexpander: minor initialize and styling fixes
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-02-18 16:44:40 +08:00
Xiang Xiao
e0ae2963d2
drivers/pipe: Don't use sched_[lock|unlock] to do protection
...
since the sched lock can't work in SMP context
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-17 22:08:43 +01:00
Xiang Xiao
fe04eb535f
drivers/pipe: Fix the format style issue
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-17 22:08:43 +01:00
Huang Qi
ccc708a142
vncserver: Fix dead lock on re-connect
...
`vnc_remove_queue` would waiting for new frame update request forever
even if the connection is lost, the updater thread wouldn't exit.
But the server thread will join updater thread before accept new client
connection, then we can't re-conncet to vnc server.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-02-16 22:57:21 +08:00
Petro Karashchenko
41c95da594
register_driver: fix driver modes accross the code
...
State of problem:
- Some drivers that do not support write operations (does not
have write handler or ioctl do not perform any write actions)
are registered with write permissions
- Some drivers that do not support read operation (does not
have read handler or ioctl do not perform any read actions)
are registered with read permissions
- Some drivers are registered with execute permissions
Solution:
- Iterate code where register_driver() is used and change 'mode'
parameter to reflect the actual read/write operations executed
by a driver
- Remove execute permissions from 'mode' parameter
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-02-16 16:15:29 +08:00
Petro Karashchenko
a1f6717e2a
mtd/filemtd: improve write and erase access
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-02-15 12:06:24 +08:00
Masayuki Ishikawa
0258968abd
drivers: wireless: Fix gs2200m_ioctl_accept()
...
Summary:
- I received an issue report that multiwebcam in Spresense SDK 2.4.0
has a problem with the Chrome browser
- Actually, the browser tries to establish 2 connections but
the multiwebcam can handle only 1 connection. And if accept() for
the second connection is delayed, the connection no longer exists
in the gs2200m hardware
- This commit fixes this issue by checking if the cid is valid or not.
Impact:
- gs2200m driver only
Testing:
- Tested with spresense:wifi_smp
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-02-15 10:22:42 +08:00
Jiuzhu Dong
ef66c620c4
input/uinput: fix codesyle issue
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-02-11 11:58:49 +08:00