From nobody Fri Nov 29 23:48:01 2024 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 00A1B824AF; Sat, 14 Sep 2024 19:10:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726341041; cv=none; b=h1AQNCptbbu6ZNpyVmOgySygBXhnzAChPsiF+wVTu+F/1FsHBHvV5c0PRLqfPJdwhx4ebojgHCK5mlutLYx1cAIql4TFghyBdgk7pb6paXFne3JksJ1J5HrCYkknznP6gppC4ATqz9OE14eR+yiu68TiBVY51KVdDhXgF/kjFPQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726341041; c=relaxed/simple; bh=ndUITw1wW2yukOeX8K0RSOyTa4t8Kbg+SukQnCQTYok=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=bgZN3fbaVZuhXQXuFMs/Fsw0v3Q4eEm95bVglGq8HeFhrcaMKnKnz7YiTaxzLuD/iMlMVQIuf+2IdqIBU391ASI0ZTNJlfj3HSlj8ga4Li1ISK6X6v0i7gePh3quZVLoIsHfR43tG6aEkNi2JzggemK0EgGElZ7pUY23IaI12j4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=wN3kUgrd; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="wN3kUgrd" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1726341040; x=1757877040; h=from:date:subject:mime-version:content-transfer-encoding: message-id:references:in-reply-to:to:cc; bh=ndUITw1wW2yukOeX8K0RSOyTa4t8Kbg+SukQnCQTYok=; b=wN3kUgrdnCi7DvqWK31HeR+GCOwGkrmvReVqUTpsEoEl3mJDpZP9UJ/P 4Wvh0LFkoIVNDFv+drdhMnBeEwwWyFFJOsOA/cNHCWf2HfjDh8KJLGfVs hAbAiE0TyQU3PQd6Bx3wnLIPNqEYv8Eiv6Bc7EBAWrtyoxaTHDkt8Btcs VxhWiQJPs854p+oAnz7a4R3vQcTdAe18dis7ZBW+nqYI+AW4x3rxxkw4Z jndhCojuUbWLZ9aZuGodRT9DB8LV+CVUtPln3cD6M+QGIpbB3SYmnb+tW vNe8kL8n2kJmXAZPw/SOVLaa5finCYCN7KCpiQns2lil15g9dR0ph3bv8 w==; X-CSE-ConnectionGUID: aORpv4XtRiOtN55YVRgpfg== X-CSE-MsgGUID: 5+1EYRHcSu6g3RznvUWYEw== X-IronPort-AV: E=Sophos;i="6.10,229,1719903600"; d="scan'208";a="31675565" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 14 Sep 2024 12:10:36 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Sat, 14 Sep 2024 12:10:34 -0700 Received: from DEN-DL-M70577.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Sat, 14 Sep 2024 12:10:33 -0700 From: Daniel Machon Date: Sat, 14 Sep 2024 21:10:09 +0200 Subject: [PATCH 2/2] pinctrl: ocelot: add support for lan969x SoC pinctrl Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID: <20240914-lan969x-pinctrl-v1-2-1b3a4d454b0d@microchip.com> References: <20240914-lan969x-pinctrl-v1-0-1b3a4d454b0d@microchip.com> In-Reply-To: <20240914-lan969x-pinctrl-v1-0-1b3a4d454b0d@microchip.com> To: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexandre Belloni , Lars Povlsen , Horatiu Vultur , Steen Hegelund CC: , , X-Mailer: b4 0.14-dev This adds support for lan969x SoC pinctrl, reusing the existing ocelot driver. There are 66 General Purpose I/O pins that are individually configurable to multiple interfaces. Signed-off-by: Daniel Machon --- drivers/pinctrl/pinctrl-ocelot.c | 203 +++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 203 insertions(+) diff --git a/drivers/pinctrl/pinctrl-ocelot.c b/drivers/pinctrl/pinctrl-oce= lot.c index be9b8c010167..13209adac6e6 100644 --- a/drivers/pinctrl/pinctrl-ocelot.c +++ b/drivers/pinctrl/pinctrl-ocelot.c @@ -57,6 +57,8 @@ enum { FUNC_CAN1, FUNC_CLKMON, FUNC_NONE, + FUNC_FAN, + FUNC_FC, FUNC_FC0_a, FUNC_FC0_b, FUNC_FC0_c, @@ -71,6 +73,7 @@ enum { FUNC_FC4_a, FUNC_FC4_b, FUNC_FC4_c, + FUNC_FC_SHRD, FUNC_FC_SHRD0, FUNC_FC_SHRD1, FUNC_FC_SHRD2, @@ -92,6 +95,7 @@ enum { FUNC_FC_SHRD18, FUNC_FC_SHRD19, FUNC_FC_SHRD20, + FUNC_FUSA, FUNC_GPIO, FUNC_IB_TRG_a, FUNC_IB_TRG_b, @@ -108,6 +112,8 @@ enum { FUNC_IRQ1, FUNC_IRQ1_IN, FUNC_IRQ1_OUT, + FUNC_IRQ3, + FUNC_IRQ4, FUNC_EXT_IRQ, FUNC_MIIM, FUNC_MIIM_a, @@ -115,12 +121,14 @@ enum { FUNC_MIIM_c, FUNC_MIIM_Sa, FUNC_MIIM_Sb, + FUNC_MIIM_IRQ, FUNC_OB_TRG, FUNC_OB_TRG_a, FUNC_OB_TRG_b, FUNC_PHY_LED, FUNC_PCI_WAKE, FUNC_MD, + FUNC_PCIE_PERST, FUNC_PTP0, FUNC_PTP1, FUNC_PTP2, @@ -152,6 +160,7 @@ enum { FUNC_SGPIO_b, FUNC_SI, FUNC_SI2, + FUNC_SYNCE, FUNC_TACHO, FUNC_TACHO_a, FUNC_TACHO_b, @@ -170,6 +179,10 @@ enum { FUNC_USB_S_a, FUNC_USB_S_b, FUNC_USB_S_c, + FUNC_USB_POWER, + FUNC_USB2PHY_RST, + FUNC_USB_OVER_DETECT, + FUNC_USB_ULPI, FUNC_PLL_STAT, FUNC_EMMC, FUNC_EMMC_SD, @@ -184,6 +197,8 @@ static const char *const ocelot_function_names[] =3D { [FUNC_CAN1] =3D "can1", [FUNC_CLKMON] =3D "clkmon", [FUNC_NONE] =3D "none", + [FUNC_FAN] =3D "fan", + [FUNC_FC] =3D "fc", [FUNC_FC0_a] =3D "fc0_a", [FUNC_FC0_b] =3D "fc0_b", [FUNC_FC0_c] =3D "fc0_c", @@ -198,6 +213,7 @@ static const char *const ocelot_function_names[] =3D { [FUNC_FC4_a] =3D "fc4_a", [FUNC_FC4_b] =3D "fc4_b", [FUNC_FC4_c] =3D "fc4_c", + [FUNC_FC_SHRD] =3D "fc_shrd", [FUNC_FC_SHRD0] =3D "fc_shrd0", [FUNC_FC_SHRD1] =3D "fc_shrd1", [FUNC_FC_SHRD2] =3D "fc_shrd2", @@ -219,6 +235,7 @@ static const char *const ocelot_function_names[] =3D { [FUNC_FC_SHRD18] =3D "fc_shrd18", [FUNC_FC_SHRD19] =3D "fc_shrd19", [FUNC_FC_SHRD20] =3D "fc_shrd20", + [FUNC_FUSA] =3D "fusa", [FUNC_GPIO] =3D "gpio", [FUNC_IB_TRG_a] =3D "ib_trig_a", [FUNC_IB_TRG_b] =3D "ib_trig_b", @@ -235,6 +252,8 @@ static const char *const ocelot_function_names[] =3D { [FUNC_IRQ1] =3D "irq1", [FUNC_IRQ1_IN] =3D "irq1_in", [FUNC_IRQ1_OUT] =3D "irq1_out", + [FUNC_IRQ3] =3D "irq3", + [FUNC_IRQ4] =3D "irq4", [FUNC_EXT_IRQ] =3D "ext_irq", [FUNC_MIIM] =3D "miim", [FUNC_MIIM_a] =3D "miim_a", @@ -242,8 +261,10 @@ static const char *const ocelot_function_names[] =3D { [FUNC_MIIM_c] =3D "miim_c", [FUNC_MIIM_Sa] =3D "miim_slave_a", [FUNC_MIIM_Sb] =3D "miim_slave_b", + [FUNC_MIIM_IRQ] =3D "miim_irq", [FUNC_PHY_LED] =3D "phy_led", [FUNC_PCI_WAKE] =3D "pci_wake", + [FUNC_PCIE_PERST] =3D "pcie_perst", [FUNC_MD] =3D "md", [FUNC_OB_TRG] =3D "ob_trig", [FUNC_OB_TRG_a] =3D "ob_trig_a", @@ -279,6 +300,7 @@ static const char *const ocelot_function_names[] =3D { [FUNC_SGPIO_b] =3D "sgpio_b", [FUNC_SI] =3D "si", [FUNC_SI2] =3D "si2", + [FUNC_SYNCE] =3D "synce", [FUNC_TACHO] =3D "tacho", [FUNC_TACHO_a] =3D "tacho_a", [FUNC_TACHO_b] =3D "tacho_b", @@ -294,6 +316,10 @@ static const char *const ocelot_function_names[] =3D { [FUNC_USB_S_a] =3D "usb_slave_a", [FUNC_USB_S_b] =3D "usb_slave_b", [FUNC_USB_S_c] =3D "usb_slave_c", + [FUNC_USB_POWER] =3D "usb_power", + [FUNC_USB2PHY_RST] =3D "usb2phy_rst", + [FUNC_USB_OVER_DETECT] =3D "usb_over_detect", + [FUNC_USB_ULPI] =3D "usb_ulpi", [FUNC_UART] =3D "uart", [FUNC_UART2] =3D "uart2", [FUNC_UART3] =3D "uart3", @@ -1136,6 +1162,165 @@ static const struct pinctrl_pin_desc lan966x_pins[]= =3D { LAN966X_PIN(77), }; =20 +#define LAN969X_P(p, f0, f1, f2, f3, f4, f5, f6, f7) \ +static struct ocelot_pin_caps lan969x_pin_##p =3D { \ + .pin =3D p, \ + .functions =3D { \ + FUNC_##f0, FUNC_##f1, FUNC_##f2, \ + FUNC_##f3 \ + }, \ + .a_functions =3D { \ + FUNC_##f4, FUNC_##f5, FUNC_##f6, \ + FUNC_##f7 \ + }, \ +} + +/* Pinmuxing table taken from data sheet */ +/* Pin FUNC0 FUNC1 FUNC2 FUNC3 FU= NC4 FUNC5 FUNC6 FUNC7 */ +LAN969X_P(0, GPIO, IRQ0, FC_SHRD, PCIE_PERST, NO= NE, NONE, NONE, R); +LAN969X_P(1, GPIO, IRQ1, FC_SHRD, USB_POWER, NO= NE, NONE, NONE, R); +LAN969X_P(2, GPIO, FC, NONE, NONE, NO= NE, NONE, NONE, R); +LAN969X_P(3, GPIO, FC, NONE, NONE, NO= NE, NONE, NONE, R); +LAN969X_P(4, GPIO, FC, NONE, NONE, NO= NE, NONE, NONE, R); +LAN969X_P(5, GPIO, SGPIO_a, NONE, CLKMON, NO= NE, NONE, NONE, R); +LAN969X_P(6, GPIO, SGPIO_a, NONE, CLKMON, NO= NE, NONE, NONE, R); +LAN969X_P(7, GPIO, SGPIO_a, NONE, CLKMON, NO= NE, NONE, NONE, R); +LAN969X_P(8, GPIO, SGPIO_a, NONE, CLKMON, NO= NE, NONE, NONE, R); +LAN969X_P(9, GPIO, MIIM, MIIM_Sa, CLKMON, NO= NE, NONE, NONE, R); +LAN969X_P(10, GPIO, MIIM, MIIM_Sa, CLKMON, NO= NE, NONE, NONE, R); +LAN969X_P(11, GPIO, MIIM_IRQ, MIIM_Sa, CLKMON, NO= NE, NONE, NONE, R); +LAN969X_P(12, GPIO, IRQ3, FC_SHRD, USB2PHY_RST, NO= NE, NONE, NONE, R); +LAN969X_P(13, GPIO, IRQ4, FC_SHRD, USB_OVER_DETECT, NO= NE, NONE, NONE, R); +LAN969X_P(14, GPIO, EMMC_SD, QSPI1, FC, NO= NE, NONE, NONE, R); +LAN969X_P(15, GPIO, EMMC_SD, QSPI1, FC, NO= NE, NONE, NONE, R); +LAN969X_P(16, GPIO, EMMC_SD, QSPI1, FC, NO= NE, NONE, NONE, R); +LAN969X_P(17, GPIO, EMMC_SD, QSPI1, PTPSYNC_0, USB_POW= ER, NONE, NONE, R); +LAN969X_P(18, GPIO, EMMC_SD, QSPI1, PTPSYNC_1, USB2PHY_R= ST, NONE, NONE, R); +LAN969X_P(19, GPIO, EMMC_SD, QSPI1, PTPSYNC_2, USB_OVER_DETE= CT, NONE, NONE, R); +LAN969X_P(20, GPIO, EMMC_SD, NONE, FC_SHRD, NO= NE, NONE, NONE, R); +LAN969X_P(21, GPIO, EMMC_SD, NONE, FC_SHRD, NO= NE, NONE, NONE, R); +LAN969X_P(22, GPIO, EMMC_SD, NONE, FC_SHRD, NO= NE, NONE, NONE, R); +LAN969X_P(23, GPIO, EMMC_SD, NONE, FC_SHRD, NO= NE, NONE, NONE, R); +LAN969X_P(24, GPIO, EMMC_SD, NONE, NONE, NO= NE, NONE, NONE, R); +LAN969X_P(25, GPIO, FAN, FUSA, CAN0_a, QSP= I1, NONE, NONE, R); +LAN969X_P(26, GPIO, FAN, FUSA, CAN0_a, QSP= I1, NONE, NONE, R); +LAN969X_P(27, GPIO, SYNCE, FC, MIIM, QSP= I1, NONE, NONE, R); +LAN969X_P(28, GPIO, SYNCE, FC, MIIM, QSP= I1, NONE, NONE, R); +LAN969X_P(29, GPIO, SYNCE, FC, MIIM_IRQ, QSP= I1, NONE, NONE, R); +LAN969X_P(30, GPIO, PTPSYNC_0, USB_ULPI, FC_SHRD, QSP= I1, NONE, NONE, R); +LAN969X_P(31, GPIO, PTPSYNC_1, USB_ULPI, FC_SHRD, NO= NE, NONE, NONE, R); +LAN969X_P(32, GPIO, PTPSYNC_2, USB_ULPI, FC_SHRD, NO= NE, NONE, NONE, R); +LAN969X_P(33, GPIO, SD, USB_ULPI, FC_SHRD, NO= NE, NONE, NONE, R); +LAN969X_P(34, GPIO, SD, USB_ULPI, CAN1, FC_SH= RD, NONE, NONE, R); +LAN969X_P(35, GPIO, SD, USB_ULPI, CAN1, FC_SH= RD, NONE, NONE, R); +LAN969X_P(36, GPIO, SD, USB_ULPI, PCIE_PERST, FC_SH= RD, NONE, NONE, R); +LAN969X_P(37, GPIO, SD, USB_ULPI, CAN0_b, NO= NE, NONE, NONE, R); +LAN969X_P(38, GPIO, SD, USB_ULPI, CAN0_b, NO= NE, NONE, NONE, R); +LAN969X_P(39, GPIO, SD, USB_ULPI, MIIM, NO= NE, NONE, NONE, R); +LAN969X_P(40, GPIO, SD, USB_ULPI, MIIM, NO= NE, NONE, NONE, R); +LAN969X_P(41, GPIO, SD, USB_ULPI, MIIM_IRQ, NO= NE, NONE, NONE, R); +LAN969X_P(42, GPIO, PTPSYNC_3, CAN1, NONE, NO= NE, NONE, NONE, R); +LAN969X_P(43, GPIO, PTPSYNC_4, CAN1, NONE, NO= NE, NONE, NONE, R); +LAN969X_P(44, GPIO, PTPSYNC_5, SFP_SD, NONE, NO= NE, NONE, NONE, R); +LAN969X_P(45, GPIO, PTPSYNC_6, SFP_SD, NONE, NO= NE, NONE, NONE, R); +LAN969X_P(46, GPIO, PTPSYNC_7, SFP_SD, NONE, NO= NE, NONE, NONE, R); +LAN969X_P(47, GPIO, NONE, SFP_SD, NONE, NO= NE, NONE, NONE, R); +LAN969X_P(48, GPIO, NONE, SFP_SD, NONE, NO= NE, NONE, NONE, R); +LAN969X_P(49, GPIO, NONE, SFP_SD, NONE, NO= NE, NONE, NONE, R); +LAN969X_P(50, GPIO, NONE, SFP_SD, NONE, NO= NE, NONE, NONE, R); +LAN969X_P(51, GPIO, NONE, SFP_SD, NONE, NO= NE, NONE, NONE, R); +LAN969X_P(52, GPIO, FAN, SFP_SD, NONE, NO= NE, NONE, NONE, R); +LAN969X_P(53, GPIO, FAN, SFP_SD, NONE, NO= NE, NONE, NONE, R); +LAN969X_P(54, GPIO, SYNCE, FC, NONE, NO= NE, NONE, NONE, R); +LAN969X_P(55, GPIO, SYNCE, FC, NONE, NO= NE, NONE, NONE, R); +LAN969X_P(56, GPIO, SYNCE, FC, NONE, NO= NE, NONE, NONE, R); +LAN969X_P(57, GPIO, SFP_SD, FC_SHRD, TWI, PTPSYNC= _3, NONE, NONE, R); +LAN969X_P(58, GPIO, SFP_SD, FC_SHRD, TWI, PTPSYNC= _4, NONE, NONE, R); +LAN969X_P(59, GPIO, SFP_SD, FC_SHRD, TWI, PTPSYNC= _5, NONE, NONE, R); +LAN969X_P(60, GPIO, SFP_SD, FC_SHRD, TWI, PTPSYNC= _6, NONE, NONE, R); +LAN969X_P(61, GPIO, MIIM, FC_SHRD, TWI, NO= NE, NONE, NONE, R); +LAN969X_P(62, GPIO, MIIM, FC_SHRD, TWI, NO= NE, NONE, NONE, R); +LAN969X_P(63, GPIO, MIIM_IRQ, FC_SHRD, TWI, NO= NE, NONE, NONE, R); +LAN969X_P(64, GPIO, FC, FC_SHRD, TWI, NO= NE, NONE, NONE, R); +LAN969X_P(65, GPIO, FC, FC_SHRD, TWI, NO= NE, NONE, NONE, R); +LAN969X_P(66, GPIO, FC, FC_SHRD, TWI, NO= NE, NONE, NONE, R); + +#define LAN969X_PIN(n) { \ + .number =3D n, \ + .name =3D "GPIO_"#n, \ + .drv_data =3D &lan969x_pin_##n \ +} + +static const struct pinctrl_pin_desc lan969x_pins[] =3D { + LAN969X_PIN(0), + LAN969X_PIN(1), + LAN969X_PIN(2), + LAN969X_PIN(3), + LAN969X_PIN(4), + LAN969X_PIN(5), + LAN969X_PIN(6), + LAN969X_PIN(7), + LAN969X_PIN(8), + LAN969X_PIN(9), + LAN969X_PIN(10), + LAN969X_PIN(11), + LAN969X_PIN(12), + LAN969X_PIN(13), + LAN969X_PIN(14), + LAN969X_PIN(15), + LAN969X_PIN(16), + LAN969X_PIN(17), + LAN969X_PIN(18), + LAN969X_PIN(19), + LAN969X_PIN(20), + LAN969X_PIN(21), + LAN969X_PIN(22), + LAN969X_PIN(23), + LAN969X_PIN(24), + LAN969X_PIN(25), + LAN969X_PIN(26), + LAN969X_PIN(27), + LAN969X_PIN(28), + LAN969X_PIN(29), + LAN969X_PIN(30), + LAN969X_PIN(31), + LAN969X_PIN(32), + LAN969X_PIN(33), + LAN969X_PIN(34), + LAN969X_PIN(35), + LAN969X_PIN(36), + LAN969X_PIN(37), + LAN969X_PIN(38), + LAN969X_PIN(39), + LAN969X_PIN(40), + LAN969X_PIN(41), + LAN969X_PIN(42), + LAN969X_PIN(43), + LAN969X_PIN(44), + LAN969X_PIN(45), + LAN969X_PIN(46), + LAN969X_PIN(47), + LAN969X_PIN(48), + LAN969X_PIN(49), + LAN969X_PIN(50), + LAN969X_PIN(51), + LAN969X_PIN(52), + LAN969X_PIN(53), + LAN969X_PIN(54), + LAN969X_PIN(55), + LAN969X_PIN(56), + LAN969X_PIN(57), + LAN969X_PIN(58), + LAN969X_PIN(59), + LAN969X_PIN(60), + LAN969X_PIN(61), + LAN969X_PIN(62), + LAN969X_PIN(63), + LAN969X_PIN(64), + LAN969X_PIN(65), + LAN969X_PIN(66), +}; + static int ocelot_get_functions_count(struct pinctrl_dev *pctldev) { return ARRAY_SIZE(ocelot_function_names); @@ -1682,6 +1867,23 @@ static struct ocelot_match_data lan966x_desc =3D { }, }; =20 +static struct ocelot_match_data lan969x_desc =3D { + .desc =3D { + .name =3D "lan969x-pinctrl", + .pins =3D lan969x_pins, + .npins =3D ARRAY_SIZE(lan969x_pins), + .pctlops =3D &ocelot_pctl_ops, + .pmxops =3D &lan966x_pmx_ops, + .confops =3D &ocelot_confops, + .owner =3D THIS_MODULE, + }, + .pincfg_data =3D { + .pd_bit =3D BIT(3), + .pu_bit =3D BIT(2), + .drive_bits =3D GENMASK(1, 0), + }, +}; + static int ocelot_create_group_func_map(struct device *dev, struct ocelot_pinctrl *info) { @@ -2014,6 +2216,7 @@ static const struct of_device_id ocelot_pinctrl_of_ma= tch[] =3D { { .compatible =3D "mscc,servalt-pinctrl", .data =3D &servalt_desc }, { .compatible =3D "microchip,sparx5-pinctrl", .data =3D &sparx5_desc }, { .compatible =3D "microchip,lan966x-pinctrl", .data =3D &lan966x_desc }, + { .compatible =3D "microchip,lan9691-pinctrl", .data =3D &lan969x_desc }, {}, }; MODULE_DEVICE_TABLE(of, ocelot_pinctrl_of_match); --=20 2.34.1