Jia Jie Ho [Tue, 14 Nov 2023 17:12:14 +0000 (01:12 +0800)]
crypto: starfive - RSA poll csr for done status
Hardware could not clear irq status without resetting the entire module.
Driver receives irq immediately when mask bit is cleared causing
intermittent errors in RSA calculations. Switch to use csr polling for
done status instead.
Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from mainline commit
ba6e3ee4f5d6c13e984f8cb5fb1706ca39ff4a0e)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: Ic3ed68e8390f6e9ca171f601a36e2641bc94720f
Jia Jie Ho [Tue, 14 Nov 2023 17:12:13 +0000 (01:12 +0800)]
crypto: starfive - Update driver dependencies
Change AMBA_PL08X to required dependency as the hash ops depends on it
for data transfer.
Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from mainline commit
29ce1bce3a713a8031a88f80224b72696813447d)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I1f021fbfd4369c1f1d14edf291a1c9b0cdb6b57a
Jaehoon Chung [Tue, 23 Jan 2024 04:22:34 +0000 (13:22 +0900)]
dmaengine: dw-axi-dmac: Check the HAS_APB_REGS flag
Check the AXI_DMA_FLAGS_HAS_APB_REGS flags before checking
chip->apb_regs.
Even though its flags doesn't set, the below message is displaying like error.
[ 24.879187] dw_axi_dmac_platform
16050000.dma-controller: apb_regs not initialized
[ 26.928088] dw_axi_dmac_platform
16050000.dma-controller: apb_regs not initialized
Change-Id: Ia2751ee2308d0b65dc2ec6b69c50be6af578546e
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 22 Jan 2024 01:33:22 +0000 (10:33 +0900)]
riscv: dts: starfive: Disable i2srx/i2stx1 nodes
Disable i2srs/i2stx1 nodes.
It doesn't need to use and it's using same pins with tdm.
Change-Id: I62c41ae9807bab439684e3715d5569f91b67089c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 17 Jan 2024 05:01:45 +0000 (14:01 +0900)]
gpu: drm: verisilicon: Fix the build error about vs_gem
Fix the build error about vs_gem.
During updating to v6.6, some callback functions are deprecated.
To fix the call sequence, add the vs_gem_dmabuf-mmap function.
Change-Id: I80a5715924c77faf7a7b68b17ddc6063e2f4333a
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Hoegeun Kwon [Mon, 17 Jul 2023 07:38:34 +0000 (16:38 +0900)]
drm/verisilicon: Add cache flush feature when dmabuf sync
Add cache flush for gem memory. Cache flushing is done when the
dmabuf sync ioctl is called.
Change-Id: I8663a391b18bb10f69007bd631fec492c0e347b2
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
(cherry picked from commit
e318dd5d3e8f38910b4a61749c58d9992e717e97)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Keith Zhao [Tue, 13 Jun 2023 04:40:16 +0000 (13:40 +0900)]
drm/verisilicon: Add gem driver for JH7110 SoC
This patch implements gem related APIs for JH7100 SoC.
Signed-off-by: Keith Zhao <keith.zhao@starfivetech.com>
[cherry-pick : https://patchwork.kernel.org/project/linux-riscv/cover/
20230602074043.33872-1-keith.zhao@starfivetech.com/]
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
[jh80.chung: cherry picked from commit
e984d033a5ff1917c0a33f258e4ba4c354407e45]
jh80.chung: Removed the conflict codes in vs_drv.c
Change-Id: Iec8976e329ef59f2a0b98203952e4dafb6f38448
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Hoegeun Kwon [Wed, 9 Aug 2023 02:17:00 +0000 (11:17 +0900)]
RISCV: dts: starfive: Increase CMA range from 512MB to 768MB
In UHD resolution, there are many cases where alloc fail due to lack
of CMA capacity. Increase CMA range to prevent cma_alloc failed.
Change-Id: I6b0c355b773b08d09381e738329b986113982768
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Jaehoon Chung [Tue, 16 Jan 2024 07:52:24 +0000 (16:52 +0900)]
riscv: dts: starfive: Add HDMI-Sound card node
Add HDMI-Sound card node as sound-i2s.
Change-Id: Iff48e6cd370795a69ccdb026ea9de2412045fc19
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 16 Jan 2024 07:39:38 +0000 (16:39 +0900)]
Revert "ASoC: dwc: Fix non-DT instantiation"
This reverts commit
9c97790a07dc4f9bdc6e1701003dc9b86f749c71.
In Mainline, it's considering Non-DT case. But case of starfive is using
dt system. This commit is causing about not getting platform_data.
So i2s of starfive is recognizing to "is_jh7110 = 0".
[ 4.054162] designware-i2s: probe of
100e0000.i2s failed with error -110
[ 4.549831] designware-i2s: probe of
120b0000.i2s failed with error -110
[ 5.045455] designware-i2s: probe of
120c0000.i2s failed with error -110
Change-Id: Ie87fbe397e2453659471a305a2864bc30d538116
Xingyu Wu [Mon, 21 Aug 2023 14:41:51 +0000 (22:41 +0800)]
riscv: dts: starfive: Add the nodes and pins of I2Srx/I2Stx0/I2Stx1
Add I2Srx/I2Stx0/I2Stx1 nodes and pins configuration for the
StarFive JH7110 SoC.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Reviewed-by: Walker Chen <walker.chen@starfivetech.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
(cherry picked from commit
92cfc35838b2a4006abb9e3bafc291b56f135d01)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I77df1fe119de2ae1712a13b580315c226e43f13a
Xingyu Wu [Mon, 21 Aug 2023 14:41:50 +0000 (22:41 +0800)]
riscv: dts: starfive: pinfunc: Fix the pins name of I2STX1
These pins are actually I2STX1 clock input, not I2STX0,
so their names should be changed.
Change-Id: I3dbbad8963b08052d834937b379fa16905ae159c
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Reviewed-by: Walker Chen <walker.chen@starfivetech.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 16 Jan 2024 03:07:13 +0000 (12:07 +0900)]
RISCV: configs: Enable RTC_DRV_STARFIVE config
Enable CONFIG_RTC_DRV_STARFIVE configuration.
Change-Id: I10219a6e4a0a1f27d8620a0c2877ea802d892a79
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
SaminGuo [Wed, 17 Nov 2021 07:55:45 +0000 (15:55 +0800)]
rtc: starfive: Add support jh7100 rtc driver
Add support rtc driver and device tree of starfive JH7110. This
driver is from [1], and the imported patch list[2]. We modified
compatible and clock in the device-tree to fix kernel v6.1.
[1] https://github.com/starfive-tech/linux
[2] patch list from v5.15.y
fc56ea25c7ca ziv.xu rtc:starfive: add pm ops for rtc
cc1a7edcd475 ziv.xu rtc-starfive.c:add system pm for rtc
d369d91bd926 Hal Feng rtc: starfive: Standardize property "compatible"
3d1b30793d55 Hal Feng rtc: starfive: Fix time may be not updated when date updated
d85e29ea7625 Hal Feng rtc: starfive: Fix command 'hwclock' can't work in rootfs
f344adc8fb81 Hal Feng rtc: starfive: Change reset api
8cf53d91eb5f Hal Feng rtc: starfive: Improve rtc driver
66422888adb5 Hal Feng rtc: starfive: Improve coding style
99ae7e93b897 Hal Feng rtc: starfive: Use stardand clock and reset apis for initialization
8b570194e872 samin rtc: starfive: Get the interrupt status using Completion.
1fafc8d35f88 SaminGuo rtc: starfive-rtc: Add RTC support for StarFive JH7110.
Signed-off-by: SaminGuo <samin.guo@starfivetech.com>
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
Signed-off-by: ziv.xu <ziv.xu@starfive.com>
Change-Id: I4475e4314237bb8be670aefa40039c166107cb15
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Hoegeun Kwon [Thu, 13 Jul 2023 09:49:56 +0000 (18:49 +0900)]
RISCV: config: tizen_visionfive2_defconfig: Enable img gpu config
Enable Imagination PoerVR GPU driver defconfig.
Change-Id: If8e8b51fe59a367a0981f65b5cc7b3f44f9a8782
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 9 Jan 2024 08:47:47 +0000 (17:47 +0900)]
gpu: drm: img: flush sifive cache only when defined
If no sifive cache flush is defined, do not flush.
Change-Id: Iae4ac4e1d96a543144c0b3e8bbedc476154de84b
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 9 Jan 2024 08:47:54 +0000 (17:47 +0900)]
gpu: drm: img: Replace system work flush with img dedicated workqueue
To remove deprecated flush_scheduled_work() after the commit
20bdedafd2f6 ("workqueue: Warn attempt to flush system-wide workqueues."),
add img dedicated unordered wq and queue/flush the wq instead of
system work.
Change-Id: I316b2858abf15e11d9ed40550a41f9494d421c87
Ref:
848a4e5c096d ("drm/i915: add a dedicated workqueue inside drm_i915_private")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 9 Jan 2024 08:47:18 +0000 (17:47 +0900)]
gpu: drm: img: replace vma->vm_flags modification with vm_flags_set()
Replace vma->vm_flags direct modification with modifier call,
vm_flags_set().
Change-Id: If3bd4d2dd13e0bcee7563c12a9d6ea973f90ec50
Ref:
1c71222e5f23 ("mm: replace vma->vm_flags direct modifications with modifier calls")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Hoegeun Kwon [Tue, 9 Jan 2024 08:47:25 +0000 (17:47 +0900)]
soc: starfive: Add feature for hw event masks
Add hw event masks off feature for use with other drives.
Signed-off-by: Walker Chen <walker.chen@linux.starfivetech.com>
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I5b8862cd50b35f0b8ceed770d95a5c17bde8b12c
Hoegeun Kwon [Tue, 9 Jan 2024 08:45:59 +0000 (17:45 +0900)]
gpu: drm: img: Fix to check fence list instead of fence count
In order to generate a reserve fences, we check to see if there is a
fence list instead of fence count.
Change-Id: Ibd45c154610221dd7bcd4de96570fc00066457c8
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Hoegeun Kwon [Tue, 9 Jan 2024 08:45:52 +0000 (17:45 +0900)]
gpu: drm: img: Fix to use iterator instead of list
Change the dma fence management method from list to iterator method.
Also the fences have to added individually on each other driver. So
dma_resv_add_fence does not add a fence, but dma_resv_reserve_fences
is used to add it.
Change-Id: I4c87608b9878e218fe0ae5cc5acb564c1f9d5db9
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Hoegeun Kwon [Tue, 9 Jan 2024 08:45:46 +0000 (17:45 +0900)]
gpu: drm: img: Fix to use jh71xx_pmu header
Fix to use jh71xx_pmu header and sifive_flush64_range.
Change-Id: I9ad7d5f3de347be0f26ceb4633b0125d2a6480ef
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Hoegeun Kwon [Tue, 9 Jan 2024 08:45:39 +0000 (17:45 +0900)]
gpu: drm: img: Fix PVRSRV device initialization time
If the initialization time is a probe, the problem of not loading the
firmware occurs. Fix the initialization time to open time.
Change-Id: I1372230fdbe754845146eacd7bbb7b4e248c2c4f
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
shanlong.li [Tue, 9 Jan 2024 08:45:31 +0000 (17:45 +0900)]
drm/GPU: Add support Imagination PowerVR GPU driver v1.17
Add support Imagination PowerVR GPU driver with starfive JH7110. This
driver is from [1], and the imported patch list[2]. We modified
driver compatible and clock in the device-tree to fix kernel v6.1.
[1] https://github.com/starfive-tech/linux
[2] patch list from v5.15.y
b9049f928d30 gpu: drm: img: disable PDUMP
092482e4811e driver:GPU: adjust interface sequence 1. add axi disable interface 2. adjust the interface order between clk and
b320e5501342 gpu:driver: fix up hibernation resume problem
0dea95655224 driver:gpu: add gpu runtime pm
0381e221bc0d driver:gpu: gpu driver change to release
6ccc2d8209d9 driver:GPU:set the gpu frequency to 594Mhz
d81e5fcbcccc driver:gpu: gpu driver upgrade to 1.17
18a68c90c061 Add Wayland with GPU support.
e4d3672cccbe driver:GPU: use pm runtime interface
4c34123a3d81 driver:GPU: Using the GPU driver release version
1ed4d6d30d92 driver:GPU: Disable apm to resolve pvrdebug -dd suspension error
13e336d5b5ae driver:GPU: adjust ClockSpeed to 409.6MHz
c2a828350549 driver:GPU: fix compile warnings
2ba6ee6d00df driver:GPU: add gpu driver
Signed-off-by: shanlong.li <shanlong.li@starfivetech.com>
Change-Id: I8ac4ba0038e8ba48c48d615f8700c49c7ff706b9
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Fri, 12 Jan 2024 08:35:11 +0000 (17:35 +0900)]
drm/vs: rename drm driver name for starfive prebuilt gbm
The prebuilt libgbm buffer menager requires "starfive" drm driver
name to initialize and without the "starfive" drm driver, prebuilt
gpu ddk is failed to initialize gl. To use starfive prebuilt gpu
binary, use name as "starfive".
Change-Id: I92c7b6ba90f2aae9ed4035cd82ba0b57115ad900
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Fri, 12 Jan 2024 06:36:32 +0000 (15:36 +0900)]
RISCV: config: tizen_visionfive2: Enable USB_DUMMY_HCD as module for usb hcd tetst
To support usb host hcd test, enable CONFIG_USB_DUMMY_HCD
as module.
Change-Id: I6811466c1be203e21ad469f99ba0e262ff740203
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 9 Jan 2024 08:42:06 +0000 (17:42 +0900)]
RISCV: config: tizen_visionfive2: Disable unnecessary modules
Disable unnecessary modules including DRM_I2C_*, BLK_DEV_NVME,
EFIVAR_FS.
Change-Id: I22daf65fa0f29e9896bed56e5326aff850557db5
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Jaehoon Chung [Wed, 3 Jan 2024 01:06:59 +0000 (10:06 +0900)]
RISCV: config: tizen_visionfive2: Enable TIZEN_INFORM_REBOOT
Enable TIZEN_INFORM_REBOOT configuration to save a reboot paramemter.
It will be parsed by u-boot.
Change-Id: I40a102e9293b339036d2db83f63d98df249acf25
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 2 Jan 2024 00:31:18 +0000 (09:31 +0900)]
misc: add Tizen reboot notifier for passing reboot parameter
To provide a reboot command with argument, add tien-inform-reboot.c file.
Its argument will be passed to U-boot, and u-boot will be parsing its argument.
Then it will be entering to a proper mode.
This patch is based on Tizen RPI4 kernel tree.
Change-Id: Icfcec0a26b1cf7a53c5c4352991463df9c67aed6
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Seung-Woo Kim [Tue, 9 Jan 2024 05:46:54 +0000 (14:46 +0900)]
RISCV: configs: tizen_visionfive2: Enable SND_SOC_JH7110_PWMDAC
Enable CONFIG_SND_SOC_JH7110_PWMDAC to support audio jack from
visionfive2 board.
Change-Id: If503cc4aec04f5dd7b2450037ccbe8023573b964
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Hal Feng [Mon, 14 Aug 2023 08:06:18 +0000 (16:06 +0800)]
riscv: dts: starfive: Add JH7110 PWM-DAC support
Add PWM-DAC support for StarFive JH7110 SoC.
Reviewed-by: Walker Chen <walker.chen@starfivetech.com>
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
(cherry picked from commit
be326bee09374a2ebd18cb5af8fcd6f1e7825260)
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I643966a59e0dfadb8f333878e693d30937213966
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Hal Feng [Mon, 14 Aug 2023 08:06:16 +0000 (16:06 +0800)]
ASoC: dt-bindings: Add StarFive JH7110 PWM-DAC controller
Add bindings for the PWM-DAC controller on the JH7110
RISC-V SoC by StarFive Ltd.
Change-Id: If19327ecb037721d36bcf5db4b5f43a33efb1d40
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
Link: https://lore.kernel.org/r/20230814080618.10036-2-hal.feng@starfivetech.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Uwe Kleine-König [Fri, 13 Oct 2023 22:19:49 +0000 (00:19 +0200)]
ASoC: starfive/jh7110-pwmdac: Convert to platform remove callback returning void
The .remove() callback for a platform driver returns an int which makes
many driver authors wrongly assume it's possible to do error handling by
returning an error code. However the value returned is ignored (apart
from emitting a warning) and this typically results in resource leaks.
To improve here there is a quest to make the remove callback return
void. In the first step of this quest all drivers are converted to
.remove_new(), which already returns void. Eventually after all drivers
are converted, .remove_new() will be renamed to .remove().
Trivially convert this driver from always returning zero in the remove
callback to the void returning variant.
Change-Id: Ie5519666aa24031a6da332db08983b4db94eeec7
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20231013221945.1489203-12-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Mark Brown [Mon, 11 Sep 2023 22:48:39 +0000 (23:48 +0100)]
ASoC: Update jh7110 PWM DAC for ops move
For some reason the JH7110 PWM DAC driver made it through build testing
in spite of not being updated for the move of probe() to the ops struct.
Make the required update.
Change-Id: I340aeec650efb93dd65ff79b61f2d45e349fd693
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Hal Feng [Mon, 14 Aug 2023 08:06:17 +0000 (16:06 +0800)]
ASoC: starfive: Add JH7110 PWM-DAC driver
Add PWM-DAC driver support for the StarFive JH7110 SoC.
Change-Id: If71867c4a72ac2b4c021b5a383e56d0de1eaa6f5
Reviewed-by: Walker Chen <walker.chen@starfivetech.com>
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
Link: https://lore.kernel.org/r/20230814080618.10036-3-hal.feng@starfivetech.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 8 Jan 2024 09:56:15 +0000 (18:56 +0900)]
RISCV: configs: tizen_visionfive2: Enable USB_CDNS3_STARFIVE_EXTCON
Enable USB_CDNS3_STARFIVE_EXTCON configuration.
Additionally, enable SOC_SIFIVE config. Some drivers can be using SOC_SIFIVE.
Change-Id: I2225e0d5b6a5ca3eefc0de91d44ff6be70e1a7b4
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 8 Jan 2024 09:51:44 +0000 (18:51 +0900)]
usb: cdns3: starfive: Disable USb 3.0 phy mode
This code is referred to v6.1 Tizen kernel.
There is a code to disconnect usb3.0 phy. It's only using usb2_mode.
To use sdb, tizen needs to use only usb2_mode.
Change-Id: Ie28f501ecd12f8f92e3a2fa653ee722c682bffa5
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Seung-Woo Kim [Thu, 24 Aug 2023 08:02:26 +0000 (17:02 +0900)]
WORKAROUND: usb: cdns3: Restore onchip memory reservation
Restore onchip meory reservation of disable in_ep when hw
configuration is not done as a workaround.
Without restoring, disabling and re-enabling eps causes
check failure of onchip memory reseration size.
This fixes usb communication failure of ffs_func_set_alt()
calling usb_ep_disable() and usb_ep_enable() for all ep.
Note: for non workaround, it should calculate exact reservation
size from ep type and usb speed and should restore out_ep memory
reservation when there is no more enabled out_ep.
Change-Id: Ifca0052f96fd777036e01b9ddb7ae6af54bba911
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Dongwoo Lee [Mon, 21 Aug 2023 11:25:43 +0000 (20:25 +0900)]
usb: gadget: f_fs: Limit the maximum length of data transferring
When the ffs daemons request transfer with large size buffer, the usb
subsystems below cannot filled the buffer at once and then the request
is stalled in f_fs_epfile_io function. In order to prevent this
situation, this limits maximum length of data as PAGE_SIZE.
Change-Id: Ib84b3493a56b21f33a07cf0533f8df71580b7540
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Jaehoon Chung [Thu, 21 Dec 2023 08:07:41 +0000 (17:07 +0900)]
usb: cdns3-starfive: Add extcon usb gadget state with always connected
Add extcon usb gadget state and set usb gadget state as connected.
The cdns3-starfive usb c port in visionfive2 board only has usb
d-/d+ lines and vbus and ground lines are used for power supply.
Because of the H/W limitation, it is not possible to detect usb
c port connected state.
In Tizen, deviced configures usb gadget functions only with the
usb connected state, so, to support usb gadget functionality,
the usb state should be set.
Change-Id: Ib951c105e3e8dfe5d1a2f0b921dabe6a7a8d61bc
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Xingyu Wu [Mon, 19 Jun 2023 08:57:37 +0000 (17:57 +0900)]
drm/verisilicon: hdmi: Add support audio hdmi driver
Add support hdmi audio driver of starfive JH7110. This driver is from
[1], and the imported patch list[2]. We modified to use struct
starfive_hmdi instead of struct inno_hdmi also added to use
legacy_dai_naming.
[1] https://github.com/starfive-tech/linux
[2] patch list from v5.15.y
5bec3220a8be drm:verisilicon:hdmi-audio:Adjust when to configure registers
5a302a7a25fe gpu:drm:Add audio function in inno hdmi
[jh80.chung: Fixed some build error]
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Change-Id: Iae0ec57f2cf588c7ca177f7e284968ca9e68c674
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 8 Jan 2024 06:20:01 +0000 (15:20 +0900)]
RISCV: configs: tizen_visionfive2: Enable SIFIVE_CCACHE
Enable SIFIVE_CCACHE to use SIFIVE_FLUSH.
Change-Id: I8389fc95370962e1666dd5b774fb3f96259668a8
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 8 Jan 2024 05:26:25 +0000 (14:26 +0900)]
drm/verisilicon: Add starfive_flush_dcache
There is a problem that the garbage cache value comes out when the
screen is displayed. Flush the cache by adding the flush feature.
The feature referred to v5.15 kernel.
Change-Id: I930d42cd11e55503e5acb2109674c4ea6f1e921a
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Hoegeun Kwon [Thu, 8 Jun 2023 11:26:29 +0000 (20:26 +0900)]
soc: sifive: ccache: Add flush feature
Add the ccache flush feature applied to kernel v5.15.
This feature flushes the garbage cache when output the screen.
Add "depends on SIFIVIE_CCACHE".
Change-Id: I855fd37416f028f6d7c9b9e1459462e4da7e1740
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 8 Jan 2024 03:30:35 +0000 (12:30 +0900)]
RISCV: configs: tizen_visionfive2: Enable SPI_PL022 config
Enable SPI_PL022 configuration to use spi device.
Change-Id: I2bc34a018c78b8744323d21b122f408254df6669
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 8 Jan 2024 02:57:12 +0000 (11:57 +0900)]
build: Add local build script for VisionFive2
Add local build script for VisionFive2.
This change is squash of below commits:
commit
7c34e2ea4586 ("build: Change module image size from 32M to 20M")
commit
9956753185f6 ("Build packages for different platforms")
commit
e876165aca8f ("build: add the separated device tree file")
commit
34a3215f6226 ("build: Add local build script for VisionFive2")
Change-Id: I0ca80fd1e383b9ce62797944fba1755e315fa9c7
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Anuj Jain [Fri, 6 Jan 2023 09:59:24 +0000 (15:29 +0530)]
Bluetooth: Add LE connection parameter update
Add support for BT_LE_CONN_PARAM in l2cap socket.
Change-Id: I2ed693da26ba2d3464b9997bf1880c6c136055cd
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
DoHyun Pyun [Thu, 4 Jul 2019 00:18:21 +0000 (09:18 +0900)]
Bluetooth: Fix the potential crash issue
There is a logic error in the event function. We should
check the callback function's parameter before calling.
Change-Id: I06a4a8c50317e5ec4ae8fe35e4b788105e090196
Fixes:
bde01c80dd51 ("Bluetooth: Set le data length command and event")
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Fri, 16 Sep 2016 10:07:22 +0000 (15:37 +0530)]
Bluetooth: Set le data length command and event
Sets the data length for the le data packet with in the
advised limits. MGMT command and event are added to handle
the setting of data length.
Change-Id: Ia5c2167743cc9a29190e5631973e9d52d41caa1d
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Fri, 16 Sep 2016 07:24:31 +0000 (12:54 +0530)]
Bluetooth: Read host suggested default le data length
This patch adds MGMT command and code for supporting reading
default le data length value set at the controller.
Change-Id: I2b81982dc26ed5af4a8f8a3d3913db5d64625260
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Fri, 16 Sep 2016 06:39:57 +0000 (12:09 +0530)]
Bluetooth: Write host suggested default le data length
This patch adds MGMT command and code for supporting write
default le data length command to the controller.
Change-Id: I3d2c8b622b7913a3ed542342e3ba8076c30dc279
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Fri, 16 Sep 2016 05:08:30 +0000 (10:38 +0530)]
Bluetooth: Read LE Max data length command
This patch adds the MGMT command and code to support reading
the maximum data length supported command for LE.
Change-Id: I4dc0041f2070de2ccb6a4164c8823612863c941e
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
h.sandeep [Fri, 16 Sep 2016 09:15:24 +0000 (14:45 +0530)]
Bluetooth: Fix IPSP connection callback event issue.
This patch fixes the IPSP connection callback event issue
between kernel and bluez layer.
Change-Id: Ia4d625aa8a6dbc9da89a7d9f12308af9c90d0594
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 15 Sep 2016 07:23:03 +0000 (12:53 +0530)]
Bluetooth: IPSP Connect/Disconnect apis
This patch adds MGMT code to support IPSP connect and
disconnect apis and handle connection state changed event.
Change-Id: I1c41ec4f38cf9a108e443def3bc23c1b964e2985
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 15 Sep 2016 04:42:09 +0000 (10:12 +0530)]
Bluetooth: Add support to enable/disable IPSP
This patch supports MGMT commands and code to enable or disable
IPSP 6LowPan features.
Change-Id: Ia866ecfa517c7d7e4320f17d94d80dfeb9261e59
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 8 Sep 2016 10:51:01 +0000 (16:21 +0530)]
Bluetooth: Fix issue in the Set LE privacy function.
This patch fixes not to check the hdev power before setting
LE Privacy.
Change-Id: I344ea13b1d90527e3e7554ec616cdc640b85159c
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Mon, 12 Sep 2016 07:16:44 +0000 (12:46 +0530)]
Bluetooth: Store the key if auth type is P192
This patch allows to store the key after authentication
if auth type is "HCI_LK_AUTH_COMBINATION_P192"
Change-Id: Ie44dbe7dfec361edab61aceaf9b2ca4057b88fa5
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 8 Sep 2016 11:31:39 +0000 (17:01 +0530)]
Bluetooth: Cancel the Sniff timer
This patch adds code to cancel the sniff timer.
Change-Id: I756d3b08acf6462044d1fb204064fe12ce1238c1
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 8 Sep 2016 11:10:50 +0000 (16:40 +0530)]
Bluetooth: Enable sniff mode for incoming connection
Add provision to set the link poilicy to enable sniff mode
for incoming connection.
Change-Id: Ifff9e9f0838f26a6c96d81f4cbaae43429aa231f
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 8 Sep 2016 10:31:23 +0000 (16:01 +0530)]
Bluetooth: Modify fast connectable type.
This patch modifies the fast connectable function
to just set the type.
Change-Id: I0cce96f85d823f9798ae7f147c4e33ce7b18e0e3
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 8 Sep 2016 09:41:28 +0000 (15:11 +0530)]
Bluetooth: Send Authentication Request command on pairing failure
This patch allows to send HCI_OP_AUTH_REQUESTED command
to the remote device if pairing failure happens because
of pin or key missing error.
Change-Id: I9c28394dc06b22fd5fe9e58ac0b7d728c086bde4
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 8 Sep 2016 09:24:54 +0000 (14:54 +0530)]
Bluetooth: Enable inquiry and page scan
This patch enables the inquiry and page scan after ACL
disconnection with one device and if there are no other
devices connected.
Change-Id: Ifb28be7d23f237d35112b2e0739ed55169baacf7
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 8 Sep 2016 07:34:11 +0000 (13:04 +0530)]
Bluetooth: Change authentication requirement.
This patch updates the authentication requirement to general
MITM if local and remote device IO capabilities are not
NO_INPUT_NO_OUTPUT.
Change-Id: Ie3955c3f8287418e74af20d40bdf30d0f1963e31
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 8 Sep 2016 06:54:43 +0000 (12:24 +0530)]
Bluetooth: Set link Supervision timeout for a connection
This patch allows to set the supervision timeout for a connection
if the device role is master.
Change-Id: I7897167ec07803f3059f2ab4d3314b0b7a951533
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 8 Sep 2016 05:51:06 +0000 (11:21 +0530)]
Bluetooth: Set filter policy for LE connection
This patch sets the filter policy to a default value 0x01 during
LE auto connection if the destination address is not set. And it
updates the destination address once the LE connection complete
event is recieved during LE auto connection. And for it checks
valid destination address before cancelling LE connection when
connection timeout occurs.
Change-Id: I9877556c0b0ab4826f5f4934ead4d85b7837036d
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
[squash patches, LE connection policy, set dest address and check dest address before cancelling connection]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Wed, 7 Sep 2016 09:52:08 +0000 (15:22 +0530)]
Bluetooth: Get Advertising TX power
This patch adds MGMT command to read the advertising TX power.
Change-Id: Ide9e5d332f034928d2eae2cbd68a025a0d42be1b
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 8 Sep 2016 07:07:45 +0000 (12:37 +0530)]
Bluetooth: Set the link for SCO connection
This patch sets the link policy for SCO/eSCO connection.
Change-Id: I71caef5a3887f73a10329b6886c8cf52b80e8d37
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
[add link policy setting in sco connection]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Tue, 6 Sep 2016 11:08:36 +0000 (16:38 +0530)]
Bluetooth: Add MGMT command to set SCO settings
Added code to set sco settings.
Change-Id: I37aa572436241b06e00d1e9e75964aac747eeba5
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
[remove sco link policy part]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 8 Sep 2016 05:01:17 +0000 (10:31 +0530)]
Bluetooth: Add multiple LE advertise state change event
This patch adds code for providing multiple LE advertisement state
changed event to upper layer.
Change-Id: I58fb8044e74402376ec30b121081edce7c8709d1
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
[divide hci_vendor_mutli_adv_state_change_evt and remove hci event structure from mgmt]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 8 Sep 2016 04:40:03 +0000 (10:10 +0530)]
Bluetooth: Add LE device found MGMT event
This patch adds new MGMT event for LE device discovery and allows
the handling of all advertisement packets in platform.
Change-Id: I1927acb75eff0b60a5899898c6d7a000e1a108ef
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Seung-Woo Kim [Wed, 28 Sep 2016 16:59:05 +0000 (01:59 +0900)]
Bluetooth: fix vendor ext rssi link alert event
This patch fixes style for rssi link alert event from vendor
specific group ext.
Change-Id: I0e7003e417c5f5a590cce8264caccad515dd3c10
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Wed, 7 Sep 2016 11:17:58 +0000 (16:47 +0530)]
Bluetooth: Add H/W TX timeout error MGMT event
This patch sends the H/W TX timeout error MGMT event if HCI command
timeout occurs after sending HCI commands.
Change-Id: I5eb593f2fe4d31c404dd94ef582790e47d03b10a
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Wed, 7 Sep 2016 10:12:22 +0000 (15:42 +0530)]
Bluetooth: Add hardware error MGMT event
Add code to handle hardware error MGMT event.
Change-Id: I5875ea2aeae7aba95c1f8e15b456704dc6bcdee4
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 8 Sep 2016 05:26:15 +0000 (10:56 +0530)]
Bluetooth: Add LE vendor specific event handler
This patch adds the vendor specific LE meta event handler.
It handles the vendor specific handles like,
LE_MULTI_ADV_STATE_CHANGE_SUB_EVENT, LE_RSSI_LINK_ALERT.
Change-Id: I1f344a31e36f9c7442fe0bd8b598e67d9f5fb9bf
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
[divide hci vendor speicif group event function]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 25 Aug 2016 07:16:07 +0000 (12:46 +0530)]
Bluetooth: Add set LE scan parameter feature
Added new MGMT command to set LE scan parameters
Change-Id: I5ea660f97e93dfcc72273971ad0250e7f582f718
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 25 Aug 2016 06:43:09 +0000 (12:13 +0530)]
Bluetooth: Set Manufacturer data feature
Added new MGMT command to set the manufacturer data
in the BR/EDR packet.
Change-Id: Ie08062f4cad0c676deab94fd95fdc1a8c5602135
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 25 Aug 2016 06:28:22 +0000 (11:58 +0530)]
Bluetooth: Add LE connection parameter update procedure
Added new MGMT command to update LE connection parameters
Change-Id: I6ae16513437cd42d40e75958aa8415baa1cbedbb
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 25 Aug 2016 06:11:34 +0000 (11:41 +0530)]
Bluetooth: Add stop LE auto connection feature
Added new MGMT command to disable LE auto connection.
Change-Id: I1f5f61b83227501ad54019008b405fd47fd722a3
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 25 Aug 2016 05:53:02 +0000 (11:23 +0530)]
Bluetooth: Add BT LE discovery feature
This patch adds new MGMT commands to start LE discovery separately
and handles LE discovery state.
Change-Id: I85958b8c2b5c7e28f57c69e86037ab1e61a75db0
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Thu, 25 Aug 2016 04:47:19 +0000 (10:17 +0530)]
Bluetooth: Update device name on remote_name_event
This patch updates the device name on receiving the HCI event
remote_name_event during connection establishment.
Change-Id: I9a217e6760b1803a70af201a3f6903e722079749
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Wed, 24 Aug 2016 11:51:15 +0000 (17:21 +0530)]
Bluetooth: Add RSSI Monitor feature
Added feature support for monitoring the RSSI value.
Commands and events for enabling, disabling and setting
rssi threshold values are added.
Change-Id: I850643a9228afc017e54217a11826b9c6a68a96b
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Wed, 24 Aug 2016 09:32:56 +0000 (15:02 +0530)]
Bluetooth: Functions to modify WhiteList
This patch provides MGMT commands to manage the white
list which includes, adding, removing and clearing the
devices from white list.
Change-Id: If71107129d3a090ae81448a8122b76accd4f5522
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Wed, 24 Aug 2016 06:47:16 +0000 (12:17 +0530)]
Bluetooth: Add Advertising Packet Configuration
This patch provides new MGMT commands to configure
the advertising data and scan response data packets for
LE peripheral devices.
Change-Id: I914d13795f4fb58e5f2e1cadb55086f4bcbc82df
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
[jhoon20.kim: adjust some codes to apply it in 5.4 kernel]
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
h.sandeep [Thu, 1 Sep 2016 06:30:57 +0000 (12:00 +0530)]
Bluetooth: Add MGMT tizen_handlers and TIZEN_OP_BASE_CODE.
Added the basic skeleton code for tizen_mgmt_handlers and
mgmt_tizen.h header file.
Change-Id: I8f3100aa79e6673840ba561f0a9c50238ca0880b
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Sudha Bheemanna [Tue, 23 Aug 2016 11:37:10 +0000 (17:07 +0530)]
Bluetooth: Add "TIZEN_BT" flag
Added the tizen specific flag for use in adding tizen patches.
Change-Id: Ia391644fddbe600c8d845e0bf0808f587aa73e0c
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Jaehoon Chung [Fri, 5 Jan 2024 09:45:05 +0000 (18:45 +0900)]
RISCV: configs: tizen_visionfive2: Enable PCIE_STARFIVE config
Enable PCIE_STARFIVE config to use the usb hub.
Change-Id: Id865e0e55b4261e90f04465b0db291747d0b108e
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Minda Chen [Thu, 6 Apr 2023 11:11:41 +0000 (19:11 +0800)]
riscv: dts: starfive: Add full support for JH7110 and VisionFive 2 board
Merge all StarFive dts patches together.
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
Conflicts:
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
arch/riscv/boot/dts/starfive/jh7110.dtsi
[Backported from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_upstream]
Change-Id: I0b498d1c7694877a210026717bd1c4e8fffac22a
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Minda Chen [Thu, 6 Apr 2023 11:11:41 +0000 (19:11 +0800)]
pcie: starfive: add StarFive JH7110 PCIe driver.
Add PCIe controller driver for StarFive JH7110
SoC platform. The PCIe controller is PCIe 2.0, single lane.
Signed-off-by: Minda Chen <minda.chen@starfivetech.com>
[Backported from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_upstream]
Change-Id: I04b0fd6ef7085030ecc682de384b009e2e1d66fe
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Jaehoon Chung [Fri, 5 Jan 2024 05:25:25 +0000 (14:25 +0900)]
RISCV: configs: tizen_visionfive2: Enable CPU_FREQ config
Enable CPU_FREQ configuration. It was missed during version updating.
Change-Id: I6a2873886a51fb8dd3723c63c59648925a13ac9b
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 4 Jan 2024 04:58:36 +0000 (13:58 +0900)]
Add .gbs.conf file to build with version tag
Add .gbs.conf file to build with version tag.
Change-Id: Ice88e56227f6e04d85dc6d6ced532a626f85ba13
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 3 Jan 2024 11:08:41 +0000 (20:08 +0900)]
RISCV: configs: tizen_visionfive2: Enable DRM_VERISILICON
Enable DRM_VERISILICON and DRM_VERISILICON_STARFIVE_HDMI configurations.
Change-Id: I0117dc527af411af3b4786fc32bbc6c23340297b
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 18 Aug 2023 04:19:55 +0000 (13:19 +0900)]
clk: starfive: jh7110-sys: Set PLL0 rate to 1.5GHz
Set PLL0 rate to 1.5GHz. Change the parent of cpu_root clock
and the divider of cpu_core before setting.
This patch is taken from patch that was posted on mailing.
Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Reviewed-by: Hal Feng <hal.feng@starfivetech.com>
Change-Id: Ib418a6321555c045effcb0580e0c91d80a7a2043
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Keith Zhao [Mon, 4 Dec 2023 12:33:15 +0000 (20:33 +0800)]
drm/vs: simple encoder
add simple encoder for dsi bridge
[jh80.chung: taken from https://patchew.org/linux/
20231204123315.28456-1-keith.zhao@starfivetech.com/]
Change-Id: Ib725116fa438d27b920b5b2b5092be1e5d2234b6
Signed-off-by: Keith Zhao <keith.zhao@starfivetech.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Keith Zhao [Mon, 4 Dec 2023 12:33:14 +0000 (20:33 +0800)]
drm/vs: Add hdmi driver
add hdmi driver as encoder and connect
[jh80.chung: taken from https://patchew.org/linux/
20231204123315.28456-1-keith.zhao@starfivetech.com/]
Change-Id: I99939f536fcd57f87a974bb1a33f2e1418679444
Signed-off-by: Keith Zhao <keith.zhao@starfivetech.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Keith Zhao [Mon, 4 Dec 2023 12:33:13 +0000 (20:33 +0800)]
drm/vs: Add KMS crtc&plane
add 2 crtcs and 8 planes in vs-drm
[jh80.chung: taken from https://patchew.org/linux/
20231204123315.28456-1-keith.zhao@starfivetech.com/]
Change-Id: Idd2271590e0131c3a3c051d2f3ee8ebb3c6ec63b
Signed-off-by: Keith Zhao <keith.zhao@starfivetech.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Keith Zhao [Mon, 4 Dec 2023 12:33:12 +0000 (20:33 +0800)]
drm/vs: Register DRM device
Implement drm device registration interface
[jh80.chung: taken from https://patchew.org/linux/
20231204123315.28456-1-keith.zhao@starfivetech.com/]
Change-Id: Ibdcb48549a6bd658b320290960231ed68dbad4d0
Signed-off-by: Keith Zhao <keith.zhao@starfivetech.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Keith Zhao [Mon, 4 Dec 2023 12:33:11 +0000 (20:33 +0800)]
riscv: dts: starfive: jh7110: display subsystem
Add the dc controller and hdmi node for the Starfive JH7110 SoC.
[jh80.chung: taken from https://patchew.org/linux/
20231204123315.28456-1-keith.zhao@starfivetech.com/]
Change-Id: Ibc45e2ea87759d6b945e33abd2e5d14f42027bb0
Signed-off-by: Keith Zhao <keith.zhao@starfivetech.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Keith Zhao [Mon, 4 Dec 2023 12:33:10 +0000 (20:33 +0800)]
dt-bindings: display: Add yamls for JH7110 display system
StarFive SoCs JH7110 display system:
dc controller, hdmi controller,
encoder, vout syscon.
add the path of yaml file in MAINTAINERS
[jh80.chung: taken from https://patchew.org/linux/
20231204123315.28456-1-keith.zhao@starfivetech.com/]
Change-Id: Id50df1bdc7cebf92c65ff8cc39a9ca36211b2bce
Signed-off-by: Keith Zhao <keith.zhao@starfivetech.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 27 Dec 2023 11:15:49 +0000 (20:15 +0900)]
packaging: Add python3-devel as BuildRequires
Add python3-devel as BuildRequires.
It needs to build the perf tool.
Change-Id: Iae6ea8b8d4ce86cff9c8664b358d92eaf952d70e
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 27 Dec 2023 09:27:18 +0000 (18:27 +0900)]
packaging: Add NO_LIBTRACEEVENT option to build perf tool
Add NO_LIBTRACEEVENT=1 option to build perf tool.
During building perf tool, there is an below error.
[ 39s] Makefile.config:1144: *** ERROR: libtraceevent is missing. Please install libtraceevent-dev/libtraceevent-devel or build with NO_LIBTRACEEVENT=
Change-Id: I17238b6407449fb336a57b474475961bd15a96ec
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>