Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1400817 > unrolled thread

[RFC PATCH 0/3] Amlogic: GXBB: Add reset controller

Started byNeil Armstrong <narmstrong@baylibre.com>
First post2016-05-13 16:10 +0200
Last post2016-05-14 17:20 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [RFC PATCH 0/3] Amlogic: GXBB: Add reset controller Neil Armstrong <narmstrong@baylibre.com> - 2016-05-13 16:10 +0200
    Re: [RFC PATCH 0/3] Amlogic: GXBB: Add reset controller Kevin Hilman <khilman@baylibre.com> - 2016-05-14 17:20 +0200
    Re: [RFC PATCH 0/3] Amlogic: GXBB: Add reset controller Kevin Hilman <khilman@baylibre.com> - 2016-05-14 17:20 +0200

#1400817 — [RFC PATCH 0/3] Amlogic: GXBB: Add reset controller

FromNeil Armstrong <narmstrong@baylibre.com>
Date2016-05-13 16:10 +0200
Subject[RFC PATCH 0/3] Amlogic: GXBB: Add reset controller
Message-ID<rylWW-4R7-9@gated-at.bofh.it>
Patchset to add and enable the reset controller driver on GXBB platforms.

Neil Armstrong (3):
  reset: Add support for the Amlogic Meson GXBB Reset Controller
  dt-bindings: reset: Add bindings for the Meson GXBB Reset Controller
  ARM64: dts: amlogic: Enable Reset Controller on GXBB-based platforms

 .../bindings/reset/amlogic,meson-gxbb-reset.txt    |  16 +++
 arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi        |   6 +
 drivers/reset/Kconfig                              |   6 +
 drivers/reset/Makefile                             |   1 +
 drivers/reset/reset-meson-gxbb.c                   | 160 +++++++++++++++++++++
 .../dt-bindings/reset/amlogic,meson-gxbb-reset.h   | 160 +++++++++++++++++++++
 6 files changed, 349 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/reset/amlogic,meson-gxbb-reset.txt
 create mode 100644 drivers/reset/reset-meson-gxbb.c
 create mode 100644 include/dt-bindings/reset/amlogic,meson-gxbb-reset.h

-- 
2.7.0

[toc] | [next] | [standalone]


#1401094

FromKevin Hilman <khilman@baylibre.com>
Date2016-05-14 17:20 +0200
Message-ID<ryJwe-2VN-7@gated-at.bofh.it>
In reply to#1400817
Hi Neil,

Neil Armstrong <narmstrong@baylibre.com> writes:

> Patchset to add and enable the reset controller driver on GXBB platforms.

Looking closer at the vendor BSP reset driver, I realized that that
kernel doesn't seem to be using this reset IP at all.  Their reset
driver is actually just using clock gating in the HHI_GCLK_MPEGx
registers.

I'm not sure I understand why they made that choice (I've asked
off-list), but we'll need to keep in mind that any usage of the reset
driver in the vendor DTs corresponds do clock gating, and not this reset
IP.

In any case, other than the minor comments, this looks like a good
driver for the reset IP in the S905/GXBB.

Also, I gave this driver a quick test with the network driver support I
recently posted.  When the network driver is loaded, it deasserts the
reset and when unloaded, it asserts the reset.  Interestingly, the
assert cases a full system lockup. :(

I've asked some Amlogic folks off-list about this issue too, and hope to
get some more clarifcation (and ideally docs) about this reset IP soon.

Kevin

[toc] | [prev] | [next] | [standalone]


#1401096

FromKevin Hilman <khilman@baylibre.com>
Date2016-05-14 17:20 +0200
Message-ID<ryJwe-2VN-9@gated-at.bofh.it>
In reply to#1400817
Hi Neil,

Neil Armstrong <narmstrong@baylibre.com> writes:

> Patchset to add and enable the reset controller driver on GXBB platforms.

Looking closer at the vendor BSP reset driver, I realized that that
kernel doesn't seem to be using this reset IP at all.  Their reset
driver is actually just using clock gating in the HHI_GCLK_MPEGx
registers.

I'm not sure I understand why they made that choice (I've asked
off-list), but we'll need to keep in mind that any usage of the reset
driver in the vendor DTs corresponds do clock gating, and not this reset
IP.

In any case, other than the minor comments, this looks like a good
driver for the reset IP in the S905/GXBB.

Also, I gave this driver a quick test with the network driver support I
recently posted.  When the network driver is loaded, it deasserts the
reset and when unloaded, it asserts the reset.  Interestingly, the
assert cases a full system lockup. :(

I've asked some Amlogic folks off-list about this issue too, and hope to
get some more clarifcation (and ideally docs) about this reset IP soon.

Kevin

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web