Add rk3066 tsadc device tree bindings
Subsystems (3)
cover Add rk3066 tsadc device tree bindings
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(-)
Signature · 1 line
1.9.1
PATCH 1/3 clk: rockchip: Add new id for rk3066 tsadc clock
This patch adds new id for the sclk supplying the tsadc on rk3066 socs.
--- include/dt-bindings/clock/rk3188-cru-common.h | 1 + 1 file changed, 1 insertion(+)
include/dt-bindings/clock/rk3188-cru-common.h +1 -0
@@ -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
Signature · 1 line
1.9.1
PATCH 2/3 clk: rockchip: add tsadc clock on rk3066
In reply to Paweł JaroszSet clock id for sclk_tsadc gating clock of tsadc in rk3066
--- drivers/clk/rockchip/clk-rk3188.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/rockchip/clk-rk3188.c +1 -1
@@ -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),
Signature · 1 line
1.9.1
PATCH 3/3 ARM: dts: rockchip: add tsadc node
In reply to Paweł JaroszAdd the device node for the TSADC found on rk3066.
--- arch/arm/boot/dts/rk3066a.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/arm/boot/dts/rk3066a.dtsi +11 -0
@@ -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>;
Signature · 1 line
1.9.1
cover Add rk3066 tsadc device tree bindings
In reply to Paweł JaroszHi,
Am Dienstag, 19. Januar 2016, 13:09:18 schrieb Pawe? Jarosz:
Quoted 7 lines
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