[PATCH 3/3] net: davicom: Use platform_get_irq_optional()

2021-03-07 Thread Paul Cercueil
The second IRQ line really is optional, so use platform_get_irq_optional() to obtain it. Signed-off-by: Paul Cercueil --- drivers/net/ethernet/davicom/dm9000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/davicom/dm9000.c b/drivers/net/ethernet

[PATCH 2/3] net: davicom: Fix regulator not turned off on driver removal

2021-03-07 Thread Paul Cercueil
We must disable the regulator that was enabled in the probe function. Fixes: 7994fe55a4a2 ("dm9000: Add regulator and reset support to dm9000") Signed-off-by: Paul Cercueil --- drivers/net/ethernet/davicom/dm9000.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) di

[PATCH 1/3] net: davicom: Fix regulator not turned off on failed probe

2021-03-07 Thread Paul Cercueil
When the probe fails or requests to be defered, we must disable the regulator that was previously enabled. Fixes: 7994fe55a4a2 ("dm9000: Add regulator and reset support to dm9000") Signed-off-by: Paul Cercueil --- drivers/net/ethernet/davicom/dm9000.c | 12 +--- 1 file

Re: [PATCH] dt-bindings: Add missing array size constraints

2021-01-05 Thread Paul Cercueil
usbhs.yaml | 1 + .../devicetree/bindings/usb/ti,j721e-usb.yaml | 3 ++- .../bindings/usb/ti,keystone-dwc3.yaml| 2 ++ 74 files changed, 118 insertions(+), 33 deletions(-) For bindings/remoteproc/ingenic,vpu.yaml and devicetree/bindings/usb/ingenic,musb.yaml: Acked-by: Paul Cercueil Cheers, -Paul

[PATCH 1/2] Documentation: devicetree: Add bindings info for rfkill-regulator

2016-11-01 Thread Paul Cercueil
This document gives information about how to write a devicetree node that corresponds to the rfkill-regulator driver. Signed-off-by: Paul Cercueil --- .../devicetree/bindings/net/rfkill-regulator.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644

[PATCH 2/2] net: rfkill-regulator: Add devicetree support

2016-11-01 Thread Paul Cercueil
This commit adds the support for probing the rfkill-regulator from devicetree. Information about the devicetree bindings can be found here: Documentation/devicetree/bindings/net/rfkill-regulator.txt Signed-off-by: Paul Cercueil --- net/rfkill/rfkill-regulator.c | 43