<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/include, branch toradex_6.6-2.0.x-imx</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>regulator: devres: add API for reference voltage supplies</title>
<updated>2024-08-08T10:34:07+00:00</updated>
<author>
<name>David Lechner</name>
<email>dlechner@baylibre.com</email>
</author>
<published>2024-04-29T23:40:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=21967cae8b50e5579045a081c3d7a44d81dbcce7'/>
<id>21967cae8b50e5579045a081c3d7a44d81dbcce7</id>
<content type='text'>
A common use case for regulators is to supply a reference voltage to an
analog input or output device. This adds a new devres API to get,
enable, and get the voltage in a single call. This allows eliminating
boilerplate code in drivers that use reference supplies in this way.

Upstream-Status: Backport [b250c20b64290808aa4b5cc6d68819a7ee28237f]
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
Link: https://lore.kernel.org/r/20240429-regulator-get-enable-get-votlage-v2-1-b1f11ab766c1@baylibre.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A common use case for regulators is to supply a reference voltage to an
analog input or output device. This adds a new devres API to get,
enable, and get the voltage in a single call. This allows eliminating
boilerplate code in drivers that use reference supplies in this way.

Upstream-Status: Backport [b250c20b64290808aa4b5cc6d68819a7ee28237f]
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
Link: https://lore.kernel.org/r/20240429-regulator-get-enable-get-votlage-v2-1-b1f11ab766c1@baylibre.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drm: of: Fix build without CONFIG_OF</title>
<updated>2024-08-08T10:34:06+00:00</updated>
<author>
<name>Francesco Dolcini</name>
<email>francesco.dolcini@toradex.com</email>
</author>
<published>2024-08-07T07:38:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=02fe17ca1f7163ba2753258946bb189b12eab904'/>
<id>02fe17ca1f7163ba2753258946bb189b12eab904</id>
<content type='text'>
Fix the following build error when CONFIG_OF is not enabled

```
In file included from drivers/gpu/drm/drm_bridge.c:34:
./include/drm/drm_of.h:87:12: error: ‘drm_of_component_probe_with_match’ defined but not used [-Werror=unused-function]
   87 | static int drm_of_component_probe_with_match(struct device *dev,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

drm_of_component_probe_with_match() must be declared as inline likewise
all the other functions in the same header are.

The fixed commit is present only on downstream.

Upstream-Status: Inappropriate [Other]
Fixes: dcc7dc895c2b ("MLK-16290 drm: Add drm_of_component_probe_with_match() helper")
Signed-off-by: Francesco Dolcini &lt;francesco.dolcini@toradex.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix the following build error when CONFIG_OF is not enabled

```
In file included from drivers/gpu/drm/drm_bridge.c:34:
./include/drm/drm_of.h:87:12: error: ‘drm_of_component_probe_with_match’ defined but not used [-Werror=unused-function]
   87 | static int drm_of_component_probe_with_match(struct device *dev,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

drm_of_component_probe_with_match() must be declared as inline likewise
all the other functions in the same header are.

The fixed commit is present only on downstream.

Upstream-Status: Inappropriate [Other]
Fixes: dcc7dc895c2b ("MLK-16290 drm: Add drm_of_component_probe_with_match() helper")
Signed-off-by: Francesco Dolcini &lt;francesco.dolcini@toradex.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>LF-12593-4 driver: firmware: enable she support</title>
<updated>2024-06-05T09:17:42+00:00</updated>
<author>
<name>Vabhav Sharma</name>
<email>vabhav.sharma@nxp.com</email>
</author>
<published>2024-05-31T05:04:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=da4e1bbc0a6a9ae65def99247d386ae9e6d6c98c'/>
<id>da4e1bbc0a6a9ae65def99247d386ae9e6d6c98c</id>
<content type='text'>
SHE info structure is added for SECO SHE support

Signed-off-by: Vabhav Sharma &lt;vabhav.sharma@nxp.com&gt;
Reviewed-by: Rahul Kumar Yadav &lt;rahulkumar.yadav@nxp.com&gt;
Reviewed-by: Pankaj Gupta &lt;pankaj.gupta@nxp.com&gt;
Acked-by: Jason Liu &lt;jason.hui.liu@nxp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SHE info structure is added for SECO SHE support

Signed-off-by: Vabhav Sharma &lt;vabhav.sharma@nxp.com&gt;
Reviewed-by: Rahul Kumar Yadav &lt;rahulkumar.yadav@nxp.com&gt;
Reviewed-by: Pankaj Gupta &lt;pankaj.gupta@nxp.com&gt;
Acked-by: Jason Liu &lt;jason.hui.liu@nxp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>LF-12593-2 drivers: firmware: imx: unify seco mu driver with se fw</title>
<updated>2024-06-05T09:17:42+00:00</updated>
<author>
<name>Vabhav Sharma</name>
<email>vabhav.sharma@nxp.com</email>
</author>
<published>2024-05-06T12:20:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=667059c3d50d8a27953853f9bcd271d1384b51df'/>
<id>667059c3d50d8a27953853f9bcd271d1384b51df</id>
<content type='text'>
Two different drivers for ELE SE and SECO SE. Both SE use
MU framework. Unify ELE SE FW driver with SECO MU driver.

Add base patch support of SECO MU in ELE SE FW driver.

Signed-off-by: Vabhav Sharma &lt;vabhav.sharma@nxp.com&gt;
Reviewed-by: Rahul Kumar Yadav &lt;rahulkumar.yadav@nxp.com&gt;
Reviewed-by: Pankaj Gupta &lt;pankaj.gupta@nxp.com&gt;
Acked-by: Jason Liu &lt;jason.hui.liu@nxp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Two different drivers for ELE SE and SECO SE. Both SE use
MU framework. Unify ELE SE FW driver with SECO MU driver.

Add base patch support of SECO MU in ELE SE FW driver.

Signed-off-by: Vabhav Sharma &lt;vabhav.sharma@nxp.com&gt;
Reviewed-by: Rahul Kumar Yadav &lt;rahulkumar.yadav@nxp.com&gt;
Reviewed-by: Pankaj Gupta &lt;pankaj.gupta@nxp.com&gt;
Acked-by: Jason Liu &lt;jason.hui.liu@nxp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>LF-11941-1 filemap: add helper mapping_max_folio_size()</title>
<updated>2024-05-27T06:13:41+00:00</updated>
<author>
<name>Xu Yang</name>
<email>xu.yang_2@nxp.com</email>
</author>
<published>2024-05-27T13:43:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3dcaf3b6b1fcecd78f8ac95fe0cb1ac748a275b0'/>
<id>3dcaf3b6b1fcecd78f8ac95fe0cb1ac748a275b0</id>
<content type='text'>
commit 79c137454815ba5554caa8eeb4ad5c94e96e45ce upstream.

Add mapping_max_folio_size() to get the maximum folio size for this
pagecache mapping.

Fixes: 5d8edfb900d5 ("iomap: Copy larger chunks from userspace")
Cc: stable@vger.kernel.org
Reviewed-by: Darrick J. Wong &lt;djwong@kernel.org&gt;
Signed-off-by: Xu Yang &lt;xu.yang_2@nxp.com&gt;
Link: https://lore.kernel.org/r/20240521114939.2541461-1-xu.yang_2@nxp.com
Reviewed-by: Ritesh Harjani (IBM) &lt;ritesh.list@gmail.com&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
Reviewed-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Signed-off-by: Christian Brauner &lt;brauner@kernel.org&gt;
Acked-by: Jason Liu &lt;jason.hui.liu@nxp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 79c137454815ba5554caa8eeb4ad5c94e96e45ce upstream.

Add mapping_max_folio_size() to get the maximum folio size for this
pagecache mapping.

Fixes: 5d8edfb900d5 ("iomap: Copy larger chunks from userspace")
Cc: stable@vger.kernel.org
Reviewed-by: Darrick J. Wong &lt;djwong@kernel.org&gt;
Signed-off-by: Xu Yang &lt;xu.yang_2@nxp.com&gt;
Link: https://lore.kernel.org/r/20240521114939.2541461-1-xu.yang_2@nxp.com
Reviewed-by: Ritesh Harjani (IBM) &lt;ritesh.list@gmail.com&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
Reviewed-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Signed-off-by: Christian Brauner &lt;brauner@kernel.org&gt;
Acked-by: Jason Liu &lt;jason.hui.liu@nxp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>LF-12187-1: dt-bindings: add header for generic I3C flags in bindings</title>
<updated>2024-05-09T08:28:14+00:00</updated>
<author>
<name>Carlos Song</name>
<email>carlos.song@nxp.com</email>
</author>
<published>2024-05-09T04:05:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9e5c09aff26fa0142842f2f02958ff2be94cf533'/>
<id>9e5c09aff26fa0142842f2f02958ff2be94cf533</id>
<content type='text'>
Add header for generic I3C flags in bindings.

Signed-off-by: Carlos Song &lt;carlos.song@nxp.com&gt;
Reviewed-by: Frank Li &lt;frank.li@nxp.com&gt;
Acked-by: Jason Liu &lt;jason.hui.liu@nxp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add header for generic I3C flags in bindings.

Signed-off-by: Carlos Song &lt;carlos.song@nxp.com&gt;
Reviewed-by: Frank Li &lt;frank.li@nxp.com&gt;
Acked-by: Jason Liu &lt;jason.hui.liu@nxp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>LF-12259 firmware: imx: fix scmi misc event</title>
<updated>2024-05-08T03:11:19+00:00</updated>
<author>
<name>Peng Fan</name>
<email>peng.fan@nxp.com</email>
</author>
<published>2024-05-07T12:11:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d4f2a3768538898a75a63f925c078197af566dc4'/>
<id>d4f2a3768538898a75a63f925c078197af566dc4</id>
<content type='text'>
Using rising/falling edge as event id is wrong. To SCMI MISC, event id
is always 0. But rising/falling edge flags still needs to be passed to
System Manager to configure, so export a new hook misc_ctrl_req_notify
to enable notification.

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Reviewed-by: Jacky Bai &lt;ping.bai@nxp.com&gt;
Tested-by: Shenwei Wang &lt;shenwei.wang@nxp.com&gt;
Acked-by: Jason Liu &lt;jason.hui.liu@nxp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using rising/falling edge as event id is wrong. To SCMI MISC, event id
is always 0. But rising/falling edge flags still needs to be passed to
System Manager to configure, so export a new hook misc_ctrl_req_notify
to enable notification.

Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
Reviewed-by: Jacky Bai &lt;ping.bai@nxp.com&gt;
Tested-by: Shenwei Wang &lt;shenwei.wang@nxp.com&gt;
Acked-by: Jason Liu &lt;jason.hui.liu@nxp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>LE Create Connection command timeout increased to 20 secs</title>
<updated>2024-05-03T07:43:30+00:00</updated>
<author>
<name>Mahesh Talewad</name>
<email>mahesh.talewad@nxp.com</email>
</author>
<published>2024-05-02T09:01:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8375d8b37d87545471d28a1d160a83f97237cf93'/>
<id>8375d8b37d87545471d28a1d160a83f97237cf93</id>
<content type='text'>
On our DUT, we can see that the host issues create connection cancel
command after 4-sec if there is no connection complete event for
LE create connection cmd.
As per core spec v5.3 section 7.8.5, advertisement interval range is-

Advertising_Interval_Min
Default : 0x0800(1.28s)
Time Range: 20ms to 10.24s

Advertising_Interval_Max
Default : 0x0800(1.28s)
Time Range: 20ms to 10.24s

If the remote device is using adv interval of &gt; 4 sec, it is
difficult to make a connection with the current timeout value.
Also, with the default interval of 1.28 sec, we will get only
3 chances to capture the adv packets with the 4 sec window.
Hence we want to increase this timeout to 20sec.

Signed-off-by: Mahesh Talewad &lt;mahesh.talewad@nxp.com&gt;
Signed-off-by: Luiz Augusto von Dentz &lt;luiz.von.dentz@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On our DUT, we can see that the host issues create connection cancel
command after 4-sec if there is no connection complete event for
LE create connection cmd.
As per core spec v5.3 section 7.8.5, advertisement interval range is-

Advertising_Interval_Min
Default : 0x0800(1.28s)
Time Range: 20ms to 10.24s

Advertising_Interval_Max
Default : 0x0800(1.28s)
Time Range: 20ms to 10.24s

If the remote device is using adv interval of &gt; 4 sec, it is
difficult to make a connection with the current timeout value.
Also, with the default interval of 1.28 sec, we will get only
3 chances to capture the adv packets with the 4 sec window.
Hence we want to increase this timeout to 20sec.

Signed-off-by: Mahesh Talewad &lt;mahesh.talewad@nxp.com&gt;
Signed-off-by: Luiz Augusto von Dentz &lt;luiz.von.dentz@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: sdk_dpaa: use phylink_interface_max_speed() instead of local phy2speed[]</title>
<updated>2024-04-30T18:19:27+00:00</updated>
<author>
<name>Vladimir Oltean</name>
<email>vladimir.oltean@nxp.com</email>
</author>
<published>2024-04-29T13:26:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2f0795305556dde3a6117d991b38d135ef277c2f'/>
<id>2f0795305556dde3a6117d991b38d135ef277c2f</id>
<content type='text'>
We can piggyback on phylink's phylink_interface_max_speed() which is
better maintained than our local array - for example we will need this
also for PHY_INTERFACE_MODE_XGMII.

We don't really care about making the MAC integration on the SDK driver
any better than it currently is. We just don't want to bring in the
phylink build-time dependency for now, so we move phylink_interface_max_speed()
as a static inline function in phylink's header, rather than an exported
symbol.

Signed-off-by: Vladimir Oltean &lt;vladimir.oltean@nxp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We can piggyback on phylink's phylink_interface_max_speed() which is
better maintained than our local array - for example we will need this
also for PHY_INTERFACE_MODE_XGMII.

We don't really care about making the MAC integration on the SDK driver
any better than it currently is. We just don't want to bring in the
phylink build-time dependency for now, so we move phylink_interface_max_speed()
as a static inline function in phylink's header, rather than an exported
symbol.

Signed-off-by: Vladimir Oltean &lt;vladimir.oltean@nxp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>soc: fsl: guts: implement the RCW override procedure</title>
<updated>2024-04-29T11:28:44+00:00</updated>
<author>
<name>Ioana Ciornei</name>
<email>ioana.ciornei@nxp.com</email>
</author>
<published>2024-02-29T09:05:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=103593004fd8ea7efb607be78c880c6ed4081063'/>
<id>103593004fd8ea7efb607be78c880c6ed4081063</id>
<content type='text'>
Add support for the RCW override procedure which enables runtime
reconfiguration of the protocol running on a SerDes lane. The procedure
is done through the DCFG DCSR space which now can be defined as the
second memory region of the guts DT node.
Support is added on the following SoCs: LS1046A, LS1088A, LS2088A.

The procedure is exported to the "client" driver - the Lynx10G SerDes
PHY driver - through the following functions:
- fsl_guts_lane_init() used to notify the initial / at boot time lane
mode running on a SerDes lane.
- fsl_guts_lane_validate() used to validate that changing the protocol
on a specific lane is supported.
- fsl_guts_lane_set_mode() which can be used to request the RCW
procedure be executed for a specific lane.
The necessary changes in the Lynx10G SerDes driver are also implemented
in this patch.

Since the RCW override procedure is different depending on the SoC, the
private fsl_soc_data structure is updated with two new per SoC callbacks
(.serdes_get_rcw_override() and .serdes_init_rcwcr()) which get used
from the generic fsl_guts_lane_set_mode() function. These two callbacks
hide all the SoC specific register offsets, masks and values so that the
_set_mode() procedure is straightforward.

Signed-off-by: Ioana Ciornei &lt;ioana.ciornei@nxp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for the RCW override procedure which enables runtime
reconfiguration of the protocol running on a SerDes lane. The procedure
is done through the DCFG DCSR space which now can be defined as the
second memory region of the guts DT node.
Support is added on the following SoCs: LS1046A, LS1088A, LS2088A.

The procedure is exported to the "client" driver - the Lynx10G SerDes
PHY driver - through the following functions:
- fsl_guts_lane_init() used to notify the initial / at boot time lane
mode running on a SerDes lane.
- fsl_guts_lane_validate() used to validate that changing the protocol
on a specific lane is supported.
- fsl_guts_lane_set_mode() which can be used to request the RCW
procedure be executed for a specific lane.
The necessary changes in the Lynx10G SerDes driver are also implemented
in this patch.

Since the RCW override procedure is different depending on the SoC, the
private fsl_soc_data structure is updated with two new per SoC callbacks
(.serdes_get_rcw_override() and .serdes_init_rcwcr()) which get used
from the generic fsl_guts_lane_set_mode() function. These two callbacks
hide all the SoC specific register offsets, masks and values so that the
_set_mode() procedure is straightforward.

Signed-off-by: Ioana Ciornei &lt;ioana.ciornei@nxp.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
