[PATCH 0/5] PHYTEC patches to be mainlined

Andrej Picej andrej.picej at norik.com
Mon Nov 15 05:02:03 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 patch targets PHYTEC specific config creation. Until now
 PHYTEC used to patch the default 'imx_v7_defconfig' with their changes.
 This patch introduces PHYTEC specific i.MX6 SoM config fragment which
 should be merged with the default 'imx_v7_defconfig' to create a
 complete config file. This mainly minimizes efforts required to port
 patches to defconfig with each new PHYTEC BSP release and uniforms
 config creation between PHYTEC's kernel and barebox.

 3. The last three patches (third, fourth and fifth) 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

P.S. I cc-ed some PHYTEC guys so they can be involved in the discussion
if necessary.

Andrej Picej (4):
  ARM: configs: phytec-som-imx6.config
  regulator: allow use of dummy regulator
  ARM: dts: imx6qdl: pfla02: allow use of dummy regulators
  documentation: regulator: add dummy-supply

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

 .../bindings/regulator/regulator.rst          | 31 +++++++++++++++++++
 .../flash-header-phytec-pcl063.h              |  2 ++
 arch/arm/configs/phytec-som-imx6.config       | 10 ++++++
 arch/arm/dts/imx6qdl-phytec-pfla02.dtsi       | 22 +++++++++++--
 drivers/regulator/core.c                      |  9 +++++-
 5 files changed, 70 insertions(+), 4 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/regulator/regulator.rst
 create mode 100644 arch/arm/configs/phytec-som-imx6.config

-- 
2.25.1




More information about the barebox mailing list