Add DT support for DA8xx
v4 cover Add DT support for DA8xx
Changes in v2:
* Remove unrelated changes in patch 3
* Rename the device node in patch 4
Changes in v3:
* Fix few mistakes in DT binding sample
* Only build the device table if DT is enabled
Change in v4:
* Fix a nit
Alexandre Bailon (1):
ARM: dts: da850: Add the usb otg device node
Petr Kulhavy (3):
dt/bindings: Add binding for the DA8xx MUSB driver
usb: musb: core: added helper function for parsing DT
usb: musb: da8xx: Add DT support for the DA8xx driver
.../devicetree/bindings/usb/da8xx-usb.txt | 43 ++++++++++++++++++++ arch/arm/boot/dts/da850-lcdk.dts | 8 ++++ arch/arm/boot/dts/da850.dtsi | 15 +++++++ drivers/usb/musb/da8xx.c | 46 ++++++++++++++++++++++ drivers/usb/musb/musb_core.c | 19 +++++++++ drivers/usb/musb/musb_core.h | 6 +++ 6 files changed, 137 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/da8xx-usb.txt
Signature · 1 line
2.7.3
PATCH v4 1/4 dt/bindings: Add binding for the DA8xx MUSB driver
From: Petr Kulhavy <[email protected]>
DT binding for the TI DA8xx/OMAP-L1x/AM17xx/AM18xx MUSB driver.
--- .../devicetree/bindings/usb/da8xx-usb.txt | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/da8xx-usb.txt
Documentation/devicetree/bindings/usb/da8xx-usb.txt new file +43 -0
@@ -0,0 +1,43 @@ +TI DA8xx MUSB +~~~~~~~~~~~~~ +For DA8xx/OMAP-L1x/AM17xx/AM18xx platforms. + +Required properties: +~~~~~~~~~~~~~~~~~~~~ + - compatible : Should be set to "ti,da830-musb". + + - reg: Offset and length of the USB controller register set. + + - interrupts: The USB interrupt number. + + - interrupt-names: Should be set to "mc". + + - dr_mode: The USB operation mode. Should be one of "host", "peripheral" or "otg". + + - phys: Phandle for the PHY device + + - phy-names: Should be "usb-phy" + +Optional properties: +~~~~~~~~~~~~~~~~~~~~ + - vbus-supply: Phandle to a regulator providing the USB bus power. + +Example: + usb_phy: usb-phy { + compatible = "ti,da830-usb-phy"; + #phy-cells = <0>; + status = "okay"; + }; + usb0: usb at 200000 { + compatible = "ti,da830-musb"; + reg = <0x00200000 0x10000>; + interrupts = <58>; + interrupt-names = "mc"; + + dr_mode = "host"; + vbus-supply = <&usb_vbus>; + phys = <&usb_phy 0>; + phy-names = "usb-phy"; + + status = "okay"; + };
Signature · 1 line
2.7.3
PATCH v4 2/4 usb: musb: core: added helper function for parsing DT
In reply to Alexandre BailonFrom: Petr Kulhavy <[email protected]>
This adds the function musb_get_mode() to get the DT property "dr_mode"
--- drivers/usb/musb/musb_core.c | 19 +++++++++++++++++++ drivers/usb/musb/musb_core.h | 6 ++++++ 2 files changed, 25 insertions(+)
drivers/usb/musb/musb_core.c +19 -0
@@ -100,6 +100,7 @@#include <linux/io.h> #include <linux/dma-mapping.h> #include <linux/usb.h> +#include <linux/usb/of.h> #include "musb_core.h" #include "musb_trace.h"
@@ -130,6 +131,24 @@ static inline struct musb *dev_to_musb(struct device *dev)return dev_get_drvdata (dev); } +enum musb_mode musb_get_mode (struct device *dev) +{ +enum usb_dr_mode mode; + + mode =usb_get_dr_mode (dev); +switch (mode) { +case USB_DR_MODE_HOST : +return MUSB_HOST ; +case USB_DR_MODE_PERIPHERAL : +return MUSB_PERIPHERAL ; +case USB_DR_MODE_OTG : +case USB_DR_MODE_UNKNOWN : +default : +return MUSB_OTG ; + } +} +EXPORT_SYMBOL_GPL (musb_get_mode); +/*-------------------------------------------------------------------------*/ #ifndef CONFIG_BLACKFIN
drivers/usb/musb/musb_core.h +6 -0
@@ -617,4 +617,10 @@ static inline void musb_platform_post_root_reset_end(struct musb *musb) musb->ops->post_root_reset_end(musb); } +/* +* gets the "dr_mode" property from DT and converts it into musb_mode +* if the property is not found or not recognized returns MUSB_OTG +*/ +extern enum musb_mode musb_get_mode (struct device *dev); +#endif /* __MUSB_CORE_H__ */
Signature · 1 line
2.7.3
PATCH v4 3/4 usb: musb: da8xx: Add DT support for the DA8xx driver
In reply to Alexandre BailonFrom: Petr Kulhavy <[email protected]>
This adds DT support for TI DA8xx/OMAP-L1x/AM17xx/AM18xx MUSB driver
--- drivers/usb/musb/da8xx.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+)
drivers/usb/musb/da8xx.c +46 -0
@@ -6,6 +6,9 @@* Based on the DaVinci "glue layer" code. * Copyright (C) 2005-2006 by Texas Instruments * +* DT support +* Copyright (c) 2016 Petr Kulhavy <[email protected]> +* * This file is part of the Inventra Controller Driver for Linux. * * The Inventra Controller Driver for Linux is free software; you
@@ -433,6 +436,21 @@ static int da8xx_musb_exit(struct musb *musb)return 0 ; } +static inline u8 get_vbus_power (struct device *dev) +{ +struct regulator *vbus_supply; +int current_uA; + + vbus_supply =regulator_get_optional (dev,"vbus" ); +if (IS_ERR (vbus_supply)) +return 255 ; + current_uA =regulator_get_current_limit (vbus_supply); +regulator_put (vbus_supply); +if (current_uA <=0 || current_uA >510000 ) +return 255 ; +return current_uA /1000 /2 ; +} +static const struct musb_platform_ops da8xx_ops = { .quirks =MUSB_DMA_CPPI |MUSB_INDEXED_EP , .init = da8xx_musb_init,
@@ -458,6 +476,12 @@ static const struct platform_device_info da8xx_dev_info = { .dma_mask = DMA_BIT_MASK(32), }; +static const struct musb_hdrc_config da8xx_config = { + .ram_bits =10 , + .num_eps =5 , + .multipoint =1 , +}; +static int da8xx_probe (struct platform_device *pdev) {struct resource musb_resources[2 ];
@@ -465,6 +489,7 @@ static int da8xx_probe(struct platform_device *pdev)struct da8xx_glue *glue;struct platform_device_info pinfo;struct clk *clk; +struct device_node *np = pdev->dev.of_node;int ret; glue =devm_kzalloc (&pdev->dev,sizeof (*glue),GFP_KERNEL );
@@ -486,6 +511,16 @@ static int da8xx_probe(struct platform_device *pdev) glue->dev = &pdev->dev; glue->clk = clk; +if (IS_ENABLED (CONFIG_OF ) && np) { + pdata =devm_kzalloc (&pdev->dev,sizeof (*pdata),GFP_KERNEL ); +if (!pdata) +return -ENOMEM ; + + pdata->config = &da8xx_config; + pdata->mode =musb_get_mode (&pdev->dev); + pdata->power =get_vbus_power (&pdev->dev); + } + pdata->platform_ops = &da8xx_ops; glue->usb_phy =usb_phy_generic_register ();
@@ -536,11 +571,22 @@ static int da8xx_remove(struct platform_device *pdev)return 0 ; } +#ifdef CONFIG_OF +static const struct of_device_id da8xx_id_table[] = { + { + .compatible ="ti,da830-musb" , + }, + {}, +}; +MODULE_DEVICE_TABLE (of, da8xx_id_table); +#endif +static struct platform_driver da8xx_driver = { .probe = da8xx_probe, .remove = da8xx_remove, .driver = { .name ="musb-da8xx" , + .of_match_table =of_match_ptr (da8xx_id_table), }, };
Signature · 1 line
2.7.3
PATCH v4 4/4 ARM: dts: da850: Add the usb otg device node
In reply to Alexandre BailonThis adds the device tree node for the usb otg controller present in the da850 family of SoC's. This also enables the otg usb controller for the lcdk board.
--- arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++ arch/arm/boot/dts/da850.dtsi | 15 +++++++++++++++ 2 files changed, 23 insertions(+)
arch/arm/boot/dts/da850-lcdk.dts +8 -0
@@ -158,6 +158,14 @@ rx-num-evt = <32>; }; +&usb_phy { + status = "okay"; + }; + +&usb0 { + status = "okay"; +}; + &aemif { pinctrl-names = "default"; pinctrl-0 = <&nand_pins>;
arch/arm/boot/dts/da850.dtsi +15 -0
@@ -372,6 +372,21 @@ >; status = "disabled"; }; + usb_phy: usb-phy { + compatible = "ti,da830-usb-phy"; + #phy-cells = <1>; + status = "disabled"; + }; + usb0: usb at 200000 { + compatible = "ti,da830-musb"; + reg = <0x200000 0x10000>; + interrupts = <58>; + interrupt-names = "mc"; + dr_mode = "otg"; + phys = <&usb_phy 0>; + phy-names = "usb-phy"; + status = "disabled"; + }; gpio: gpio at 226000 { compatible = "ti,dm6441-gpio"; gpio-controller;
Signature · 1 line
2.7.3
PATCH v4 4/4 ARM: dts: da850: Add the usb otg device node
Quoted 34 lines · Alexandre Bailon
This adds the device tree node for the usb otg controller present in the da850 family of SoC's. This also enables the otg usb controller for the lcdk board.
Signed-off-by Alexandre Bailon <[email protected]>--- arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++ arch/arm/boot/dts/da850.dtsi | 15 +++++++++++++++ 2 files changed, 23 insertions(+)arch/arm/boot/dts/da850-lcdk.dts +8
-0@@ -158,6 +158,14 @@ rx-num-evt = <32>; }; +&usb_phy { + status = "okay"; + }; + +&usb0 { + status = "okay"; +}; + &aemif { pinctrl-names = "default"; pinctrl-0 = <&nand_pins>;arch/arm/boot/dts/da850.dtsi +0
-0
arch/arm/boot/dts/da850.dtsi line 379
Quoted 8 lines
arch/arm/boot/dts/da850.dtsi +5
-0@@ -372,6 +372,21 @@ >; status = "disabled"; }; + usb_phy: usb-phy { + compatible = "ti,da830-usb-phy"; + #phy-cells = <1>; + status = "disabled"; + };
The usb_phy node is already in the device tree as a child of the cfgchip syscon node[1]. It needs to be removed from this patch, otherwise we will end up with duplicate usb_phy nodes.
arch/arm/boot/dts/da850.dtsi line 385
Quoted 6 lines
arch/arm/boot/dts/da850.dtsi +6
-0+ usb0: usb at 200000 { + compatible = "ti,da830-musb"; + reg = <0x200000 0x10000>; + interrupts = <58>; + interrupt-names = "mc"; + dr_mode = "otg";
Isn't this the default value? Could we omit the dr_mode property here?
Quoted 8 lines
arch/arm/boot/dts/da850.dtsi +4
-0+ phys = <&usb_phy 0>; + phy-names = "usb-phy"; + status = "disabled"; + }; gpio: gpio at 226000 { compatible = "ti,dm6441-gpio"; gpio-controller;
PATCH v4 4/4 ARM: dts: da850: Add the usb otg device node
Quoted 9 lines · David Lechner
arch/arm/boot/dts/da850.dtsi line 385
Quoted 7 lines
arch/arm/boot/dts/da850.dtsi +6
-0+ usb0: usb at 200000 { + compatible = "ti,da830-musb"; + reg = <0x200000 0x10000>; + interrupts = <58>; + interrupt-names = "mc"; + dr_mode = "otg";Isn't this the default value? Could we omit the
dr_modeproperty here?
dr_mode is set to otg in quite a few dts files already. Even if its the default, I think it makes it easy to recognize the mode immediately.
Thanks,
Sekhar
Re: [PATCH v4 4/4] ARM: dts: da850: Add the usb otg device node
In reply to Alexandre BailonQuoted 15 lines · Alexandre Bailon
This adds the device tree node for the usb otg controller present in the da850 family of SoC's. This also enables the otg usb controller for the lcdk board.
Signed-off-by Alexandre Bailon <[email protected]>--- arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++ arch/arm/boot/dts/da850.dtsi | 15 +++++++++++++++ 2 files changed, 23 insertions(+)arch/arm/boot/dts/da850-lcdk.dts +0
-0
arch/arm/boot/dts/da850-lcdk.dts line 163
Quoted 6 lines
arch/arm/boot/dts/da850-lcdk.dts +3
-0@@ -158,6 +158,14 @@ rx-num-evt = <32>; }; +&usb_phy { + status = "okay"; + };
As mentioned by David already, this node needs to be removed. Please rebase this on top of latest linux-davinci/master when ready for merging (driver changes accepted).
Quoted 21 lines
arch/arm/boot/dts/da850-lcdk.dts +5
-0+ +&usb0 { + status = "okay"; +}; + &aemif { pinctrl-names = "default"; pinctrl-0 = <&nand_pins>;arch/arm/boot/dts/da850.dtsi +5
-0@@ -372,6 +372,21 @@ >; status = "disabled"; }; + usb_phy: usb-phy { + compatible = "ti,da830-usb-phy"; + #phy-cells = <1>; + status = "disabled"; + };
arch/arm/boot/dts/da850.dtsi line 389
Quoted 10 lines
arch/arm/boot/dts/da850.dtsi +10
-0+ usb0: usb at 200000 { + compatible = "ti,da830-musb"; + reg = <0x200000 0x10000>; + interrupts = <58>; + interrupt-names = "mc"; + dr_mode = "otg"; + phys = <&usb_phy 0>; + phy-names = "usb-phy"; + status = "disabled"; + };
Can you separate out the soc specific changes from board changes? Please place the usb0 node above the mdio node. I am trying to get to a rough ordering based on reg property.
Thanks,
Sekhar
Bin Liu
maintainerRe: [PATCH v4 4/4] ARM: dts: da850: Add the usb otg device nodeg
Quoted 19 lines · Sekhar Nori
Quoted 18 lines · Alexandre Bailon
This adds the device tree node for the usb otg controller present in the da850 family of SoC's. This also enables the otg usb controller for the lcdk board.
Signed-off-by Alexandre Bailon <[email protected]>--- arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++ arch/arm/boot/dts/da850.dtsi | 15 +++++++++++++++ 2 files changed, 23 insertions(+)arch/arm/boot/dts/da850-lcdk.dts +0
-0@@ -158,6 +158,14 @@ rx-num-evt = <32>; };
Quoted 7 lines
arch/arm/boot/dts/da850-lcdk.dts line 163
Quoted 3 lines
arch/arm/boot/dts/da850-lcdk.dts +3
-0+&usb_phy { + status = "okay"; + };As mentioned by David already, this node needs to be removed. Please rebase this on top of latest linux-davinci/master when ready for merging (driver changes accepted).
Dropped this patch due to this comment.
Regards,
-Bin.
Quoted 40 lines
Quoted 22 lines
arch/arm/boot/dts/da850-lcdk.dts +5
-0+ +&usb0 { + status = "okay"; +}; + &aemif { pinctrl-names = "default"; pinctrl-0 = <&nand_pins>;arch/arm/boot/dts/da850.dtsi +5
-0@@ -372,6 +372,21 @@ >; status = "disabled"; }; + usb_phy: usb-phy { + compatible = "ti,da830-usb-phy"; + #phy-cells = <1>; + status = "disabled"; + };arch/arm/boot/dts/da850.dtsi line 389
Quoted 10 lines
arch/arm/boot/dts/da850.dtsi +10
-0+ usb0: usb at 200000 { + compatible = "ti,da830-musb"; + reg = <0x200000 0x10000>; + interrupts = <58>; + interrupt-names = "mc"; + dr_mode = "otg"; + phys = <&usb_phy 0>; + phy-names = "usb-phy"; + status = "disabled"; + };Can you separate out the soc specific changes from board changes? Please place the usb0 node above the mdio node. I am trying to get to a rough ordering based on reg property.
Thanks,
Sekhar
Re: [PATCH v4 4/4] ARM: dts: da850: Add the usb otg device nodeg
Quoted 28 lines · Bin Liu
Quoted 19 lines · Sekhar Nori
Quoted 18 lines · Alexandre Bailon
This adds the device tree node for the usb otg controller present in the da850 family of SoC's. This also enables the otg usb controller for the lcdk board.
Signed-off-by Alexandre Bailon <[email protected]>--- arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++ arch/arm/boot/dts/da850.dtsi | 15 +++++++++++++++ 2 files changed, 23 insertions(+)arch/arm/boot/dts/da850-lcdk.dts +0
-0@@ -158,6 +158,14 @@ rx-num-evt = <32>; };Quoted 7 lines
arch/arm/boot/dts/da850-lcdk.dts line 163
Quoted 3 lines
arch/arm/boot/dts/da850-lcdk.dts +3
-0+&usb_phy { + status = "okay"; + };As mentioned by David already, this node needs to be removed. Please rebase this on top of latest linux-davinci/master when ready for merging (driver changes accepted).
Quoted 1 line
Dropped this patch due to this comment.
Bin, Please do not apply dts or arch/arm/mach-davinci patches. I have a bunch queued through my tree and more in pipeline and it will cause unnecessary merge conflicts in linux-next or at Linus.
For future, I have asked Alexandre to send driver and dts patches as separate series so there is no confusion on who should apply.
Thanks,
Sekhar
Bin Liu
maintainerRe: [PATCH v4 4/4] ARM: dts: da850: Add the usb otg device nodeg
Quoted 29 lines · Sekhar Nori
Quoted 28 lines · Bin Liu
Quoted 26 lines · Sekhar Nori
Quoted 15 lines · Alexandre Bailon
This adds the device tree node for the usb otg controller present in the da850 family of SoC's. This also enables the otg usb controller for the lcdk board.
Signed-off-by Alexandre Bailon <[email protected]>--- arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++ arch/arm/boot/dts/da850.dtsi | 15 +++++++++++++++ 2 files changed, 23 insertions(+)arch/arm/boot/dts/da850-lcdk.dts +0
-0arch/arm/boot/dts/da850-lcdk.dts line 163
Quoted 6 lines
arch/arm/boot/dts/da850-lcdk.dts +3
-0@@ -158,6 +158,14 @@ rx-num-evt = <32>; }; +&usb_phy { + status = "okay"; + };As mentioned by David already, this node needs to be removed. Please rebase this on top of latest linux-davinci/master when ready for merging (driver changes accepted).
Quoted 5 lines
Quoted 1 line
Dropped this patch due to this comment.
Bin, Please do not apply dts or
arch/arm/mach-davincipatches. I have a bunch queued through my tree and more in pipeline and it will cause unnecessary merge conflicts in linux-next or at Linus.
Sure, I will drop this whole set, and only apply the musb patches in the new v5.
Quoted 3 lines
For future, I have asked Alexandre to send driver and dts patches as separate series so there is no confusion on who should apply.
I will keep in mind to ping other domain maintainers before applying non-musb patches in future.
Quoted 3 lines
Thanks,
Sekhar
Regards,
-Bin.
Re: [PATCH v4 4/4] ARM: dts: da850: Add the usb otg device node
In reply to Sekhar NoriQuoted 19 lines · Sekhar Nori
Quoted 18 lines · Alexandre Bailon
This adds the device tree node for the usb otg controller present in the da850 family of SoC's. This also enables the otg usb controller for the lcdk board.
Signed-off-by Alexandre Bailon <[email protected]>--- arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++ arch/arm/boot/dts/da850.dtsi | 15 +++++++++++++++ 2 files changed, 23 insertions(+)arch/arm/boot/dts/da850-lcdk.dts +0
-0@@ -158,6 +158,14 @@ rx-num-evt = <32>; };
Quoted 5 lines
arch/arm/boot/dts/da850-lcdk.dts line 163
Quoted 3 lines
arch/arm/boot/dts/da850-lcdk.dts +3
-0+&usb_phy { + status = "okay"; + };As mentioned by David already, this node needs to be removed. Please
I have missed it. But why should I remove it?
Without it, usb otg won't work.
Quoted 30 lines
rebase this on top of latest linux-davinci/master when ready for merging (driver changes accepted).
Quoted 27 lines
arch/arm/boot/dts/da850-lcdk.dts +5
-0+ +&usb0 { + status = "okay"; +}; + &aemif { pinctrl-names = "default"; pinctrl-0 = <&nand_pins>;arch/arm/boot/dts/da850.dtsi +11
-0@@ -372,6 +372,21 @@ >; status = "disabled"; }; + usb_phy: usb-phy { + compatible = "ti,da830-usb-phy"; + #phy-cells = <1>; + status = "disabled"; + }; + usb0: usb at 200000 { + compatible = "ti,da830-musb"; + reg = <0x200000 0x10000>; + interrupts = <58>; + interrupt-names = "mc"; + dr_mode = "otg";
Quoted 8 lines
arch/arm/boot/dts/da850.dtsi line 389
Quoted 4 lines
arch/arm/boot/dts/da850.dtsi +4
-0+ phys = <&usb_phy 0>; + phy-names = "usb-phy"; + status = "disabled"; + };Can you separate out the soc specific changes from board changes? Please place the usb0 node above the mdio node. I am trying to get to a rough ordering based on reg property.
I will do.
Quoted 4 lines
Thanks,
Sekhar
Thanks,
Alexandre
Re: [PATCH v4 4/4] ARM: dts: da850: Add the usb otg device node
Quoted 20 lines · Alexandre Bailon
Quoted 19 lines · Sekhar Nori
Quoted 18 lines · Alexandre Bailon
This adds the device tree node for the usb otg controller present in the da850 family of SoC's. This also enables the otg usb controller for the lcdk board.
Signed-off-by Alexandre Bailon <[email protected]>--- arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++ arch/arm/boot/dts/da850.dtsi | 15 +++++++++++++++ 2 files changed, 23 insertions(+)arch/arm/boot/dts/da850-lcdk.dts +0
-0@@ -158,6 +158,14 @@ rx-num-evt = <32>; };
Quoted 8 lines
Quoted 5 lines
arch/arm/boot/dts/da850-lcdk.dts line 163
Quoted 3 lines
arch/arm/boot/dts/da850-lcdk.dts +3
-0+&usb_phy { + status = "okay"; + };As mentioned by David already, this node needs to be removed. Please
I have missed it. But why should I remove it?
Without it, usb otg won't work.
Grr, I replied to the wrong hunk. The part in da850-lcdk.dts needs to be preserved (but please fix the indentation on the closing brace).
The part in da850.dtsi needs to be removed as it is already merged.
Thanks,
Sekhar
Re: [PATCH v4 4/4] ARM: dts: da850: Add the usb otg device node
Quoted 27 lines · Sekhar Nori
Quoted 25 lines · Alexandre Bailon
Quoted 24 lines · Sekhar Nori
Quoted 15 lines · Alexandre Bailon
This adds the device tree node for the usb otg controller present in the da850 family of SoC's. This also enables the otg usb controller for the lcdk board.
Signed-off-by Alexandre Bailon <[email protected]>--- arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++ arch/arm/boot/dts/da850.dtsi | 15 +++++++++++++++ 2 files changed, 23 insertions(+)arch/arm/boot/dts/da850-lcdk.dts +0
-0arch/arm/boot/dts/da850-lcdk.dts line 163
Quoted 6 lines
arch/arm/boot/dts/da850-lcdk.dts +3
-0@@ -158,6 +158,14 @@ rx-num-evt = <32>; }; +&usb_phy { + status = "okay"; + };As mentioned by David already, this node needs to be removed. Please
Quoted 5 lines
Quoted 2 lines
I have missed it. But why should I remove it?
Without it, usb otg won't work.Grr, I replied to the wrong hunk. The part in
da850-lcdk.dtsneeds to be preserved (but please fix the indentation on the closing brace).
OK. Thanks for the confirmation.
Quoted 6 lines
The part in
da850.dtsineeds to be removed as it is already merged.Thanks,
Sekhar
Quoted 11 lines · Alexandre Bailon
Changes in v2:
* Remove unrelated changes in patch 3
* Rename the device node in patch 4Changes in v3:
* Fix few mistakes in DT binding sample
* Only build the device table if DT is enabledChange in v4:
* Fix a nit
Quoted 7 lines
Alexandre Bailon (1):
ARM: dts: da850: Add the usb otg device nodePetr Kulhavy (3):
dt/bindings: Add binding for the DA8xx MUSB driver
usb: musb: core: added helper function for parsing DT
usb: musb: da8xx: Add DT support for the DA8xx driver
Applied. Thanks.
-Bin.
Quoted 13 lines
.../devicetree/bindings/usb/da8xx-usb.txt | 43 ++++++++++++++++++++ arch/arm/boot/dts/da850-lcdk.dts | 8 ++++ arch/arm/boot/dts/da850.dtsi | 15 +++++++ drivers/usb/musb/da8xx.c | 46 ++++++++++++++++++++++ drivers/usb/musb/musb_core.c | 19 +++++++++ drivers/usb/musb/musb_core.h | 6 +++ 6 files changed, 137 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/da8xx-usb.txtSignature · 1 line
2.7.3