From patchwork Thu Dec 12 03:39:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 181404 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp372104ile; Wed, 11 Dec 2019 19:41:10 -0800 (PST) X-Google-Smtp-Source: APXvYqwa2Tv8RosWvG5iKWm6DzFzpwLHf1NUxiezKZb6chiXrcub/B5kL714VBO+wqcEXntq+q2x X-Received: by 2002:a05:6830:579:: with SMTP id f25mr5890130otc.248.1576122070206; Wed, 11 Dec 2019 19:41:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576122070; cv=none; d=google.com; s=arc-20160816; b=Z7ZrKCyFPQ1W0o9uSy891cZF64m/Qeo97xhOvj6MuD7kpAQZzB3gzgKQcR9h+/0S52 Oqm0vmBAM56OtdpcX41ny8mrEWBmt7OZL92MG99ATHD7sGZsEIRhJB1/jsYuUcpOD9r4 p4QqLatgfuJnBsS74bPrLPLWx2tL4HjGUXxWHsUo625O/zGTUcY6chpfegEVLoxfS09P gs8C9pN50drOidHQxKfr2lwnbH7sZakeJ+hyVe8QTMOcbWz313VpdiItAwbyC1+DuKb3 FKNwErD5N98asivfOyhiaQeJSUQ+Uj2gKKc7HQAPhGViTRDP+qnuzSTORTvxp9REtFdJ SdKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=boC7E+aNdTRZ9vAg9X9lsb43fNwd5mZP7KCkoDnpcHw=; b=VVSsQM/jONk9drbl8NVJVbVkhw+QHoritowFVGWK9n5KCP6ALnezVBw+TmQgYtV1iT uNO3ELY8I9gKirXhY+VdGCpaoTxqJLfHiD14kHv2vJpORSsDaVmyY3KlGlm9IKVmRu7W ngaqrveX6XXyCVR6Eqmqo8bFo8kpcxt2mKWT02ksoNOCnUnq8qSWDctCfbNTW8UFek5p rWQEqKiYJN9P+ZPbFt4lWVNaaC6pw9YecqGzvBzJF2JNAf3FFc//IAe5FkgPBSGkV8l5 jz1ejdx5yD8WQz2cJQXIdJ+YJkw7fL34PATsegbiEfOp1aCujk6554Jc8PBI91Jr3RWp /KcQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r65si2395195oig.69.2019.12.11.19.41.09; Wed, 11 Dec 2019 19:41:10 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728022AbfLLDlI (ORCPT + 27 others); Wed, 11 Dec 2019 22:41:08 -0500 Received: from mx2.suse.de ([195.135.220.15]:58618 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727698AbfLLDkF (ORCPT ); Wed, 11 Dec 2019 22:40:05 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 601BDAD5F; Thu, 12 Dec 2019 03:40:03 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-realtek-soc@lists.infradead.org, linux-leds@vger.kernel.org Cc: Jacek Anaszewski , Pavel Machek , Dan Murphy , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?q?Andreas_F=C3=A4rber?= , Rob Herring , Mark Rutland , devicetree@vger.kernel.org Subject: [RFC 14/25] arm64: dts: realtek: rtd1295-xnano-x5: Add regular LEDs to FD628 Date: Thu, 12 Dec 2019 04:39:41 +0100 Message-Id: <20191212033952.5967-15-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20191212033952.5967-1-afaerber@suse.de> References: <20191212033952.5967-1-afaerber@suse.de> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add child nodes for individual LED indicators plus the half-second colon. Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/rtd1295-xnano-x5.dts | 52 ++++++++++++++++++++++++ 1 file changed, 52 insertions(+) -- 2.16.4 diff --git a/arch/arm64/boot/dts/realtek/rtd1295-xnano-x5.dts b/arch/arm64/boot/dts/realtek/rtd1295-xnano-x5.dts index ea9e9a96f1d3..9d678b300c7b 100644 --- a/arch/arm64/boot/dts/realtek/rtd1295-xnano-x5.dts +++ b/arch/arm64/boot/dts/realtek/rtd1295-xnano-x5.dts @@ -6,6 +6,7 @@ /dts-v1/; #include +#include #include "rtd1295.dtsi" @@ -43,6 +44,57 @@ spi-rx-delay-us = <1>; spi-max-frequency = <500000>; #grids = <7>; + #address-cells = <2>; + #size-cells = <0>; + + apps@1,4 { + reg = <1 4>; + color = ; + function = LED_FUNCTION_INDICATOR; + function-enumerator = <1>; + }; + + setup@2,4 { + reg = <2 4>; + color = ; + function = LED_FUNCTION_INDICATOR; + function-enumerator = <2>; + }; + + usb@3,4 { + reg = <3 4>; + color = ; + function = LED_FUNCTION_INDICATOR; + function-enumerator = <3>; + }; + + card@4,4 { + reg = <4 4>; + color = ; + function = LED_FUNCTION_INDICATOR; + function-enumerator = <4>; + }; + + colon@5,4 { + reg = <5 4>; + color = ; + function = LED_FUNCTION_STATUS; + function-enumerator = <5>; + }; + + hdmi@6,4 { + reg = <6 4>; + color = ; + function = LED_FUNCTION_INDICATOR; + function-enumerator = <6>; + }; + + cvbs@7,4 { + reg = <7 4>; + color = ; + function = LED_FUNCTION_INDICATOR; + function-enumerator = <7>; + }; }; }; };