From: Eddie James <eajames@linux.ibm.com>
To: openbmc@lists.ozlabs.org
Subject: [PATCH U-Boot v2019.04-aspeed-openbmc 6/6] ast2600: Add GPIO controller and hog TPM reset pin
Date: Mon, 24 Jan 2022 13:15:03 -0600 [thread overview]
Message-ID: <20220124191503.88452-7-eajames@linux.ibm.com> (raw)
In-Reply-To: <20220124191503.88452-1-eajames@linux.ibm.com>
Hog the GPIO pin to reset the TPM.
Signed-off-by: Eddie James <eajames@linux.ibm.com>
---
arch/arm/dts/ast2600-rainier.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/dts/ast2600-rainier.dts b/arch/arm/dts/ast2600-rainier.dts
index aae507b4c2..d0e82d1512 100755
--- a/arch/arm/dts/ast2600-rainier.dts
+++ b/arch/arm/dts/ast2600-rainier.dts
@@ -108,3 +108,14 @@
u-boot,dm-pre-reloc;
status = "okay";
};
+
+&gpio0 {
+ u-boot,dm-pre-reloc;
+
+ tpm_reset {
+ u-boot,dm-pre-reloc;
+ gpio-hog;
+ output-high;
+ gpios = <ASPEED_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
+ };
+};
--
2.27.0
next prev parent reply other threads:[~2022-01-24 19:19 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-24 19:14 [PATCH U-Boot v2019.04-aspeed-openbmc 0/6] Add GPIO hog support Eddie James
2022-01-24 19:14 ` [PATCH U-Boot v2019.04-aspeed-openbmc 1/6] dm: Add a No-op uclass Eddie James
2022-01-31 4:56 ` Andrew Jeffery
2022-01-24 19:14 ` [PATCH U-Boot v2019.04-aspeed-openbmc 2/6] gpio: add gpio-hog support Eddie James
2022-01-31 4:58 ` Andrew Jeffery
2022-01-24 19:15 ` [PATCH U-Boot v2019.04-aspeed-openbmc 3/6] gpio: fixes for " Eddie James
2022-02-03 2:03 ` Andrew Jeffery
2022-01-24 19:15 ` [PATCH U-Boot v2019.04-aspeed-openbmc 4/6] gpio: Enable hogging support in SPL Eddie James
2022-02-03 2:11 ` Andrew Jeffery
2022-02-03 15:47 ` Eddie James
2022-02-03 21:43 ` Andrew Jeffery
2022-01-24 19:15 ` [PATCH U-Boot v2019.04-aspeed-openbmc 5/6] Add GPIO hogging support for AST2600 openbmc config Eddie James
2022-02-03 2:13 ` Andrew Jeffery
2022-02-03 15:59 ` Eddie James
2022-02-03 21:44 ` Andrew Jeffery
2022-01-24 19:15 ` Eddie James [this message]
2022-02-03 2:17 ` [PATCH U-Boot v2019.04-aspeed-openbmc 6/6] ast2600: Add GPIO controller and hog TPM reset pin Andrew Jeffery
2022-02-03 16:01 ` Eddie James
2022-02-03 22:12 ` Andrew Jeffery
2022-02-07 15:27 ` Eddie James
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=20220124191503.88452-7-eajames@linux.ibm.com \
--to=eajames@linux.ibm.com \
--cc=openbmc@lists.ozlabs.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.