From patchwork Thu Sep 28 07:51:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 114395 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp434502qgf; Thu, 28 Sep 2017 00:52:34 -0700 (PDT) X-Received: by 10.98.65.27 with SMTP id o27mr3583535pfa.205.1506585154029; Thu, 28 Sep 2017 00:52:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506585154; cv=none; d=google.com; s=arc-20160816; b=NzorVjkMcS8+XHMlOyad1zm1vVIx3qHFzhO4qwSTLgl9zcio51i+URCpkXy8gyyUnc mwPbU5Xb4Mfbpw1dKXIH9DptKl1nUh6CC+F2+RyZYU3T4GQPIeefPdePMOzyV68HNTUp Wb3Cq9BWd+WoUCNS2LggBr04To4ZTFCwnHvFpwhRc7IEZD/wGsEmRuBnZRpGA4UGQ++7 T2PNQMF9GfrID/2EsX7sqflo3wmuf0HF1b10uYzpcDQm7JzBNKUIMqxIghcMafT946o2 I9fk1db8cQCkxDHso7+kF8i0AsgePhOfEFNT31VCxWlPzEZp2VaD7wtzkboWpkpkiPDz Fkqg== 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:arc-authentication-results; bh=AyibVerVCALmO7Ektl889eo/TUfKVAXFZxlYfaGIpVw=; b=bDGRBCuu38fxcqPu+eSqfxSFY+LCjiaidt15rp/LfLVNc+aDKMdCT9QA08adKx+S1u ONJwBdeySq3wDYNq/AREjkpB2XhTHy0l2k37D/v25v+BsytbpiqDKF7QzAnPUoDzTt9u Ow3SL7HPO4p/CgF2ias9AjaNZ5o3q4Y0TXTMA9SusLqtZyAVJnLYZfF1dCODdWTiyK2M eNO7cT9Hsy0n73/RfPna5wwLzLYCmMiOSML159L8X+DaqyaheYiQNMIJJ8eyOE05qS3Z jdybm7FAl4YSx6sntXQjHrf3cwkn18C8YfrCe/0yk6CknCX4MD77z5VLM/pSh6KpB/92 6sOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=H9zvZ8X/; 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 r85si883799pfe.296.2017.09.28.00.52.33; Thu, 28 Sep 2017 00:52:34 -0700 (PDT) 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=fail header.i=@gmail.com header.s=20161025 header.b=H9zvZ8X/; 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 S1752035AbdI1Hwc (ORCPT + 26 others); Thu, 28 Sep 2017 03:52:32 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:37944 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751880AbdI1Hw2 (ORCPT ); Thu, 28 Sep 2017 03:52:28 -0400 Received: by mail-pf0-f193.google.com with SMTP id a7so785778pfj.5; Thu, 28 Sep 2017 00:52:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=AyibVerVCALmO7Ektl889eo/TUfKVAXFZxlYfaGIpVw=; b=H9zvZ8X/lH4Pe7atVOrMnswRC3/bfCDadPJG0xvAyZpun7t72+vWvNjcNxKEkatlMF FCIIrhDRrRi/Zgy9hMS54+XRfTsktrXfSL1vIiB7yHOq76OVtBsYgkY1MoXJfRfcrotJ /UpsyClu4zxYyLX4qD5Mat9ZkXiYO9IW4KmY9M4ACqHJH7JldGhv3IZndDbBCK9OW/2K G5A8AwmUB0gysHQZKx6quv3GaA/AQL3n8MC6KxNLIXFx8UfIIOSXaxpgiaOQPB1bz2oq r37KTDnRvd90D1FLhTkYI5/hUcTERxsOdpE0XiMSadPVwOQHzRJwzCvAOrupelwThoSD 4jog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=AyibVerVCALmO7Ektl889eo/TUfKVAXFZxlYfaGIpVw=; b=WP/X7RWlnGZ+Mvas43/6caazQ7506zLW8bMCO6lktYwNce66IREaqawGqXtC02S2TK OOwkyV2QEsAuN7gnC67z+4wCTs3pV5kstlMMdi/AiTK/+2HXFPOn1qpTmfnLpGAp0m6x 89AqDg3m0lrtTk08N1AhdfXim2+danDAXYVUPvQ7GCcGSt6E36aX/AYfiaH8h654n2FA 2fSXgmjLhTScFaKkP4HKnR3jgrrLslIMstV8FGesd4xTXdkTWFSAUK/dJpQZch8uWb9F p3LE9vBlE+v6TuFfEd8bGKWhNCmqaU2PaC2wfCXOD/EtQYIUJQKG2bv8GjTY5duG5Cj4 +bHQ== X-Gm-Message-State: AHPjjUhyt2Gf3oB8lV3cUSSS8hGKQfR32FaLJoIyWDG3oyGOYtcR/eLP ITmnuZ3z6dNqTMAYHu7Y0Ms= X-Google-Smtp-Source: AOwi7QBk11fxiN90MdVBHfYQzVi8LLVONT8AHO30r17MvNDS55LVKwx3kLPj/YMWP8kH0aOxfzBU8A== X-Received: by 10.98.163.153 with SMTP id q25mr3524214pfl.183.1506585147725; Thu, 28 Sep 2017 00:52:27 -0700 (PDT) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id r66sm1728992pfl.15.2017.09.28.00.52.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 28 Sep 2017 00:52:26 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Thu, 28 Sep 2017 17:22:18 +0930 From: Joel Stanley To: Joel Stanley , Rob Herring , Mark Rutland Cc: Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Andrew Jeffery , Rick Altherr , Brendan Higgins , =?utf-8?q?C=C3=A9dric_Le_?= =?utf-8?q?Goater?= , linux-aspeed@lists.ozlabs.org Subject: [PATCH 2/8] ARM: dts: aspeed: Reorder ADC node Date: Thu, 28 Sep 2017 17:21:43 +0930 Message-Id: <20170928075149.8154-3-joel@jms.id.au> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170928075149.8154-1-joel@jms.id.au> References: <20170928075149.8154-1-joel@jms.id.au> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We try to keep the nodes in address order. The ADC node was out of place. Signed-off-by: Joel Stanley --- arch/arm/boot/dts/aspeed-g4.dtsi | 16 ++++++++-------- arch/arm/boot/dts/aspeed-g5.dtsi | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) -- 2.14.1 diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index 1edd0cee6221..a4579498fc25 100644 --- a/arch/arm/boot/dts/aspeed-g4.dtsi +++ b/arch/arm/boot/dts/aspeed-g4.dtsi @@ -129,6 +129,14 @@ }; }; + adc: adc@1e6e9000 { + compatible = "aspeed,ast2400-adc"; + reg = <0x1e6e9000 0xb0>; + clocks = <&syscon ASPEED_CLK_APB>; + #io-channel-cells = <1>; + status = "disabled"; + }; + sram@1e720000 { compatible = "mmio-sram"; reg = <0x1e720000 0x8000>; // 32K @@ -227,14 +235,6 @@ no-loopback-test; status = "disabled"; }; - - adc: adc@1e6e9000 { - compatible = "aspeed,ast2400-adc"; - reg = <0x1e6e9000 0xb0>; - clocks = <&clk_apb>; - #io-channel-cells = <1>; - status = "disabled"; - }; }; }; }; diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi index f56dd67efa50..f6430b313f90 100644 --- a/arch/arm/boot/dts/aspeed-g5.dtsi +++ b/arch/arm/boot/dts/aspeed-g5.dtsi @@ -173,6 +173,14 @@ reg-io-width = <4>; }; + adc: adc@1e6e9000 { + compatible = "aspeed,ast2500-adc"; + reg = <0x1e6e9000 0xb0>; + clocks = <&syscon ASPEED_CLK_APB>; + #io-channel-cells = <1>; + status = "disabled"; + }; + sram@1e720000 { compatible = "mmio-sram"; reg = <0x1e720000 0x9000>; // 36K @@ -307,14 +315,6 @@ no-loopback-test; status = "disabled"; }; - - adc: adc@1e6e9000 { - compatible = "aspeed,ast2500-adc"; - reg = <0x1e6e9000 0xb0>; - clocks = <&clk_apb>; - #io-channel-cells = <1>; - status = "disabled"; - }; }; }; };