Am 15.08.2015 um 13:19 schrieb Heiner Kallweit:
I'm having issues making the hardware RNG work on a Samsung Exynos 5422
(Odroid XU4) with kernel 4.2rc6.
No random number generation is started if I write the appropriate value
(0x18) to the hash control register.
What I did so far
Am 17.08.2015 um 08:30 schrieb Krzysztof Kozlowski:
On 17.08.2015 15:10, Heiner Kallweit wrote:
Am 17.08.2015 um 02:19 schrieb Krzysztof Kozlowski:
2015-08-16 20:18 GMT+09:00 Heiner Kallweit hkallwe...@gmail.com:
Am 15.08.2015 um 13:19 schrieb Heiner Kallweit:
I'm having issues making
Am 17.08.2015 um 02:19 schrieb Krzysztof Kozlowski:
2015-08-16 20:18 GMT+09:00 Heiner Kallweit hkallwe...@gmail.com:
Am 15.08.2015 um 13:19 schrieb Heiner Kallweit:
I'm having issues making the hardware RNG work on a Samsung Exynos 5422
(Odroid XU4) with kernel 4.2rc6.
No random number
I'm having issues making the hardware RNG work on a Samsung Exynos 5422 (Odroid
XU4) with kernel 4.2rc6.
No random number generation is started if I write the appropriate value (0x18)
to the hash control register.
What I did so far:
Splitted the sss DT node in exynos5420.dtsi into one for the
Add handling of RNG0 clock to the driver.
Signed-off-by: Heiner Kallweit <hkallwe...@gmail.com>
---
v2:
- consider that clock is optional
- use managed call to clk_disable_unprepare to ensure that
cleaning up is done in the right order if driver is removed
v3:
- no changes
---
driver
Add clock to DT binding documentation.
Signed-off-by: Heiner Kallweit <hkallwe...@gmail.com>
---
v2:
- splitted first version of patch into two
- add DT binding documentation
- mention that clock is optional
- replace spaces with tabs in DT binding example
v3:
- splitted DT extension and b
Expose clock CLKID_RNG0 which is needed for the HW random number generator.
Signed-off-by: Heiner Kallweit <hkallwe...@gmail.com>
---
v2:
- added clk and DT maintainers
- split exposing the clock and using it in DT into two patches
- comment out clock definition in drivers/clk/meson/
Add clock CLKID_RNG0 to HW randon number generator node.
Signed-off-by: Heiner Kallweit <hkallwe...@gmail.com>
---
v2:
- splitted first version of patch into two
- add DT binding documentation
- mention that clock is optional
- replace spaces with tabs in DT binding example
v3:
- split
Expose clock CLKID_RNG0 which is needed for the HW random number generator.
Signed-off-by: Heiner Kallweit <hkallwe...@gmail.com>
---
v2:
- added clk and DT maintainers
- split exposing the clock and using it in DT into two patches
- comment out clock definition in drivers/clk/meson/
Add clock CLKID_RNG0 to HW randon number generator node and
extend the DT binding documentation accordingly.
Signed-off-by: Heiner Kallweit <hkallwe...@gmail.com>
---
v2:
- splitted first version of patch into two
- add DT binding documentation
- mention that clock is optional
- replace
Add handling of RNG0 clock to the driver.
Signed-off-by: Heiner Kallweit <hkallwe...@gmail.com>
---
v2:
- consider that clock is optional
- use managed call to clk_disable_unprepare to ensure that
cleaning up is done in the right order if driver is removed
---
drivers/char/hw_random
Expose the RNG0 clock via DT.
Signed-off-by: Heiner Kallweit <hkallwe...@gmail.com>
---
arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 +-
arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 5 +
include/dt-bindings/clock/gxbb-clkc.h | 1 +
3 files changed, 7 insertions(+), 1 de
Add handling of RNG0 clock to the driver.
Signed-off-by: Heiner Kallweit <hkallwe...@gmail.com>
---
drivers/char/hw_random/meson-rng.c | 27 ++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/drivers/char/hw_random/meson-rng.c
b/drivers/char/hw_
The HW randon number generator requires a clock and we shouldn't rely
on the boot loader to enable it.
Heiner Kallweit (2):
hwrng: meson: expose RNG0 clock via DT
hwrng: meson: add clock handling to driver
arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 +-
arch/arm64/boot/dts/amlogic
Am 21.02.2017 um 22:21 schrieb Neil Armstrong:
> On 02/21/2017 12:26 PM, Heiner Kallweit wrote:
>> Add handling of RNG0 clock to the driver.
>>
>> Signed-off-by: Heiner Kallweit <hkallwe...@gmail.com>
>> ---
>> v2:
>> - consider that clock is optional
&
15 matches
Mail list logo