From: Guillaume Gardet <guillaume.gardet@arm.com> To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski <m.szyprowski@samsung.com>, Kukjin Kim <kgene@kernel.org>, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski <krzk@kernel.org>, Guillaume Gardet <guillaume.gardet@arm.com> Subject: [PATCH V3 2/5] arm: dts: exynos: Add GPU/Mali T604 node to exynos5250 Date: Fri, 30 Aug 2019 12:44:59 +0200 [thread overview] Message-ID: <20190830104502.7128-3-guillaume.gardet@arm.com> (raw) In-Reply-To: <20190830104502.7128-1-guillaume.gardet@arm.com> Add nodes for GPU (Mali T604) to Exynos5250. Signed-off-by: Guillaume Gardet <guillaume.gardet@arm.com> Cc: Kukjin Kim <kgene@kernel.org> Cc: Krzysztof Kozlowski <krzk@kernel.org> Cc: Marek Szyprowski <m.szyprowski@samsung.com> Cc: linux-arm-kernel@lists.infradead.org --- V3 changes: * change clock name from 'g3d' to 'core' * disable node by default in exynos5250.dtsi * move dt-bindings before node addition in device tree V2 changes: * move mali node as /soc sub-node * move gpu_opp_table as mali sub-node * minor style updates * test on arndale board * enable by default * add dt bindings, in a separate patch arch/arm/boot/dts/exynos5250.dtsi | 47 +++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index d5e0392b409e..05b4d8755cfa 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -328,6 +328,53 @@ iommus = <&sysmmu_rotator>; }; + mali: gpu@11800000 { + compatible = "samsung,exynos5250-mali", "arm,mali-t604"; + reg = <0x11800000 0x5000>; + interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "job", "mmu", "gpu"; + clocks = <&clock CLK_G3D>; + clock-names = "core"; + operating-points-v2 = <&gpu_opp_table>; + power-domains = <&pd_g3d>; + status = "disabled"; + + gpu_opp_table: gpu-opp-table { + compatible = "operating-points-v2"; + + opp-100000000 { + opp-hz = /bits/ 64 <100000000>; + opp-microvolt = <925000>; + }; + opp-160000000 { + opp-hz = /bits/ 64 <160000000>; + opp-microvolt = <925000>; + }; + opp-266000000 { + opp-hz = /bits/ 64 <266000000>; + opp-microvolt = <1025000>; + }; + opp-350000000 { + opp-hz = /bits/ 64 <350000000>; + opp-microvolt = <1075000>; + }; + opp-400000000 { + opp-hz = /bits/ 64 <400000000>; + opp-microvolt = <1125000>; + }; + opp-450000000 { + opp-hz = /bits/ 64 <450000000>; + opp-microvolt = <1150000>; + }; + opp-533000000 { + opp-hz = /bits/ 64 <533000000>; + opp-microvolt = <1250000>; + }; + }; + }; + tmu: tmu@10060000 { compatible = "samsung,exynos5250-tmu"; reg = <0x10060000 0x100>; -- 2.22.1
WARNING: multiple messages have this Message-ID (diff)
From: Guillaume Gardet <guillaume.gardet@arm.com> To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski <m.szyprowski@samsung.com>, Kukjin Kim <kgene@kernel.org>, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski <krzk@kernel.org>, Guillaume Gardet <guillaume.gardet@arm.com> Subject: [PATCH V3 2/5] arm: dts: exynos: Add GPU/Mali T604 node to exynos5250 Date: Fri, 30 Aug 2019 12:44:59 +0200 [thread overview] Message-ID: <20190830104502.7128-3-guillaume.gardet@arm.com> (raw) In-Reply-To: <20190830104502.7128-1-guillaume.gardet@arm.com> Add nodes for GPU (Mali T604) to Exynos5250. Signed-off-by: Guillaume Gardet <guillaume.gardet@arm.com> Cc: Kukjin Kim <kgene@kernel.org> Cc: Krzysztof Kozlowski <krzk@kernel.org> Cc: Marek Szyprowski <m.szyprowski@samsung.com> Cc: linux-arm-kernel@lists.infradead.org --- V3 changes: * change clock name from 'g3d' to 'core' * disable node by default in exynos5250.dtsi * move dt-bindings before node addition in device tree V2 changes: * move mali node as /soc sub-node * move gpu_opp_table as mali sub-node * minor style updates * test on arndale board * enable by default * add dt bindings, in a separate patch arch/arm/boot/dts/exynos5250.dtsi | 47 +++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index d5e0392b409e..05b4d8755cfa 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -328,6 +328,53 @@ iommus = <&sysmmu_rotator>; }; + mali: gpu@11800000 { + compatible = "samsung,exynos5250-mali", "arm,mali-t604"; + reg = <0x11800000 0x5000>; + interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "job", "mmu", "gpu"; + clocks = <&clock CLK_G3D>; + clock-names = "core"; + operating-points-v2 = <&gpu_opp_table>; + power-domains = <&pd_g3d>; + status = "disabled"; + + gpu_opp_table: gpu-opp-table { + compatible = "operating-points-v2"; + + opp-100000000 { + opp-hz = /bits/ 64 <100000000>; + opp-microvolt = <925000>; + }; + opp-160000000 { + opp-hz = /bits/ 64 <160000000>; + opp-microvolt = <925000>; + }; + opp-266000000 { + opp-hz = /bits/ 64 <266000000>; + opp-microvolt = <1025000>; + }; + opp-350000000 { + opp-hz = /bits/ 64 <350000000>; + opp-microvolt = <1075000>; + }; + opp-400000000 { + opp-hz = /bits/ 64 <400000000>; + opp-microvolt = <1125000>; + }; + opp-450000000 { + opp-hz = /bits/ 64 <450000000>; + opp-microvolt = <1150000>; + }; + opp-533000000 { + opp-hz = /bits/ 64 <533000000>; + opp-microvolt = <1250000>; + }; + }; + }; + tmu: tmu@10060000 { compatible = "samsung,exynos5250-tmu"; reg = <0x10060000 0x100>; -- 2.22.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2019-08-30 10:44 UTC|newest] Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-07-24 7:20 [PATCH] arm: dts: exynos: Add GPU/Mali T604 node to exynos5250 Guillaume GARDET 2019-07-24 7:20 ` Guillaume GARDET 2019-07-24 19:43 ` Krzysztof Kozlowski 2019-07-24 19:43 ` Krzysztof Kozlowski 2019-07-25 8:34 ` [PATCH V2 1/2] " Guillaume 2019-07-25 8:34 ` Guillaume 2019-07-25 8:34 ` [PATCH V2 2/2] dt-bindings: gpu: mali-midgard: Add samsung exynos5250 compatible Guillaume 2019-07-25 8:34 ` Guillaume 2019-07-25 11:19 ` [PATCH V2 1/2] arm: dts: exynos: Add GPU/Mali T604 node to exynos5250 Krzysztof Kozlowski 2019-07-25 11:19 ` Krzysztof Kozlowski 2019-07-25 11:35 ` Guillaume Gardet 2019-07-25 11:35 ` Guillaume Gardet 2019-07-25 12:26 ` Krzysztof Kozlowski 2019-07-25 12:26 ` Krzysztof Kozlowski 2019-07-25 12:37 ` Guillaume Gardet 2019-07-25 12:37 ` Guillaume Gardet 2019-07-26 10:40 ` Krzysztof Kozlowski 2019-07-26 10:40 ` Krzysztof Kozlowski 2019-07-31 14:37 ` Guillaume Gardet 2019-07-31 14:37 ` Guillaume Gardet 2019-08-01 9:35 ` Marek Szyprowski 2019-08-01 9:35 ` Marek Szyprowski 2019-08-30 10:44 ` [PATCH V3 0/4] Add GPU/Mali T604 node to arndale and snow (exynos5250) Guillaume Gardet 2019-08-30 10:44 ` Guillaume Gardet 2019-08-30 10:44 ` [PATCH V3 1/5] dt-bindings: gpu: mali-midgard: Add samsung exynos5250 compatible Guillaume Gardet 2019-08-30 10:44 ` Guillaume Gardet 2019-09-02 15:31 ` Krzysztof Kozlowski 2019-09-02 15:31 ` Krzysztof Kozlowski 2019-09-03 6:56 ` Krzysztof Kozlowski 2019-09-03 6:56 ` Krzysztof Kozlowski 2019-09-03 7:02 ` Guillaume Gardet 2019-09-03 7:02 ` Guillaume Gardet 2019-09-03 7:04 ` Krzysztof Kozlowski 2019-09-03 7:04 ` Krzysztof Kozlowski 2019-09-03 7:33 ` [PATCH] " Guillaume Gardet 2019-09-03 7:33 ` Guillaume Gardet 2019-09-03 7:36 ` Krzysztof Kozlowski 2019-09-03 7:36 ` Krzysztof Kozlowski 2019-09-03 9:32 ` Rob Herring 2019-09-03 9:32 ` Rob Herring 2019-08-30 10:44 ` Guillaume Gardet [this message] 2019-08-30 10:44 ` [PATCH V3 2/5] arm: dts: exynos: Add GPU/Mali T604 node to exynos5250 Guillaume Gardet 2019-08-30 10:45 ` [PATCH V3 3/5] arm: dts: exynos: snow: Enable GPU/Mali T604 node Guillaume Gardet 2019-08-30 10:45 ` Guillaume Gardet 2019-08-30 10:45 ` [PATCH V3 4/5] arm: dts: exynos: arndale: " Guillaume Gardet 2019-08-30 10:45 ` Guillaume Gardet 2019-08-30 10:45 ` [PATCH V3 5/5] arm: dts: exynos: arndale: Fix min/max for buck4 regulator for gpu Guillaume Gardet 2019-08-30 10:45 ` Guillaume Gardet
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20190830104502.7128-3-guillaume.gardet@arm.com \ --to=guillaume.gardet@arm.com \ --cc=kgene@kernel.org \ --cc=krzk@kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-samsung-soc@vger.kernel.org \ --cc=m.szyprowski@samsung.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.