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: <87ilm5er3m.fsf@BL-laptop>
Date:   Fri, 02 Sep 2022 17:25:01 +0200
From:   Gregory CLEMENT <gregory.clement@...tlin.com>
To:     Pali Rohár <pali@...nel.org>,
        Andrew Lunn <andrew@...n.ch>,
        Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
        Rob Herring <robh+dt@...nel.org>
Cc:     Marek Behún <kabel@...nel.org>,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: dts: armada-38x: Add gpio-ranges for pin muxing

Pali Rohár <pali@...nel.org> writes:

> GPIOs are configured by pinmux driver, so add corresponding references.
>
> Fixes: 0d3d96ab0059 ("ARM: mvebu: add Device Tree description of the Armada 380/385 SoCs")
> Signed-off-by: Pali Rohár <pali@...nel.org>

Applied on mvebu/dt

Thanks,

Gregory
> ---
>  arch/arm/boot/dts/armada-38x.dtsi | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
> index a176898944f7..1590143c52c8 100644
> --- a/arch/arm/boot/dts/armada-38x.dtsi
> +++ b/arch/arm/boot/dts/armada-38x.dtsi
> @@ -298,6 +298,7 @@
>  				reg-names = "gpio", "pwm";
>  				ngpios = <32>;
>  				gpio-controller;
> +				gpio-ranges = <&pinctrl 0 0 32>;
>  				#gpio-cells = <2>;
>  				#pwm-cells = <2>;
>  				interrupt-controller;
> @@ -316,6 +317,7 @@
>  				reg-names = "gpio", "pwm";
>  				ngpios = <28>;
>  				gpio-controller;
> +				gpio-ranges = <&pinctrl 0 32 28>;
>  				#gpio-cells = <2>;
>  				#pwm-cells = <2>;
>  				interrupt-controller;
> -- 
> 2.20.1
>

-- 
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ