Message ID | 1519127758-2084-2-git-send-email-liuxuenetmail@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Hello. On 02/20/2018 12:55 PM, Xue Liu wrote: > Signed-off-by: Xue Liu <liuxuenetmail@gmail.com> > --- > .../devicetree/bindings/net/ieee802154/mcr20a.txt | 23 ++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt > > diff --git a/Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt b/Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt > new file mode 100644 > index 0000000..9a39769 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt > @@ -0,0 +1,23 @@ > +* MCR20A IEEE 802.15.4 * > + > +Required properties: > + - compatible: should be "nxp,mcr20a" > + - spi-max-frequency: maximal bus speed, should be set to a frequency > + lower than 9000000 depends sync or async operation mode > + - reg: the chipselect index > + - interrupts: the interrupt generated by the device. Non high-level > + can occur deadlocks while handling isr. > + > +Optional properties: > + - rst_b-gpio: GPIO spec for the RST_B pin > + > +Example: > + > + mcr20a@0 { > + compatible = "nxp,mcr20a"; > + spi-max-frequency = <9000000>; > + reg = <0>; > + interrupts = <17 2>; > + interrupt-parent = <&gpio>; > + rst_b-gpio = <&gpio 27 1> > + }; This patch has been applied to the wpan-next tree and will be part of the next pull request to net-next. Thanks! regards Stefan Schmidt -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt b/Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt new file mode 100644 index 0000000..9a39769 --- /dev/null +++ b/Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt @@ -0,0 +1,23 @@ +* MCR20A IEEE 802.15.4 * + +Required properties: + - compatible: should be "nxp,mcr20a" + - spi-max-frequency: maximal bus speed, should be set to a frequency + lower than 9000000 depends sync or async operation mode + - reg: the chipselect index + - interrupts: the interrupt generated by the device. Non high-level + can occur deadlocks while handling isr. + +Optional properties: + - rst_b-gpio: GPIO spec for the RST_B pin + +Example: + + mcr20a@0 { + compatible = "nxp,mcr20a"; + spi-max-frequency = <9000000>; + reg = <0>; + interrupts = <17 2>; + interrupt-parent = <&gpio>; + rst_b-gpio = <&gpio 27 1> + };
Signed-off-by: Xue Liu <liuxuenetmail@gmail.com> --- .../devicetree/bindings/net/ieee802154/mcr20a.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt