- Sep 04, 2024
-
-
Robert Nelson authored
6.6.32-ti-arm64-r11 bb.org_defconfig TI SDK: 10.00.07 6.6 TI Delta: https://github.com/RobertCNelson/ti-linux-kernel/compare/8636139a4976bc9076db79c08dfbf82230fdcfe0...6de6e418c80edfbe08f4a5f851c721bd60c0123b BBDTBS: beagleboard/BeagleBoard-DeviceTrees@9a1673d0 WIRELESS_REGDB: https://git.kernel.org/pub/scm/linux/kernel/git/wens/wireless-regdb.git/commit/?id=bf55ed481432cbd91e05b54c5f7bccd687c69bb7 WPANUSB: beagleconnect/linux/wpanusb@6aa9bf65 Signed-off-by:
Robert Nelson <robertcnelson@gmail.com>
-
Robert Nelson authored
-
Robert Nelson authored
Signed-off-by:
Robert Nelson <robertcnelson@gmail.com>
-
Robert Nelson authored
Signed-off-by:
Robert Nelson <robertcnelson@gmail.com>
-
Robert Nelson authored
Signed-off-by:
Robert Nelson <robertcnelson@gmail.com>
-
Robert Nelson authored
Signed-off-by:
Robert Nelson <robertcnelson@gmail.com>
-
Ben Hutchings authored
We want to enable use of the Android ashmem and binder drivers to support Anbox, but they should not be built-in as that would waste resources and increase security attack surface on systems that don't need them. Export the currently un-exported symbols they depend on.
-
Ben Hutchings authored
We want to enable use of the Android ashmem and binder drivers to support Anbox, but they should not be built-in as that would waste resources and increase security attack surface on systems that don't need them. - Add a MODULE_LICENSE declaration to ashmem - Change the Makefiles to build each driver as an object with the "_linux" suffix (which is what Anbox expects) - Change config symbol types to tristate Update: In upstream commit 721412ed titled "staging: remove ashmem" the ashmem driver was removed entirely. Secondary commit message: "The mainline replacement for ashmem is memfd, so remove the legacy code from drivers/staging/" Consequently, the ashmem part of this patch has been removed.
-
Robert Nelson authored
Signed-off-by:
Robert Nelson <robertcnelson@gmail.com>
-
Kishon Vijay Abraham I authored
Lets drive Sierra clock output and workaround a TIFS/DM bug for now. Signed-off-by:
Kishon Vijay Abraham I <kishon@ti.com>
-
Robert Nelson authored
Signed-off-by:
Robert Nelson <robertcnelson@gmail.com>
-
Robert Nelson authored
Signed-off-by:
Robert Nelson <robertcnelson@gmail.com>
-
Nishanth Menon authored
Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
When frequency is not exact, the debug information is informative, but not necessarily informational to the end user. Lower the severity down. Fixes: 3e9bee11 ("ASoC: davinci-mcasp: Restructure the davinci_mcasp_calc_clk_div()") Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Jason Kridner authored
-
Robert Nelson authored
ieee802154_xmit_hw_error() is the right helper to call when a transmission has failed for a non-determined (and probably not IEEE802.15.4 specific) reason. Let's use this helper instead of open-coding it. Based on: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.5-rc1&id=35f34ee102a5b2376f4b4700ac017b8f2770e754 Signed-off-by:
Robert Nelson <robertcnelson@gmail.com>
-
Jason Kridner authored
From https://github.com/statropy/wpanusb
-
Ayush Singh authored
Add bootloader-backdoor-gpios which is required for enabling bootloader backdoor for flashing firmware to cc1352p7. Also fix the incorrect reset-gpio. Signed-off-by:
Ayush Singh <ayush@beagleboard.org>
-
Ayush Singh authored
bootloader-backdoor-gpio (along with reset-gpio) is used to enable bootloader backdoor for flashing new firmware. The pin and pin level to enable bootloader backdoor is configured using the following CCFG variables in cc1352p7: - SET_CCFG_BL_CONFIG_BL_PIN_NO - SET_CCFG_BL_CONFIG_BL_LEVEL Acked-by:
Conor Dooley <conor.dooley@microchip.com> Acked-by:
Rob Herring (Arm) <robh@kernel.org> Signed-off-by:
Ayush Singh <ayush@beagleboard.org>
-
Robert Nelson authored
BeagleBoard.org BeagleY-AI is an easy to use, affordable open source hardware single board computer based on the Texas Instruments AM67A, which features a quad-core 64-bit Arm CPU subsystem, 2 general-purpose digital-signal-processors (DSP) and matrix-multiply-accelerators (MMA), GPU, vision and deep learning accelerators, and multiple Arm Cortex-R5 cores for low-power, low-latency GPIO control. https://beagley-ai.org/ https://openbeagle.org/beagley-ai/beagley-ai Signed-off-by:
Robert Nelson <robertcnelson@gmail.com> Reviewed-by:
Roger Quadros <rogerq@kernel.org> Reviewed-by:
Jared McArthur <j-mcarthur@ti.com> Link: https://lore.kernel.org/r/20240829213929.48540-2-robertcnelson@gmail.com Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Robert Nelson authored
This board is based on ti,j722s family using the am67a variation. https://beagley-ai.org/ https://openbeagle.org/beagley-ai/beagley-ai Signed-off-by:
Robert Nelson <robertcnelson@gmail.com> Reviewed-by:
Jared McArthur <j-mcarthur@ti.com> Acked-by:
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240829213929.48540-1-robertcnelson@gmail.com Signed-off-by:
Nishanth Menon <nm@ti.com>
-
- Jul 26, 2024
-
-
MD Danish Anwar authored
There is a HW errata for 10M issues which is present on AM65x but not on AM64x. The workaround for this errata is to enable IEP1. Since both AM64x and AM65x shares the same ICSSG firmware, firmware is expecting IEP1 to be enabled for both AM64x and AM65x. As a result 10M Link fails on AM64x. Enable the quirk_10m_link_issue so that IEP1 can be enabled for AM64x Signed-off-by:
MD Danish Anwar <danishanwar@ti.com> Reviewed-by:
Daolin Qiu <d-qiu@ti.com>
-
Santhosh Kumar K authored
PHY is tuned with optimal tuning point which allows controller to run at higher speeds. Hence, increase the data writes' throughput in OSPI/QSPI NAND flashes by enabling PHY for data writes to the NAND flash devices. The aim is to enable PHY only for the OSPI/QSPI NAND data writes, so, exclude other operations like register writes to NAND flashes, register and data writes to NOR flashes by introducing a check for the 'n_tx' (op->data.nbytes) value before enabling. Currently, OSPI/QSPI NOR's highest page size is 512 bytes, so, check whether 'n_tx' is greater than or equal to 1024. Signed-off-by:
Santhosh Kumar K <s-k6@ti.com>
-
Santhosh Kumar K authored
Utilising PHY is limited to read operation, but, PHY can be enabled for data writes, register reads and/or writes in future. Hence, move the cqspi_phy_enable() and cqspi_readdata_capture() functions above all the read and write operations. Signed-off-by:
Santhosh Kumar K <s-k6@ti.com>
-
- Jul 24, 2024
-
-
Andrew Davis authored
Multiple mailbox users can share one interrupt line. This flag was mistakenly dropped as part of the FIFO removal. Mark the IRQ as shared. Reported-by:
Beleswar Padhi <b-padhi@ti.com> Fixes: 3f58c1f4 ("mailbox: omap: Remove kernel FIFO message queuing") Signed-off-by:
Andrew Davis <afd@ti.com> Tested-by:
Beleswar Padhi <b-padhi@ti.com> Signed-off-by:
Jassi Brar <jassisinghbrar@gmail.com>
-
Andrew Davis authored
The kernel FIFO queue has a couple issues. The biggest issue is that it causes extra latency in a path that can be used in real-time tasks, such as communication with real-time remote processors. The whole FIFO idea itself looks to be a leftover from before the unified mailbox framework. The current mailbox framework expects mbox_chan_received_data() to be called with data immediately as it arrives. Remove the FIFO and pass the messages to the mailbox framework directly as part of a threaded IRQ handler. Signed-off-by:
Andrew Davis <afd@ti.com> Signed-off-by:
Jassi Brar <jassisinghbrar@gmail.com>
-
Andrew Davis authored
It is much more clear to check if the hardware FIFO is full and return EBUSY if true. This allows us to also remove one level of indention from the core of this function. It also makes the similarities between omap_mbox_chan_send_noirq() and omap_mbox_chan_send() more obvious. Signed-off-by:
Andrew Davis <afd@ti.com> Signed-off-by:
Jassi Brar <jassisinghbrar@gmail.com>
-
Andrew Davis authored
This function only checks if mbox_chan *chan is not NULL, but that cannot be the case and if it was returning NULL which is not later checked doesn't save us from this. The second check for chan->con_priv is completely redundant as if it was NULL we would return NULL just the same. Simply dereference con_priv directly and remove this function. Signed-off-by:
Andrew Davis <afd@ti.com> Signed-off-by:
Jassi Brar <jassisinghbrar@gmail.com>
-
Andrew Davis authored
The driver stores a list of omap_mbox structs so it can later use it to lookup the mailbox names in of_xlate. This same information is already available in the mbox_controller passed into of_xlate. Simply use that data and remove the extra allocation and storage of the omap_mbox list. Signed-off-by:
Andrew Davis <afd@ti.com> Signed-off-by:
Jassi Brar <jassisinghbrar@gmail.com>
-
Andrew Davis authored
The mbox_controller struct is only needed in the probe function. Make it a local variable instead of storing a copy in omap_mbox_device to simplify that struct. Signed-off-by:
Andrew Davis <afd@ti.com> Signed-off-by:
Jassi Brar <jassisinghbrar@gmail.com>
-
Andrew Davis authored
Currently the driver loops through all mailbox child nodes twice, once to read in data from each node, and again to make use of this data. Instead read the data and make use of it in one pass. This removes the need for several temporary data structures and reduces the complexity of this main loop in probe. Signed-off-by:
Andrew Davis <afd@ti.com> Signed-off-by:
Jassi Brar <jassisinghbrar@gmail.com>
-
Andrew Davis authored
Use device life-cycle managed runtime enable function to simplify probe and exit paths. Signed-off-by:
Andrew Davis <afd@ti.com> Signed-off-by:
Jassi Brar <jassisinghbrar@gmail.com>
-
Andrew Davis authored
The driver currently creates a new device class "mbox". Then for each mailbox adds a device to that class. This class provides no file operations provided for any userspace users of this device class. It may have been extended to be functional in our vendor tree at some point, but that is not the case anymore, nor does it matter for the upstream tree. Remove this device class and related functions and variables. This also allows us to switch to module_platform_driver() as there is nothing left to do in module_init(). Signed-off-by:
Andrew Davis <afd@ti.com> Signed-off-by:
Jassi Brar <jassisinghbrar@gmail.com>
-
Andrew Davis authored
The type of message sent using omap-mailbox is always u32. The definition of mbox_msg_t is uintptr_t which is wrong as that type changes based on the architecture (32bit vs 64bit). This type should have been defined as u32. Instead of making that change here, simply remove the header usage and fix the last couple users of the same in this driver. Signed-off-by:
Andrew Davis <afd@ti.com> Signed-off-by:
Jassi Brar <jassisinghbrar@gmail.com>
-
Andrew Davis authored
The mbox_kfifo_size can be changed at runtime, the sanity check on it's value should be done when it is used, not only once at init time. Signed-off-by:
Andrew Davis <afd@ti.com> Signed-off-by:
Jassi Brar <jassisinghbrar@gmail.com>
-
Andrew Davis authored
This is only used internal to the driver, move it out of the public header and into the driver file. While we are here, this is not used as a bitwise, so drop that and make it a simple enum type. Signed-off-by:
Andrew Davis <afd@ti.com> Signed-off-by:
Jassi Brar <jassisinghbrar@gmail.com>
-
Andrew Davis authored
This function is not used, remove this function. Signed-off-by:
Andrew Davis <afd@ti.com> Signed-off-by:
Jassi Brar <jassisinghbrar@gmail.com>
-