Message ID | 1570707681-865-2-git-send-email-talel@amazon.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Amazon's Annapurna Labs POS Driver | expand |
On Thu, 10 Oct 2019 14:41:20 +0300, Talel Shenhar wrote: > Document Amazon's Annapurna Labs POS SoC binding. > > Signed-off-by: Talel Shenhar <talel@amazon.com> > --- > .../bindings/edac/amazon,al-pos-edac.yaml | 41 ++++++++++++++++++++++ > 1 file changed, 41 insertions(+) > create mode 100644 Documentation/devicetree/bindings/edac/amazon,al-pos-edac.yaml > Reviewed-by: Rob Herring <robh@kernel.org>
On 10/11/2019 4:42 PM, Rob Herring wrote: > On Thu, 10 Oct 2019 14:41:20 +0300, Talel Shenhar wrote: >> Document Amazon's Annapurna Labs POS SoC binding. >> >> Signed-off-by: Talel Shenhar <talel@amazon.com> >> --- >> .../bindings/edac/amazon,al-pos-edac.yaml | 41 ++++++++++++++++++++++ >> 1 file changed, 41 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/edac/amazon,al-pos-edac.yaml >> > Reviewed-by: Rob Herring <robh@kernel.org> Thanks Rob, shall add your reviewed-by with a minor fix, add "-only" to the GPL.
diff --git a/Documentation/devicetree/bindings/edac/amazon,al-pos-edac.yaml b/Documentation/devicetree/bindings/edac/amazon,al-pos-edac.yaml new file mode 100644 index 00000000..776f31f --- /dev/null +++ b/Documentation/devicetree/bindings/edac/amazon,al-pos-edac.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/edac/amazon,al-pos-edac.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amazon's Annapurna Labs POS + +maintainers: + - Talel Shenhar <talel@amazon.com> + - Talel Shenhar <talelshenhar@gmail.com> + +description: | + POS node is defined to describe the Point Of Serialization (POS) error + detection capability. + +properties: + + compatible: + const: "amazon,al-pos-edac" + + reg: + maxItems: 1 + + interrupts: + description: Interrupt for the error event. + maxItems: 1 + +required: + - compatible + - reg + +examples: + - | + #include <dt-bindings/interrupt-controller/irq.h> + edac@f0070084 { + compatible = "amazon,al-pos-edac"; + reg = <0x0 0xf0070084 0x0 0x00000008>; + interrupt-parent = <&amazon_system_fabric>; + interrupts = <24 IRQ_TYPE_LEVEL_HIGH>; + };
Document Amazon's Annapurna Labs POS SoC binding. Signed-off-by: Talel Shenhar <talel@amazon.com> --- .../bindings/edac/amazon,al-pos-edac.yaml | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/edac/amazon,al-pos-edac.yaml