[PATCH v2 0/6] PHYTEC patches to be mainlined

Andrej Picej andrej.picej at norik.com
Fri Nov 19 01:54:23 PST 2021


Hi all,

this patch series contains PHYTEC barebox patches which weren't yet
introduced to this mailing list (or at least not in this form).

 1. The first patch increases the stability during boot in extreme cold
 conditions.

 2. The second and third patch adds some missing configs (OCOTP write
 support and some OF commands).

 3. The last three patches (fourth, fifth and sixth) are meant as a
 fixup for patches that deleted the PMIC supply nodes. They were
 introduced because barebox doesn't support DA9063 PMIC regulator driver
 and instead prints ugly warnings (recently downgraded from error) like:

imx-esdhc 2194000.mmc at 2194000.of: Failed to get 'vmmc' regulator (ignored).

 In either way, we rely on PMIC's reset default and use dummy
 regulators. Using barebox specific device-tree property
 ('barebox,allow-dummy-supply') shouldn't break booting Linux with
 barebox internal device-tree and allows using dummy regulators in
 bootloader where regulator support is limited. The complete solution
 would be porting DA9063 regulator driver to barebox, but let's add that
 to our "to-do" list for now and use this workaround instead.

Best regards,
Andrej

Changes in v2:
 - remove "PHYTEC specific" config patch. Drop removing IPUV3 driver and move
 enabled configs to default imx_v7_defconfig,
 - move "barebox,allow-dummy-supply" to be added to regulator provider

Andrej Picej (5):
  ARM: configs: imx_v7_defconfig: add OF commands
  ARM: configs: imx_v7_defconfig: add OCOTP write support
  regulator: allow use of dummy regulator
  ARM: dts: imx6qdl: pfla02: use dummy regulators
  documentation: regulator: add allow-dummy-supply

Stefan Riedmueller (1):
  flash-header-phytec-pcl063: Set SOC voltage to 1.25 V during boot

 .../bindings/regulator/regulator.rst          | 35 +++++++++++++++++++
 .../flash-header-phytec-pcl063.h              |  2 ++
 arch/arm/configs/imx_v7_defconfig             |  4 +++
 arch/arm/dts/imx6qdl-phytec-pfla02.dtsi       | 12 ++-----
 drivers/regulator/core.c                      | 20 +++++++++--
 5 files changed, 62 insertions(+), 11 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/regulator/regulator.rst

-- 
2.25.1




More information about the barebox mailing list