From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
To: linux@armlinux.org.uk, xuwei5@hisilicon.com
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linus.walleij@linaro.org,
daniel.thompson@linaro.org, peter.griffin@linaro.org,
guodong.xu@linaro.org, haojian.zhuang@linaro.org,
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Subject: [PATCH 0/2] Handle I2C and SPI reset on HI6220 SoC
Date: Sat, 9 Mar 2019 07:26:33 +0530 [thread overview]
Message-ID: <20190309015635.5401-1-manivannan.sadhasivam@linaro.org> (raw)
Hello,
This small patchset adds the reset functionality to the I2C and SPI
peripherals on HI6220 SoC from HiSilicon. Those peripherals needs to be
taken out of reset before being used. But earlier we were depending on the
bootloader to do the job but as suggested by Daniel Thompson, a more
cleaner approach would be to handle the reset in corresponding drivers.
Hence, one of the patch adds reset properties to the I2C and SPI nodes
and the other one adds missing reset functionality to the AMBA Primecell
bus driver. Because the AMBA devices are being accessed before the driver
probe (reading pid and cid values), we need to deassert the reset line in
the bus driver itself just before the read.
I'd expect the patch 1 to go via arm tree and patch 2 via hisi tree.
Thanks,
Mani
Manivannan Sadhasivam (2):
amba: Take device out of reset before reading pid and cid values
arm64: dts: hisilicon: Add reset properties for HI6220 I2C and SPI
arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 8 ++++++++
drivers/amba/bus.c | 9 +++++++++
2 files changed, 17 insertions(+)
--
2.17.1
next reply other threads:[~2019-03-09 1:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-09 1:56 Manivannan Sadhasivam [this message]
2019-03-09 1:56 ` [PATCH 1/2] amba: Take device out of reset before reading pid and cid values Manivannan Sadhasivam
2019-03-09 10:50 ` Linus Walleij
2019-03-12 12:27 ` Daniel Thompson
2019-03-20 6:56 ` Manivannan Sadhasivam
2019-03-20 14:29 ` Daniel Thompson
2019-03-20 17:29 ` Russell King - ARM Linux admin
2019-03-21 11:17 ` Daniel Thompson
2019-03-28 16:43 ` Linus Walleij
2019-03-09 1:56 ` [PATCH 2/2] arm64: dts: hisilicon: Add reset properties for HI6220 I2C and SPI Manivannan Sadhasivam
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=20190309015635.5401-1-manivannan.sadhasivam@linaro.org \
--to=manivannan.sadhasivam@linaro.org \
--cc=daniel.thompson@linaro.org \
--cc=guodong.xu@linaro.org \
--cc=haojian.zhuang@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=peter.griffin@linaro.org \
--cc=xuwei5@hisilicon.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;
as well as URLs for NNTP newsgroup(s).