Message ID | 20171204120429.22892-1-l.stelmach@samsung.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
On Mon, Dec 04, 2017 at 01:04:29PM +0100, Łukasz Stelmach wrote: > Add nodes for PRNG in dts files decribing Exynos5 chips. > > Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com> > --- > Changes since v1: > > - Use "rng" as the node-name for all RNG regardles of their type. > - Introduce "samsung,exynos5250-prng" compatible (binding documentation > will follow). > > arch/arm/boot/dts/exynos5.dtsi | 5 +++++ > arch/arm/boot/dts/exynos5250.dtsi | 5 +++++ > arch/arm/boot/dts/exynos5410.dtsi | 5 +++++ > arch/arm/boot/dts/exynos5420.dtsi | 5 +++++ > 4 files changed, 20 insertions(+) Does not apply on top of my next/dt nor on v4.15-rc1. Please rebase it on my next/dt (https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git/log/?h=next/dt). Currently it looks like rebased on some different tree (non-existent node in exynos5.dtsi) so please be sure that you also test it after rebasing on top of my tree. Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm/boot/dts/exynos5.dtsi b/arch/arm/boot/dts/exynos5.dtsi index 7da4a4285b24..33f929c1dda9 100644 --- a/arch/arm/boot/dts/exynos5.dtsi +++ b/arch/arm/boot/dts/exynos5.dtsi @@ -210,5 +210,10 @@ reg = <0x10830000 0x300>; interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>; }; + + prng: rng@10830400 { + compatible = "samsung,exynos5250-prng"; + reg = <0x10830400 0x200>; + }; }; }; diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 8032d7e567fc..51aa83ba8c87 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -1036,6 +1036,11 @@ pinctrl-0 = <&i2c3_bus>; }; +&prng { + clocks = <&clock CLK_SSS>; + clock-names = "secss"; +}; + &pwm { clocks = <&clock CLK_PWM>; clock-names = "timers"; diff --git a/arch/arm/boot/dts/exynos5410.dtsi b/arch/arm/boot/dts/exynos5410.dtsi index 7eab4bc07cec..1604cb1b837d 100644 --- a/arch/arm/boot/dts/exynos5410.dtsi +++ b/arch/arm/boot/dts/exynos5410.dtsi @@ -325,6 +325,11 @@ clock-names = "fin_pll", "mct"; }; +&prng { + clocks = <&clock CLK_SSS>; + clock-names = "secss"; +}; + &pwm { clocks = <&clock CLK_PWM>; clock-names = "timers"; diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 02d2f898efa6..31c77ea9123d 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -1409,6 +1409,11 @@ clock-names = "fin_pll", "mct"; }; +&prng { + clocks = <&clock CLK_SSS>; + clock-names = "secss"; +}; + &pwm { clocks = <&clock CLK_PWM>; clock-names = "timers";
Add nodes for PRNG in dts files decribing Exynos5 chips. Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com> --- Changes since v1: - Use "rng" as the node-name for all RNG regardles of their type. - Introduce "samsung,exynos5250-prng" compatible (binding documentation will follow). arch/arm/boot/dts/exynos5.dtsi | 5 +++++ arch/arm/boot/dts/exynos5250.dtsi | 5 +++++ arch/arm/boot/dts/exynos5410.dtsi | 5 +++++ arch/arm/boot/dts/exynos5420.dtsi | 5 +++++ 4 files changed, 20 insertions(+)