Re: [PATCH 4/4] ARM64: MediaTek MT8173: Add SCPSYS device node
On Wednesday, June 24, 2015 08:17:05 AM Sascha Hauer wrote: > This adds the SCPSYS device node to the MT8173 dtsi file. > > Signed-off-by: Sascha Hauer > --- Applied to v4.2-next/arm64 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 4/4] ARM64: MediaTek MT8173: Add SCPSYS device node
This adds the SCPSYS device node to the MT8173 dtsi file. Signed-off-by: Sascha Hauer --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 924fdb6..12430f0 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -125,6 +125,16 @@ ; }; + scpsys: scpsys@10006000 { + compatible = "mediatek,mt8173-scpsys"; + #power-domain-cells = <1>; + reg = <0 0x10006000 0 0x1000>; + clocks = <>, +< CLK_TOP_MM_SEL>; + clock-names = "mfg", "mm"; + infracfg = <>; + }; + sysirq: intpol-controller@10200620 { compatible = "mediatek,mt8173-sysirq", "mediatek,mt6577-sysirq"; -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 4/4] ARM64: MediaTek MT8173: Add SCPSYS device node
This adds the SCPSYS device node to the MT8173 dtsi file. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 924fdb6..12430f0 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -125,6 +125,16 @@ GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH; }; + scpsys: scpsys@10006000 { + compatible = mediatek,mt8173-scpsys; + #power-domain-cells = 1; + reg = 0 0x10006000 0 0x1000; + clocks = clk26m, +topckgen CLK_TOP_MM_SEL; + clock-names = mfg, mm; + infracfg = infracfg; + }; + sysirq: intpol-controller@10200620 { compatible = mediatek,mt8173-sysirq, mediatek,mt6577-sysirq; -- 2.1.4 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 4/4] ARM64: MediaTek MT8173: Add SCPSYS device node
On Wednesday, June 24, 2015 08:17:05 AM Sascha Hauer wrote: This adds the SCPSYS device node to the MT8173 dtsi file. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- Applied to v4.2-next/arm64 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 4/4] ARM64: MediaTek MT8173: Add SCPSYS device node
This adds the SCPSYS device node to the MT8173 dtsi file. Signed-off-by: Sascha Hauer --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 924fdb6..12430f0 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -125,6 +125,16 @@ ; }; + scpsys: scpsys@10006000 { + compatible = "mediatek,mt8173-scpsys"; + #power-domain-cells = <1>; + reg = <0 0x10006000 0 0x1000>; + clocks = <>, +< CLK_TOP_MM_SEL>; + clock-names = "mfg", "mm"; + infracfg = <>; + }; + sysirq: intpol-controller@10200620 { compatible = "mediatek,mt8173-sysirq", "mediatek,mt6577-sysirq"; -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/
[PATCH 4/4] ARM64: MediaTek MT8173: Add SCPSYS device node
This adds the SCPSYS device node to the MT8173 dtsi file. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 924fdb6..12430f0 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -125,6 +125,16 @@ GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH; }; + scpsys: scpsys@10006000 { + compatible = mediatek,mt8173-scpsys; + #power-domain-cells = 1; + reg = 0 0x10006000 0 0x1000; + clocks = clk26m, +topckgen CLK_TOP_MM_SEL; + clock-names = mfg, mm; + infracfg = infracfg; + }; + sysirq: intpol-controller@10200620 { compatible = mediatek,mt8173-sysirq, mediatek,mt6577-sysirq; -- 2.1.4 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 4/4] ARM64: MediaTek MT8173: Add SCPSYS device node
On Mon, May 11, 2015 at 9:11 PM, Sascha Hauer wrote: > This adds the SCPSYS device node to the MT8173 dtsi file. > > Signed-off-by: Sascha Hauer > --- > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 12 > 1 file changed, 12 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi > b/arch/arm64/boot/dts/mediatek/mt8173.dtsi > index 924fdb6..3c569b5 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi > @@ -125,6 +125,18 @@ > IRQ_TYPE_LEVEL_HIGH>; > }; > > + scpsys: scpsys@10006000 { > + compatible = "mediatek,mt8173-scpsys"; > + #power-domain-cells = <1>; > + reg = <0 0x10006000 0 0x1000>; > + clocks = < CLK_TOP_VDEC_SEL>, > + < CLK_TOP_MFG_SEL>, > + < CLK_TOP_VENC_SEL>, > + < CLK_TOP_MM_SEL>, > + < CLK_TOP_VENC_LT_SEL>; > + clock-names = "vdec", "mfg", "venc", "disp", "ven2"; (1) I think people like to align multi-line dts field values, so there should be one more ' ' before each < ...>. (2) it is a bit awkward that these names do not match their clock names. This seems more straightforward: clock-names = "vdec", "mfg", "venc", "mm", "venc_lt"; (3) the scpsys binding patch does not list the clock fields. (4) I don't think a patch with these CLK_TOP_* has been sent to the list for review yet. Thanks, -Dan > + }; > + > sysirq: intpol-controller@10200620 { > compatible = "mediatek,mt8173-sysirq", > "mediatek,mt6577-sysirq"; > -- > 2.1.4 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 4/4] ARM64: MediaTek MT8173: Add SCPSYS device node
On Mon, May 11, 2015 at 9:11 PM, Sascha Hauer s.ha...@pengutronix.de wrote: This adds the SCPSYS device node to the MT8173 dtsi file. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 924fdb6..3c569b5 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -125,6 +125,18 @@ GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH; }; + scpsys: scpsys@10006000 { + compatible = mediatek,mt8173-scpsys; + #power-domain-cells = 1; + reg = 0 0x10006000 0 0x1000; + clocks = topckgen CLK_TOP_VDEC_SEL, + topckgen CLK_TOP_MFG_SEL, + topckgen CLK_TOP_VENC_SEL, + topckgen CLK_TOP_MM_SEL, + topckgen CLK_TOP_VENC_LT_SEL; + clock-names = vdec, mfg, venc, disp, ven2; (1) I think people like to align multi-line dts field values, so there should be one more ' ' before each topckgen (2) it is a bit awkward that these names do not match their clock names. This seems more straightforward: clock-names = vdec, mfg, venc, mm, venc_lt; (3) the scpsys binding patch does not list the clock fields. (4) I don't think a patch with these CLK_TOP_* has been sent to the list for review yet. Thanks, -Dan + }; + sysirq: intpol-controller@10200620 { compatible = mediatek,mt8173-sysirq, mediatek,mt6577-sysirq; -- 2.1.4 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 4/4] ARM64: MediaTek MT8173: Add SCPSYS device node
This adds the SCPSYS device node to the MT8173 dtsi file. Signed-off-by: Sascha Hauer --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 924fdb6..3c569b5 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -125,6 +125,18 @@ ; }; + scpsys: scpsys@10006000 { + compatible = "mediatek,mt8173-scpsys"; + #power-domain-cells = <1>; + reg = <0 0x10006000 0 0x1000>; + clocks = < CLK_TOP_VDEC_SEL>, + < CLK_TOP_MFG_SEL>, + < CLK_TOP_VENC_SEL>, + < CLK_TOP_MM_SEL>, + < CLK_TOP_VENC_LT_SEL>; + clock-names = "vdec", "mfg", "venc", "disp", "ven2"; + }; + sysirq: intpol-controller@10200620 { compatible = "mediatek,mt8173-sysirq", "mediatek,mt6577-sysirq"; -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 4/4] ARM64: MediaTek MT8173: Add SCPSYS device node
This adds the SCPSYS device node to the MT8173 dtsi file. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 924fdb6..3c569b5 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -125,6 +125,18 @@ GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH; }; + scpsys: scpsys@10006000 { + compatible = mediatek,mt8173-scpsys; + #power-domain-cells = 1; + reg = 0 0x10006000 0 0x1000; + clocks = topckgen CLK_TOP_VDEC_SEL, + topckgen CLK_TOP_MFG_SEL, + topckgen CLK_TOP_VENC_SEL, + topckgen CLK_TOP_MM_SEL, + topckgen CLK_TOP_VENC_LT_SEL; + clock-names = vdec, mfg, venc, disp, ven2; + }; + sysirq: intpol-controller@10200620 { compatible = mediatek,mt8173-sysirq, mediatek,mt6577-sysirq; -- 2.1.4 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 4/4] ARM64: MediaTek MT8173: Add SCPSYS device node
This adds the SCPSYS device node to the MT8173 dtsi file. Signed-off-by: Sascha Hauer --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 8554ec3..9fa64ac 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -105,6 +105,12 @@ compatible = "simple-bus"; ranges; + scpsys: scpsys@10006000 { + compatible = "mediatek,mt8173-scpsys"; + #power-domain-cells = <1>; + reg = <0 0x10006000 0 0x1000>; + }; + sysirq: intpol-controller@10200620 { compatible = "mediatek,mt8173-sysirq", "mediatek,mt6577-sysirq"; -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 4/4] ARM64: MediaTek MT8173: Add SCPSYS device node
This adds the SCPSYS device node to the MT8173 dtsi file. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 8554ec3..9fa64ac 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -105,6 +105,12 @@ compatible = simple-bus; ranges; + scpsys: scpsys@10006000 { + compatible = mediatek,mt8173-scpsys; + #power-domain-cells = 1; + reg = 0 0x10006000 0 0x1000; + }; + sysirq: intpol-controller@10200620 { compatible = mediatek,mt8173-sysirq, mediatek,mt6577-sysirq; -- 2.1.4 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 4/4] ARM64: MediaTek MT8173: Add SCPSYS device node
This adds the SCPSYS device node to the MT8173 dtsi file. Signed-off-by: Sascha Hauer --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 8554ec3..9fa64ac 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -105,6 +105,12 @@ compatible = "simple-bus"; ranges; + scpsys: scpsys@10006000 { + compatible = "mediatek,mt8173-scpsys"; + #power-domain-cells = <1>; + reg = <0 0x10006000 0 0x1000>; + }; + sysirq: intpol-controller@10200620 { compatible = "mediatek,mt8173-sysirq", "mediatek,mt6577-sysirq"; -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 4/4] ARM64: MediaTek MT8173: Add SCPSYS device node
This adds the SCPSYS device node to the MT8173 dtsi file. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 8554ec3..9fa64ac 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -105,6 +105,12 @@ compatible = simple-bus; ranges; + scpsys: scpsys@10006000 { + compatible = mediatek,mt8173-scpsys; + #power-domain-cells = 1; + reg = 0 0x10006000 0 0x1000; + }; + sysirq: intpol-controller@10200620 { compatible = mediatek,mt8173-sysirq, mediatek,mt6577-sysirq; -- 2.1.4 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/