Re: [PATCH v1 2/2] pinctrl: intel: Try to retrieve driver data for pure platform drivers

From: Radek Válko

Date: Tue Sep 01 2026 - 11:46:27 EST


Hi,


I test it hopefully tomorrow and will let you know.

Thanks.

Radek

On 9/1/26 12:27, Andy Shevchenko wrote:
On Tue, Sep 1, 2026 at 1:24 PM Mika Westerberg
<mika.westerberg@xxxxxxxxxxxxxxx> wrote:
On Mon, Aug 31, 2026 at 04:25:47PM +0200, Andy Shevchenko wrote:
The Denverton pinctrl device can be instantiated by the Intel LPC
driver as an MFD platform device named "denverton-pinctrl".
...

+static const struct intel_pinctrl_soc_data *
+intel_pinctrl_get_soc_data_by_hid(struct platform_device *pdev)
pdev can be const, no?
Yes, but it will require also to change the existing prototype for
_uid case. After I get a confirmation the fix works I will issue a v2
with an additional patch included.