{"id":819432,"url":"http://patchwork.ozlabs.org/api/patches/819432/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-aspeed/patch/20170928075149.8154-3-joel@jms.id.au/","project":{"id":57,"url":"http://patchwork.ozlabs.org/api/projects/57/?format=json","name":"Linux ASPEED SoC development","link_name":"linux-aspeed","list_id":"linux-aspeed.lists.ozlabs.org","list_email":"linux-aspeed@lists.ozlabs.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170928075149.8154-3-joel@jms.id.au>","list_archive_url":null,"date":"2017-09-28T07:51:43","name":"[2/8] ARM: dts: aspeed: Reorder ADC node","commit_ref":null,"pull_url":null,"state":"superseded","archived":true,"hash":"9516ce9ccd1f4a406475b11c68f1d4dfd2d3d55a","submitter":{"id":48628,"url":"http://patchwork.ozlabs.org/api/people/48628/?format=json","name":"Joel Stanley","email":"joel@jms.id.au"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linux-aspeed/patch/20170928075149.8154-3-joel@jms.id.au/mbox/","series":[{"id":5506,"url":"http://patchwork.ozlabs.org/api/series/5506/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-aspeed/list/?series=5506","date":"2017-09-28T07:51:41","name":"ARM: dts: aspeed: Device tree updates","version":1,"mbox":"http://patchwork.ozlabs.org/series/5506/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/819432/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/819432/checks/","tags":{},"related":[],"headers":{"Return-Path":"<linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>","X-Original-To":["incoming@patchwork.ozlabs.org","linux-aspeed@lists.ozlabs.org"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","linux-aspeed@lists.ozlabs.org"],"Received":["from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y2n3P2dcNz9t5l\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 28 Sep 2017 17:52:33 +1000 (AEST)","from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3y2n3N71b2zDsPp\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 28 Sep 2017 17:52:32 +1000 (AEST)","from mail-pf0-x244.google.com (mail-pf0-x244.google.com\n\t[IPv6:2607:f8b0:400e:c00::244])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3y2n3K6ZJ0zDsPp\n\tfor <linux-aspeed@lists.ozlabs.org>;\n\tThu, 28 Sep 2017 17:52:29 +1000 (AEST)","by mail-pf0-x244.google.com with SMTP id h4so804639pfk.0\n\tfor <linux-aspeed@lists.ozlabs.org>;\n\tThu, 28 Sep 2017 00:52:29 -0700 (PDT)","from aurora.jms.id.au ([203.0.153.9])\n\tby smtp.gmail.com with ESMTPSA id\n\tr66sm1728992pfl.15.2017.09.28.00.52.21\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tThu, 28 Sep 2017 00:52:26 -0700 (PDT)","by aurora.jms.id.au (sSMTP sendmail emulation);\n\tThu, 28 Sep 2017 17:22:18 +0930"],"Authentication-Results":["ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"H9zvZ8X/\"; dkim-atps=neutral","lists.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"H9zvZ8X/\"; dkim-atps=neutral","ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gmail.com\n\t(client-ip=2607:f8b0:400e:c00::244; helo=mail-pf0-x244.google.com;\n\tenvelope-from=joel.stan@gmail.com; receiver=<UNKNOWN>)","lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"H9zvZ8X/\"; dkim-atps=neutral"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=AyibVerVCALmO7Ektl889eo/TUfKVAXFZxlYfaGIpVw=;\n\tb=H9zvZ8X/lH4Pe7atVOrMnswRC3/bfCDadPJG0xvAyZpun7t72+vWvNjcNxKEkatlMF\n\tFCIIrhDRrRi/Zgy9hMS54+XRfTsktrXfSL1vIiB7yHOq76OVtBsYgkY1MoXJfRfcrotJ\n\t/UpsyClu4zxYyLX4qD5Mat9ZkXiYO9IW4KmY9M4ACqHJH7JldGhv3IZndDbBCK9OW/2K\n\tG5A8AwmUB0gysHQZKx6quv3GaA/AQL3n8MC6KxNLIXFx8UfIIOSXaxpgiaOQPB1bz2oq\n\tr37KTDnRvd90D1FLhTkYI5/hUcTERxsOdpE0XiMSadPVwOQHzRJwzCvAOrupelwThoSD\n\t4jog==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references;\n\tbh=AyibVerVCALmO7Ektl889eo/TUfKVAXFZxlYfaGIpVw=;\n\tb=AR3q1sYeYc8qhc1VFTAt9EaAmCmTnTERHTqeaA/BjwtHUcIvDxZt6ijby8T03Nuc3S\n\tmzdA93PPFhZGzHuNIOFxeH3xSTMvLlnGrN0lUS5Ibgn8++5Sl35Pu6qcKFK19+q9yJFl\n\tpMhkKdq/e54kcoNL5CXYA0d25gpSf5PqmG4y1RTTLTXcodXoV8bbWmXDUinHejEvF6oJ\n\t4h6ZZ5aIkLY7XPrhFL0Lyc1s311QqGuQKAZ3JnYTZEXhJ3alqmIBvi/Knd8xRf42Nx1z\n\tprs6Uz4dFBuNhlXHXH3CmbmM0k9h7VJfM6SP4ER3A/qgRM9JJ2K26Bw9rqqJY3aiiRia\n\tCvcw==","X-Gm-Message-State":"AHPjjUg0DFfm3YR54SgUtJ+me6TjM9hxxdc3S/ll0Ik5H5R7JNEh96d1\n\tizWlj9JaugOt8/VxUR+GS1I=","X-Google-Smtp-Source":"AOwi7QBk11fxiN90MdVBHfYQzVi8LLVONT8AHO30r17MvNDS55LVKwx3kLPj/YMWP8kH0aOxfzBU8A==","X-Received":"by 10.98.163.153 with SMTP id q25mr3524214pfl.183.1506585147725; \n\tThu, 28 Sep 2017 00:52:27 -0700 (PDT)","From":"Joel Stanley <joel@jms.id.au>","To":"Joel Stanley <joel@jms.id.au>, Rob Herring <robh+dt@kernel.org>,\n\tMark Rutland <mark.rutland@arm.com>","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>","X-BeenThere":"linux-aspeed@lists.ozlabs.org","X-Mailman-Version":"2.1.24","Precedence":"list","List-Id":"Linux ASPEED SoC development <linux-aspeed.lists.ozlabs.org>","List-Unsubscribe":"<https://lists.ozlabs.org/options/linux-aspeed>,\n\t<mailto:linux-aspeed-request@lists.ozlabs.org?subject=unsubscribe>","List-Archive":"<http://lists.ozlabs.org/pipermail/linux-aspeed/>","List-Post":"<mailto:linux-aspeed@lists.ozlabs.org>","List-Help":"<mailto:linux-aspeed-request@lists.ozlabs.org?subject=help>","List-Subscribe":"<https://lists.ozlabs.org/listinfo/linux-aspeed>,\n\t<mailto:linux-aspeed-request@lists.ozlabs.org?subject=subscribe>","Cc":"devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org,\n\tBrendan Higgins <brendanhiggins@google.com>,\n\tRussell King <linux@armlinux.org.uk>, linux-kernel@vger.kernel.org,\n\tRick Altherr <raltherr@google.com>, linux-arm-kernel@lists.infradead.org","Errors-To":"linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org","Sender":"\"Linux-aspeed\"\n\t<linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org>"},"content":"We try to keep the nodes in address order. The ADC node was out of\nplace.\n\nSigned-off-by: Joel Stanley <joel@jms.id.au>\n---\n arch/arm/boot/dts/aspeed-g4.dtsi | 16 ++++++++--------\n arch/arm/boot/dts/aspeed-g5.dtsi | 16 ++++++++--------\n 2 files changed, 16 insertions(+), 16 deletions(-)","diff":"diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi\nindex 1edd0cee6221..a4579498fc25 100644\n--- a/arch/arm/boot/dts/aspeed-g4.dtsi\n+++ b/arch/arm/boot/dts/aspeed-g4.dtsi\n@@ -129,6 +129,14 @@\n \t\t\t\t};\n \t\t\t};\n \n+\t\t\tadc: adc@1e6e9000 {\n+\t\t\t\tcompatible = \"aspeed,ast2400-adc\";\n+\t\t\t\treg = <0x1e6e9000 0xb0>;\n+\t\t\t\tclocks = <&syscon ASPEED_CLK_APB>;\n+\t\t\t\t#io-channel-cells = <1>;\n+\t\t\t\tstatus = \"disabled\";\n+\t\t\t};\n+\n \t\t\tsram@1e720000 {\n \t\t\t\tcompatible = \"mmio-sram\";\n \t\t\t\treg = <0x1e720000 0x8000>;\t// 32K\n@@ -227,14 +235,6 @@\n \t\t\t\tno-loopback-test;\n \t\t\t\tstatus = \"disabled\";\n \t\t\t};\n-\n-\t\t\tadc: adc@1e6e9000 {\n-\t\t\t\tcompatible = \"aspeed,ast2400-adc\";\n-\t\t\t\treg = <0x1e6e9000 0xb0>;\n-\t\t\t\tclocks = <&clk_apb>;\n-\t\t\t\t#io-channel-cells = <1>;\n-\t\t\t\tstatus = \"disabled\";\n-\t\t\t};\n \t\t};\n \t};\n };\ndiff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi\nindex f56dd67efa50..f6430b313f90 100644\n--- a/arch/arm/boot/dts/aspeed-g5.dtsi\n+++ b/arch/arm/boot/dts/aspeed-g5.dtsi\n@@ -173,6 +173,14 @@\n \t\t\t\treg-io-width = <4>;\n \t\t\t};\n \n+\t\t\tadc: adc@1e6e9000 {\n+\t\t\t\tcompatible = \"aspeed,ast2500-adc\";\n+\t\t\t\treg = <0x1e6e9000 0xb0>;\n+\t\t\t\tclocks = <&syscon ASPEED_CLK_APB>;\n+\t\t\t\t#io-channel-cells = <1>;\n+\t\t\t\tstatus = \"disabled\";\n+\t\t\t};\n+\n \t\t\tsram@1e720000 {\n \t\t\t\tcompatible = \"mmio-sram\";\n \t\t\t\treg = <0x1e720000 0x9000>;\t// 36K\n@@ -307,14 +315,6 @@\n \t\t\t\tno-loopback-test;\n \t\t\t\tstatus = \"disabled\";\n \t\t\t};\n-\n-\t\t\tadc: adc@1e6e9000 {\n-\t\t\t\tcompatible = \"aspeed,ast2500-adc\";\n-\t\t\t\treg = <0x1e6e9000 0xb0>;\n-\t\t\t\tclocks = <&clk_apb>;\n-\t\t\t\t#io-channel-cells = <1>;\n-\t\t\t\tstatus = \"disabled\";\n-\t\t\t};\n \t\t};\n \t};\n };\n","prefixes":["2/8"]}