Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1287042

Re: [PATCH linux-next 4/5] Documentation: atmel-quadspi: add binding file for Atmel QSPI driver

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH linux-next 4/5] Documentation: atmel-quadspi: add binding file for Atmel QSPI driver
Date 2015-12-09 04:20 +0100
Message-ID <qDDsl-2Lw-7@gated-at.bofh.it> (permalink)
References <qD4Ei-5uQ-13@gated-at.bofh.it> <qD4O0-5Bp-51@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Dec 07, 2015 at 03:09:13PM +0100, Cyrille Pitchen wrote:
> This patch documents the DT bindings for the driver of the Atmel QSPI
> controller embedded inside sama5d2x SoCs.
> 
> Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>

Acked-by: Rob Herring <robh@kernel.org>

> ---
>  .../devicetree/bindings/mtd/atmel-quadspi.txt      | 32 ++++++++++++++++++++++
>  1 file changed, 32 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/mtd/atmel-quadspi.txt
> 
> diff --git a/Documentation/devicetree/bindings/mtd/atmel-quadspi.txt b/Documentation/devicetree/bindings/mtd/atmel-quadspi.txt
> new file mode 100644
> index 000000000000..e81f20f9faf1
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mtd/atmel-quadspi.txt
> @@ -0,0 +1,32 @@
> +* Atmel Quad Serial Peripheral Interface (QSPI)
> +
> +Required properties:
> +- compatible:     Should be "atmel,sama5d2-qspi".
> +- reg:            Should contain the locations and lengths of the base registers
> +                  and the mapped memory.
> +- reg-names:      Should contain the resource reg names:
> +                  - qspi_base: configuration register address space
> +                  - qspi_mmap: memory mapped address space
> +- interrupts:     Should contain the interrupt for the device.
> +- clocks:         The phandle of the clock needed by the QSPI controller.
> +- #address-cells: Should be <1>.
> +- #size-cells:    Should be <0>.
> +
> +Example:
> +
> +spi@f0020000 {
> +	compatible = "atmel,sama5d2-qspi";
> +	reg = <0xf0020000 0x100>, <0xd0000000 0x8000000>;
> +	reg-names = "qpsi_base", "qspi_mmap";
> +	interrupts = <52 IRQ_TYPE_LEVEL_HIGH 7>;
> +	clocks = <&spi0_clk>;
> +	#address-cells = <1>;
> +	#size-cells = <0>;
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&pinctrl_spi0_default>;
> +	status = "okay";
> +
> +	m25p80@0 {
> +		...
> +	};
> +};
> -- 
> 1.8.2.2
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH linux-next 0/5] mtd: spi-nor: add driver for Atmel QSPI controller Cyrille Pitchen <cyrille.pitchen@atmel.com> - 2015-12-07 15:10 +0100
  [PATCH linux-next 3/5] mtd: m25p80: add support of dual and quad spi protocols to all commands Cyrille Pitchen <cyrille.pitchen@atmel.com> - 2015-12-07 15:20 +0100
  [PATCH linux-next 5/5] mtd: atmel-quadspi: add driver for Atmel QSPI controller Cyrille Pitchen <cyrille.pitchen@atmel.com> - 2015-12-07 15:20 +0100
    [PATCH] mtd: atmel-quadspi: fix odd_ptr_err.cocci warnings kbuild test robot <lkp@intel.com> - 2015-12-07 16:30 +0100
    [PATCH] mtd: atmel-quadspi: fix compare_const_fl.cocci warnings kbuild test robot <lkp@intel.com> - 2015-12-07 16:30 +0100
    Re: [PATCH linux-next 5/5] mtd: atmel-quadspi: add driver for Atmel  QSPI controller Nicolas Ferre <nicolas.ferre@atmel.com> - 2015-12-11 16:00 +0100
  [PATCH linux-next 4/5] Documentation: atmel-quadspi: add binding file for Atmel QSPI driver Cyrille Pitchen <cyrille.pitchen@atmel.com> - 2015-12-07 15:20 +0100
    Re: [PATCH linux-next 4/5] Documentation: atmel-quadspi: add binding  file for Atmel QSPI driver Rob Herring <robh@kernel.org> - 2015-12-09 04:20 +0100
    Re: [PATCH linux-next 4/5] Documentation: atmel-quadspi: add binding  file for Atmel QSPI driver Nicolas Ferre <nicolas.ferre@atmel.com> - 2015-12-11 10:30 +0100
  Re: [PATCH linux-next 0/5] mtd: spi-nor: add driver for Atmel QSPI  controller Brian Norris <computersforpeace@gmail.com> - 2015-12-07 20:40 +0100
    RE: [PATCH linux-next 0/5] mtd: spi-nor: add driver for Atmel QSPI  controller Bean Huo 霍斌斌 (beanhuo)   <beanhuo@micron.com> - 2015-12-08 07:30 +0100
    RE: [PATCH linux-next 0/5] mtd: spi-nor: add driver for Atmel QSPI  controller Bean Huo 霍斌斌 (beanhuo)   <beanhuo@micron.com> - 2015-12-08 07:50 +0100
    Re: [PATCH linux-next 0/5] mtd: spi-nor: add driver for Atmel QSPI  controller Cyrille Pitchen <cyrille.pitchen@atmel.com> - 2015-12-08 11:30 +0100
      Re: [PATCH linux-next 0/5] mtd: spi-nor: add driver for Atmel QSPI  controller Cyrille Pitchen <cyrille.pitchen@atmel.com> - 2015-12-08 15:40 +0100

csiph-web