Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

pwm: clps711x: Changing the compatibility string to match with the smallest supported chip

This patch changes the compatibility string to match with the smallest
supported chip (EP7209). Since the DT-support for this CPU is not yet
announced, this change is safe.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Alexander Shiyan and committed by
Arnd Bergmann
ba60ae1d d305345c

+3 -4
+2 -3
Documentation/devicetree/bindings/pwm/cirrus,clps711x-pwm.txt
··· 1 1 * Cirris Logic CLPS711X PWM controller 2 2 3 3 Required properties: 4 - - compatible: Shall contain "cirrus,clps711x-pwm". 4 + - compatible: Shall contain "cirrus,ep7209-pwm". 5 5 - reg: Physical base address and length of the controller's registers. 6 6 - clocks: phandle + clock specifier pair of the PWM reference clock. 7 7 - #pwm-cells: Should be 1. The cell specifies the index of the channel. 8 8 9 9 Example: 10 10 pwm: pwm@80000400 { 11 - compatible = "cirrus,ep7312-pwm", 12 - "cirrus,clps711x-pwm"; 11 + compatible = "cirrus,ep7312-pwm", "cirrus,ep7209-pwm"; 13 12 reg = <0x80000400 0x4>; 14 13 clocks = <&clks 8>; 15 14 #pwm-cells = <1>;
+1 -1
drivers/pwm/pwm-clps711x.c
··· 155 155 } 156 156 157 157 static const struct of_device_id __maybe_unused clps711x_pwm_dt_ids[] = { 158 - { .compatible = "cirrus,clps711x-pwm", }, 158 + { .compatible = "cirrus,ep7209-pwm", }, 159 159 { } 160 160 }; 161 161 MODULE_DEVICE_TABLE(of, clps711x_pwm_dt_ids);