Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2412040imu; Tue, 6 Nov 2018 14:12:20 -0800 (PST) X-Google-Smtp-Source: AJdET5dmJql8IOraFCsIpeR3P6eO6Nuy4r8D+sB0YmTmCVxAU+2o80yva88nZGn+KXjuPgNAgIL9 X-Received: by 2002:a17:902:d705:: with SMTP id w5-v6mr27366404ply.11.1541542340085; Tue, 06 Nov 2018 14:12:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541542340; cv=none; d=google.com; s=arc-20160816; b=YrjN9eQ2f0b2C4BvBwdiC1Lf92GRtjw3gMCxQgR0fuZZDcMo4mc8CY94qU1MGlpuho 1cb8JMP7qVIU/1pFi72CMp3Xs0p3uOpXg5dJu7mwWkg6VWhtnqjWy4UHl+BuOT/6wGfo zYHnKlBk9q/ApLqVNppfKokKiOd23JA6SP+adqaLS31lBeBi67yp1+5ZR2wFZG9KxMMa mYYWeHJsJZp4dGhbQRhG9vv6jpobM9JyDCZHcfLdbj6RWtQLdA4DVPo03iqhYpRpLvnW w8YVToQQBRMP+t5178dbJamMP9DYps/KcrD0/qbueiKqIrM5E8dHV1ipSzwjgam+2qnc TnMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=0oCYK7L5NJFwm1Z3WalSGQRB9n5Xjvb00dQG1zHWUao=; b=V/PMpS+sxzzZM9EJ5nzc48Uch8PMAeYcrEbQgUZkdQx/10oaBBmMXuSpoYJzSb7Rgz HQpA/ChTcb4gtga7SvXYAyjycJNdJ7mw/V8Q8CZW/VPt4l24C0txdlTDZe5mKQmDVOlT rYWX+0TxmcYTpEVv5OsJgSerXYcW6UnCd2ZpbZQmzZ0ywIhRcGHhRayZX8Lot3pJ1ES3 P6UqvK0/m8XCXwZd1lzbDLLmHm+OTn12izxPjMDCt3WtlBi68gYAEhnKcQCroUHFxGCy 96XgH9KB3Jc9TEMvRAP+M7YTfa+J0ZVXBVElDySpyBP7sTR9cm2IR+iS1N1aUe+X+Bc8 4WRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=t2DiCyxy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id e129-v6si14106807pfg.205.2018.11.06.14.12.04; Tue, 06 Nov 2018 14:12:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=t2DiCyxy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S2388191AbeKGHfV (ORCPT + 99 others); Wed, 7 Nov 2018 02:35:21 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:37326 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730921AbeKGHfS (ORCPT ); Wed, 7 Nov 2018 02:35:18 -0500 Received: by mail-lj1-f196.google.com with SMTP id e5-v6so8809957lja.4; Tue, 06 Nov 2018 14:07:55 -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:in-reply-to:references; bh=0oCYK7L5NJFwm1Z3WalSGQRB9n5Xjvb00dQG1zHWUao=; b=t2DiCyxyMEELY7uYy7oTSD661bD542h53+usdkVvD9sRGLWZ44eb8bbQWxnyZoZZ56 V6hArNkPxgmrpzA+XGjGODZbvSxw0FDDUf1W8p7Ik/4wXaFThMMpLDcEnzsvBnokJHwQ PY/jCRFMlHHv+sXxOG9RPlDlsYbXD4Thb7nxU9mqWwH4xpWR3dcGhPbw6gUB5v8c/Yai oFWXHjz21U2OaM5CduVahCI5sFpzmiyZK5qi0NE4C7nZxMTwra72iuVtWtATJAZX4BP8 hsHV5gyQNhzM9bImvh9xLN93t2nSNI7m2721HiFI1FKOPqU8J2YBiVaiDU+LGuWAf0zI 5kIg== 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:in-reply-to :references; bh=0oCYK7L5NJFwm1Z3WalSGQRB9n5Xjvb00dQG1zHWUao=; b=taY7u7zMX8QNqtz1vlPGLIgGnbCP3hMoWgq+bMkrs5oApQEW7ZFtQUt4JFOG47p7He 651dibvx/Wcb4gH+k3DXCzIAkLSNbQPkalRbHVvw/gAy38IS8lHT+pB4pBuO3B58UPgM AC61gRYDm+ggPy4jZs4ATZwBMCmeuJ9vNQXbXUGgVozutcaje5Tk+x+JR/uw61gKJb0n WhZqBuihMvWD0yi2aeNBqQ1s4oGws/4R6afLUIvjXElfSFczTo6OsBEUYA/agFKU+t7y 9Dqiq+PYGGCzIGhj8vDHCRjhuqdWnmrlEPCfYPL/E4fYrPjVN1Acxv8b8k5INb6dn0A4 xjUA== X-Gm-Message-State: AGRZ1gLjUaAcCNkYtRFQcqZuJOG1mi6OiGrytth2NwhJpFImhULg0zts bTECB5sVazL6Z/i29YXCedinMQ0h X-Received: by 2002:a2e:9dd0:: with SMTP id x16-v6mr9415924ljj.164.1541542073899; Tue, 06 Nov 2018 14:07:53 -0800 (PST) Received: from i4790k.home (bgp86.neoplus.adsl.tpnet.pl. [83.28.79.86]) by smtp.gmail.com with ESMTPSA id c20sm3185654lfj.67.2018.11.06.14.07.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Nov 2018 14:07:53 -0800 (PST) From: Jacek Anaszewski To: linux-leds@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, pavel@ucw.cz, robh@kernel.org, jacek.anaszewski@gmail.com, Xiaotong Lu , Baolin Wang Subject: [PATCH 05/24] dt-bindings: sc27xx-blt: Add function and color properties Date: Tue, 6 Nov 2018 23:07:13 +0100 Message-Id: <1541542052-10081-6-git-send-email-jacek.anaszewski@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1541542052-10081-1-git-send-email-jacek.anaszewski@gmail.com> References: <1541542052-10081-1-git-send-email-jacek.anaszewski@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Refer to new "function" and "color" properties and mark "label" as deprecated. Signed-off-by: Jacek Anaszewski Cc: Xiaotong Lu Cc: Baolin Wang --- Documentation/devicetree/bindings/leds/leds-sc27xx-bltc.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/leds/leds-sc27xx-bltc.txt b/Documentation/devicetree/bindings/leds/leds-sc27xx-bltc.txt index dddf84f..5177479 100644 --- a/Documentation/devicetree/bindings/leds/leds-sc27xx-bltc.txt +++ b/Documentation/devicetree/bindings/leds/leds-sc27xx-bltc.txt @@ -14,7 +14,9 @@ Required child properties: - reg: Port this LED is connected to. Optional child properties: -- label: See Documentation/devicetree/bindings/leds/common.txt. +- function: See Documentation/devicetree/bindings/leds/common.txt. +- color: See Documentation/devicetree/bindings/leds/common.txt. +- label: See Documentation/devicetree/bindings/leds/common.txt (deprecated). Examples: @@ -25,17 +27,17 @@ led-controller@200 { reg = <0x200>; led@0 { - label = "red"; + color = "red"; reg = <0x0>; }; led@1 { - label = "green"; + color = "green"; reg = <0x1>; }; led@2 { - label = "blue"; + color = "blue"; reg = <0x2>; }; }; -- 2.1.4