From: Alexander Shiyan <shc_work@mail.ru>
To: linux-arm-kernel@lists.infradead.org
Cc: Mark Rutland <mark.rutland@arm.com>,
devicetree@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
Alexander Shiyan <shc_work@mail.ru>,
Arnd Bergmann <arnd@arndb.de>
Subject: [PATCH 3/4] ARM: dts: clps711x: Add syscon phandle to device nodes
Date: Fri, 21 Dec 2018 13:30:18 +0300 [thread overview]
Message-ID: <20181221103019.15374-3-shc_work@mail.ru> (raw)
In-Reply-To: <20181221103019.15374-1-shc_work@mail.ru>
This patch adds syscon based phandle to Cirrus Logic CLPS711X device
nodes that can use it. These phandles will be used to replace usage
of syscon_regmap_lookup_by_compatible() and
syscon_regmap_lookup_by_pdevname() by syscon_regmap_lookup_by_phandle().
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
arch/arm/boot/dts/ep7209.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/ep7209.dtsi b/arch/arm/boot/dts/ep7209.dtsi
index 48a1660a9cf2..1630b3d3873e 100644
--- a/arch/arm/boot/dts/ep7209.dtsi
+++ b/arch/arm/boot/dts/ep7209.dtsi
@@ -119,6 +119,7 @@
compatible = "cirrus,ep7209-fb";
reg = <0x800002c0 0xd44>, <0x60000000 0xc000>;
clocks = <&clks CLPS711X_CLK_BUS>;
+ syscon = <&syscon1>;
status = "disabled";
};
@@ -158,6 +159,7 @@
reg = <0x80000500 0x4>;
interrupts = <15>;
clocks = <&clks CLPS711X_CLK_SPI>;
+ syscon = <&syscon3>;
status = "disabled";
};
@@ -181,6 +183,7 @@
clocks = <&clks CLPS711X_CLK_PLL>;
clock-names = "pll";
interrupts = <32>;
+ syscon = <&syscon3>;
status = "disabled";
};
@@ -192,6 +195,7 @@
mctrl: mctrl {
compatible = "cirrus,ep7209-mctrl-gpio";
+ gpio,syscon-dev = <&syscon1 0 0>;
gpio-controller;
#gpio-cells = <2>;
};
--
2.13.0
next prev parent reply other threads:[~2018-12-21 10:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-21 10:30 [PATCH 1/4] ARM: dts: clps711x: Remove skeleton.dtsi Alexander Shiyan
2018-12-21 10:30 ` [PATCH 2/4] ARM: dts: clps711x: rename uart device tree nodes Alexander Shiyan
2018-12-21 10:30 ` Alexander Shiyan [this message]
2018-12-21 10:30 ` [PATCH 4/4] ARM: dts: clps711x: Add keypad devicetree node Alexander Shiyan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181221103019.15374-3-shc_work@mail.ru \
--to=shc_work@mail.ru \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).