From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Wed, 22 Mar 2017 07:05:15 -0600 Subject: [U-Boot] [PATCH 01/21] reset: Add STi reset support In-Reply-To: <1489767932-5829-2-git-send-email-patrice.chotard@st.com> References: <1489767932-5829-1-git-send-email-patrice.chotard@st.com> <1489767932-5829-2-git-send-email-patrice.chotard@st.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi. On 17 March 2017 at 10:25, wrote: > From: Patrice Chotard > > This patch adds a reset controller implementation for STMicroelectronics > STi family SoCs; it allows a group of related reset like controls found > in multiple system configuration registers to be represented by a single > controller device. > > Driver code has been mainly extracted from kernel > drivers/reset/sti/reset-stih407.c > > Signed-off-by: Patrice Chotard > --- > arch/arm/Kconfig | 1 + > configs/stih410-b2260_defconfig | 1 + > drivers/reset/Kconfig | 8 + > drivers/reset/Makefile | 1 + > drivers/reset/sti-reset.c | 321 ++++++++++++++++++++++++++++++++++++++++ > 5 files changed, 332 insertions(+) > create mode 100644 drivers/reset/sti-reset.c Instead of using fdt_node_offset_by_compatible() do you have a way to get the offset using a phandle or similar? Regards, Simon