summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts
Commit message (Collapse)AuthorAgeFilesLines
* ARM: boards: skov-imx6: use separate DTS for the iMX6 Solo variantOleksij Rempel2021-10-112-1/+23
| | | | | | | | | iMX6 Solo boards do not have HDMI so remove it to avoid time spending on probing. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20211006084323.14051-9-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: dts: skov-imx6: add USB nodesOleksij Rempel2021-10-111-0/+20
| | | | | | | | We need USB working to make use of USB ethernet adapters. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20211006084323.14051-2-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/zynqmp'Sascha Hauer2021-10-072-0/+22
|\
| * arm: zynqmp: add support for xilinx zcu106 boardMichael Riesch2021-10-042-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | Add support for the Xilinx Zynq UltraScale+ MPSoC ZCU106 evaluation board. The changes are derived from the ZCU104 board support by applying s/104/106/g (more or less). Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net> Link: https://lore.barebox.org/20210913121350.9307-2-michael.riesch@wolfvision.net Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/protonic'Sascha Hauer2021-10-074-1/+585
|\ \
| * | ARM: boards: protonic-imx6: Add support for jozacp boardRobin van der Gracht2021-10-043-1/+574
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The jozacp is an industrial imx6ull based board with ethernet, wifi and zigbee. Note: this patch includes WIP version of the devicetree: arch/arm/dts/imx6ull-jozacp.dtsi. This devicetree will be reworked, mainlined to the kernel and at the end replaced with the kernel mainline version. Signed-off-by: Robin van der Gracht <robin@protonic.nl> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20210825125430.26901-5-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: dts: imx6dl-prtvt7: Add brand state variableRobin van der Gracht2021-08-231-0/+11
| |/ | | | | | | | | | | | | | | | | | | prtvt7 may have different brands. So, add prtvt7 specific brand state variable. Signed-off-by: Robin van der Gracht <robin@protonic.nl> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20210818121945.26089-4-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/imx'Sascha Hauer2021-10-075-0/+83
|\ \
| * | ARM: i.MX8MN: add i.MX8MN-EVK supportAhmad Fatoum2021-10-052-0/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With driver support in place, we can now build and run barebox in the i.MX8MN. Following tested working: - Setting up DDR4 SDRAM - Booting from SD-Card - Booting from eMMC - Updating barebox in SD-Card/eMMC boot partition - USB Fastboot, ACM gadgets - UART - Early I2C with bd71837 - Ethernet - Loading and communicating with TF-A The resulting image supports both DDR4 and LPDDR4. They use different PMICs, so probing the i2c addresses of them indicates what DRAM type to setup. I have only tested this on a DDR4 EVK, but the LPDDR4 code is equivalent to what's already used in barebox with i.MX8M Mini and Plus, so it should work(tm). Notably missing: - boot from USB SDP doesn't work. early debug_ll doesn't indicate that barebox PBL was actually entered. This can follow later though. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20211001100949.6891-9-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: i.MX8MM: add reboot to serial download modeAhmad Fatoum2021-08-093-0/+20
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The i.MX8MM reference manual follows long established tradition in not documenting BootROM magic reboot codes. For older i.MX variants, the values can be seen in the bmode tables of Freescale's U-Boot patches. There are no such patches for the i.MX8M, but testing shows that mw 0x30390094 0x10 ; mw 0x30390098 0x40000000 is one of the configurations that trigger serial download on next warm reset on an i.MX8MM. Describe this in the device tree, so gpr.reboot_mode.next=serial reset -r imxwd-warm does the right thing for that SoC. This all might work for other i.MX8M variants as well, but the dtsi can be genericized later on when tested. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210803165937.31608-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/dts'Sascha Hauer2021-10-071-4/+0
|\ \
| * | dts: update to v5.15-rc1Sascha Hauer2021-10-051-4/+0
| |/ | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: at91: sama5d27_som1_ek: populate MAC address from EEPROMAhmad Fatoum2021-10-042-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the latest NVMEM enhancements merged, barebox networking core now always consults NVMEM cells referenced in the network controller device tree node before it falls back to randomizing a new address. The SAM5D27-SOM1 has a 256 byte EEPROM, which holds a MAC address in its last 6 bytes. Describe this in the device tree, so boards using the SoM will get an unique MAC address assigned and fixed up into the kernel device tree. This change can be dropped again when/if the change is submitted and applied upstream. Reported-by: Alexander Dahl <ada@thorsis.com> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210622080811.28335-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: AT91: migrate sama5d3-xplained to DTAhmad Fatoum2021-10-014-0/+75
|/ | | | | | | | | | | | | | | | | | | | We have one other DT-enabled SAMA5D3 board already: microchip-ksz8477-evb, which is basically a sama5d3 xplained in different form factor and with a switch. Mimic what we do there to get rid of the sama5d3 board code. Unlike the microchip-ksz9477-evb, the barebox support for this board includes NAND, which is not yet up to date with respect to DT: - SMC for NAND configuration has no DT driver. Instead the board driver create this device - We don't support the newer NAND DT bindings (EBI). The device trees fix this up, so barebox sees the old bindings with the upstream partition layout. In future, this could be fixed. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210922065000.20970-6-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/zynqmp'Sascha Hauer2021-07-181-0/+10
|\
| * dts: zcu104: add Barebox environmentMichael Tretter2021-06-251-0/+10
| | | | | | | | | | | | | | | | | | | | Use the same partition on the SD-card that is used by the ROM loader to find the BOOT.BIN (which contains the FSBL and Barebox) to store the Barebox environment. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Link: https://lore.barebox.org/20210624150054.1205422-4-m.tretter@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/rockchip'Sascha Hauer2021-07-185-0/+5154
|\ \
| * | arm: rk3568-evb1: add support for Rockchip SARADCMichael Riesch2021-06-282-1/+17
| | | | | | | | | | | | | | | | | | Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net> Link: https://lore.barebox.org/20210624160915.21897-3-michael.riesch@wolfvision.net Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: Rockchip: rk3568 EVB: Add eMMC pinmuxSascha Hauer2021-06-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The eMMC relied on reset default pinmux. This doesn't work when not booting from eMMC, so add pinmux. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Link: https://lore.barebox.org/20210625065722.26149-1-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: Rockchip: rk3568 EVB: Add USB supportSascha Hauer2021-06-281-0/+95
| | | | | | | | | | | | | | | | | | | | | | | | Enable the USB nodes for the ports found on the rk3568 EVB board. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Link: https://lore.barebox.org/20210622064711.14058-5-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: Rockchip: rk3568: Add USB nodesSascha Hauer2021-06-281-0/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | | The RK3568 has two DWC3 cores and two EHCI/OHCI cores. Add these nodes to the dtsi file. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Link: https://lore.barebox.org/20210622064711.14058-4-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: Rockchip: Add rk3568 evb board supportSascha Hauer2021-06-282-0/+488
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for the rk3568 evb board. Tested features so far are: - 1st stage booting - Network - SD card - eMMC The dts files are based on the ones posted on the mailing lists, they should be rebased on the upstream files once they show up in barebox. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Link: https://lore.barebox.org/20210615141641.31577-11-s.hauer@pengutronix.de Link: https://lore.barebox.org/20210621092802.27275-11-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: Rockchip: Add rk3568 dtsi filesSascha Hauer2021-06-213-0/+4340
| |/ | | | | | | | | | | | | | | | | | | This adds the rk3568 dtsi files, taken from the mailing list. They should hit upstream soon and can be removed then. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Link: https://lore.barebox.org/20210615141641.31577-7-s.hauer@pengutronix.de Link: https://lore.barebox.org/20210621092802.27275-7-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / ARM: imx6: marsboard: simplify ar8035 PHY fixupsAhmad Fatoum2021-06-281-0/+5
|/ | | | | | | | | | | | | | These are the same fixups as the riotboard's, itself propably taken from Linux, where mach-imx registers the same fixups for ar803x PHYs. Some of these fixups can now be solved by PHY properties added since. Make use of them and make the remaining MMD indirect phy usage more compact by using phy_read_mmd_indirect. Cc: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210628070627.16329-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx'Sascha Hauer2021-06-164-2/+364
|\
| * ARM: dts: protonic: define state partitionOleksij Rempel2021-06-091-1/+69
| | | | | | | | | | | | | | | | Define one common state partition for all Protonic related boards Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20210607121354.31183-1-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: protonic: add initial support for the Protonic PRT8MM family of boardsDavid Jander2021-05-312-0/+252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This board is a low-cost 7" touchscreen virtual terminal for agricultural applications. There is no upstream Linux DT yet, so we add a minimal DT for use with the bootloader in this patch. Signed-off-by: David Jander <david@protonic.nl> [lst: fixed and cleaned up for upstream] Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Link: https://lore.barebox.org/20210528133041.1109923-2-l.stach@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: i.MX: sabresd: Add support for i.MX6QP board variantSascha Hauer2021-05-262-1/+43
| | | | | | | | | | | | | | | | | | | | | | The SabreSD comes with different SoC variants. This patch adds support for the i.MX6QP based board. the DCD data has been taken from U-Boot 2021.04 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Link: https://lore.barebox.org/20210415140313.29161-1-s.hauer@pengutronix.de Link: https://lore.barebox.org/20210526064249.25378-1-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: SoCFPGA: add Terasic DE10-Nano board supportGwenhael Goavec-Merou2021-06-022-0/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | The Terasic DE10-Nano board is based on CycloneV SoCFPGA (5CSEBA6) with What has been tested to work: - SD card - Gigabit network - FPGA (FPPx16 & FPPx32) Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Link: https://lore.barebox.org/20210531194019.951-1-gwenj@trabucayre.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: i.MX: nitrogen6x: delete wrong memory node from dtsSascha Hauer2021-05-251-0/+2
|/ | | | | | | | | | | | | | The nitrogen6x comes in different memory configurations. Remove the hardcoded 1G memory node from the upstream device tree. This fixes booting the 2G variants which otherwise complain with: CRITICAL: mmu: Critical Error: Can't request SDRAM region for ttb at 8ffe4000 Reported-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Tested-by: Michael Olbrich <m.olbrich@pengutronix.de> Link: https://lore.barebox.org/20210525055007.9207-1-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx'Sascha Hauer2021-05-172-6/+6
|\
| * ARM: use new vendor prefix for MNT Reform2Lucas Stach2021-05-121-1/+1
| | | | | | | | | | | | | | | | | | | | The vendor prefix for MNT Research GmbH in the upstream kernel will be mntre (not yet landed, but acked by the maintainer). Switch to this prefix in Barebox now to keep bootspec booting working. Signed-off-by: Lucas Stach <dev@lynxeye.de> Link: https://lore.barebox.org/20210511201729.63076-1-l.stach@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Revert "ARM: dts: phycore-imx6: change mtd-partition names for compatibility ↵Yunus Bas2021-05-121-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | with kernel" This reverts commit 72ba815bf6feaa0a98d2496f52784dd5b4258e73. The NVMEM name-clashing has been fixed on Linux-upstream. NVMEM devices are now registered with the unique device names instead of the MTD-partition names. This fix is no longer needed. Signed-off-by: Yunus Bas <y.bas@phytec.de> Link: https://lore.barebox.org/20210507072950.2005039-1-y.bas@phytec.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | dts: update to v5.13-rc1Sascha Hauer2021-05-171-1/+1
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2021-04-152-0/+452
|\
| * ARM: AT91: Add skov-arm9cpu board supportSam Ravnborg2021-04-142-0/+452
| | | | | | | | | | | | | | | | This adds support for an older SKOV board, the arm9cpu. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: i.MX: Kamstrup mx7 concentrator board supportLars Pedersen2021-04-142-0/+109
| | | | | | | | | | | | | | | | | | This adds support for Kamstrup mx7 concentrator board Signed-off-by: Lars Pedersen <lapeddk@gmail.com> Reviewed-by: Bruno Thomsen <bruno.thomsen@gmail.com> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: i.MX: Add support for Skov i.MX6 boardsJuergen Borleis2021-04-134-0/+599
|/ | | | | | | | | | | | | | | | | | The Skov platform potentially consists of many variants of CPUs (i.MX6S/DL and i.MX6D/Q), NAND memories (size differs from 256 MiB to 8 GiB) and populated SDRAM (256 MiB up to 2 GiB). All these variants share one PCB. Some bootstrap resistors are provided which decode the variant and which allow for it's detection at runtime. This information is needed to choose the bootspec entry with the matching devicetree to boot the system. Based upon this mechanism usage of a single Barebox image and Linux root filesystem for all known board variants is made possible. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Enrico Jorns <ejo@pengutronix.de> Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Søren Andersen <san@skov.dk> Signed-off-by: Sam Ravnborg <srn@skov.dk>
* ARM: dts: protonic: drop all devictree copies and start to use mainlined ↵Oleksij Rempel2021-03-2320-4278/+133
| | | | | | | | | kernel versions This should make maintaining work easier. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2021-03-234-156/+21
|\
| * dts: zcu104: remove unnecessary ZynqMP clock dtsiMichael Tretter2021-03-222-156/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The clock definitions are now available from the Linux device tree as dts/src/arm64/xilinx/zynqmp-clk-ccf.dtsi and the clock-controller is defined in dts/src/arm64/xilinx/zynqmp.dtsi. Defining the clocks in a Barebox-specific file is not necessary anymore. Remove zynqmp-clk.dtsi and the include from the board device tree. The files are already correctly included by the imported board device trees (dts/src/arm64/xilinx/zynqmp-zcu104-revA.dts). Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: stm32mp: add support for STM32MP157-EV1 boardAhmad Fatoum2021-03-172-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | The STM32MP157A-EV1 and STM32MP157C-EV1 Evaluation boards are the full-feature demonstration and development platforms for STMicroelectronics Arm®-based dual Cortex®-A7 32 bits and Cortex®-M4 32 bits MPUs in the STM32MP1 Series. Add support for running barebox as SSBL on either of them. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | phy: stm32: sync with upstreamAhmad Fatoum2021-03-171-0/+5
|/ | | | | | | | | | | | | | | | | | | | | | | | This imports following Linux patches by Amelie Delaunay <amelie.delaunay@foss.st.com>: phy: stm32: manage 1v1 and 1v8 supplies at pll activation/deactivation phy: stm32: replace regulator_bulk* by multiple regulator_* phy: stm32: ensure pll is disabled before phys creation phy: stm32: ensure phy are no more active when removing the driver phy: stm32: rework PLL Lock detection ARM: dts: stm32: add usbphyc vdda1v1 and vdda1v8 supplies on stm32mp151 This makes barebox compatible to the new device tree binding, reduces our differences to the upstream driver and removes the power_on, power_off callbacks which are now integrated into init/exit. The device tree override is necessary, because unlike with Linux, barebox regulator core doesn't descend into child nodes to enable their regulators, but that's a fix for another day. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx'Sascha Hauer2021-02-224-491/+76
|\
| * ARM: dts: imx6qdl: pfla02: Use NAND pinmux entries from upstreamAlexander Shiyan2021-01-251-24/+0
| | | | | | | | | | | | | | The gpminand pinmux entries are in the upstream dtsi now, so use them. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: dts: imx6qdl-samx6i: cosmetic partition cleanupMarco Felsch2021-01-191-3/+3
| | | | | | | | | | | | | | | | The reg property is always the first property and the label is the following. No functional changes. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: dts: imx6qdl-samx6i: use upstream device tree filesMarco Felsch2021-01-193-416/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Make use of upstream available device tree files to avoid duplications. A few interfaces had a "default on" behaviour which is dropped now. Enabling those interfaces within the SoM dtsi seems to be wrong anyway. Since boards have to turn it off again if those interfaces are unused. I've adapted all upstream boards which are using the the imx6qdl-smarc-samx6i.dtsi so the behaviour for those boards is unchanged. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: dts: imx6qdl-samx6i: switch to SPDX license identifierMarco Felsch2021-01-193-53/+3
| | | | | | | | | | Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: dts: imx6qdl-smarc-samx6i: remove iomuxc hogMarco Felsch2021-01-191-12/+25
| | | | | | | | | | | | | | | | | | Move the muxing into the gpioX nodes so we can get rid of the iomuxc hog. While on it set the correct mux config and don't rely on the reset value. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | regulator: add driver for stm32-vrefbufAhmad Fatoum2021-02-101-0/+4
|/ | | | | | | | | | This driver supports STMicroelectronics STM32 VREFBUF (voltage reference buffer) which can be used as voltage reference for internal ADCs, DACs and also for external components through dedicated Vref+ pin. Ported from Linux v5.11-rc1. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>