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
Jiuzhu Dong
a39fb6bc7a
rptun: add CONFIG_RPTUN_LOADER to optimize code size
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-09-12 11:31:11 +08:00
Xiang Xiao
60b2a0e2a0
drivers/mmcsd: Pass the right buffer size to SDIO_DMAPREFLIGHT
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-09-09 09:37:45 -03:00
daviepeng
3b5914f57b
add support for power management ic axp202
2021-09-07 13:42:54 +08:00
Alin Jerpelea
df088c39f0
author: Anthony Merlino : update licenses to Apache
...
Verge Aero has submitted the SGA
Anthony Merlino has submitted the SGA
Gregory Nutt has submitted the SGA
Sebastien Lorquet 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-06 20:38:14 +08:00
Xiang Xiao
c60002cd74
drivers/mmcsd: Fix the wrong format argument in mmcsd_dmpcsd
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-09-05 17:26:31 -03:00
Xiang Xiao
c1f9d2c2d5
drivers/mmcsd: Handle the failure correctly in mmcsd_slotinitialize
...
1.Return -ENOMEM directly if kmm_malloc return NULL
2.Call nxsem_destroy if the initialization can't succeed
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-09-05 17:24:41 -03:00
Xiang Xiao
7312a553bb
drivers/mmcsd: Change up_udelay to nxsig_usleep if delay >= 1ms
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-09-05 17:22:47 -03:00
Xiang Xiao
76a725cab2
drivers/mmcsd: Change mmsd_ prefix to mmcsd_ prefix
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-09-05 17:21:44 -03:00
Alin Jerpelea
9acf4d6f2e
drivers: mtd: add BSD barrier for nand driver
...
add BSD barrier for nand driver
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 21:56:05 +08:00
Alin Jerpelea
110632293c
LICENSE: revert to the original license from Atmel Corporation
...
revert to the original license from Atmel Corporation and add the files to
the LICENSE file
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-02 21:56:05 +08:00
Alin Jerpelea
151f6eab3c
author: Anton D. Kachalov: update licenses to Apache
...
Anton D. Kachalov 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-01 21:02:34 +08:00
Alin Jerpelea
24aa7e6278
author: Matt Poppe: update licenses to Apache
...
Matt Poppe 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-01 21:02:34 +08:00
Alin Jerpelea
acf22d6c42
drivers: wireless: bluetooth: revert original license
...
Those files are ported from the Intel/Zephyr
arduino101_firmware_source-v1.tar package
where the code was released with a compatible 3-clause BSD license
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-09-01 11:56:31 +08:00
Alin Jerpelea
48c858c89c
drivers: update licenses to Apache
...
Gregory Nutt is the copyright holder for those files and he 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-01 11:56:31 +08:00
daviepeng
60b6199120
fix nxstyle
2021-08-30 02:52:30 +08:00
daviepeng
c7cda607f4
Adds driver for msa301 sensore module
2021-08-30 02:52:30 +08:00
yangjiukui
19beb307dd
sensor: fix the bug that lsm6dsl selftest is invalid in nuttx.
...
Modified the logic of the selftest according to the ST manual.
Signed-off-by: yangjiukui <yangjiukui@xiaomi.com>
Change-Id: Id55139abf173728de4647533b26f7ab5e9a6b1fe
2021-08-28 17:35:10 -03:00
Gustavo Henrique Nihei
84e9ff085f
drivers/mtd: Fix code alignment for compliance to coding standard
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-28 02:28:03 +08:00
Gustavo Henrique Nihei
f153e42fcb
drivers/mtd: Fix /proc/partitions column alignment on NSH
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-28 02:28:03 +08:00
Masayuki Ishikawa
af57d04433
Revert "drivers: wireless: Fix ASSERT() in _read_data_len() in gs2200m.c"
...
We found that the change caused a problem when running a VPN application.
and also confirmed that reverting the commit fixed the issue.
This reverts commit 11a842333f
.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-08-25 12:25:39 +08:00
Xiang Xiao
af72376773
fs: Remove magic field from partition_info_s
...
since it is wrong and impossible to return file
system magic number from the block or mtd layer.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-20 09:19:52 -03:00
Antti Vähälummukka
3421a0be38
drivers/timers/Kconfig: Increase PWM_NCHANNELS range to 1..16
2021-08-20 08:56:30 -03:00
chao.an
ee3980abd7
driver/pipe: add nonblock open support
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2021-08-19 19:18:52 -07:00
raiden00pl
b30f5e146d
drivers/sensors: add an upper half 3-phase Hall effect sensor driver
2021-08-19 08:19:38 -07:00
SPRESENSE
38bfadbeb9
drivers/sensors/bmp280.c: Correct bmp280 driver
...
There were some mistakes in porting to the common sensors, and they
caused the following problems.
- Hardfault by bmp280_set_interval
- Read data always zero
2021-08-18 23:22:21 -07:00
SPRESENSE
f8d036d70b
drivers/Makefile: Use the -include directive for platform/Make.defs
...
Since `platform` of `platform/Make.defs` is a symbolic link created during
the build process, we use -include directive instead of include for safety.
2021-08-18 23:21:47 -07:00
Alin Jerpelea
ef4ba8cb6c
drivers: lcd: update licenses to Apache
...
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-17 19:52:31 -07:00
Alin Jerpelea
50976fef14
Uniquix Ltda: update licenses to Apache
...
Uniquix Ltda has submitted the SGA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-17 19:52:31 -07:00
Alin Jerpelea
9cb132e797
drivers: video: ov2640: add GPL build barrier
...
Exclude the ov2640 driver from build unless the license is set to
allow GPL code in the build.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-08-17 19:48:45 -07:00
liuhaitao
0c0a43c47b
mtd: include nuttx/fs/fs.h explicitly
...
To fix struct partition_info_s undefined type issue.
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
Change-Id: I7c67d0e2f84f4251574a13c22f3bd917742975ea
2021-08-17 00:10:14 -07:00
Xiang Xiao
71269811ca
mtd: Implement BIOC_PARTINFO for all drivers
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-16 10:08:26 -03:00
Xiang Xiao
6b6c11f0ad
mtd: Replace MTDIOC_XIPBASE with BIOC_XIPBASE
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-12 08:01:29 -03:00
Xiang Xiao
177e1ced3f
Revert "mtd: Add MTDIOC_FLUSH IOCTL like MTDIOC_XIPBASE"
...
to simplify flt and partion layer implementation
This reverts commit 2e49e1bc5c
.
2021-08-12 08:01:29 -03:00
Xiang Xiao
f4addbd640
mtd: Replace MTDIOC_PARTINFO with BIOC_PARTINFO
...
to simplify flt and partion layer implementation
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-12 08:01:29 -03:00
Xiang Xiao
d1687418db
mtd: Remove the empty MTDIOC_XIPBASE implmentation
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-11 09:50:51 -03:00
Xiang Xiao
76904371a1
fs: Remove endsector from partition_info_s
...
since it can be computed from startsector and numsectors simply
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-11 09:26:43 -03:00
Gustavo Henrique Nihei
62fa4b0018
mtd: Translate BIOC_PARTINFO into MTDIOC_PARTINFO on FTL driver
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-10 19:45:14 -07:00
Gustavo Henrique Nihei
cddd9c9c38
mtd: Enable retrieval of MTD partition information
...
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-10 19:45:14 -07:00
Alan C. Assis
f3d1b6342c
mkrd: Fix error: variable 'ret' is uninitialized
2021-08-10 09:08:25 -07:00
Alan C. Assis
e809c80f07
mtd/smartfs: Fix implicit conversion from 'int' to 'short'
2021-08-10 09:08:25 -07:00
raiden00pl
dca8c65331
drivers/qencoder: add command to set the maximum encoder position
2021-08-10 11:19:05 -03:00
Alan C. Assis
c4742c2197
mtd/smartfs: Fix compilation warning
2021-08-09 20:33:05 -03:00
Kenneth Thompson
50c49da078
bch/bchlib_cache.c: Fix error handling
2021-08-09 10:52:08 -07:00
Kenneth Thompson
9d29d4bef5
drivers/bch: Handle return value of bchlib_readsector()
2021-08-09 10:52:08 -07:00
Fotis Panagiotopoulos
59b9a30592
Compile fixes in MCP23X17 driver.
2021-08-09 08:42:53 -03:00
Michal Lenc
87c5cc1a5d
adc: add IOCTL commands ANIOC_RESET_FIFO and ANIOC_SAMPLES_ON_READ
...
This commit adds two new IOCTL commnands for ADC driver. Command
ANIOC_RESET_FIFO resets FIFO head and tail which causes the driver
to wait for the new data to be received. Calling this command before
reading ADC data in user space ensures that the read data are newly
sampled.
Command ANIOC_SAMPLES_ON_READ return the number of read channels in
the buffer. This can be useful in nonblocking mode when the application
needs to get the samples received before the app was started.
Both IOCTL commands are used only in generic driver section only and do
not have any effect on existing architecture specific drivers.
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2021-08-06 21:10:59 -07:00
Xiang Xiao
5025fbef8d
Rename LIB_ to LIBC_ for all libc Kconfig
...
follow other libc component naming convention
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-08-05 19:45:24 +02:00
Xiang Xiao
6a396eb224
Fix the printf warning after off_t change
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Id46daa2ee690a73d3187b479f0e7ab0e2e361764
2021-08-04 06:48:30 -07:00
Kenneth Thompson
5588bc4ef6
mtd/ramtron.c: Reassert CS between commands
2021-08-03 10:11:53 -07:00