lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3aeb528f-4425-4be9-091d-068e8419334e@gmail.com>
Date:   Mon, 29 May 2023 16:25:56 +0200
From:   Matthias Brugger <matthias.bgg@...il.com>
To:     Daniel Golle <daniel@...rotopia.org>, devicetree@...r.kernel.org,
        linux-mediatek@...ts.infradead.org,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
        Rob Herring <robh+dt@...nel.org>,
        Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
        AngeloGioacchino Del Regno 
        <angelogioacchino.delregno@...labora.com>
Subject: Re: [PATCH 2/2] arm64: dts: mt7622: handle interrupts from MT7531
 switch on BPI-R64



On 19/04/2023 21:16, Daniel Golle wrote:
> Since commit ba751e28d442 ("net: dsa: mt7530: add interrupt support")
> the mt7530 driver can act as an interrupt controller. Wire up irq line
> of the MT7531 switch on the BananaPi BPi-R64 board, so the status of
> the PHYs of the five 1000Base-T ports doesn't need to be polled any
> more.
> 
> Signed-off-by: Daniel Golle <daniel@...rotopia.org>

Applied, thanks

> ---
>   arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts | 4 ++++
>   1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
> index d583e816684cf..aabd104b12acf 100644
> --- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
> +++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
> @@ -150,6 +150,10 @@ mdio: mdio-bus {
>   		switch@0 {
>   			compatible = "mediatek,mt7531";
>   			reg = <0>;
> +			interrupt-controller;
> +			#interrupt-cells = <1>;
> +			interrupt-parent = <&pio>;
> +			interrupts = <53 IRQ_TYPE_LEVEL_HIGH>;
>   			reset-gpios = <&pio 54 0>;
>   
>   			ports {

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ