Message ID | 1394626865-15105-3-git-send-email-jcmvbkbc@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, Mar 12, 2014 at 12:21:04PM +0000, Max Filippov wrote: > Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> > --- > Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt | 9 +++++++++ > 1 file changed, 9 insertions(+) > create mode 100644 Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt > > diff --git a/Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt b/Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt > new file mode 100644 > index 0000000..b6ebe2b > --- /dev/null > +++ b/Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt > @@ -0,0 +1,9 @@ > +Cadence Xtensa XTFPGA platform SPI controller. > + > +This simple SPI master controller is built into xtfpga bitstreams and is used > +to control daughterboard audio codec. > + > +Required properties: > +- compatible: should be "cdns,xtfpga-spi". Is that the official name of the block? Nothing more specific? > +- reg: physical base address of the controller and length of memory mapped > + region. No interrupts? Otherwise, this looks fine to me. Cheers, Mark. -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, Mar 12, 2014 at 7:13 PM, Mark Rutland <mark.rutland@arm.com> wrote: > On Wed, Mar 12, 2014 at 12:21:04PM +0000, Max Filippov wrote: >> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> >> --- >> Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt | 9 +++++++++ >> 1 file changed, 9 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt >> >> diff --git a/Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt b/Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt >> new file mode 100644 >> index 0000000..b6ebe2b >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt >> @@ -0,0 +1,9 @@ >> +Cadence Xtensa XTFPGA platform SPI controller. >> + >> +This simple SPI master controller is built into xtfpga bitstreams and is used >> +to control daughterboard audio codec. >> + >> +Required properties: >> +- compatible: should be "cdns,xtfpga-spi". > > Is that the official name of the block? Nothing more specific? There's no official name, so I composed this from the official name of the platform + the block function. AFAIK there's single version of this IP block. Marc G., please correct me if I'm wrong. >> +- reg: physical base address of the controller and length of memory mapped >> + region. > > No interrupts? Correct. > Otherwise, this looks fine to me.
diff --git a/Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt b/Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt new file mode 100644 index 0000000..b6ebe2b --- /dev/null +++ b/Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt @@ -0,0 +1,9 @@ +Cadence Xtensa XTFPGA platform SPI controller. + +This simple SPI master controller is built into xtfpga bitstreams and is used +to control daughterboard audio codec. + +Required properties: +- compatible: should be "cdns,xtfpga-spi". +- reg: physical base address of the controller and length of memory mapped + region.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> --- Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-xtensa-xtfpga.txt