Message ID | 9845d0f35e3dc09d9ab6296618ebaa18e2305954.1543321707.git-series.maxime.ripard@bootlin.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A0DCD14D6 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 27 Nov 2018 13:40:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8EED42B347 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 27 Nov 2018 13:40:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 838592B343; Tue, 27 Nov 2018 13:40:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 62CE92B334 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 27 Nov 2018 13:40:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=50kiqS5pz9mYYjeGNSGUhWP3v32rKLqHKQJiNMCt7DA=; b=eBH07VMsmHJFDa Y+geBF0+gD75mY1KylEsNUq4yt8df9qp+usnuY22j08lFqirG30I/K32X5ZGk2QovX5rCHsNif9oD ly7ZHgML5vthIbRT9LK9NgjNxVB1L2uW/zi1ANkPipdVEHkxOO9NjGojC4B3E+tuuuGaQIhMOAPT5 LTwTFpEsJBLnlQEJ6caLQnMIpVwNmneTG5Df9V8QIp6ei/UanmEG318FJtrFE/63XiDmk7ThkS6bY I9uemuZatYj2hasLsvFoag0zt9/QfURUJcWSIeRAjOc04YzSOZCFKI+L+loHjuhTx0A+ftSve084v RRr/LdgnIwBv0HP9s4OQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRdau-0006IS-Dm; Tue, 27 Nov 2018 13:40:04 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRdSi-000863-80 for linux-arm-kernel@bombadil.infradead.org; Tue, 27 Nov 2018 13:31:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+piakoXd04ynValKnGDaDMpsK4ArahdV+fmuoNgQNUQ=; b=yFUaDjqc8R8TKfs9eMqFX8b+u/ AH6+nrW726+EmQPhM+ZD8ymm/ZqdY0BAoOfxCBzeGrtgtEMobiJxQicCRs69usdz5OqrNQ541WABO yTYkwycqwPB8cf9qxXSYqkz4MocFG56cQgoUYb4VcAVoshB745n4r3q4q96R8wQ9ffbN3FxZhPuR5 q/IXY22/9Cfr2mL3Qw7m/xGtfmL92qRfPqlESL6jsm/xjgEzDZhX4HR9F0dq8pLOyw5gwwzG8RcF/ DULMzNVux6qrwXu6x70yn/eflQnFgA5yXFj9+/NzlKkhiQJhc/qFisLpW81VOQQZvI020hKD61w4/ eOYsj0gg==; Received: from mail.bootlin.com ([62.4.15.54]) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRclu-00020P-1p for linux-arm-kernel@lists.infradead.org; Tue, 27 Nov 2018 12:47:22 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 403B720D2E; Tue, 27 Nov 2018 13:47:10 +0100 (CET) Received: from localhost (aaubervilliers-681-1-94-205.w90-88.abo.wanadoo.fr [90.88.35.205]) by mail.bootlin.com (Postfix) with ESMTPSA id 000E9213F7; Tue, 27 Nov 2018 13:46:41 +0100 (CET) From: Maxime Ripard <maxime.ripard@bootlin.com> To: Chen-Yu Tsai <wens@csie.org>, Maxime Ripard <maxime.ripard@bootlin.com> Subject: [PATCH 69/77] ARM: dts: sun8i: v3s: Change LRADC node names to avoid warnings Date: Tue, 27 Nov 2018 13:46:10 +0100 Message-Id: <9845d0f35e3dc09d9ab6296618ebaa18e2305954.1543321707.git-series.maxime.ripard@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <cover.9a6e7d31e872acad71b4bc7f9edfc24ab01c22c3.1543321707.git-series.maxime.ripard@bootlin.com> References: <cover.9a6e7d31e872acad71b4bc7f9edfc24ab01c22c3.1543321707.git-series.maxime.ripard@bootlin.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181127_074722_223127_0CD120A9 X-CRM114-Status: UNSURE ( 9.51 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Maxime Ripard <maxime.ripard@free-electrons.com>, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
ARM: dts: sunxi: Cleanup DTC warnings
|
expand
|
On Tue, Nov 27, 2018 at 8:47 PM Maxime Ripard <maxime.ripard@bootlin.com> wrote: > > One of the usage of the LRADC is to implement buttons. The bindings define > that we should have one subnode per button, with their associated voltage > as a property. > > However, there was no reg property but we still used the voltage associated > to the button as the unit-address, which eventually generated warnings in > DTC. > > Rename the node names to avoid those warnings. > > Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
diff --git a/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts b/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts index ad173605b1b8..db5cd0b8574b 100644 --- a/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts +++ b/arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts @@ -66,28 +66,28 @@ vref-supply = <®_vcc3v0>; status = "okay"; - button@200 { + button-200 { label = "Volume Up"; linux,code = <KEY_VOLUMEUP>; channel = <0>; voltage = <200000>; }; - button@400 { + button-400 { label = "Volume Down"; linux,code = <KEY_VOLUMEDOWN>; channel = <0>; voltage = <400000>; }; - button@600 { + button-600 { label = "Select"; linux,code = <KEY_SELECT>; channel = <0>; voltage = <600000>; }; - button@800 { + button-800 { label = "Start"; linux,code = <KEY_OK>; channel = <0>;
One of the usage of the LRADC is to implement buttons. The bindings define that we should have one subnode per button, with their associated voltage as a property. However, there was no reg property but we still used the voltage associated to the button as the unit-address, which eventually generated warnings in DTC. Rename the node names to avoid those warnings. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> --- arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)