-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(kernel-rolling) spi: qspi: Add Phytium spi/qspi controller support #210
(kernel-rolling) spi: qspi: Add Phytium spi/qspi controller support #210
Commits on May 29, 2024
-
dt-bindings: spi: phyhtium: add bindings for Phytium SPI
Add binding documentation for Phytium SPI controller. Signed-off-by: yuanxia <[email protected]> Signed-off-by: Chen Baozi <[email protected]> Signed-off-by: Wang Yinfeng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bffa506 - Browse repository at this point
Copy the full SHA bffa506View commit details -
arm64: spi: add Phytium SPI controller support
Add support for the Phytium SPI controller driver. Signed-off-by: yuanxia <[email protected]> Signed-off-by: Zhang Yiqun <[email protected]> Signed-off-by: Peng Min <[email protected]> Signed-off-by: Chen Baozi <[email protected]> Signed-off-by: Wang Yinfeng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 681bc33 - Browse repository at this point
Copy the full SHA 681bc33View commit details -
dt-bindings: spi: phytium-qspi: Document device tree binding
Add the device tree binding documentation for Phytium QuadSPI controller. Signed-off-by: yuanxia <[email protected]> Signed-off-by: Chen Baozi <[email protected]> Signed-off-by: Wang Yinfeng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 010ba20 - Browse repository at this point
Copy the full SHA 010ba20View commit details -
arm64: spi: Phytium-qspi: Add support for Phytium QSPI controller
This patch adds a new driver for Phytium QuadSPI (QSPI) controller, which is used to access NOR Flash memory slaves. The driver implements spi-mem framework and does not support generic SPI operations. Signed-off-by: yuanxia <[email protected]> Signed-off-by: Zhou Yulin <[email protected]> Signed-off-by: Chen Baozi <[email protected]> Signed-off-by: Wang Yinfeng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 609e0ae - Browse repository at this point
Copy the full SHA 609e0aeView commit details -
arm64: spi: Phytium: Fix controller unregister order
The driver used devm_spi_register_controller() on bind. Therefore, __device_release_driver() first invokes phytium_spi_remove_host() before unregistering the SPI controller via devres_release_all() when unbinding. Since phytium_spi_remove_host() shuts down the chip, rendering the SPI bus inaccessible even through the SPI controller is still registered. When the SPI controller is subsequently unregistered, it unbinds all its slave devices. Because their drivers cannot access the SPI bus, the slave devices may be left in an improper state. Signed-off-by: yuanxia <[email protected]> Signed-off-by: Chen Baozi <[email protected]> Signed-off-by: Wang Yinfeng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 966f078 - Browse repository at this point
Copy the full SHA 966f078View commit details -
arm64: spi: phytium: Extract right pointer from driver_data in PM ops
Since the platform driver wraps the core phytium_spi into phytium_spi_clk struct to include a platform clock, the pointer extract from driver_data should also be 'struct phytium_spi_clk *'. Signed-off-by: yuanxia <[email protected]> Reported-by: Zhou Yulin <[email protected]> Signed-off-by: Chen Baozi <[email protected]> Signed-off-by: Wang Yinfeng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 71b5750 - Browse repository at this point
Copy the full SHA 71b5750View commit details -
arm64: spi: Phytium: Fix r/w sck_sel_mask 3 to 7 in SPI/QSPI driver
The mask of sck_sel should be 0x7 instead of 0x3, otherwise the split is set differently than expected. Signed-off-by: yuanxia <[email protected]> Signed-off-by: Liu Tianyu <[email protected]> Signed-off-by: Li Mingzhe <[email protected]> Signed-off-by: Wang Yinfeng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e6b10fe - Browse repository at this point
Copy the full SHA e6b10feView commit details -
arm64: spi: Phytium: Adapt SPI driver to use DDMA interface
Code has been modified and added in the SPI driver section to adapt to the DDMA controller. Signed-off-by: yuanxia <[email protected]> Signed-off-by: Liu Tianyu <[email protected]> Signed-off-by: Wang Hanmo <[email protected]> Signed-off-by: Wang Yinfeng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e0203eb - Browse repository at this point
Copy the full SHA e0203ebView commit details -
arm64: phytium: UEFI mode acpi table support for qspi/spi driver
Add acpi table support for qspi/spi driver, supporting parsing of ACPI tables. Signed-off-by: yuanxia <[email protected]> Signed-off-by: Wang Hanmo <[email protected]> Signed-off-by: Wang Yinfeng <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ec76e30 - Browse repository at this point
Copy the full SHA ec76e30View commit details -
mtd: Remove an unused-variable adev
There was an unused-variable 'adev' brings a warning. Resolve following error when '-Werror' was enabled: drivers/mtd/mtdpart.c: In function ‘mtd_part_acpi_parse’: drivers/mtd/mtdpart.c:584:29: error: unused variable ‘adev’ [-Werror=unused-variable] 584 | struct acpi_device *adev; | ^~~~ cc1: all warnings being treated as errors Reported-by: Mingcong Bai <[email protected]> Signed-off-by: WangYuli <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3c6b717 - Browse repository at this point
Copy the full SHA 3c6b717View commit details