From nobody Sat Feb 7 23:03:09 2026 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [195.130.132.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EEDF01E1C32 for ; Mon, 20 Jan 2025 14:35:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737383717; cv=none; b=jTbXxDU6NyFV1XG1P0n9BqycIr0p34SBQrU+ZBmOOVeiqL1uf4ojwF9dFMobqx4wWz7Nu9XnfTsmhD9RSAPyXwPTUnvpYMIeRbjRPiPGGU2CvIzzGf9dJuDg5LWkkCzm4Utty3hf9j3PYu9RqxOpXLoNf/HceGkYBwQVznSDWqM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737383717; c=relaxed/simple; bh=/ksfzCJh1YLk8Ftu01ILRurWr7VgKSbMi4w+U4eFDRs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JWkDZ/6gvHRtEV3OzY8bjl+i0eVZ1aYlpI5ijK1i1272vzda/b6w78VYAu+5QQKXu/JSioGPenvxFCc7KdKu0C5Ng1tm721hkTmNm/8CK+acHA1d1Ho8xqiloiEL9pvQRz+kkb7vcAzl900C78eK9wDbBQveZmTz9a4+pRhd5gA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:30c9:4dcf:fe21:4b10]) by xavier.telenet-ops.be with cmsmtp id 3Sb42E00D0raqVW01Sb4Zg; Mon, 20 Jan 2025 15:35:06 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.97) (envelope-from ) id 1tZsrh-0000000DhTT-3Lpi; Mon, 20 Jan 2025 15:35:04 +0100 Received: from geert by rox.of.borg with local (Exim 4.97) (envelope-from ) id 1tZsro-0000000DTZR-1JIG; Mon, 20 Jan 2025 15:35:04 +0100 From: Geert Uytterhoeven To: =?UTF-8?q?Herv=C3=A9=20Codina?= , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I Cc: devicetree@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Krzysztof Kozlowski Subject: [PATCH v3 1/3] dt-bindings: interrupt-controller: microchip,lan966x-oic: Clarify endpoint use Date: Mon, 20 Jan 2025 15:35:01 +0100 Message-ID: <247b1185c93610100f3f8c9e0ab2c1506e53e1f4.1737383314.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Reword the description, to make it clear that the LAN966x Outbound Interrupt Controller is used only in PCI endpoint mode. Signed-off-by: Geert Uytterhoeven Acked-by: Krzysztof Kozlowski Acked-by: Herve Codina --- v3: - Add Acked-by, v2: - New. --- .../bindings/interrupt-controller/microchip,lan966x-oic.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/microch= ip,lan966x-oic.yaml b/Documentation/devicetree/bindings/interrupt-controlle= r/microchip,lan966x-oic.yaml index b2adc71741770940..dca16e202da992cd 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/microchip,lan9= 66x-oic.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/microchip,lan9= 66x-oic.yaml @@ -14,9 +14,8 @@ allOf: =20 description: | The Microchip LAN966x outband interrupt controller (OIC) maps the intern= al - interrupt sources of the LAN966x device to an external interrupt. - When the LAN966x device is used as a PCI device, the external interrupt = is - routed to the PCI interrupt. + interrupt sources of the LAN966x device to a PCI interrupt when the LAN9= 66x + device is used as a PCI device. =20 properties: compatible: --=20 2.43.0 From nobody Sat Feb 7 23:03:09 2026 Received: from gauss.telenet-ops.be (gauss.telenet-ops.be [195.130.132.49]) (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 B51FE1E32B7 for ; Mon, 20 Jan 2025 14:35:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737383722; cv=none; b=YG53iTrg+Btar8VaoEOG/bGl+pTuvCFr7fhV6FOS9Bf6eL66C58Yn10lZsD8x++6WM/LwKi9AnsOP9m+ajIYc0miJYxAL2Do5eu/FBQqSTFhIDd27WfsmoL8w5oHqG884QRo353Ip0DFu1qjSdQ0KcsBHTLpBfXyIY+DGdOvmGE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737383722; c=relaxed/simple; bh=tZAgFyrrDkVxBRgA0oUUAhETo87dFYrWkO35PZFJyCw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CtOmfHehThvNny450uKpv0/7cZBn5WTTlHcJOFy4jlT71cRVIZYXHa6E3JRy4GSMWc0uy5guKH63BP3cknyOlZgr0RQTMTKlf3EW78lnzNfFDDghKcvRBLcXBOsAgOz3gBSUcTxwdj4trQU7tYQRuG2LyIe1ZBFfHrqopktu5Zc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by gauss.telenet-ops.be (Postfix) with ESMTPS id 4YcCYF4cFlz4x3k6 for ; Mon, 20 Jan 2025 15:35:13 +0100 (CET) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:30c9:4dcf:fe21:4b10]) by michel.telenet-ops.be with cmsmtp id 3Sb42E00C0raqVW06Sb4lK; Mon, 20 Jan 2025 15:35:05 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.97) (envelope-from ) id 1tZsrh-0000000DhTW-3Rzj; Mon, 20 Jan 2025 15:35:04 +0100 Received: from geert by rox.of.borg with local (Exim 4.97) (envelope-from ) id 1tZsro-0000000DTZV-1TKS; Mon, 20 Jan 2025 15:35:04 +0100 From: Geert Uytterhoeven To: =?UTF-8?q?Herv=C3=A9=20Codina?= , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I Cc: devicetree@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v3 2/3] irqchip: LAN966X_OIC should depend on MCHP_LAN966X_PCI Date: Mon, 20 Jan 2025 15:35:02 +0100 Message-ID: <28e8a605e72ee45e27f0d06b2b71366159a9c782.1737383314.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The Microchip LAN966x outband interrupt controller is only present on Microchip LAN966x SoCs, and only used in PCI endpoint mode. Hence add a dependency on MCHP_LAN966X_PCI, to prevent asking the user about this driver when configuring a kernel without Microchip LAN966x PCIe support. Fixes: 3e3a7b35332924c8 ("irqchip: Add support for LAN966x OIC") Signed-off-by: Geert Uytterhoeven Acked-by: Herve Codina --- v3: - Fix symbol name in one-line summary, - Add Acked-by, v2: - Drop dependency on SOC_LAN966, as the OIC is used only in LAN966x PCI endpoint mode, - Replace MFD_LAN966X_PCI by MCHP_LAN966X_PCI, as the latter is the symbol that ended upstream. --- drivers/irqchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 22f5fbd41f65d97e..cf713b6e9cc9346f 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconfig @@ -169,6 +169,7 @@ config IXP4XX_IRQ =20 config LAN966X_OIC tristate "Microchip LAN966x OIC Support" + depends on MCHP_LAN966X_PCI || COMPILE_TEST select GENERIC_IRQ_CHIP select IRQ_DOMAIN help --=20 2.43.0 From nobody Sat Feb 7 23:03:09 2026 Received: from albert.telenet-ops.be (albert.telenet-ops.be [195.130.137.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BBE111DEFD2 for ; Mon, 20 Jan 2025 14:35:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.90 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737383716; cv=none; b=p8Q8XTn8yUTDMmBqqvj/UU/gX3ZwI9AkgBkwyswu1kT6/RJKWBLzhsbdLDK2AaSXTEYRIRZFH8Eyj7EXo7BNCus1B5nEZW93x/PltwRzpOLudlPAiypg6S0oRck7S3pV9zStUPSufd8CRg5W1eWRPs/k1UWLQfwbSiXswhjmbc0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737383716; c=relaxed/simple; bh=B2UT981Fu3HSVTKAqwf0SNcrfr/ndTZprIGo6/oHasE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=q2YJ5xmqDv1EYq45ODOZE01C51++/FBlMbA1ohsj+vXJZ/vnEAb0RJC4GkmLmvpiCgW9dHO0TUFOobOKycqW+DQC9VCJY3gd7In88SU+uX37wFvhgjeFRnkXQYxXWoLBAIIwrIE2CBEDmltXMiQDDtfKBOJFm5/r4Pd2RlMWBLQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.137.90 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:30c9:4dcf:fe21:4b10]) by albert.telenet-ops.be with cmsmtp id 3Sb42E00H0raqVW06Sb41D; Mon, 20 Jan 2025 15:35:05 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.97) (envelope-from ) id 1tZsrh-0000000DhTa-3YKN; Mon, 20 Jan 2025 15:35:04 +0100 Received: from geert by rox.of.borg with local (Exim 4.97) (envelope-from ) id 1tZsro-0000000DTZZ-1bBT; Mon, 20 Jan 2025 15:35:04 +0100 From: Geert Uytterhoeven To: =?UTF-8?q?Herv=C3=A9=20Codina?= , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I Cc: devicetree@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v3 3/3] phy: PHY_LAN966X_SERDES should depend on SOC_LAN966 || MCHP_LAN966X_PCI Date: Mon, 20 Jan 2025 15:35:03 +0100 Message-ID: <369233dfded88ff6fb342e03794fe31985d84d82.1737383314.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The Microchip LAN966X SerDes PHY is only present on Microchip LAN966x SoCs. However, when used as a PCI endpoint, all peripherals of the LAN966x SoC can be accessed by the PCI host. Hence add dependencies on SOC_LAN966 and MCHP_LAN966X_PCI, to prevent asking the user about this driver when configuring a kernel without Microchip LAN966x SoC and PCIe support. Signed-off-by: Geert Uytterhoeven Acked-by: Herve Codina --- v3: - Fix symbol name in description, - Add Acked-by, v2: - New. --- drivers/phy/microchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/microchip/Kconfig b/drivers/phy/microchip/Kconfig index 38039ed0754c6548..2f0045e874ac81ad 100644 --- a/drivers/phy/microchip/Kconfig +++ b/drivers/phy/microchip/Kconfig @@ -15,6 +15,7 @@ config PHY_SPARX5_SERDES config PHY_LAN966X_SERDES tristate "SerDes PHY driver for Microchip LAN966X" select GENERIC_PHY + depends on SOC_LAN966 || MCHP_LAN966X_PCI || COMPILE_TEST depends on OF depends on MFD_SYSCON help --=20 2.43.0