[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190309015635.5401-1-manivannan.sadhasivam@linaro.org>
Date: Sat, 9 Mar 2019 07:26:33 +0530
From: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
To: linux@...linux.org.uk, xuwei5@...ilicon.com
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linus.walleij@...aro.org, daniel.thompson@...aro.org,
peter.griffin@...aro.org, guodong.xu@...aro.org,
haojian.zhuang@...aro.org,
Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
Subject: [PATCH 0/2] Handle I2C and SPI reset on HI6220 SoC
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
Powered by blists - more mailing lists