Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3662314pxu; Sun, 11 Oct 2020 19:16:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCxSM8d4aCNW1pncc0wvkXmkx+ix88KYXiEKtjRYjRv48kmxLvxuBGC9zewJeC/keKENxx X-Received: by 2002:a17:907:4365:: with SMTP id nd5mr26579925ejb.56.1602468999259; Sun, 11 Oct 2020 19:16:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602468999; cv=none; d=google.com; s=arc-20160816; b=pw/uC/bV6yMoZzzhroLtEGJQWau6MKmg6hfEGGEsqpycFPC1ZHbG4PBvuyDepCKKHV H3Xdv2BIrprmk+1Be/isOhVaMaL6JU6OgkxVXrG5xA6G/Dzi2ERWB21hNd3Y9HryHjJn g5BBRN8fWPkR8x2JdBluBUm+SC6szFPbodt93iS2eST+nni9sXR8TIjEYOQ/TvzF0QKF 5Mi3Lp1ej3nbyWLFBguJ5I6GInig2wGAIGxpWvH3WsJe+XC/oJ028wG1ECCaOUfRpszk 2LxSrqi0uOUwPSMsQCO1MNYdZHUUMbjeGd2qK2fTjrW+MxS6EhjkYUv5IF+/u04W6i0h d99w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=v1SI67RBBtDiSYCd7igvyTTY/wfEnfAVpHIYHQEDBdk=; b=KrdIcVWZFy4Bv/2NB/PjIo7xaBU6X0+95KcAnrJOgbPDkyiWqXQOoRDh5cMPUXEksp VIoO5Y8Ynf1dilc2Z5+iLupRN8fKvmkEyaE3sKbizU6jeHcBoHcBmI9MeIT2lL7nzPtE fe5QxRXJJiHP2cgEE1cVgzaFRnKVOKtPLUANxcCPRlbhvSsfb8IRPyHk9UtXEM4nVNHa Re37URUKKbn6Ri8xM/oM3OcwGtSx+i8JY6Q1B5Vpxp9RgqiIpCqGePAYLvS1IdLuNbAK 7BBeA0AevrrA2emZ377D6iAVTeuP7fASgohfuTHp+cfr96mVFx0kV881DDwltBUUCn6M 6hRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=o4RtIxrl; 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 dh27si12162683edb.28.2020.10.11.19.16.17; Sun, 11 Oct 2020 19:16:39 -0700 (PDT) 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=o4RtIxrl; 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 S2387578AbgJKVWo (ORCPT + 99 others); Sun, 11 Oct 2020 17:22:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387570AbgJKVWn (ORCPT ); Sun, 11 Oct 2020 17:22:43 -0400 Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CA9BC0613CE; Sun, 11 Oct 2020 14:22:43 -0700 (PDT) Received: by mail-qt1-x844.google.com with SMTP id o21so12314560qtp.2; Sun, 11 Oct 2020 14:22:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=v1SI67RBBtDiSYCd7igvyTTY/wfEnfAVpHIYHQEDBdk=; b=o4RtIxrlPXh79GWZ1nNuQZXpnwKphNXfdGSumWnQzcxLNLzdtlHf0ACSeT1KaaYl+4 HLtVlcRjqrIBqGCMOvEiXwr0mQOPhY3V5cQzXSmr8nnmrOgwWHXn/HKQYanNoV6WCkRY iXNoxHP5g7/gqTiNHNNkqE0/7siy0HqiJca4Z95Y1TKYCE2qo5qOuwZGX7vabc4/8L70 +cEYZfYdDeaMO70ZECZ5kt3THjSKnu0NUuOQFQGl3n8QAhMKdHEptlCEh/Df9MnIAgLC dQHcyQRs/OJ05UGjJaXIaeXlQ/ZjNWXxW+wRNoxkDFQ6zDdMkQKNPNDy4R8K5s5Z8dEh BuCw== 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:mime-version :content-transfer-encoding; bh=v1SI67RBBtDiSYCd7igvyTTY/wfEnfAVpHIYHQEDBdk=; b=ro8vYhiS5XqYZOHytqa3Qny29PuB+4atbySLIkWTpPf+F7h+Otq9T0F1iXPCZZM9aK sSYBEtuVyNDnWF98STTjMZSiqo5OVxQW3Q3A33FE0Yipx5l+iT9EAvLE3chOT/99Yb65 7BXlTvLx1hT/TChMe0SmXP6QPqj3TW3Pl25oxE8RX7X6ASbC0dS2x1abiIaZp3CXEGnu cMBwJC/9S0HToJYCmTOlGnFUfix8Q5vsJ6fc7rsOCQBSFHWyL12Vjs/2cHXDUpbu3Mv3 zJcyn2K27CRt9qIKeOi+jrJ04F5akmYTfjsds1JmkHjgFHlKUsQcRip7AEQm281A8scz PBmQ== X-Gm-Message-State: AOAM533LBn/MPPQqklMF8qTcglNGpWQGvDvWjFK08wAbMRP2+lQ4XSxQ 9GzSwXh/g4JoGssnZjIDFOhVqs/YWeUWEg== X-Received: by 2002:ac8:5cc1:: with SMTP id s1mr7263061qta.379.1602451362784; Sun, 11 Oct 2020 14:22:42 -0700 (PDT) Received: from clement-Latitude-7490.numericable.fr (213-245-241-245.rev.numericable.fr. [213.245.241.245]) by smtp.gmail.com with ESMTPSA id n57sm11526658qtf.52.2020.10.11.14.22.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Oct 2020 14:22:42 -0700 (PDT) From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= To: Maxime Ripard Cc: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= , Rob Herring , Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] arm64: dts: allwinner: beelink-gs1: Update LED power node Date: Sun, 11 Oct 2020 23:22:37 +0200 Message-Id: <20201011212238.174792-1-peron.clem@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Beelink GS1 LED trigger a warning when running dtbs_check. Update the node with a valid pattern property. Also add the function and the color of the LED and drop the label which is deprecated. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts index 3f7ceeb1a767..a364cb4e5b3f 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts @@ -7,6 +7,7 @@ #include "sun50i-h6-cpu-opp.dtsi" #include +#include / { model = "Beelink GS1"; @@ -43,8 +44,9 @@ ext_osc32k: ext_osc32k_clk { leds { compatible = "gpio-leds"; - power { - label = "beelink:white:power"; + led-0 { + function = LED_FUNCTION_POWER; + color = ; gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */ default-state = "on"; }; -- 2.25.1