Skip to content
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

refactor AXP209 support with stm32mp1 board #3

Open
wants to merge 17 commits into
base: release-20211130
Choose a base branch
from

Conversation

fperrad
Copy link

@fperrad fperrad commented Jan 12, 2022

currently, the support of PMIC AXP is only for the Sunxi boards.
I dislike the idea of code duplication in order to support AXP209 with stm32mp1 board.
So, I refactor the support of stm32mp1 on top of 2 commits which have a chance to be upstreamed:

  • AXP not only with sunxi
  • uses AXP209 as PMIC

the defconfig needs to set these 2 variables:

  • CONFIG_AXP_PMIC_BUS=y
  • CONFIG_AXP209_POWER=y

fperrad and others added 17 commits January 8, 2022 16:45
just move stuff from arch/arm/*-sunxi to power
That clock is used as PTP reference clock.
Without enabling it PTP will not work.

Signed-off-by: Kurt Kanzenbach <[email protected]>
... this breaks online resize2fs. TODO check why
Use of strcat() against an uninitialized buffer would lead
to buffer overflow. This patch fixes it.

Fixes: 694cd56 ("IOMUX: Introduce iomux_replace_device()")
Signed-off-by: Yuichiro Goto <[email protected]>
Cc: Peter Robinson <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: Nicolas Saenz Julienne <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Tested-by: Peter Robinson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants