From patchwork Tue Nov 27 12:46:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 10700557 Return-Path: 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 ; 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 ; 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 ; 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 To: Chen-Yu Tsai , Maxime Ripard 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: References: 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maxime Ripard , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-v3s-licheepi-zero-dock.dts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 = ; channel = <0>; voltage = <200000>; }; - button@400 { + button-400 { label = "Volume Down"; linux,code = ; channel = <0>; voltage = <400000>; }; - button@600 { + button-600 { label = "Select"; linux,code = ; channel = <0>; voltage = <600000>; }; - button@800 { + button-800 { label = "Start"; linux,code = ; channel = <0>;