From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Wed, 4 Apr 2018 01:53:24 +0800 Subject: [U-Boot] [PATCH v2 u-boot 2/2] reset: add sandbox test for bulk API In-Reply-To: <1522748451-21209-3-git-send-email-narmstrong@baylibre.com> References: <1522748451-21209-1-git-send-email-narmstrong@baylibre.com> <1522748451-21209-3-git-send-email-narmstrong@baylibre.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 On 3 April 2018 at 17:40, Neil Armstrong wrote: > This patch adds the bulk reset API tests for the sandbox test suite. > > Unlike the main test, it also check the "other" reset signal using the bulk API > and checks if the resets are correctly asserted/deasserted. > > To allow the bulk API to work, and avoid changing the DT, the number of resets > of the sandbox reset controller has been bumped to 101 for the "other" reset > line to be valid. Does it need to be 101, or would, say, 5 be enough? > > Signed-off-by: Neil Armstrong > --- > arch/sandbox/include/asm/reset.h | 4 ++++ > drivers/reset/sandbox-reset-test.c | 29 +++++++++++++++++++++++++++++ > drivers/reset/sandbox-reset.c | 2 +- > test/dm/reset.c | 33 +++++++++++++++++++++++++++++++++ > 4 files changed, 67 insertions(+), 1 deletion(-) Reviewed-by: Simon Glass From mboxrd@z Thu Jan 1 00:00:00 1970 From: sjg@chromium.org (Simon Glass) Date: Wed, 4 Apr 2018 01:53:24 +0800 Subject: [PATCH v2 u-boot 2/2] reset: add sandbox test for bulk API In-Reply-To: <1522748451-21209-3-git-send-email-narmstrong@baylibre.com> References: <1522748451-21209-1-git-send-email-narmstrong@baylibre.com> <1522748451-21209-3-git-send-email-narmstrong@baylibre.com> Message-ID: To: linus-amlogic@lists.infradead.org List-Id: linus-amlogic.lists.infradead.org On 3 April 2018 at 17:40, Neil Armstrong wrote: > This patch adds the bulk reset API tests for the sandbox test suite. > > Unlike the main test, it also check the "other" reset signal using the bulk API > and checks if the resets are correctly asserted/deasserted. > > To allow the bulk API to work, and avoid changing the DT, the number of resets > of the sandbox reset controller has been bumped to 101 for the "other" reset > line to be valid. Does it need to be 101, or would, say, 5 be enough? > > Signed-off-by: Neil Armstrong > --- > arch/sandbox/include/asm/reset.h | 4 ++++ > drivers/reset/sandbox-reset-test.c | 29 +++++++++++++++++++++++++++++ > drivers/reset/sandbox-reset.c | 2 +- > test/dm/reset.c | 33 +++++++++++++++++++++++++++++++++ > 4 files changed, 67 insertions(+), 1 deletion(-) Reviewed-by: Simon Glass