summaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* clk: composite: fix possible NULL pointer dereferenceAhmad Fatoum2022-03-081-3/+7
| | | | | | | | | | | A composite clock is at most composed of a mux, a divider and a gate, but it may lack one or two of these components. In that case, a NULL pointer is passed, so we need to deal with this case. Fixes: 8b0ca7a885ea ("clk: composite: add clk_hw registration functions") Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220307170106.3937198-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* regulator: fix enabling of always-on regulatorsAhmad Fatoum2022-03-011-1/+1
| | | | | | | | | We need to enable on either case, not if both are given. Fixes: 9f542bd73948 ("regulator: respect "regulator-always-on" property") Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220228145612.867073-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/video'Sascha Hauer2022-02-186-0/+1499
|\
| * video: add Ilitek ILI9341 panel supportAhmad Fatoum2022-02-083-0/+553
| | | | | | | | | | | | | | | | | | Port the Linux v5.15 DRM panel driver to barebox. This has been tested against a STM32F4 LTDC. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220202223023.341817-5-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * video: add MIPI DBI Type C Option 3 supportAhmad Fatoum2022-02-083-0/+471
| | | | | | | | | | | | | | | | | | Import the Linux v5.15 state of the driver to allow easy porting of MIPI-DBI displays like the Ilitek 9431 added in a follow-up commit. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220202223023.341817-4-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * video: add driver for STM32 LCD-TFT Display ControllerAhmad Fatoum2022-02-074-0/+475
| | | | | | | | | | | | | | | | | | | | | | | | | | This driver has been tested on a STM32F429 connected to an Ilitek 9341 Display for which support is added in a follow-up commit. The same driver can be used (but wasn't tested) for the STM32MP1 as well. The official ST evaluation kits all use MIPI-DSI for which we still lack support. The LXA MC-1 has a parallel display connected to the LTDC, but I didn't have one readily available to test. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220202223023.341817-3-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/tests'Sascha Hauer2022-02-181-4/+23
|\ \
| * | of: silence of_diff output for negative indentsAhmad Fatoum2022-02-071-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Negative indents just led to strange behavior so far. Repurpose them to mean that the caller is not interested in console output. This makes them useful for negative tests (Sanity check that two different nodes are indeed different). Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220207082801.1052894-4-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: report whether of_diff found differences in return codeAhmad Fatoum2022-02-071-3/+10
| |/ | | | | | | | | | | | | | | | | | | | | Tests may want to leverage of_diff to verify that fixups proceeded as expected. of_diff lends itself nicely to that by being silent in case of success and just reporting diff on error. Add a return code to make it usable in follow-up tests. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220207082801.1052894-3-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/stm32'Sascha Hauer2022-02-1827-38/+2529
|\ \
| * | clocksource: add STM32 Timer driverAhmad Fatoum2022-02-013-0/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | The STM32 timer is 32-bit and thus takes longer to wrap around than the 24-bit SysTick timer. Add a driver for it at a higher priority. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220131081146.1883859-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | clocksource: add ARMv7-M SysTick driverAhmad Fatoum2022-02-013-0/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SysTick is a simple 24-bit system timer that's required for ARMv7-M implementations. Add a clocksource driver for it for Cortex-M system support. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220131081146.1883859-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | clk: add clock driver for stm32f4 and stm32f7Ahmad Fatoum2022-02-013-0/+1908
| | | | | | | | | | | | | | | | | | | | | | | | | | | Port over the Linux v5.16 state of the clock driver. Tested on a STM32F429. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220131075725.1873026-13-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: stm32mp: allow driver reuse for STM32 MCUsAhmad Fatoum2022-02-0110-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most peripheral driver are usable for both STM32 MPUs and MCUs, but so far we they were only used for STM32MP1. In preparation for adding MCU support, introduce a new ARCH_STM32 selected by ARCH_STM32MP and migrate common drivers to it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220131075725.1873026-12-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | clk: implement of_clk_add_hw_providerAhmad Fatoum2022-02-011-9/+34
| | | | | | | | | | | | | | | | | | | | | | | | New Linux drivers rather use of_clk_add_hw_provider, so port it over. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220131075725.1873026-10-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | clk: mux: export clk_mux_round_rateAhmad Fatoum2022-02-011-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Clock drivers may want to implement round rate for their custom clocks in term of clk_mux_round_rate. Export the function to facilitate this. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220131075725.1873026-9-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | clk: mux: add clk_hw registration functionsAhmad Fatoum2022-02-011-1/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Save users the hassle of opencoding by providing wrappers with the same Linux semantics: names are duplicated, same arguments and struct clk_hw is returned. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220131075725.1873026-8-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | clk: clk-fixed: add clk_hw registration functionsAhmad Fatoum2022-02-011-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Save users the hassle of opencoding by providing wrappers with the same Linux semantics: names are duplicated, same arguments and struct clk_hw is returned. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220131075725.1873026-6-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | clk: fixed-factor: add clk_hw registration functionsAhmad Fatoum2022-02-011-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Save users the hassle of opencoding by providing wrappers with the same Linux semantics: names are duplicated, same arguments and struct clk_hw is returned. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220131075725.1873026-5-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | clk: divider: add clk_hw registration functionsAhmad Fatoum2022-02-011-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Save users the hassle of opencoding by providing wrappers with the same Linux semantics: names are duplicated, same arguments and struct clk_hw is returned. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220131075725.1873026-4-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | clk: composite: add clk_hw registration functionsAhmad Fatoum2022-02-011-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Save users the hassle of opencoding by providing wrappers with the same Linux semantics: names are duplicated, same arguments and struct clk_hw is returned. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220131075725.1873026-3-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | reset: stm32: drop STM32 MCU support in favor of simple reset driverAhmad Fatoum2022-01-312-15/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RCC reset will eventually get more involved when we add SCMI support. Linux already has reset and clock control in the same driver. As we now have a simple driver that can toggle resets on the STM32 MCUs as well, we can drop the now duplicate support from the dedicated STM32 reset driver. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220131075338.1869305-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | reset: add simple reset controller supportAhmad Fatoum2022-01-313-0/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | Incoming STM32 MCU support will leverage this driver, so port it over from Linux v5.16. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220131075338.1869305-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/sata-mv'Sascha Hauer2022-02-181-7/+104
|\ \ \
| * | | ata: sata_mv: try probing multiple timesSteffen Trumtrar2022-01-201-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case of an un-recoverable probe error, try the whole sequence again, starting with the hard-reset of the core. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Link: https://lore.barebox.org/20220118140453.1860909-7-s.trumtrar@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ata: sata_mv: issue hard-reset on probeSteffen Trumtrar2022-01-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When strobing the EATARST signal, the core will generate a hard-reset instead of a soft-reset. Use this to have the core and ATA drive in a better defined state. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Link: https://lore.barebox.org/20220118140453.1860909-6-s.trumtrar@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ata: sata_mv: enable Generation 2 speed supportSteffen Trumtrar2022-01-201-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ARMADA-XP core supports the Gen2 speed. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Link: https://lore.barebox.org/20220118140453.1860909-5-s.trumtrar@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ata: sata_mv: handle the phy errataSteffen Trumtrar2022-01-201-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Copied from Linux v5.15 Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Link: https://lore.barebox.org/20220118140453.1860909-4-s.trumtrar@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ata: sata_mv: clear SERROR and en/disable EDMASteffen Trumtrar2022-01-201-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SControl registers shouldn't be accessed when EDMA is enabled. Also clear SError before any accesses. This register will show if anything went wrong with the phy accesses. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Link: https://lore.barebox.org/20220118140453.1860909-3-s.trumtrar@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ata: sata_mv: cleanup alignmentSteffen Trumtrar2022-01-201-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up the alignment of the defines. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Link: https://lore.barebox.org/20220118140453.1860909-2-s.trumtrar@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/rpi'Sascha Hauer2022-02-182-0/+86
|\ \ \ \
| * | | | ARM: rpi: move clk support to a separate driverOleksij Rempel2022-02-072-0/+86
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make deep-probe work properly, we need clock support be registered as driver to related device. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20220203104552.3158202-4-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/misc'Sascha Hauer2022-02-1810-34/+373
|\ \ \ \
| * | | | mtd: mtdram: add physically mapped ROM (mtd-rom) supportAhmad Fatoum2022-02-071-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already have mtd-ram support for accessing memory-mapped RAMs. Add support for the mtd-rom binding, so read-only access while using the driver can be enforced. This is e.g. useful for memory-mapped flash that can be normally read, but needs special handling for write and erasure. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220207075630.1014476-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | mtd: mtdram: discard superfluous codeAhmad Fatoum2022-02-071-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't need to get the exact same resource, we just requested. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220207075630.1014476-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | of_path: Fix typoSascha Hauer2022-02-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parition -> partition Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> parition# arch/arm/boards/globalscale-mirabox/binary.0
| * | | | Add Ricoh RN5T568 PMIC based watchdogJuergen Borleis2022-01-203-0/+153
| | | | | | | | | | | | | | | | | | | | | | | | | Link: https://lore.barebox.org/20220118082122.73204-2-jbe@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | Add the base Ricoh RN5T568 PMIC driverJuergen Borleis2022-01-203-0/+172
| | | | | | | | | | | | | | | | | | | | | | | | | Link: https://lore.barebox.org/20220118082122.73204-1-jbe@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | power: reset: Kconfig: fix copy-&-paste bug in help textUlrich Ölmann2022-01-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Link: https://lore.barebox.org/20220119144543.1944438-1-u.oelmann@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | block: efi-block-io: add devinfo callback for media infoAhmad Fatoum2022-01-201-15/+27
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's some useful info in efi_block_io_media that's only compiled in at debug log level. While we need not print it always, it would be nice to have this printed when doing devinfo. Add a custom devinfo callback that does so and that invokes the normal EFI devinfo afterwards. Defining DEBUG in the file will still print it early in probe as before. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/efi'Sascha Hauer2022-02-187-2/+257
|\ \ \ \
| * | | | misc: Add storage-by-uuid driverSascha Hauer2022-02-083-0/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a driver which matches to a "barebox,storage-by-uuid" compatible node. The driver looks for a storage device matching the given UUID and when found registers a new cdev for the device. This driver solved a very specific problem. On EFI the storage devices are not connected to any device tree node. barebox-state however expects a node to use as its backend. The obvious solution would be to create a partition with a specific partuuid and use that for state, in our special usecase though the storage device is partitioned with a MBR which doesn't have any space left to create a new partition. As this driver parses the of partition binding we can use that to create a partition in an unallocated are of the disk which is then used for state. This driver has the problem that it depends on storage devices which are not described in the device tree. This means it cannot work with deep probe. This is not a problem on EFI though. It's a special purpose driver, it's not recommended for general use. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Link: https://lore.barebox.org/20220207094953.949868-8-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | driver: Add functions to free devicesSascha Hauer2022-02-084-2/+34
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | struct device_d has some dynamically allocated members, namely .name and .unique_name. These are normally not freed when a device is freed. Add two functions to free these resources. free_device_res() only frees the allocated members, but not the device itself. This is suitable for cases where the device is embedded in another struct. free_device() frees the allocated members along with the device itself. This can be called when the device itself has been directly allocated. Some users which should use these functions are also fixed in this patch. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Link: https://lore.barebox.org/20220207094953.949868-5-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/dts'Sascha Hauer2022-02-181-1/+0
|\ \ \ \ | |/ / / |/| | |
| * | | dts: update to v5.17-rc1Sascha Hauer2022-01-281-1/+0
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | firmware: zynqmp-fpga: fix use of uninitialized addrMichael Tretter2022-02-031-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bitstream loading API of the firmware is a bit clunky, as the driver needs to either pass the size of the bitstream or a pointer to the size of the bitstream. Commit 2f29ee311f1d ("firmware: zynqmp-fpga: do not use DMA coherent memory for bitstream") broke the loading by address, as the pointer to the bitstream size was set using the uninitialized DMA address. Fix it by determining the argument that is passed to the firmware after the bitstream has been mapped and always write the size of the bitstream at the end of the passed buffer. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Link: https://lore.barebox.org/20220202101054.3924339-1-m.tretter@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | clk: imx6: fix PLL exception for i.MX6DQ revision 1.0Ahmad Fatoum2022-02-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cpu_is_mx6* and imx_silicon_revision access static variables only initialized in imx_init(). Use the alternative functions instead, that will always consult the hardware to determine the version. This requires us to know beforehand that we run on an i.MX6, but this is a given when probing the imx6-ccm driver. Other instances of this issue were removed in 37bc313add40 ("clk: imx6: fix use of cpu_is_mx6* before they are initialized"), but this instance was reintroduced as part of b534f79112f0 ("clk: imx6: Fix procedure to switch the parent of LDB_DI_CLK"). This change only affects i.MX6D/Q SoCs with exactly revision 1.0 and aligns their behavior to that of the Linux clock driver. Fixes: b534f79112f0 ("clk: imx6: Fix procedure to switch the parent of LDB_DI_CLK") Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220202195524.30740-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | serial: cadence: add ZynqMP compatiblesMichael Tretter2022-02-031-0/+6
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 3f2f5980d517 ("dts: update to v5.16-rc1") changes the compatible of the ZynqMP uarts to "xlnx,zynqmp-uart" and drops the "xlnx,xuartps" compatible. The driver worked just fine before and the difference between the r1p8 and r1p12 compatibles is the use of the RX byte status register which is only used with interrupts. Add the "xlnx,zynqmp-uart" and the "cdns,uart-r1p12" compatibles to the driver. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220202101119.3924600-1-m.tretter@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | pinctrl: rockchip: drop unused variable 'name'Antony Pavlov2022-01-311-1/+0
|/ / | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Link: https://lore.barebox.org/20220130094956.73266-1-antonynpavlov@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / mmc: sdhci: Fix setting wrong buswidthSascha Hauer2022-01-262-4/+4
|/ | | | | | | | | a0e22fc7bc accidently replaced SDHCI_DATA_WIDTH_4BIT with SDHCI_CTRL_8BITBUS. Replace with SDHCI_CTRL_4BITBUS. Reported-by: Antony Pavlov <antonynpavlov@gmail.com> Fixes: a0e22fc7bc ("mci: sdhci: Use Linux defines for SDHCI_HOST_CONTROL register") Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>