From: Chen-Yu Tsai <wens@csie.org>
To: Lee Jones <lee.jones@linaro.org>
Cc: Chen-Yu Tsai <wens@csie.org>,
linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com,
Maxime Ripard <maxime.ripard@free-electrons.com>,
Hans de Goede <hdegoede@redhat.com>,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/2] mfd: axp20x: Fix AXP806 access errors on cold boot
Date: Fri, 11 Nov 2016 11:29:51 +0800 [thread overview]
Message-ID: <20161111032953.20849-1-wens@csie.org> (raw)
Hi Lee,
Recently we've added full SPL support for A80 to mainline U-boot. This
means we no longer depend on Allwinner's bootloader. It also means that
some of system configuration the bootloader set up no longer applies.
The bootloader was correctly configuring the multi-device addressing
support in the AXP806 PMIC. If the PMIC is not correctly addressed, it
just ignores all reads and writes to the other registers. As mainline
U-boot does not support the AXP806, and since we can't always count on
a good bootloader, we should re-configure this in the kernel regardless.
Patch 1 adds the registers for the multi-device addressing scheme to
the AXP806 regmap.
Patch 2 configures the register at probe time, and reinitializes the
regmap cache.
Since support for this PMIC was just added in 4.9-rc1, I hope you can
merge these 2 patches as fixes for 4.9.
Thank you!
Regards
ChenYu
Chen-Yu Tsai (2):
mfd: axp20x: Add address extension registers for AXP806 regmap
mfd: axp20x: Fix AXP806 access errors on cold boot
drivers/mfd/axp20x.c | 38 +++++++++++++++++++++++++++++++++++++-
include/linux/mfd/axp20x.h | 2 ++
2 files changed, 39 insertions(+), 1 deletion(-)
--
2.10.2
next reply other threads:[~2016-11-11 3:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-11 3:29 Chen-Yu Tsai [this message]
2016-11-11 3:29 ` [PATCH 1/2] mfd: axp20x: Add address extension registers for AXP806 regmap Chen-Yu Tsai
2016-11-18 18:47 ` Lee Jones
2016-11-11 3:29 ` [PATCH 2/2] mfd: axp20x: Fix AXP806 access errors on cold boot Chen-Yu Tsai
2016-11-18 18:49 ` Lee Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161111032953.20849-1-wens@csie.org \
--to=wens@csie.org \
--cc=hdegoede@redhat.com \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@googlegroups.com \
--cc=maxime.ripard@free-electrons.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox