Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp6270294rwn; Tue, 13 Sep 2022 01:20:54 -0700 (PDT) X-Google-Smtp-Source: AA6agR7X9zYUvvN1beEli6mk6//+0Le6CzqDZ+htnL1KknDra5iN+tWECafqvwzQ9M9Bq6j+Ttzk X-Received: by 2002:a17:902:8f8a:b0:16f:975e:7c6e with SMTP id z10-20020a1709028f8a00b0016f975e7c6emr31235236plo.136.1663057253757; Tue, 13 Sep 2022 01:20:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663057253; cv=none; d=google.com; s=arc-20160816; b=QoWks0bYN/J9Cs4hwRTajeiIWUeKMWHQODlpQ/ZVnnUAgaHBbU4tgBiJAPry9fMv8B tC+Z3JDZ3oEwvytAyVxN1QiJBPF6VtGa3KTrmOzJLuZRRnYoWJtaf8J4UH6v/WhaK2DD 9nwmq8TMTmZCBnDHmMMtdfmJmbNNc0EMSZlPbdFUTUOcW4rW/7lhYGv4b96HbLxBsmpy 8XjNNvCbbxm8v2G1hnMZ6DWPukxJ6lV6sUSdk+m0116CAXsgJtMJ30fz/Nt6ISQH6bW/ lbJ8JgLtps1B5B3VWp0coXTu2jCESbj+/GFatumzhojJ4hNQlybQFHqS/c4vCQl/Oxie T32Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=LXUSM1D9TCSnj5cFkQcurcTTk7FULHs9ic+FItwRGmQ=; b=XkQDq21qFuGHpS1DUoR+RswYkgUrXy9W4ygFNApPVudLhYzzFQEhGiB3/d9lr3Bvhz rXsB1ctuJEwGdVzm6Sjp54o98XOsE/zWPy0k9LOqbiTWdhYwOyOuwySRbhXO6iHanud+ 3ElOcGE2ClTBku6P9CPB1AhXxMKDUOeY40kx0YlZtxA6WDTKl37laYwfb+g+JxZExN1s B8TLJa9IbIu+gltUndFpU/ab1TQIPfuNr4MAQ0WFVg3N8SNEajG6EO6uyOF8K8Rk6JIg WHQxkblke4v9O7qOovL3vhBNTMhE99cpdXdFZAzsDd04f08FrHTE2OH++8WUO4f6QPZ+ kSHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=SV8DHSwg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t16-20020a170902e85000b00177fd9637cbsi12732667plg.570.2022.09.13.01.20.40; Tue, 13 Sep 2022 01:20:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=SV8DHSwg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230272AbiIMHSV (ORCPT + 99 others); Tue, 13 Sep 2022 03:18:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230224AbiIMHSR (ORCPT ); Tue, 13 Sep 2022 03:18:17 -0400 Received: from mail.3ffe.de (0001.3ffe.de [IPv6:2a01:4f8:c0c:9d57::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A52BB39BAE; Tue, 13 Sep 2022 00:18:14 -0700 (PDT) Received: from 3ffe.de (0001.3ffe.de [IPv6:2a01:4f8:c0c:9d57::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.3ffe.de (Postfix) with ESMTPSA id 0AC3B135F; Tue, 13 Sep 2022 09:18:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2022082101; t=1663053492; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LXUSM1D9TCSnj5cFkQcurcTTk7FULHs9ic+FItwRGmQ=; b=SV8DHSwgEXZIwRgHNthvy5ZFXif0qMYzsnNw4hWCAC4MSu3ljzH9OugvN/BgIMmJZAeUt3 8/2zwuTxUxupDMlsIWLG1jxc+ruc1DkDxHZN3OqBDw9AIdyRNz5eG8qjMThxbFlotX9UaV ytdTF0e7E6n5364RuY5vAdDjj5Woso4n6Gh4Wg7YqwFFVjlTqL1vPeOBZCiF1CkVeAt0aX YtIFXXhaOBIuwZjDjNRk6b51sXoKGZoa5/7DWqmzvHKCHrpkqS0eNX79sSQcQl0fu9hN0G DICQspqVSKJ3u76ZtAWl19d+YUOrbj34ME7IGnT4UirYduTgpprbV11PXKBfpQ== MIME-Version: 1.0 Date: Tue, 13 Sep 2022 09:18:11 +0200 From: Michael Walle To: Horatiu Vultur Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, claudiu.beznea@microchip.com, nicolas.ferre@microchip.com Subject: Re: [PATCH] ARM: dts: lan966x: Fix the interrupt number for internal PHYs In-Reply-To: <20220912192629.461452-1-horatiu.vultur@microchip.com> References: <20220912192629.461452-1-horatiu.vultur@microchip.com> User-Agent: Roundcube Webmail/1.4.13 Message-ID: X-Sender: michael@walle.cc Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Horatiu, Am 2022-09-12 21:26, schrieb Horatiu Vultur: > According to the datasheet the interrupts for internal PHYs are > 80 and 81. Can you point me to that documentation? Accoring to Table 3-155: Shared Peripheral Interrupts There are ID47 and ID48 listed as "MIIM controller 0 interrupt". Whatever that is, because the internal PHYs are on MIIM controller 1. But 80 and 81 would be ID48 and ID49. Did you test the interrupts? -michael > Fixes: 6ad69e07def67c ("ARM: dts: lan966x: add MIIM nodes") > Signed-off-by: Horatiu Vultur > --- > arch/arm/boot/dts/lan966x.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/lan966x.dtsi > b/arch/arm/boot/dts/lan966x.dtsi > index bcb130a2471d..23665a042990 100644 > --- a/arch/arm/boot/dts/lan966x.dtsi > +++ b/arch/arm/boot/dts/lan966x.dtsi > @@ -547,13 +547,13 @@ mdio1: mdio@e200413c { > > phy0: ethernet-phy@1 { > reg = <1>; > - interrupts = ; > + interrupts = ; > status = "disabled"; > }; > > phy1: ethernet-phy@2 { > reg = <2>; > - interrupts = ; > + interrupts = ; > status = "disabled"; > }; > };