File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments