From: Rob Herring <robh@kernel.org>
To: Nayna Jain <nayna@linux.vnet.ibm.com>
Cc: tpmdd-devel@lists.sourceforge.net, devicetree@vger.kernel.org,
wsa@the-dreams.de, pawel.moll@arm.com, mark.rutland@arm.com,
ijc+devicetree@hellion.org.uk, galak@codeaurora.org,
linux-i2c@vger.kernel.org, hellerda@linux.vnet.ibm.com,
ltcgcw@us.ibm.com, gcwilson@us.ibm.com
Subject: Re: [PATCH] Documentation: tpm: Adds the TPM device tree node documentation
Date: Fri, 2 Sep 2016 09:51:21 -0500 [thread overview]
Message-ID: <20160902145121.GA9636@rob-hp-laptop> (raw)
In-Reply-To: <1472532277-21933-1-git-send-email-nayna@linux.vnet.ibm.com>
On Tue, Aug 30, 2016 at 12:44:37AM -0400, Nayna Jain wrote:
> This is documenting device tree binding for
> I2C based TPM, similar concept which being used
> for virtual TPM on POWER7 and POWER8 systems running PowerVM.
>
> Signed-off-by: Nayna Jain <nayna@linux.vnet.ibm.com>
> ---
> Documentation/devicetree/bindings/i2c/i2c-tpm.txt | 29 +++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/i2c/i2c-tpm.txt
>
> diff --git a/Documentation/devicetree/bindings/i2c/i2c-tpm.txt b/Documentation/devicetree/bindings/i2c/i2c-tpm.txt
> new file mode 100644
> index 0000000..8fdee14
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/i2c/i2c-tpm.txt
> @@ -0,0 +1,29 @@
> +Device Tree Bindings for I2C based Trusted Platform Module(TPM)
> +---------------------------------------------------------------
> +
> +This node describes a TPM device connected to Processor on i2c bus.
> +
> +Required properties:
> +
> +- compatible : 'manufacturer,model'
Needs specific compatible strings like your example has.
> +- label : represents device type
Why do you need this? label is human readable things like connectors on
boards.
> +- linux,sml-base : base address of the Event Log. It is a physical address.
> + sml stands for shared memory log.
How is it a physical address on an i2c device? Why 2 cells (which needs
to be documented also)?
Just 'log' would be more descriptive than sml.
> +- linux,sml-size : size of the memory allocated for the Event Log.
> +
> +Optional properties:
> +
> +- status: indicates whether the device is enabled or disabled. "okay" for
> + enabled and "disabled" for disabled.
status is always valid, so you don't need to document it.
next prev parent reply other threads:[~2016-09-02 14:51 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-30 4:44 [PATCH] Documentation: tpm: Adds the TPM device tree node documentation Nayna Jain
[not found] ` <1472532277-21933-1-git-send-email-nayna-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2016-08-30 6:36 ` Jarkko Sakkinen
[not found] ` <20160830063631.GA5336-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-08-30 6:41 ` Peter Huewe
[not found] ` <D8028209-446C-4C50-9AEC-25F6F8C98995-Mmb7MZpHnFY@public.gmane.org>
2016-08-30 6:46 ` Peter Huewe
2016-08-30 7:06 ` [tpmdd-devel] " Jarkko Sakkinen
[not found] ` <20160830070649.GA6215-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-08-30 8:55 ` Peter Huewe
2016-09-02 14:52 ` Rob Herring
2016-09-02 16:00 ` [tpmdd-devel] " Jarkko Sakkinen
2016-08-30 20:51 ` Wolfram Sang
2016-09-02 14:51 ` Rob Herring [this message]
2016-09-02 17:06 ` [PATCH] " Jason Gunthorpe
2016-09-02 17:57 ` [tpmdd-devel] " Rob Herring
[not found] ` <CAL_Jsq+jmAHSGTJPxWZgc_87NTA8uvWZSegx9E7krXKzDcgBmw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-09-28 8:40 ` Nayna
[not found] ` <20160902170613.GA5024-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-09-28 8:44 ` Nayna
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=20160902145121.GA9636@rob-hp-laptop \
--to=robh@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=gcwilson@us.ibm.com \
--cc=hellerda@linux.vnet.ibm.com \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-i2c@vger.kernel.org \
--cc=ltcgcw@us.ibm.com \
--cc=mark.rutland@arm.com \
--cc=nayna@linux.vnet.ibm.com \
--cc=pawel.moll@arm.com \
--cc=tpmdd-devel@lists.sourceforge.net \
--cc=wsa@the-dreams.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).