From patchwork Tue Nov 27 12:45:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 10700495 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 DD69317D5 for ; Tue, 27 Nov 2018 13:16:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE4C72A1B5 for ; Tue, 27 Nov 2018 13:16:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C26152B2CF; Tue, 27 Nov 2018 13:16:45 +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 0304D2B2C3 for ; Tue, 27 Nov 2018 13:16:44 +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=VpU1pKubg4bjb+9Txx616ZIEGaUzmI9R19YSlbwmh8c=; b=Zb7EntVj8Wro8Q 4L3SOf3N5Y3vbkNymJB1Jk6BIn4SNiEC5eRB+qrRtG/gw/rYL1JjhY9rF8MMbA/KROmdl2ItQl1+4 zBg/Wp6zM4BvbePTEU+WTWWCxPo79nUqZUePX5P83/ttRrjqnY/DPmE/SOwPZyIApc0sXwFOpfr7c sfo53a4Ahx1HBwdVelBjnqQcF0W8YzaQ7IwyU2u4SEXPSy5/MBUlPMfb3DfuGlKktY17PMZvvmfqZ 1JUVpPOCyYiQy10NSHX/1FVesBLEacjWZaLkAUEJKg+k+AL/c8GVq1JvdbUecpF7JUq9XoGIYowm/ 7njrz6r6+1mzHs3lYTJw==; 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 1gRdEI-0000Mr-Lw; Tue, 27 Nov 2018 13:16:42 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRd95-0002tJ-0l for linux-arm-kernel@bombadil.infradead.org; Tue, 27 Nov 2018 13:11:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.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=SM/2qL5SSJRspc/p+1BTKGFRyYXj4e/mc+POFLLYwho=; b=t6TYzHUHY2ruCUqmj8yMYwwKhD OmrjG9OA5RZSX8J+alCSOLsXjtS6Y22cbkUjGs0pwa4D2QzGW6THDh5Gcz2PHqpZSbR9QrUnzlV17 MjN7TR0zqYHcB5GMRQ/cbA+IGOR+r3sTqrMd06IE7AhmVuFAWRuUHp5JbhP6YWXt/lrdXy7xbQ5jr v6qr7ubezZqKCXCvdgWpqJXIIqpqkkh+jRvNCbV653KBiC24IBM3HMeKtIOao40LQXqT5DfId51ve JelnZCFq02X+Q6ZfFY2qrtaOK7tD9JhDcUL+NWNraXSkzc5EjGX/bKIIhPe/VxODXLw+bRNHoRytT YVB2pI8g==; Received: from mail.bootlin.com ([62.4.15.54]) by casper.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRclk-000454-LL for linux-arm-kernel@lists.infradead.org; Tue, 27 Nov 2018 12:47:14 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 08AD620DF0; Tue, 27 Nov 2018 13:46:40 +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 0988B20DF3; Tue, 27 Nov 2018 13:46:24 +0100 (CET) From: Maxime Ripard To: Chen-Yu Tsai , Maxime Ripard Subject: [PATCH 17/77] ARM: dts: sunxi: Change LRADC node names to avoid warnings Date: Tue, 27 Nov 2018 13:45:18 +0100 Message-Id: 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_124712_816284_949CD9BA X-CRM114-Status: GOOD ( 15.46 ) 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: 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/sunxi-reference-design-tablet.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/sunxi-reference-design-tablet.dtsi b/arch/arm/boot/dts/sunxi-reference-design-tablet.dtsi index 245d0bcde441..00dc6623f30f 100644 --- a/arch/arm/boot/dts/sunxi-reference-design-tablet.dtsi +++ b/arch/arm/boot/dts/sunxi-reference-design-tablet.dtsi @@ -60,14 +60,14 @@ 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>;