* [PATCH 0/3] Add rk3066 tsadc device tree bindings
@ 2016-01-19 12:09 ` Paweł Jarosz
0 siblings, 0 replies; 11+ messages in thread
From: Paweł Jarosz @ 2016-01-19 12:09 UTC (permalink / raw)
To: heiko, linux-arm-kernel, linux-rockchip, linux-clk, sboyd, mturquette
Cc: Paweł Jarosz
This patchset adds devicetree bindings for rockchip rk3066 tsadc with needed dependencies.
Paweł Jarosz (3):
clk: rockchip: Add new id for rk3066 tsadc clock
clk: rockchip: add tsadc clock on rk3066
ARM: dts: rockchip: add tsadc node
arch/arm/boot/dts/rk3066a.dtsi | 11 +++++++++++
drivers/clk/rockchip/clk-rk3188.c | 2 +-
include/dt-bindings/clock/rk3188-cru-common.h | 1 +
3 files changed, 13 insertions(+), 1 deletion(-)
--
1.9.1
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 0/3] Add rk3066 tsadc device tree bindings
@ 2016-01-19 12:09 ` Paweł Jarosz
0 siblings, 0 replies; 11+ messages in thread
From: Paweł Jarosz @ 2016-01-19 12:09 UTC (permalink / raw)
To: linux-arm-kernel
This patchset adds devicetree bindings for rockchip rk3066 tsadc with needed dependencies.
Pawe? Jarosz (3):
clk: rockchip: Add new id for rk3066 tsadc clock
clk: rockchip: add tsadc clock on rk3066
ARM: dts: rockchip: add tsadc node
arch/arm/boot/dts/rk3066a.dtsi | 11 +++++++++++
drivers/clk/rockchip/clk-rk3188.c | 2 +-
include/dt-bindings/clock/rk3188-cru-common.h | 1 +
3 files changed, 13 insertions(+), 1 deletion(-)
--
1.9.1
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 1/3] clk: rockchip: Add new id for rk3066 tsadc clock
2016-01-19 12:09 ` Paweł Jarosz
@ 2016-01-19 12:09 ` Paweł Jarosz
-1 siblings, 0 replies; 11+ messages in thread
From: Paweł Jarosz @ 2016-01-19 12:09 UTC (permalink / raw)
To: heiko, linux-arm-kernel, linux-rockchip, linux-clk, sboyd, mturquette
Cc: Paweł Jarosz
This patch adds new id for the sclk supplying the tsadc on rk3066 socs.
Signed-off-by: Paweł Jarosz <paweljarosz3691@gmail.com>
---
include/dt-bindings/clock/rk3188-cru-common.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/dt-bindings/clock/rk3188-cru-common.h b/include/dt-bindings/clock/rk3188-cru-common.h
index 8df77a7..4f53e70 100644
--- a/include/dt-bindings/clock/rk3188-cru-common.h
+++ b/include/dt-bindings/clock/rk3188-cru-common.h
@@ -55,6 +55,7 @@
#define SCLK_TIMER6 90
#define SCLK_JTAG 91
#define SCLK_SMC 92
+#define SCLK_TSADC 93
#define DCLK_LCDC0 190
#define DCLK_LCDC1 191
--
1.9.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 1/3] clk: rockchip: Add new id for rk3066 tsadc clock
@ 2016-01-19 12:09 ` Paweł Jarosz
0 siblings, 0 replies; 11+ messages in thread
From: Paweł Jarosz @ 2016-01-19 12:09 UTC (permalink / raw)
To: linux-arm-kernel
This patch adds new id for the sclk supplying the tsadc on rk3066 socs.
Signed-off-by: Pawe? Jarosz <paweljarosz3691@gmail.com>
---
include/dt-bindings/clock/rk3188-cru-common.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/dt-bindings/clock/rk3188-cru-common.h b/include/dt-bindings/clock/rk3188-cru-common.h
index 8df77a7..4f53e70 100644
--- a/include/dt-bindings/clock/rk3188-cru-common.h
+++ b/include/dt-bindings/clock/rk3188-cru-common.h
@@ -55,6 +55,7 @@
#define SCLK_TIMER6 90
#define SCLK_JTAG 91
#define SCLK_SMC 92
+#define SCLK_TSADC 93
#define DCLK_LCDC0 190
#define DCLK_LCDC1 191
--
1.9.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 2/3] clk: rockchip: add tsadc clock on rk3066
2016-01-19 12:09 ` Paweł Jarosz
@ 2016-01-19 12:09 ` Paweł Jarosz
-1 siblings, 0 replies; 11+ messages in thread
From: Paweł Jarosz @ 2016-01-19 12:09 UTC (permalink / raw)
To: heiko, linux-arm-kernel, linux-rockchip, linux-clk, sboyd, mturquette
Cc: Paweł Jarosz
Set clock id for sclk_tsadc gating clock of tsadc in rk3066
Signed-off-by: Paweł Jarosz <paweljarosz3691@gmail.com>
---
drivers/clk/rockchip/clk-rk3188.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/rockchip/clk-rk3188.c b/drivers/clk/rockchip/clk-rk3188.c
index 7f7444c..fda4e77 100644
--- a/drivers/clk/rockchip/clk-rk3188.c
+++ b/drivers/clk/rockchip/clk-rk3188.c
@@ -605,7 +605,7 @@ static struct rockchip_clk_branch rk3066a_clk_branches[] __initdata = {
GATE(SCLK_TIMER2, "timer2", "xin24m", 0,
RK2928_CLKGATE_CON(3), 2, GFLAGS),
- COMPOSITE_NOMUX(0, "sclk_tsadc", "xin24m", 0,
+ COMPOSITE_NOMUX(SCLK_TSADC, "sclk_tsadc", "xin24m", 0,
RK2928_CLKSEL_CON(34), 0, 16, DFLAGS,
RK2928_CLKGATE_CON(2), 15, GFLAGS),
--
1.9.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 2/3] clk: rockchip: add tsadc clock on rk3066
@ 2016-01-19 12:09 ` Paweł Jarosz
0 siblings, 0 replies; 11+ messages in thread
From: Paweł Jarosz @ 2016-01-19 12:09 UTC (permalink / raw)
To: linux-arm-kernel
Set clock id for sclk_tsadc gating clock of tsadc in rk3066
Signed-off-by: Pawe? Jarosz <paweljarosz3691@gmail.com>
---
drivers/clk/rockchip/clk-rk3188.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/rockchip/clk-rk3188.c b/drivers/clk/rockchip/clk-rk3188.c
index 7f7444c..fda4e77 100644
--- a/drivers/clk/rockchip/clk-rk3188.c
+++ b/drivers/clk/rockchip/clk-rk3188.c
@@ -605,7 +605,7 @@ static struct rockchip_clk_branch rk3066a_clk_branches[] __initdata = {
GATE(SCLK_TIMER2, "timer2", "xin24m", 0,
RK2928_CLKGATE_CON(3), 2, GFLAGS),
- COMPOSITE_NOMUX(0, "sclk_tsadc", "xin24m", 0,
+ COMPOSITE_NOMUX(SCLK_TSADC, "sclk_tsadc", "xin24m", 0,
RK2928_CLKSEL_CON(34), 0, 16, DFLAGS,
RK2928_CLKGATE_CON(2), 15, GFLAGS),
--
1.9.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 3/3] ARM: dts: rockchip: add tsadc node
2016-01-19 12:09 ` Paweł Jarosz
@ 2016-01-19 12:09 ` Paweł Jarosz
-1 siblings, 0 replies; 11+ messages in thread
From: Paweł Jarosz @ 2016-01-19 12:09 UTC (permalink / raw)
To: heiko, linux-arm-kernel, linux-rockchip, linux-clk, sboyd, mturquette
Cc: Paweł Jarosz
Add the device node for the TSADC found on rk3066.
Signed-off-by: Paweł Jarosz <paweljarosz3691@gmail.com>
---
arch/arm/boot/dts/rk3066a.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi
index 58bac50..adb0258 100644
--- a/arch/arm/boot/dts/rk3066a.dtsi
+++ b/arch/arm/boot/dts/rk3066a.dtsi
@@ -188,6 +188,17 @@
clock-names = "timer", "pclk";
};
+ tsadc: tsadc@20060000 {
+ compatible = "rockchip,rk3066-tsadc";
+ reg = <0x20060000 0x100>;
+ interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
+ #io-channel-cells = <1>;
+ clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
+ clock-names = "saradc", "apb_pclk";
+ vref-supply = <&vcc_io>;
+ status = "disabled";
+ };
+
usbphy: phy {
compatible = "rockchip,rk3066a-usb-phy", "rockchip,rk3288-usb-phy";
rockchip,grf = <&grf>;
--
1.9.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 3/3] ARM: dts: rockchip: add tsadc node
@ 2016-01-19 12:09 ` Paweł Jarosz
0 siblings, 0 replies; 11+ messages in thread
From: Paweł Jarosz @ 2016-01-19 12:09 UTC (permalink / raw)
To: linux-arm-kernel
Add the device node for the TSADC found on rk3066.
Signed-off-by: Pawe? Jarosz <paweljarosz3691@gmail.com>
---
arch/arm/boot/dts/rk3066a.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/rk3066a.dtsi b/arch/arm/boot/dts/rk3066a.dtsi
index 58bac50..adb0258 100644
--- a/arch/arm/boot/dts/rk3066a.dtsi
+++ b/arch/arm/boot/dts/rk3066a.dtsi
@@ -188,6 +188,17 @@
clock-names = "timer", "pclk";
};
+ tsadc: tsadc at 20060000 {
+ compatible = "rockchip,rk3066-tsadc";
+ reg = <0x20060000 0x100>;
+ interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
+ #io-channel-cells = <1>;
+ clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
+ clock-names = "saradc", "apb_pclk";
+ vref-supply = <&vcc_io>;
+ status = "disabled";
+ };
+
usbphy: phy {
compatible = "rockchip,rk3066a-usb-phy", "rockchip,rk3288-usb-phy";
rockchip,grf = <&grf>;
--
1.9.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 0/3] Add rk3066 tsadc device tree bindings
@ 2016-01-26 0:13 ` Heiko Stübner
0 siblings, 0 replies; 11+ messages in thread
From: Heiko Stübner @ 2016-01-26 0:13 UTC (permalink / raw)
To: Paweł Jarosz
Cc: linux-arm-kernel, linux-rockchip, linux-clk, sboyd, mturquette
Hi,
Am Dienstag, 19. Januar 2016, 13:09:18 schrieb Pawe=C5=82 Jarosz:
> This patchset adds devicetree bindings for rockchip rk3066 tsadc with=
needed
> dependencies.
>=20
> Pawe=C5=82 Jarosz (3):
> clk: rockchip: Add new id for rk3066 tsadc clock
> clk: rockchip: add tsadc clock on rk3066
> ARM: dts: rockchip: add tsadc node
applied all three to appropriate branches for 4.6
I've removed the vref-supply from the dtsi and moved some properties ar=
ound a=20
bit.
Heiko
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/3] Add rk3066 tsadc device tree bindings
@ 2016-01-26 0:13 ` Heiko Stübner
0 siblings, 0 replies; 11+ messages in thread
From: Heiko Stübner @ 2016-01-26 0:13 UTC (permalink / raw)
To: Paweł Jarosz
Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
mturquette-rdvid1DuHRBWk0Htik3J/w, sboyd-sgV2jX0FEOL9JmXXK+q4OQ,
linux-clk-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
Hi,
Am Dienstag, 19. Januar 2016, 13:09:18 schrieb Paweł Jarosz:
> This patchset adds devicetree bindings for rockchip rk3066 tsadc with needed
> dependencies.
>
> Paweł Jarosz (3):
> clk: rockchip: Add new id for rk3066 tsadc clock
> clk: rockchip: add tsadc clock on rk3066
> ARM: dts: rockchip: add tsadc node
applied all three to appropriate branches for 4.6
I've removed the vref-supply from the dtsi and moved some properties around a
bit.
Heiko
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 0/3] Add rk3066 tsadc device tree bindings
@ 2016-01-26 0:13 ` Heiko Stübner
0 siblings, 0 replies; 11+ messages in thread
From: Heiko Stübner @ 2016-01-26 0:13 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
Am Dienstag, 19. Januar 2016, 13:09:18 schrieb Pawe? Jarosz:
> This patchset adds devicetree bindings for rockchip rk3066 tsadc with needed
> dependencies.
>
> Pawe? Jarosz (3):
> clk: rockchip: Add new id for rk3066 tsadc clock
> clk: rockchip: add tsadc clock on rk3066
> ARM: dts: rockchip: add tsadc node
applied all three to appropriate branches for 4.6
I've removed the vref-supply from the dtsi and moved some properties around a
bit.
Heiko
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2016-01-26 0:13 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-19 12:09 [PATCH 0/3] Add rk3066 tsadc device tree bindings Paweł Jarosz
2016-01-19 12:09 ` Paweł Jarosz
2016-01-19 12:09 ` [PATCH 1/3] clk: rockchip: Add new id for rk3066 tsadc clock Paweł Jarosz
2016-01-19 12:09 ` Paweł Jarosz
2016-01-19 12:09 ` [PATCH 2/3] clk: rockchip: add tsadc clock on rk3066 Paweł Jarosz
2016-01-19 12:09 ` Paweł Jarosz
2016-01-19 12:09 ` [PATCH 3/3] ARM: dts: rockchip: add tsadc node Paweł Jarosz
2016-01-19 12:09 ` Paweł Jarosz
2016-01-26 0:13 ` [PATCH 0/3] Add rk3066 tsadc device tree bindings Heiko Stübner
2016-01-26 0:13 ` Heiko Stübner
2016-01-26 0:13 ` Heiko Stübner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.