pwm: Introduce pwm driver for the Loongson family chips
Subsystems (4)
Binbin Zhou
maintainercover pwm: Introduce pwm driver for the Loongson family chips
Hi all:
This patchset introduce a generic PWM framework driver for Loongson family. Each PWM has one pulse width output signal and one pulse input signal to be measured. It can be found on Loongson-2K series cpus and Loongson LS7A bridge chips.
Thanks.
Binbin Zhou (5):
dt-bindings: pwm: Add Loongson PWM controller
pwm: Add Loongson PWM controller support
LoongArch: dts: Add PWM support to Loongson-2K0500
LoongArch: dts: Add PWM support to Loongson-2K1000
LoongArch: dts: Add PWM support to Loongson-2K2000
.../devicetree/bindings/pwm/pwm-loongson.yaml | 64 ++++ MAINTAINERS | 7 + arch/loongarch/boot/dts/loongson-2k0500.dtsi | 20 ++ .../boot/dts/loongson-2k1000-ref.dts | 24 ++ arch/loongarch/boot/dts/loongson-2k1000.dtsi | 42 ++- arch/loongarch/boot/dts/loongson-2k2000.dtsi | 60 ++++ drivers/pwm/Kconfig | 10 + drivers/pwm/Makefile | 1 + drivers/pwm/pwm-loongson.c | 300 ++++++++++++++++++ 9 files changed, 527 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/pwm/pwm-loongson.yaml create mode 100644 drivers/pwm/pwm-loongson.c
Signature · 1 line
2.43.0
Binbin Zhou
maintainerPATCH 1/5 dt-bindings: pwm: Add Loongson PWM controller
Add Loongson PWM controller binding with DT schema format using json-schema.
--- .../devicetree/bindings/pwm/pwm-loongson.yaml | 64 +++++++++++++++++++ MAINTAINERS | 6 ++ 2 files changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/pwm-loongson.yaml
Documentation/devicetree/bindings/pwm/pwm-loongson.yaml new file +64 -0
@@ -0,0 +1,64 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/pwm-loongson.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson PWM Controller + +maintainers: + - Binbin Zhou <[email protected]> + +description: + It is the generic PWM framework driver for Loongson family. + Each PWM has one pulse width output signal and one pulse input + signal to be measured. + It can be found on Loongson-2K series cpus and Loongson LS7A bridge chips. + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + oneOf: + - const: loongson,ls7a-pwm + - items: + - enum: + - loongson,ls2k0500-pwm + - loongson,ls2k1000-pwm + - loongson,ls2k2000-pwm + - const: loongson,ls7a-pwm + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + '#pwm-cells': + const: 3 + +required: + - compatible + - reg + - interrupts + - clocks + - '#pwm-cells' + +additionalProperties: false + +examples: + - | + #include <dt-bindings/interrupt-controller/irq.h> + #include <dt-bindings/clock/loongson,ls2k-clk.h> + pwm@1fe22000 { + compatible = "loongson,ls2k1000-pwm", "loongson,ls7a-pwm"; + reg = <0x1fe22000 0x10>; + interrupt-parent = <&liointc0>; + interrupts = <24 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk LOONGSON2_APB_CLK>; + #pwm-cells = <3>; + };
MAINTAINERS +6 -0
@@ -12753,6 +12753,12 @@ S: Maintained F: Documentation/devicetree/bindings/i2c/loongson,ls2x-i2c.yaml F: drivers/i2c/busses/i2c-ls2x.c +LOONGSON PWM DRIVER +M: Binbin Zhou <[email protected]> +L: [email protected] +S: Maintained +F: Documentation/devicetree/bindings/pwm/pwm-loongson.yaml + LOONGSON-2 SOC SERIES CLOCK DRIVER M: Yinbo Zhu <[email protected]> L: [email protected]
Signature · 1 line
2.43.0
Rob Herring
maintainerRe: [PATCH v1 1/5] dt-bindings: pwm: Add Loongson PWM controller
Quoted 6 lines · Binbin Zhou
Add Loongson PWM controller binding with DT schema format using json-schema.
Signed-off-by Binbin Zhou <[email protected]>--- .../devicetree/bindings/pwm/pwm-loongson.yaml | 64 +++++++++++++++++++
Filename should match compatible.
Quoted 13 lines
MAINTAINERS | 6 ++ 2 files changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/pwm-loongson.yamlDocumentation/devicetree/bindings/pwm/pwm-loongson.yaml new file +3
-0@@ -0,0 +1,64 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +---
Documentation/devicetree/bindings/pwm/pwm-loongson.yaml line 13
Quoted 10 lines
Documentation/devicetree/bindings/pwm/pwm-loongson.yaml new file +10
-0+$id: http://devicetree.org/schemas/pwm/pwm-loongson.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson PWM Controller + +maintainers: + - Binbin Zhou <[email protected]> + +description: + It is the generic PWM framework driver for Loongson family.
That's describing the driver. Not really relevant to the binding.
Quoted 19 lines
Documentation/devicetree/bindings/pwm/pwm-loongson.yaml new file +19
-0+ Each PWM has one pulse width output signal and one pulse input + signal to be measured. + It can be found on Loongson-2K series cpus and Loongson LS7A bridge chips. + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + oneOf: + - const: loongson,ls7a-pwm + - items: + - enum: + - loongson,ls2k0500-pwm + - loongson,ls2k1000-pwm + - loongson,ls2k2000-pwm + - const: loongson,ls7a-pwm + + reg:
Documentation/devicetree/bindings/pwm/pwm-loongson.yaml line 42
Quoted 10 lines
Documentation/devicetree/bindings/pwm/pwm-loongson.yaml new file +10
-0+ maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + '#pwm-cells': + const: 3
Please define what is in each cell. If there's only 2 signals, then the first cell defines the output or input (what value for which one?).
Really, the PWM binding is only for outputs, so is a cell even needed? I suppose we could use it for inputs too, but that's really "input capture" type operation that timers often have. I'll defer to the PWM maintainers...
Documentation/devicetree/bindings/pwm/pwm-loongson.yaml line 49
Quoted 7 lines
Documentation/devicetree/bindings/pwm/pwm-loongson.yaml new file +7
-0+ +required: + - compatible + - reg + - interrupts + - clocks + - '#pwm-cells'
pwm.yaml makes this required already.
Rob
Re: [PATCH v1 1/5] dt-bindings: pwm: Add Loongson PWM controller
Hi Rob:
Thanks for your reply.
Quoted 10 lines · Rob Herring
Quoted 6 lines · Binbin Zhou
Add Loongson PWM controller binding with DT schema format using json-schema.
Signed-off-by Binbin Zhou <[email protected]>--- .../devicetree/bindings/pwm/pwm-loongson.yaml | 64 +++++++++++++++++++Filename should match compatible.
Emm... How about renaming it as loongson, pwm.yaml?
Quoted 18 lines
Quoted 18 lines
MAINTAINERS | 6 ++ 2 files changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/pwm-loongson.yamlDocumentation/devicetree/bindings/pwm/pwm-loongson.yaml new file +7
-0@@ -0,0 +1,64 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/pwm-loongson.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson PWM Controller
Quoted 9 lines
Documentation/devicetree/bindings/pwm/pwm-loongson.yaml line 13
Quoted 6 lines
Documentation/devicetree/bindings/pwm/pwm-loongson.yaml new file +6
-0+ +maintainers: + - Binbin Zhou <[email protected]> + +description: + It is the generic PWM framework driver for Loongson family.That's describing the driver. Not really relevant to the binding.
Ok ,I will rewrite this part.
Quoted 34 lines
Quoted 20 lines
Documentation/devicetree/bindings/pwm/pwm-loongson.yaml new file +19
-0+ Each PWM has one pulse width output signal and one pulse input + signal to be measured. + It can be found on Loongson-2K series cpus and Loongson LS7A bridge chips. + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + oneOf: + - const: loongson,ls7a-pwm + - items: + - enum: + - loongson,ls2k0500-pwm + - loongson,ls2k1000-pwm + - loongson,ls2k2000-pwm + - const: loongson,ls7a-pwm + + reg:Documentation/devicetree/bindings/pwm/pwm-loongson.yaml line 42
Quoted 10 lines
Documentation/devicetree/bindings/pwm/pwm-loongson.yaml new file +10
-0+ maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + '#pwm-cells': + const: 3Please define what is in each cell. If there's only 2 signals, then the first cell defines the output or input (what value for which one?).
Quoted 4 lines
Really, the PWM binding is only for outputs, so is a cell even needed? I suppose we could use it for inputs too, but that's really "input capture" type operation that timers often have. I'll defer to the PWM maintainers...
Ok, I will try to add some description about it.
If I understand correctly, the meaning of each cell in "#pwm-cells"is determined.
The first cell specifies the per-chip index of the PWM to use, the second cell is the period in nanoseconds and the third cell is the polarity.
Quoted 11 lines
Documentation/devicetree/bindings/pwm/pwm-loongson.yaml line 49
Quoted 8 lines
Documentation/devicetree/bindings/pwm/pwm-loongson.yaml new file +7
-0+ +required: + - compatible + - reg + - interrupts + - clocks + - '#pwm-cells'
pwm.yamlmakes this required already.
Yes, this is unnecessary. I will drop it in the next version.
Thanks.
Binbin
Quoted 2 lines
Rob
Re: [PATCH v1 1/5] dt-bindings: pwm: Add Loongson PWM controller
Quoted 46 lines · Binbin Zhou
Hi Rob:
Thanks for your reply.
Quoted 10 lines · Rob Herring
Quoted 6 lines · Binbin Zhou
Add Loongson PWM controller binding with DT schema format using json-schema.
Signed-off-by Binbin Zhou <[email protected]>--- .../devicetree/bindings/pwm/pwm-loongson.yaml | 64 +++++++++++++++++++Filename should match compatible.
Emm... How about renaming it as loongson,
pwm.yaml?Quoted 18 lines
Quoted 18 lines
MAINTAINERS | 6 ++ 2 files changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/pwm-loongson.yamlDocumentation/devicetree/bindings/pwm/pwm-loongson.yaml new file +7
-0@@ -0,0 +1,64 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/pwm-loongson.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Loongson PWM ControllerQuoted 9 lines
Documentation/devicetree/bindings/pwm/pwm-loongson.yaml line 13
Quoted 6 lines
Documentation/devicetree/bindings/pwm/pwm-loongson.yaml new file +6
-0+ +maintainers: + - Binbin Zhou <[email protected]> + +description: + It is the generic PWM framework driver for Loongson family.That's describing the driver. Not really relevant to the binding.
Quoted 35 lines
Ok ,I will rewrite this part.
Quoted 33 lines
Quoted 20 lines
Documentation/devicetree/bindings/pwm/pwm-loongson.yaml new file +19
-0+ Each PWM has one pulse width output signal and one pulse input + signal to be measured. + It can be found on Loongson-2K series cpus and Loongson LS7A bridge chips. + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + oneOf: + - const: loongson,ls7a-pwm + - items: + - enum: + - loongson,ls2k0500-pwm + - loongson,ls2k1000-pwm + - loongson,ls2k2000-pwm + - const: loongson,ls7a-pwm + + reg:Documentation/devicetree/bindings/pwm/pwm-loongson.yaml line 42
Quoted 10 lines
Documentation/devicetree/bindings/pwm/pwm-loongson.yaml new file +10
-0+ maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + + '#pwm-cells': + const: 3Please define what is in each cell. If there's only 2 signals, then the first cell defines the output or input (what value for which one?).
Hi Rob:
Sorry, the previous email did not answer this question. The first cell defines the output signal, and its value is 0.
Thanks.
Binbin
Quoted 31 lines
Quoted 5 lines
Really, the PWM binding is only for outputs, so is a cell even needed? I suppose we could use it for inputs too, but that's really "input capture" type operation that timers often have. I'll defer to the PWM maintainers...
Ok, I will try to add some description about it.
If I understand correctly, the meaning of each cell in "#pwm-cells"is determined.
The first cell specifies the per-chip index of the PWM to use, the second cell is the period in nanoseconds and the third cell is the polarity.Quoted 11 lines
Documentation/devicetree/bindings/pwm/pwm-loongson.yaml line 49
Quoted 8 lines
Documentation/devicetree/bindings/pwm/pwm-loongson.yaml new file +7
-0+ +required: + - compatible + - reg + - interrupts + - clocks + - '#pwm-cells'
pwm.yamlmakes this required already.Yes, this is unnecessary. I will drop it in the next version.
Thanks.
BinbinQuoted 2 lines
Rob
Re: [PATCH v1 1/5] dt-bindings: pwm: Add Loongson PWM controller
In reply to Binbin ZhouQuoted 10 lines · Binbin Zhou
Hi Rob:
Thanks for your reply.
Quoted 5 lines · Rob Herring
Quoted 3 lines · Binbin Zhou
Add Loongson PWM controller binding with DT schema format using json-schema.
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Signed-off-by Binbin Zhou <[email protected]>--- .../devicetree/bindings/pwm/pwm-loongson.yaml | 64 +++++++++++++++++++Filename should match compatible.
Emm... How about renaming it as loongson,
pwm.yaml?
Use the fallback, so loongson,ls7a-pwm.yaml
Best regards,
Krzysztof
Re: [PATCH v1 1/5] dt-bindings: pwm: Add Loongson PWM controller
Quoted 16 lines · Krzysztof Kozlowski
Quoted 14 lines · Binbin Zhou
Hi Rob:
Thanks for your reply.
Quoted 9 lines · Rob Herring
Quoted 6 lines · Binbin Zhou
Add Loongson PWM controller binding with DT schema format using json-schema.
Signed-off-by Binbin Zhou <[email protected]>--- .../devicetree/bindings/pwm/pwm-loongson.yaml | 64 +++++++++++++++++++
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Filename should match compatible.
Emm... How about renaming it as loongson,
pwm.yaml?Use the fallback, so loongson,ls7a-pwm.yaml
Ok, I got it.
Thanks.
Binbin
Quoted 4 lines
Best regards,
Krzysztof
Binbin Zhou
maintainerPATCH 2/5 pwm: Add Loongson PWM controller support
In reply to Binbin ZhouThis commit adds a generic PWM framework driver for the PWM controller found on Loongson family chips.
--- MAINTAINERS | 1 + drivers/pwm/Kconfig | 10 ++ drivers/pwm/Makefile | 1 + drivers/pwm/pwm-loongson.c | 300 +++++++++++++++++++++++++++++++++++++ 4 files changed, 312 insertions(+) create mode 100644 drivers/pwm/pwm-loongson.c
MAINTAINERS +1 -0
@@ -12758,6 +12758,7 @@ M: Binbin Zhou <[email protected]> L: [email protected] S: Maintained F: Documentation/devicetree/bindings/pwm/pwm-loongson.yaml +F: drivers/pwm/pwm-loongson.c LOONGSON-2 SOC SERIES CLOCK DRIVER M: Yinbo Zhu <[email protected]>
drivers/pwm/Kconfig +10 -0
@@ -324,6 +324,16 @@ config PWM_KEEMBAY To compile this driver as a module, choose M here: the module will be called pwm-keembay. +config PWM_LOONGSON + tristate "Loongson PWM support" + depends on MACH_LOONGSON64 + help + Generic PWM framework driver for Loongson family. + It can be found on Loongson-2K series cpu and Loongson LS7A bridge chips. + + To compile this driver as a module, choose M here: the module + will be called pwm-loongson. + config PWM_LP3943 tristate "TI/National Semiconductor LP3943 PWM support" depends on MFD_LP3943
drivers/pwm/Makefile +1 -0
@@ -28,6 +28,7 @@ obj-$(CONFIG_PWM_INTEL_LGM) += pwm-intel-lgm.o obj-$(CONFIG_PWM_IQS620A) += pwm-iqs620a.o obj-$(CONFIG_PWM_JZ4740) += pwm-jz4740.o obj-$(CONFIG_PWM_KEEMBAY) += pwm-keembay.o +obj-$(CONFIG_PWM_LOONGSON) += pwm-loongson.o obj-$(CONFIG_PWM_LP3943) += pwm-lp3943.o obj-$(CONFIG_PWM_LPC18XX_SCT) += pwm-lpc18xx-sct.o obj-$(CONFIG_PWM_LPC32XX) += pwm-lpc32xx.o
drivers/pwm/pwm-loongson.c new file +300 -0
300 lines not on this page · raw message
Signature · 1 line
2.43.0
Binbin Zhou
maintainerPATCH 3/5 LoongArch: dts: Add PWM support to Loongson-2K0500
In reply to Binbin ZhouThe module is supported, enable it.
--- arch/loongarch/boot/dts/loongson-2k0500.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
arch/loongarch/boot/dts/loongson-2k0500.dtsi +20 -0
@@ -148,6 +148,26 @@ eiointc: interrupt-controller@1fe11600 { interrupts = <3>; }; + pwm@1ff5c000 { + compatible = "loongson,ls2k0500-pwm", "loongson,ls7a-pwm"; + reg = <0x0 0x1ff5c000 0x0 0x10>; + interrupt-parent = <&eiointc>; + interrupts = <20>; + clocks = <&clk LOONGSON2_APB_CLK>; + #pwm-cells = <3>; + status = "disabled"; + }; + + pwm@1ff5c010 { + compatible = "loongson,ls2k0500-pwm", "loongson,ls7a-pwm"; + reg = <0x0 0x1ff5c010 0x0 0x10>; + interrupt-parent = <&eiointc>; + interrupts = <21>; + clocks = <&clk LOONGSON2_APB_CLK>; + #pwm-cells = <3>; + status = "disabled"; + }; + gmac0: ethernet@1f020000 { compatible = "snps,dwmac-3.70a"; reg = <0x0 0x1f020000 0x0 0x10000>;
Signature · 1 line
2.43.0
Binbin Zhou
maintainerPATCH 4/5 LoongArch: dts: Add PWM support to Loongson-2K1000
In reply to Binbin ZhouThe module is supported, enable it.
Also, add the pwm-fan and cooling-maps associated with it.
--- .../boot/dts/loongson-2k1000-ref.dts | 24 +++++++++++ arch/loongarch/boot/dts/loongson-2k1000.dtsi | 42 ++++++++++++++++++- 2 files changed, 65 insertions(+), 1 deletion(-)
arch/loongarch/boot/dts/loongson-2k1000-ref.dts +24 -0
@@ -5,6 +5,7 @@ /dts-v1/; +#include "dt-bindings/thermal/thermal.h" #include "loongson-2k1000.dtsi" / {
@@ -38,6 +39,13 @@ linux,cma { linux,cma-default; }; }; + + fan0: pwm-fan { + compatible = "pwm-fan"; + cooling-levels = <255 153 85 25>; + pwms = <&pwm1 1 100000 0>; + #cooling-cells = <2>; + }; }; &gmac0 {
@@ -97,6 +105,22 @@ spidev@0 { }; }; +&pwm1 { + status = "okay"; + + pinctrl-0 = <&pwm1_pins_default>; + pinctrl-names = "default"; +}; + +&cpu_thermal { + cooling-maps { + map0 { + trip = <&cpu_alert>; + cooling-device = <&fan0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; +}; + &ehci0 { status = "okay"; };
arch/loongarch/boot/dts/loongson-2k1000.dtsi +41 -1
54 lines not on this page · raw message
Signature · 1 line
2.43.0
Binbin Zhou
maintainerPATCH 5/5 LoongArch: dts: Add PWM support to Loongson-2K2000
In reply to Binbin ZhouThe module is supported, enable it.
--- arch/loongarch/boot/dts/loongson-2k2000.dtsi | 60 ++++++++++++++++++++ 1 file changed, 60 insertions(+)
arch/loongarch/boot/dts/loongson-2k2000.dtsi +60 -0
@@ -126,6 +126,66 @@ msi: msi-controller@1fe01140 { interrupt-parent = <&eiointc>; }; + pwm@100a0000 { + compatible = "loongson,ls2k2000-pwm", "loongson,ls7a-pwm"; + reg = <0x0 0x100a0000 0x0 0x10>; + interrupt-parent = <&pic>; + interrupts = <24 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk LOONGSON2_MISC_CLK>; + #pwm-cells = <3>; + status = "disabled"; + }; + + pwm@100a0100 { + compatible = "loongson,ls2k2000-pwm", "loongson,ls7a-pwm"; + reg = <0x0 0x100a0100 0x0 0x10>; + interrupt-parent = <&pic>; + interrupts = <25 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk LOONGSON2_MISC_CLK>; + #pwm-cells = <3>; + status = "disabled"; + }; + + pwm@100a0200 { + compatible = "loongson,ls2k2000-pwm", "loongson,ls7a-pwm"; + reg = <0x0 0x100a0200 0x0 0x10>; + interrupt-parent = <&pic>; + interrupts = <26 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk LOONGSON2_MISC_CLK>; + #pwm-cells = <3>; + status = "disabled"; + }; + + pwm@100a0300 { + compatible = "loongson,ls2k2000-pwm", "loongson,ls7a-pwm"; + reg = <0x0 0x100a0300 0x0 0x10>; + interrupt-parent = <&pic>; + interrupts = <27 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk LOONGSON2_MISC_CLK>; + #pwm-cells = <3>; + status = "disabled"; + }; + + pwm@100a0400 { + compatible = "loongson,ls2k2000-pwm", "loongson,ls7a-pwm"; + reg = <0x0 0x100a0400 0x0 0x10>; + interrupt-parent = <&pic>; + interrupts = <38 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk LOONGSON2_MISC_CLK>; + #pwm-cells = <3>; + status = "disabled"; + }; + + pwm@100a0500 { + compatible = "loongson,ls2k2000-pwm", "loongson,ls7a-pwm"; + reg = <0x0 0x100a0500 0x0 0x10>; + interrupt-parent = <&pic>; + interrupts = <39 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clk LOONGSON2_MISC_CLK>; + #pwm-cells = <3>; + status = "disabled"; + }; + rtc0: rtc@100d0100 { compatible = "loongson,ls2k2000-rtc", "loongson,ls7a-rtc"; reg = <0x0 0x100d0100 0x0 0x100>;
Signature · 1 line
2.43.0
kernel test robot
build botRe: [PATCH v1 5/5] LoongArch: dts: Add PWM support to Loongson-2K2000
kernel test robot noticed the following build errors:
Hi Binbin,
kernel test robot noticed the following build errors:
[auto build test ERROR on robh/for-next]
[also build test ERROR on linus/master v6.9-rc2 next-20240402] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Binbin-Zhou/dt-bindings-pwm-Add-Loongson-PWM-controller/20240402-160109 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/7214b933ce85f9d030828e9efab7fbeb57eb712b.1711953223.git.zhoubinbin%40loongson.cn patch subject: [PATCH v1 5/5] LoongArch: dts: Add PWM support to Loongson-2K2000 config: loongarch-allnoconfig (https://download.01.org/0day-ci/archive/20240403/[email protected]/config) compiler: loongarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240403/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
>> Error: arch/loongarch/boot/dts/loongson-2k2000.dtsi:123.19-20 syntax error
FATAL ERROR: Unable to parse input tree
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki