From: Segher Boessenkool <segher@kernel.crashing.org>
To: Kim Phillips <kim.phillips@freescale.com>
Cc: linuxppc-dev <linuxppc-dev@ozlabs.org>
Subject: Re: [PATCH v3] powerpc: update crypto node definition and device tree instances
Date: Sat, 5 Jul 2008 00:45:50 +0200 [thread overview]
Message-ID: <4278f6a4bcd22a0d3e185c47e6c76bab@kernel.crashing.org> (raw)
In-Reply-To: <20080703141845.af88fd51.kim.phillips@freescale.com>
> +- compatible : Should contain entries for this and backward compatible
> + SEC versions, high to low, e.g., "fsl,sec2.1", "fsl,sec2.0"
First entry should state the _exact_ version of the device. "sec-N.M"
isn't good enough; there can be implementation bugs.
There can be more entries; you make it sound like each device tree
should list _all_ compatible devices, which isn't the case.
A device binding should not (and can not) say how "compatible"
should be used; instead, it should list what values of "compatible"
this binding applies to. You can give recommendations of course.
> +- interrupts : <a b> where a is the interrupt number and b is a
> + field that represents an encoding of the sense and level
> + information for the interrupt. This should be encoded based on
> + the information in section 2) depending on the type of interrupt
> + controller you have.
#interrupt-cells isn't always 2. Your device binding shouldn't describe
how interrupt encoding works (that's described in the imap recommended
practice, already); instead, it should describe which device interrupts
are listed here, and in what order. Sounds like you only have one
interrupt, so that should be easy ;-)
> +- interrupt-parent : the phandle for the interrupt controller that
> + services interrupts for this device.
"interrupt-parent" isn't a required property. It isn't part of this
device binding, either.
Segher
next prev parent reply other threads:[~2008-07-04 22:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-03 19:18 [PATCH v3] powerpc: update crypto node definition and device tree instances Kim Phillips
2008-07-04 22:45 ` Segher Boessenkool [this message]
2008-07-07 16:49 ` Kim Phillips
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=4278f6a4bcd22a0d3e185c47e6c76bab@kernel.crashing.org \
--to=segher@kernel.crashing.org \
--cc=kim.phillips@freescale.com \
--cc=linuxppc-dev@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 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).