Skip to content

Commit 61901a9

Browse files
benediktibkaescolar
authored andcommitted
doc: migration-guide-3.7: add MAX31790
Add migration of MAX31790 to the guide for 3.7. Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
1 parent b32c5e2 commit 61901a9

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

doc/releases/migration-guide-3.7.rst

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,37 @@ Device Drivers and Devicetree
113113
* ``emul_bbram_backend_api`` to :c:struct:`emul_bbram_driver_api`
114114
* ``usbc_ppc_drv`` to :c:struct:`usbc_ppc_driver_api`
115115

116+
* The driver for :dtcompatible:`maxim,max31790` got split up into a MFD and an
117+
actual PWM driver. Previously, an instance of this device could have been
118+
defined like this:
119+
120+
.. code-block:: devicetree
121+
122+
max31790_max31790: max31790@20 {
123+
compatible = "maxim,max31790";
124+
status = "okay";
125+
reg = <0x20>;
126+
pwm-controller;
127+
#pwm-cells = <2>;
128+
};
129+
130+
This can be converted to:
131+
132+
.. code-block:: devicetree
133+
134+
max31790_max31790: max31790@20 {
135+
compatible = "maxim,max31790";
136+
status = "okay";
137+
reg = <0x20>;
138+
139+
max31790_max31790_pwm: max31790_max31790_pwm {
140+
compatible = "maxim,max31790-pwm";
141+
status = "okay";
142+
pwm-controller;
143+
#pwm-cells = <2>;
144+
};
145+
};
146+
116147
Analog-to-Digital Converter (ADC)
117148
=================================
118149

0 commit comments

Comments
 (0)