Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1582387 > unrolled thread
| Started by | Chris Packham <chris.packham@alliedtelesis.co.nz> |
|---|---|
| First post | 2017-02-16 10:00 +0100 |
| Last post | 2017-02-27 16:10 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH v3 4/6] ARM: dts: mvebu: Add binding for mv98dx3236-soc-id Chris Packham <chris.packham@alliedtelesis.co.nz> - 2017-02-16 10:00 +0100
Re: [PATCH v3 4/6] ARM: dts: mvebu: Add binding for mv98dx3236-soc-id Rob Herring <robh@kernel.org> - 2017-02-27 16:10 +0100
| From | Chris Packham <chris.packham@alliedtelesis.co.nz> |
|---|---|
| Date | 2017-02-16 10:00 +0100 |
| Subject | [PATCH v3 4/6] ARM: dts: mvebu: Add binding for mv98dx3236-soc-id |
| Message-ID | <tbq4V-3Nz-5@gated-at.bofh.it> |
The DFX server on the 98dx3236 and compatible SoCs has an ID register.
Add documentation and a binding for this.
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
---
Notes:
Changes in v3:
- new, split from driver
.../devicetree/bindings/arm/marvell/mv98dx3236-soc-id.txt | 14 ++++++++++++++
arch/arm/boot/dts/armada-xp-98dx3236.dtsi | 5 +++++
2 files changed, 19 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arm/marvell/mv98dx3236-soc-id.txt
diff --git a/Documentation/devicetree/bindings/arm/marvell/mv98dx3236-soc-id.txt b/Documentation/devicetree/bindings/arm/marvell/mv98dx3236-soc-id.txt
new file mode 100644
index 000000000000..ed08cb126a83
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/marvell/mv98dx3236-soc-id.txt
@@ -0,0 +1,14 @@
+Marvell 98dx3236 SoC ID
+---------------------------------------------------------------
+
+Required properties:
+
+- compatible: Should be "marvell,mv98dx3236-soc-id".
+
+- reg: should be the register base and length as documented in the
+ datasheet for the Device ID Status
+
+soc-id@f8244 {
+ compatible = "marvell,mv98dx3236-soc-id";
+ reg = <0xf8244 0x4>;
+};
diff --git a/arch/arm/boot/dts/armada-xp-98dx3236.dtsi b/arch/arm/boot/dts/armada-xp-98dx3236.dtsi
index 5e7245524d46..6b81f7363d53 100644
--- a/arch/arm/boot/dts/armada-xp-98dx3236.dtsi
+++ b/arch/arm/boot/dts/armada-xp-98dx3236.dtsi
@@ -264,6 +264,11 @@
ranges = <0 MBUS_ID(0x08, 0x00) 0 0x100000>;
reg = <MBUS_ID(0x08, 0x00) 0 0x100000>;
+ soc-id@f8244 {
+ compatible = "marvell,mv98dx3236-soc-id";
+ reg = <0xf8244 0x4>;
+ };
+
dfx_coredivclk: corediv-clock@f8268 {
compatible = "marvell,mv98dx3236-corediv-clock";
reg = <0xf8268 0xc>;
--
2.11.0.24.ge6920cf
[toc] | [next] | [standalone]
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Date | 2017-02-27 16:10 +0100 |
| Message-ID | <tfv63-7iD-31@gated-at.bofh.it> |
| In reply to | #1582387 |
On Thu, Feb 16, 2017 at 09:50:38PM +1300, Chris Packham wrote: > The DFX server on the 98dx3236 and compatible SoCs has an ID register. > Add documentation and a binding for this. > > Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> > --- > > Notes: > Changes in v3: > - new, split from driver > > .../devicetree/bindings/arm/marvell/mv98dx3236-soc-id.txt | 14 ++++++++++++++ > arch/arm/boot/dts/armada-xp-98dx3236.dtsi | 5 +++++ > 2 files changed, 19 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/marvell/mv98dx3236-soc-id.txt Acked-by: Rob Herring <robh@kernel.org>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web