Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp126987pxu; Tue, 24 Nov 2020 21:32:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJzEOMow7oaaQTvnV0OmpOv76BBDk1kZvxSLcQ2AviS28L/t1bBSOJaR/mcioKpTcXe40M4i X-Received: by 2002:a05:6402:b35:: with SMTP id bo21mr1906147edb.52.1606282338118; Tue, 24 Nov 2020 21:32:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606282338; cv=none; d=google.com; s=arc-20160816; b=jEcN5qEcip8wgCA+Y+FiVpRq0GYYcR0oyXubIkhyX+vXP0fA1EugEuMzzoPbzAPUms /lp7tPDbd1IQsrht+oX/zlPLMZq/YvxVdIgRfmwoJ4bmQUyRS7fl8O4jY6tOwYCsGIGP 46l4O/MDVkJUSMueDIOo+q2dEi969h5csSiz8nI8kJZP+bpN86uj5+p5L4V3lYOk5Dnb VQWgk837bk2dQUzn07VlH6FTaX3ff+UmSm+ODwkQgFck50KhIkaTNRDyS/goNJxoQW/+ 2Z6hfDPYx3a5+T+LIgGVYXax3G9zNJQYVUgmFSaxWSCTsRglt6Lbf8YvxkvkvoefFcqL dcQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=9/VyulasGLfNRZhFbuEx/v+zb6WhDEFLeGB6bc5kOlw=; b=MR6khLkeoyQ7f1fU5HBdnlfIxOHp61IM5fMkCmCOZwz8qVAY+ksZAbDjlgPqni4vxa 0s5WjlB8cV9mm0vTjWo3QWQ/Vev2i3Zl2oP5z4aUDyeQ9CYhunTwcgcSLmMOoiz79xRZ b0xyMIqepg882Ebs0YN39kyI22+/KrJPDE9i1i//tNXPeTVw/u2fgaYUqtLmeDbqYDcg gaF2sgTmPhoi72o36h+bNmlR/TeSgq/6jwVek3YvkRuCH2dyQ/jmy/bF+lodrvHGnb3r vRaG68n4Q91erkvJAz/13JkY5m+pudgLJ5lLHRubwNFrXEUPX0Yf27Z+4Tj4E6bQYHvE 3TEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=V6PyMx1Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u17si589447edv.131.2020.11.24.21.31.54; Tue, 24 Nov 2020 21:32:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=V6PyMx1Y; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727041AbgKYF3U (ORCPT + 99 others); Wed, 25 Nov 2020 00:29:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725835AbgKYF3U (ORCPT ); Wed, 25 Nov 2020 00:29:20 -0500 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3102DC0613D4; Tue, 24 Nov 2020 21:29:20 -0800 (PST) Received: by mail-wm1-x341.google.com with SMTP id 10so890357wml.2; Tue, 24 Nov 2020 21:29:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=9/VyulasGLfNRZhFbuEx/v+zb6WhDEFLeGB6bc5kOlw=; b=V6PyMx1YCB2d4scqQohV3x/vNdZFji6nnwTpeehpun0H0R9lj1a05oNcwWLxaOhn71 tJQYzPjCeZu/7s3tIWP8tEMaaM5MsZCroauf4358BJ1JfZqjxbMDPP20Ck8UyMmlsjb3 LRXyCZLlZXynxwim7MRT/+CuD8CiBAiedm1k7RxOyIYjwWcpXQRPn1vjJMMpTBeYtwRQ vuTNl21ynhZjClO8LgJEraTHyWDgfQUnuHrNg0xwTlbi9kUD9yGYimSKxAwAZSmCRpuo SXgzps5XgZZyrkb8MXks5bmWsnZ+/lIXYklb5YBwE/l/DcUe1zQQLvcMJoE8ucmBVHG0 uyjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9/VyulasGLfNRZhFbuEx/v+zb6WhDEFLeGB6bc5kOlw=; b=B/jSdnAfMt/WHIgVyxwZw/f9wNC424o8/Q4VdE4Lp7n40/SVNUB16pS5oF8EGiC0kd YPUAFQxP7VWjqbWJ7EDFbbJECWxX+fioSHkwMnaznOq2kCV5HMm+6zwJicruUj1ZyO3R io3CuiIeGGuxtAWazaWtub/V+hL9oJ+dyZRtz8FxInVthmh69cY4/tnUd5uqu3AMeudB UBaNo7aYB+LWzxWcUp7dhbYWfnFht6mMRcAkvrgxz3Qzvmh9TEO+J+UV50UjVsivAn9K +vU37KqZZiZ0CvIYjjP3FO81AtxwrkPxYXfUMlEa2dNTnfS/vCQhueTV9H5M7CPy7Fx4 /Pag== X-Gm-Message-State: AOAM530KkxjTYi+Gj7qC18IO6u+hYzb+2VqyYxBjAfqXP3Fqcmmjv9rd nxfp9DZX6aT7cixYeVs4d291tkoU2dgvPg== X-Received: by 2002:a7b:cf09:: with SMTP id l9mr1860237wmg.54.1606282158885; Tue, 24 Nov 2020 21:29:18 -0800 (PST) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id d128sm2430249wmc.7.2020.11.24.21.29.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 21:29:18 -0800 (PST) From: Christian Hewitt To: Rob Herring , Mark Rutland , Kevin Hilman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Christian Hewitt , Artem Lapkin Subject: [PATCH] arm64: dts: meson: update the Khadas VIM3/3L LED bindings Date: Wed, 25 Nov 2020 05:29:14 +0000 Message-Id: <20201125052914.4092-1-christianshewitt@gmail.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Update the VIM3/3L common dtsi to use the new function/color bindings. Suggested-by: Artem Lapkin Signed-off-by: Christian Hewitt --- This supersedes a previous submission from Art [0] and uses the updated LED bindings suggested by Neil. [0] https://patchwork.kernel.org/project/linux-amlogic/patch/20200925033017.1790973-4-art@khadas.com/ arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi index 87bd8c9516f2..8f8656262ae7 100644 --- a/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-khadas-vim3.dtsi @@ -6,6 +6,7 @@ */ #include +#include #include #include @@ -42,14 +43,16 @@ leds { compatible = "gpio-leds"; - led-white { - label = "vim3:white:sys"; + white { + color = ; + function = LED_FUNCTION_STATUS; gpios = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; }; - led-red { - label = "vim3:red"; + red { + color = ; + function = LED_FUNCTION_STATUS; gpios = <&gpio_expander 5 GPIO_ACTIVE_HIGH>; }; }; -- 2.17.1