* [PATCH] ARM64: dts: meson-gx: Add SPICC nodes
@ 2017-05-29 8:09 Neil Armstrong
2017-05-30 22:18 ` Kevin Hilman
0 siblings, 1 reply; 4+ messages in thread
From: Neil Armstrong @ 2017-05-29 8:09 UTC (permalink / raw)
To: khilman
Cc: Neil Armstrong, linux-amlogic, linux-arm-kernel, linux-kernel,
devicetree
Add nodes for the SPICC controller on GX common dtsi, GXBB and
GXL dtsi files.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 9 +++++++++
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 7 +++++++
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 7 +++++++
3 files changed, 23 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
index 436b875..613719d 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
@@ -304,6 +304,15 @@
status = "disabled";
};
+ spicc: spi@8d80 {
+ compatible = "amlogic,meson-gx-spicc";
+ reg = <0x0 0x08d80 0x0 0x80>;
+ interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
spifc: spi@8c80 {
compatible = "amlogic,meson-gx-spifc", "amlogic,meson-gxbb-spifc";
reg = <0x0 0x08c80 0x0 0x80>;
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
index 95a5d57..1734974 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi
@@ -657,6 +657,13 @@
clock-names = "core", "clkin0", "clkin1";
};
+&spicc {
+ clocks = <&clkc CLKID_SPICC>;
+ clock-names = "core";
+ resets = <&reset RESET_PERIPHS_SPICC>;
+ num-cs = <1>;
+};
+
&spifc {
clocks = <&clkc CLKID_SPI>;
};
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
index 42d78f0..567dde4 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
@@ -584,6 +584,13 @@
clock-names = "core", "clkin0", "clkin1";
};
+&spicc {
+ clocks = <&clkc CLKID_SPICC>;
+ clock-names = "core";
+ resets = <&reset RESET_PERIPHS_SPICC>;
+ num-cs = <1>;
+};
+
&spifc {
clocks = <&clkc CLKID_SPI>;
};
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM64: dts: meson-gx: Add SPICC nodes
2017-05-29 8:09 [PATCH] ARM64: dts: meson-gx: Add SPICC nodes Neil Armstrong
@ 2017-05-30 22:18 ` Kevin Hilman
2017-05-30 23:27 ` Kevin Hilman
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Hilman @ 2017-05-30 22:18 UTC (permalink / raw)
To: Neil Armstrong; +Cc: linux-amlogic, linux-arm-kernel, linux-kernel, devicetree
Neil Armstrong <narmstrong@baylibre.com> writes:
> Add nodes for the SPICC controller on GX common dtsi, GXBB and
> GXL dtsi files.
>
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Applied to v4.13/dt64,
Kevin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM64: dts: meson-gx: Add SPICC nodes
2017-05-30 22:18 ` Kevin Hilman
@ 2017-05-30 23:27 ` Kevin Hilman
2017-06-01 9:59 ` Jerome Brunet
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Hilman @ 2017-05-30 23:27 UTC (permalink / raw)
To: Neil Armstrong; +Cc: linux-amlogic, linux-arm-kernel, linux-kernel, devicetree
Kevin Hilman <khilman@baylibre.com> writes:
> Neil Armstrong <narmstrong@baylibre.com> writes:
>
>> Add nodes for the SPICC controller on GX common dtsi, GXBB and
>> GXL dtsi files.
>>
>> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
>
> Applied to v4.13/dt64,
Oops, this one will have to wait until we have an immutable branch in
the clk tree.
Kevin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM64: dts: meson-gx: Add SPICC nodes
2017-05-30 23:27 ` Kevin Hilman
@ 2017-06-01 9:59 ` Jerome Brunet
0 siblings, 0 replies; 4+ messages in thread
From: Jerome Brunet @ 2017-06-01 9:59 UTC (permalink / raw)
To: Kevin Hilman, Neil Armstrong
Cc: linux-amlogic, linux-arm-kernel, linux-kernel, devicetree
On Tue, 2017-05-30 at 16:27 -0700, Kevin Hilman wrote:
> Kevin Hilman <khilman@baylibre.com> writes:
>
> > Neil Armstrong <narmstrong@baylibre.com> writes:
> >
> > > Add nodes for the SPICC controller on GX common dtsi, GXBB and
> > > GXL dtsi files.
> > >
> > > Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> >
> > Applied to v4.13/dt64,
>
> Oops, this one will have to wait until we have an immutable branch in
> the clk tree.
Now available : meson-clk-headers-for-4.13
>
> Kevin
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-06-01 9:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-29 8:09 [PATCH] ARM64: dts: meson-gx: Add SPICC nodes Neil Armstrong
2017-05-30 22:18 ` Kevin Hilman
2017-05-30 23:27 ` Kevin Hilman
2017-06-01 9:59 ` Jerome Brunet
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).