[PATCH 2/3] ARM: dts: imx6ul: mba6ulx: Fix gpio-keys button node names
Shawn Guo
shawnguo at kernel.org
Fri Aug 11 18:44:14 PDT 2023
On Thu, Aug 10, 2023 at 11:55:40AM +0200, Alexander Stein wrote:
> Numbers are separated by dashes. Fixes the warnings:
> arch/arm/boot/dts/nxp/imx/imx6ull-tqma6ull2-mba6ulx.dtb: gpio-keys:
> 'button1', 'button2', 'button3' do not match any of the regexes:
> '^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switch))$', 'pinctrl-[0-9]+'
> from schema $id: http://devicetree.org/schemas/input/gpio-keys.yaml#
>
> Signed-off-by: Alexander Stein <alexander.stein at ew.tq-group.com>
It doesn't apply to my imx/dt branch.
Shawn
> ---
> arch/arm/boot/dts/nxp/imx/mba6ulx.dtsi | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/boot/dts/nxp/imx/mba6ulx.dtsi b/arch/arm/boot/dts/nxp/imx/mba6ulx.dtsi
> index 632ceadcca41..5a8b867d7d79 100644
> --- a/arch/arm/boot/dts/nxp/imx/mba6ulx.dtsi
> +++ b/arch/arm/boot/dts/nxp/imx/mba6ulx.dtsi
> @@ -35,21 +35,21 @@ gpio_buttons: gpio-keys {
> pinctrl-names = "default";
> pinctrl-0 = <&pinctrl_buttons>;
>
> - button1 {
> + button-1 {
> label = "s14";
> linux,code = <KEY_1>;
> gpios = <&expander_in0 0 GPIO_ACTIVE_LOW>;
> wakeup-source;
> };
>
> - button2 {
> + button-2 {
> label = "s6";
> linux,code = <KEY_2>;
> gpios = <&expander_in0 1 GPIO_ACTIVE_LOW>;
> wakeup-source;
> };
>
> - button3 {
> + button-3 {
> label = "s7";
> linux,code = <KEY_3>;
> gpios = <&expander_in0 2 GPIO_ACTIVE_LOW>;
> --
> 2.34.1
>
More information about the linux-arm-kernel
mailing list